girgit.org

Permutations and Combinations

Choose first, then arrange

The big ideaHarder questions mix both ideas: first select which objects to use with \( {}^nC_r \), then arrange the chosen ones with \( r! \) or \( {}^nP_r \), and multiply.

In simple words

Suppose you want to make words from some letters, but only words with two vowels and two consonants. Do it in two steps. First choose which vowels and which consonants you will use; the order does not matter yet. Then line up the four chosen letters in every possible order. Choosing and then arranging, one after the other, is just the multiplication principle again.

Select, then arrange

Worked example

How many 4-letter strings, each made of 2 vowels and 2 consonants, can be formed from the letters of DEVIKA (no letter used twice)?

  1. DEVIKA has 3 vowels (E, I, A) and 3 consonants (D, V, K), all different.
  2. Select 2 vowels: \( {}^3C_2 = 3 \). Select 2 consonants: \( {}^3C_2 = 3 \). That gives \( 3 \times 3 = 9 \) sets of 4 letters.
  3. Arrange each set of 4 letters: \( 4! = 24 \) ways.
  4. Total: \( 9 \times 24 = 216 \).

Notice the two steps match the two ideas of the chapter. "Which letters?" is a combination. "In what order?" is a permutation. In fact \( {}^nP_r = {}^nC_r \times r! \) is exactly this: select \( r \), then arrange them.

Worked example

From 8 volunteers a committee of 3 is formed, and one of the three is made the head. How many ways?

  1. Choose the committee: \( {}^8C_3 = 56 \). Then choose its head from the 3: 3 ways. Total \( 56 \times 3 = 168 \).
  2. Another route: choose the head first from all 8 (8 ways), then the other 2 members from the remaining 7: \( {}^7C_2 = 21 \). Total \( 8 \times 21 = 168 \).
  3. Two routes, one answer: a good check. Note it is not \( {}^8P_3 = 336 \), because the two ordinary members have no order between them.

Dictionary order

If all arrangements of some letters are listed as in a dictionary (alphabetical order), where does a particular word come? Count the blocks of words that come before it, block by block.

Worked example

All arrangements of the letters of NEHA are listed in dictionary order. What is the position of NEHA?

  1. In alphabetical order the letters are A, E, H, N.
  2. Words starting with A: arrange the other 3 letters, \( 3! = 6 \). Starting with E: 6. Starting with H: 6. That is 18 words before any word starting with N.
  3. Words starting with N, in order: NAEH, NAHE (starting NA), then NEAH, NEHA.
  4. So NEHA is word number \( 18 + 4 = 22 \).

With repeated letters, use \( \dfrac{n!}{p!\cdots} \) for each block, and remember to recount the repeats after fixing the first letter.

Try it: swap letters and watch the position recounted, block by block.

Choosing questions in an exam

Worked example

A paper has Section A with 5 questions and Section B with 5 questions. You must answer 6 in all, at least 2 from each section. In how many ways can you choose?

  1. Possible splits (A, B): (2, 4), (3, 3), (4, 2). The split (1, 5) and (5, 1) break the rule.
  2. (2, 4): \( {}^5C_2 \times {}^5C_4 = 10 \times 5 = 50 \).
  3. (3, 3): \( {}^5C_3 \times {}^5C_3 = 10 \times 10 = 100 \).
  4. (4, 2): \( 5 \times 10 = 50 \).
  5. Total: \( 50 + 100 + 50 = 200 \). Check: \( {}^{10}C_6 - 5 - 5 = 210 - 10 = 200 \).

A recipe for any counting question

  1. Does order matter? Do the swap test. Yes: arrangements. No: selections.
  2. Can things repeat? Repetition allowed: \( n^r \). Not allowed: \( {}^nP_r \) or \( {}^nC_r \).
  3. Are some objects identical? Divide by \( p! \) for each repeat.
  4. Any rules? Fix special places, glue things that must be together, use gaps for things that must be apart, split "at least" into cases, or subtract the complement.
  5. Check with a second method, or with small numbers you can list by hand.

Don't mix these up

  • "Committee of 3 with a head" is \( {}^8C_3 \times 3 \), not \( {}^8P_3 \). Only the head's post is special.
  • "Words with 2 vowels and 2 consonants" needs both steps: choose with \( C \), then arrange with \( 4! \). Stopping after the choice gives far too small an answer.
  • In dictionary questions, list the letters in alphabetical order first; many mistakes come from starting with the wrong letter.

Try it. (a) How many 3-letter strings with 1 vowel and 2 consonants can be made from the letters of GANESH (no repeats)? (b) From 6 friends, 4 go to the cinema and sit in 4 adjacent seats. How many ways? (c) What is the position of the word HEAN in the dictionary list of arrangements of NEHA?

Answer
(a) Vowels A, E; consonants G, N, S, H. \( {}^2C_1 \times {}^4C_2 \times 3! = 2 \times 6 \times 6 = 72 \). (b) Select 4: \( {}^6C_4 = 15 \); seat them: \( 4! = 24 \); total 360, which equals \( {}^6P_4 \). (c) Words starting with A: 6, with E: 6. Then H: HAEN, HANE, HEAN. Position \( 12 + 3 = 15 \).

Words to know

Select then arrange
Choose which objects with \( C \), then order them with \( P \) or \( r! \).
Dictionary order
Alphabetical order, as words are listed in a dictionary.
Rank of a word
Its position in the dictionary list of arrangements.
Split into cases
Break a rule like "at least 2 from each section" into separate possibilities and add.

How many 3-letter strings using 2 different consonants and 1 vowel can be made from the letters of PUNE?

  1. 6
  2. 12
  3. 24

From 10 people, choose a team of 4 with one captain among them. How many ways?

  1. \( {}^{10}P_4 = 5040 \)
  2. \( {}^{10}C_4 \times 4 = 840 \)
  3. \( {}^{10}C_4 = 210 \)

The arrangements of the letters of RAJU are listed in dictionary order. How many words come before the first word starting with R?

  1. 12
  2. 18
  3. 6