girgit.org

Permutations and Combinations

What is a permutation?

The big ideaA permutation is an arrangement in a definite order, and the number of ways to arrange \( r \) of \( n \) different things is \( n(n-1)(n-2)\cdots(n-r+1) \), written \( {}^nP_r \).

In simple words

Eight runners finish a race. Who gets gold, who gets silver and who gets bronze? Any of the 8 can win gold. Once gold is taken, 7 are left for silver, then 6 for bronze. So there are 8 times 7 times 6 ways to hand out the medals. When the same people in a different order count as a different answer, you are counting arrangements. That is all a permutation is.

Order makes a difference

Take the letters of the name RAVI. RAVI, VIRA, IRAV and AIVR are all different strings, even though they use the same four letters. Changing the order changes the answer. Each such ordering is a permutation of the 4 letters taken all at a time, and by the box method there are \( 4 \times 3 \times 2 \times 1 = 24 \) of them.

You do not have to use every object. From the 5 letters of KUMAR, the 3-letter strings KUM, MUK, RAM, ARK and so on are permutations of 5 different letters taken 3 at a time. There are \( 5 \times 4 \times 3 = 60 \) of them when no letter repeats.

Definition

  • A permutation is an arrangement, in a definite order, of some or all of a number of objects.

Counting them: \( {}^nP_r \)

Suppose you have \( n \) different objects and \( r \) empty places in a row, where \( 0 \lt r \le n \), and no object may be used twice. The symbol \( {}^nP_r \) (read "n P r") stands for the number of ways to fill the places.

  1. The 1st place can take any of the \( n \) objects: \( n \) ways.
  2. The 2nd place: one object is used, so \( n - 1 \) ways.
  3. The 3rd place: \( n - 2 \) ways.
  4. When you reach the \( r \)th place, \( r - 1 \) objects are already used, so it has \( n - (r - 1) = n - r + 1 \) ways.

By the multiplication principle (this result is Theorem 1 of the chapter):

\[ {}^nP_r = n(n-1)(n-2)\cdots(n-r+1) \]

Here \( n \) is how many different objects you have, \( r \) is how many places you fill, and the product has exactly \( r \) factors, counting down from \( n \).

Worked example

  1. Gold, silver and bronze among 8 runners: \( {}^8P_3 = 8 \times 7 \times 6 = 336 \).
  2. A captain and a vice-captain from a cricket XI (one person cannot hold both posts): \( {}^{11}P_2 = 11 \times 10 = 110 \).
  3. Arranging 5 different books on a shelf, using all of them: \( {}^5P_5 = 5 \times 4 \times 3 \times 2 \times 1 = 120 \).
  4. A 4-digit number from the digits 1 to 9 with no repeats: order matters (1234 and 4321 are different numbers), so \( {}^9P_4 = 9 \times 8 \times 7 \times 6 = 3024 \).

Try it: hand out the medals yourself and watch the list of possible podiums shrink with each pick.

Why the medal example is a permutation

Test it: if Arjun gets gold and Meera silver, is that the same result as Meera gold and Arjun silver? No: the medals are different. Swapping two chosen people gives a new outcome, so order matters and you count permutations. Later in the chapter you will meet questions where swapping changes nothing; those need a different count.

Don't mix these up

  • \( {}^nP_r \) has \( r \) factors and ends at \( n - r + 1 \), not at \( n - r \). For \( {}^7P_3 \): \( 7 \times 6 \times 5 \), three factors, last one \( 7 - 3 + 1 = 5 \).
  • \( {}^nP_r \) assumes the objects are all distinct (different from each other) and are not repeated. Repeats allowed, or identical objects, need other rules (coming up).

Try it. (a) Work out \( {}^6P_2 \) and \( {}^6P_4 \). (b) A society of 20 members chooses a president, a secretary and a treasurer, all different people. How many ways? (c) How many 3-letter strings, no repeats, from the letters of DELHI?

Answer
(a) \( 6 \times 5 = 30 \); \( 6 \times 5 \times 4 \times 3 = 360 \). (b) The posts are different, so order matters: \( {}^{20}P_3 = 20 \times 19 \times 18 = 6840 \). (c) DELHI has 5 different letters: \( {}^5P_3 = 60 \).

Words to know

Permutation
An arrangement in a definite order.
Taken \( r \) at a time
Using \( r \) of the objects to fill \( r \) places.
Taken all at a time
Using every object, so \( r = n \).
\( {}^nP_r \)
The number of permutations of \( n \) different things taken \( r \) at a time, without repetition.
Distinct objects
Objects that can all be told apart.

What is \( {}^{9}P_{3} \)?

  1. 27
  2. 504
  3. 3024

Which question is answered by a permutation?

  1. Ways to give 1st, 2nd and 3rd prize to 3 of 12 students
  2. Ways to choose 3 students from 12 for a quiz team
  3. Number of handshakes among 12 students

The last factor of \( {}^{n}P_{r} \) is:

  1. \( n - r \)
  2. \( n - r + 1 \)
  3. \( n \)