A bank branch in Dhaka has twelve people on its staff, seven men and five women. Head office wants five of them sent to the audit training, and it says the team must include at least two women. Before the manager picks a single name, the clerk next to her asks the question that decides everything: how many different teams could she send? Twenty? Two thousand? If she cannot tell, she cannot say whether it is fair to pick by lottery, or whether she should simply choose the best five and be done with it.
The same kind of question follows you around the exam hall. Ten engineers at a conference all shake hands once: how many handshakes? A polygon has twelve sides: how many diagonals? Thirteen people are in a room: why must two of them share a birth month, without asking anyone? How many numbers up to a hundred are divisible by 2, 3 or 5? Five letters go into five envelopes at random: what is the chance that every letter is in the wrong one? These look like five different subjects. They are five tools from one box, and this chapter puts the box in your hands.
By the end of the chapter you will handle committee questions with any condition (exactly, at least, at most, a person who must be in or out), count handshakes, diagonals, lines and triangles, and split people into groups. You will expand (a + b)ⁿ, find any single term, the middle term, the term free of x, and the sum of coefficients. You will use the pigeonhole principle to settle "how many must you pick to be sure" questions, and to prove that a long line of people hides a rising or falling run. You will use inclusion and exclusion for any number of conditions: divisibility counts, derangements, onto functions. And you will look at a question and know which tool it wants.