girgit.org

Permutations and Combinations

Choosing with rules: cricket XIs, committees and cards

The big ideaFor selections with rules, split the group into kinds, choose from each kind with \( {}^nC_r \) and multiply; for "at least" or "at most", list the separate cases and add them.

In simple words

A selector must pick a cricket team with exactly 4 bowlers. Do it in two steps: pick the 4 bowlers from the bowlers, then pick the rest from the batters. Multiply the two counts. If the rule says "at least 2 girls", count teams with 2 girls, with 3 girls and so on, one by one, and add them up. Never count the same team twice.

Choosing from different kinds

Worked example

A squad has 16 players: 6 bowlers and 10 batters. How many XIs contain exactly 4 bowlers?

  1. Choose 4 of the 6 bowlers: \( {}^6C_4 = {}^6C_2 = 15 \).
  2. The other 7 places go to batters: \( {}^{10}C_7 = {}^{10}C_3 = 120 \).
  3. Each bowling group can go with each batting group, so multiply: \( 15 \times 120 = 1800 \) teams.

Someone must be in, someone must be out

  • Must include a particular player (the captain): put them in first, then choose the remaining places from the rest. From 16 players, an XI that includes the captain: \( {}^{15}C_{10} = {}^{15}C_5 = 3003 \).
  • Must exclude a particular player (injured): remove them and choose from the rest. An XI from 16 without the injured player: \( {}^{15}C_{11} = {}^{15}C_4 = 1365 \).

Check: every XI either includes a given player or does not, so \( 3003 + 1365 = 4368 = {}^{16}C_{11} \). This is the "in or out" rule from the last concept.

Guess first: at least one girl

A committee of 4 is chosen from 5 girls and 6 boys, and must have at least one girl. Priya suggests: "First pick one girl, \( 5 \) ways, to make sure there is a girl. Then pick any 3 of the remaining 10 people: \( {}^{10}C_3 = 120 \). Answer \( 5 \times 120 = 600 \)." Is she right?

See what happens

No. There are only \( {}^{11}C_4 = 330 \) committees of 4 in total, so 600 is impossible. Priya counted the same committee more than once. Take a committee with two girls, Gita and Hema, and two boys. It is counted once with Gita as "the girl picked first" and again with Hema as "the girl picked first".

The right count, using the complement: committees with no girl at all number \( {}^6C_4 = 15 \), so at least one girl gives \( 330 - 15 = 315 \).

Moral: never pick "one to be safe" and then "any of the rest". Split into cases that do not overlap, or subtract the cases you do not want.

"At least" and "at most" by cases

Worked example

The same committee of 4 from 5 girls and 6 boys must have at least 2 girls. How many committees?

  1. 2 girls, 2 boys: \( {}^5C_2 \times {}^6C_2 = 10 \times 15 = 150 \).
  2. 3 girls, 1 boy: \( {}^5C_3 \times {}^6C_1 = 10 \times 6 = 60 \).
  3. 4 girls, 0 boys: \( {}^5C_4 \times {}^6C_0 = 5 \times 1 = 5 \).
  4. Add the cases: \( 150 + 60 + 5 = 215 \).
  5. Check by the complement: 0 girls: 15; exactly 1 girl: \( 5 \times {}^6C_3 = 100 \). \( 330 - 15 - 100 = 215 \).

See it: one bar per case. The rule decides which bars you add.

A pack of cards

A pack has 52 cards in 4 suits (spades, hearts, diamonds, clubs) of 13 cards each; 26 are red and 26 black; there are 4 aces and 12 face cards (jack, queen, king of each suit).

  • Any 3 cards: \( {}^{52}C_3 = 22\,100 \).
  • 3 hearts: \( {}^{13}C_3 = 286 \).
  • Exactly one ace among 3 cards: one of the 4 aces and two of the 48 non-aces: \( 4 \times {}^{48}C_2 = 4 \times 1128 = 4512 \).

Points, lines and shapes

With points where no three lie on a straight line:

  • Lines (or chords on a circle) from 10 points: \( {}^{10}C_2 = 45 \).
  • Triangles from 10 points: \( {}^{10}C_3 = 120 \).
  • Diagonals of an \( n \)-sided polygon: all lines joining corners, minus the \( n \) sides: \( {}^nC_2 - n \). A hexagon has \( 15 - 6 = 9 \).

Try it: tap a corner to see its own diagonals, and change the number of sides.

Don't mix these up

  • Within one case, multiply the choices from each kind (girls and boys). Between cases, add (2 girls or 3 girls).
  • "At least one" is usually quickest as total minus "none".
  • "Exactly", "at least" and "at most" give different answers. Read which one is asked.

Try it. (a) From 7 men and 4 women, how many committees of 5 have exactly 2 women? (b) How many have at most 1 woman? (c) A student must answer 5 of 8 questions, and questions 1 and 2 are compulsory. How many choices? (d) How many diagonals does an octagon have?

Answer
(a) \( {}^4C_2 \times {}^7C_3 = 6 \times 35 = 210 \). (b) 0 women: \( {}^7C_5 = 21 \); 1 woman: \( 4 \times {}^7C_4 = 140 \); total 161. (c) Choose 3 of the other 6: \( {}^6C_3 = 20 \). (d) \( {}^8C_2 - 8 = 28 - 8 = 20 \).

Words to know

Exactly
That number and no other.
At least
That number or more; add every case from it upwards.
At most
That number or fewer.
Overcounting
Counting the same selection more than once.
Collinear
Lying on one straight line.

From 6 boys and 5 girls, how many teams of 3 boys and 2 girls can be chosen?

  1. \( 20 + 10 = 30 \)
  2. \( 200 \)
  3. \( 462 \)

In how many ways can 4 cards be chosen from a pack so that at least one is a king?

  1. \( 4 \times {}^{51}C_3 \)
  2. \( {}^{52}C_4 - {}^{48}C_4 \)
  3. \( 4 \times {}^{48}C_3 \)

How many triangles can be formed from 8 points on a circle?

  1. 336
  2. 28
  3. 56