- 1. How do you count without listing?
- 2. Filling empty places: PINs, number plates and digits
- 3. What is a permutation?
- 4. Factorial notation: what does n! mean?
- 5. The formula for nPr
- 6. Arrangements with rules: together, apart, first place
- 7. Arranging letters that repeat
- 8. Does order matter? Permutations versus combinations
- 9. The formula for nCr
- 10. Choosing with rules: cricket XIs, committees and cards
- 11. Choose first, then arrange
- Review
5 of 11·NCERT §6.3.3·5 min
The formula for nPr
The big ideaThe long product for \( {}^nP_r \) folds into one neat fraction, \( {}^nP_r = \dfrac{n!}{(n-r)!} \); and if repetition is allowed, the count becomes simply \( n^r \).
In simple words
Arranging 3 of 10 things gives 10 times 9 times 8. That is the start of 10! with the tail cut off. The tail you cut off is 7 times 6 times and so on down to 1, which is 7!. So you can write the answer as "10! with 7! taken away by division". And when things can be used again and again, like digits in a PIN, every place has all 10 choices, so you just multiply 10 by itself.
From the long product to a fraction
We know \( {}^nP_r = n(n-1)(n-2)\cdots(n-r+1) \). Multiply the top and bottom by the missing tail, \( (n-r)(n-r-1)\cdots 3 \times 2 \times 1 \), which is \( (n-r)! \):
\[ {}^nP_r = \frac{n(n-1)\cdots(n-r+1) \times (n-r)(n-r-1)\cdots 2 \times 1}{(n-r)(n-r-1)\cdots 2 \times 1} = \frac{n!}{(n-r)!} \]The top is now the complete product \( n! \); the bottom is \( (n-r)! \). This is much easier to write than the long product.
Permutation formulas
- \( {}^nP_r = \dfrac{n!}{(n-r)!} \), for \( 0 \le r \le n \): \( n \) different objects, \( r \) places, no repetition.
- \( {}^nP_n = \dfrac{n!}{0!} = n! \): arrange all \( n \).
- \( {}^nP_0 = \dfrac{n!}{n!} = 1 \): one way to arrange nothing.
- With repetition allowed: \( n^r \) (Theorem 2).
Why does \( {}^nP_0 = 1 \) make sense? Arranging none of the objects is the same as leaving them all where they are, and there is just one way to do that. The formula agrees, so it holds for \( r = 0 \) as well.
See it: the tiles you use, the tail you cut off, and both counts for every r at once.
When repetition is allowed: \( n^r \)
If each of the \( r \) places can take any of the \( n \) objects, even one already used, then every place has \( n \) choices, and the multiplication principle gives \( n \times n \times \cdots \times n = n^r \).
| Question | No repetition | Repetition allowed |
|---|---|---|
| 4-digit PIN from 0 to 9 | \( {}^{10}P_4 = 5040 \) | \( 10^4 = 10\,000 \) |
| 3-letter strings from the letters of PUNE | \( {}^4P_3 = 24 \) | \( 4^3 = 64 \) |
| 2 flags from 6 colours, one above the other | \( {}^6P_2 = 30 \) | \( 6^2 = 36 \) |
Using the formula
Worked example
- \( {}^7P_3 = \dfrac{7!}{4!} = 7 \times 6 \times 5 = 210 \).
- A chairperson and a vice-chairperson from 15 members: \( {}^{15}P_2 = \dfrac{15!}{13!} = 15 \times 14 = 210 \).
- The 5 letters of the name GOPAL, all used: \( {}^5P_5 = 5! = 120 \).
Solving for \( n \) or \( r \)
Exams often give an equation in \( {}^nP_r \) and ask for \( n \) or \( r \). Write each side as a product, cancel what is common, and solve. Then check that your answer makes sense: \( n \) and \( r \) must be whole numbers with \( 0 \le r \le n \).
Worked example
Find \( n \) if \( {}^nP_4 = 20 \times {}^nP_2 \) (with \( n \ge 4 \)).
- Write out: \( n(n-1)(n-2)(n-3) = 20\,n(n-1) \).
- Since \( n \ge 4 \), \( n(n-1) \ne 0 \); divide it out: \( (n-2)(n-3) = 20 \).
- \( n^2 - 5n + 6 = 20 \), so \( n^2 - 5n - 14 = 0 \), so \( (n-7)(n+2) = 0 \).
- \( n = 7 \) or \( n = -2 \). A count of objects cannot be negative, so \( n = 7 \).
- Check: \( {}^7P_4 = 840 \) and \( 20 \times {}^7P_2 = 20 \times 42 = 840 \).
Worked example
Find \( r \) if \( 7 \times {}^6P_r = 12 \times {}^7P_{r-1} \).
- Use the fraction form: \( 7 \times \dfrac{6!}{(6-r)!} = 12 \times \dfrac{7!}{(8-r)!} \).
- \( 7! = 7 \times 6! \) and \( (8-r)! = (8-r)(7-r)(6-r)! \). Cancel \( 7 \times 6! \) and \( (6-r)! \): \( 1 = \dfrac{12}{(8-r)(7-r)} \).
- So \( (8-r)(7-r) = 12 \), that is \( r^2 - 15r + 44 = 0 \), so \( (r-4)(r-11) = 0 \).
- \( r = 4 \) or \( r = 11 \). But \( {}^6P_r \) needs \( r \le 6 \): you cannot arrange 11 of 6 things. So \( r = 4 \) only.
- Check: \( 7 \times {}^6P_4 = 7 \times 360 = 2520 \) and \( 12 \times {}^7P_3 = 12 \times 210 = 2520 \).
Don't mix these up
- \( {}^nP_r \) (no repeats) versus \( n^r \) (repeats allowed). Read the question for "no digit is repeated" or "digits may be repeated".
- \( {}^nP_r = \dfrac{n!}{(n-r)!} \), not \( \dfrac{n!}{r!} \). The bottom is the tail you did not use.
- Throw away roots that are negative, not whole numbers, or bigger than allowed (\( r \gt n \)).
Try it. (a) \( {}^{8}P_{3} \) using the fraction. (b) How many 3-digit codes from the digits 1 to 6 if digits may repeat, and if they may not? (c) Find \( n \) if \( {}^nP_2 = 56 \).
Answer
- \( {}^nP_r = \dfrac{n!}{(n-r)!} \)
- Arrangements of \( r \) out of \( n \) different things, no repetition.
- \( {}^nP_n = n! \)
- All \( n \) things in a row.
- \( {}^nP_0 = 1 \)
- One way to arrange none of them.
- \( n^r \)
- Arrangements of \( r \) places from \( n \) things when repetition is allowed.
- Rejected root
- An answer of the algebra that cannot be a count, such as a negative \( n \) or \( r \gt n \).
Words to know
A bank locker code has 3 digits from 0 to 9, and digits may repeat. How many codes are there?
- 720
- 1000
- 59 049
Which of these equals \( {}^{10}P_{4} \)?
- \( \dfrac{10!}{4!} \)
- \( \dfrac{10!}{6!} \)
- \( 10^4 \)
Solving an equation in \( {}^5P_r \) gives \( r = 3 \) or \( r = 7 \). What is the answer?
- Both \( r = 3 \) and \( r = 7 \)
- \( r = 3 \) only
- \( r = 7 \) only
Picture and video credits