Permutations

A school has 6 chairs in a front row and wants to seat 3 students from a class of 6 volunteers, one per chair. Does it matter whether Asha sits left of Bilal or Bilal sits left of Asha? Of course — they are different seating arrangements, even though the same three students were chosen. Whenever changing the order of chosen objects gives a genuinely different outcome — who's first, second, third; which digit is in the hundreds place; which letters come before which — we are counting permutations, not mere selections. This article builds the permutation formula nPr=n!(n−r)!^nP_r = \dfrac{n!}{(n-r)!} from the multiplication principle, extends it to the two situations every CBSE Class 11 student must also handle — repetition allowed, and objects that are not all distinct — and works two classic examples: arranging letters of FLOWER and of STATISTICS. By the end you should be able to look at a word problem, decide instantly whether order matters, and pick the right formula without hesitation.

The core insight

A permutation counts ordered arrangements of rr objects chosen from nn, given by nPr=n!/(n−r)!^nP_r = n!/(n-r)!, with repetition changing this to nrn^r and repeated objects among all nn arranged together dividing by p1! p2!⋯pk!p_1!\,p_2!\cdots p_k!.

The core idea

What makes it a permutation. A permutation of nn distinct objects taken rr at a time is an ordered selection and arrangement of rr of them. Two arrangements that use the same objects but place them in a different sequence count as different permutations. This is the single fact that separates permutations from combinations (which come later in the same chapter): order matters here.

The formula, from first principles. Think of filling rr positions in a row, one object per position, no repeats. The first position can be filled in nn ways (any of the nn objects). Once that choice is made, the second position has only n−1n-1 objects left to choose from, the third has n−2n-2, and so on, until the rr-th position, which has n−r+1n-r+1 choices left. By the multiplication principle these choices multiply together:

nPr=n(n−1)(n−2)⋯(n−r+1)=n!(n−r)!,0≤r≤n.^nP_r = n(n-1)(n-2)\cdots(n-r+1) = \frac{n!}{(n-r)!}, \qquad 0 \le r \le n.

where: nn is the total number of distinct objects available, rr is how many of them are arranged in order, n!n! (read "nn factorial") is n(n−1)(n−2)⋯2⋅1n(n-1)(n-2)\cdots 2\cdot 1, and nPr^nP_r (also written P(n,r)P(n,r)) is the count of ordered arrangements. The special case r=nr = n — arranging all nn objects — gives nPn=n!/0!=n!^nP_n = n!/0! = n!, since 0!=10! = 1 by convention.

When repetition is allowed. If an object can be reused in a later position (say, digits in a code where repeats are permitted), every one of the rr positions independently has all nn objects available, so the count is simply nrn^r — a different, usually much larger, number than nPr^nP_r.

When the objects themselves repeat. Sometimes we are not choosing rr out of nn distinct objects but arranging all nn objects in a row, where several of them are indistinguishable copies of each other — like the three S's in STATISTICS. If nn objects split into groups of p1,p2,…,pkp_1, p_2, \ldots, p_k identical objects (with p1+p2+⋯+pk=np_1 + p_2 + \cdots + p_k = n), the number of visibly distinct arrangements is

n!p1! p2!⋯pk!.\frac{n!}{p_1!\,p_2!\cdots p_k!}.

where: each pip_i is the count of one repeated kind of object. The division is a correction: naively treating all nn objects as distinguishable and computing n!n! overcounts, because swapping identical objects among themselves produces an arrangement that looks the same as before but was counted as new. Dividing by p1!p_1! removes the p1!p_1! ways to permute the first repeated group among itself, and likewise for each other group.

Figure
Three positions being filled one after another with a shrinking pool of choices, six five then four, multiplying to one hundred twenty
Filling 3 positions from 6 letters — choices shrink each step position 1 6 choices x position 2 5 choices x position 3 4 choices = total 120 One object is used up at each position, so the pool of remaining choices shrinks by 1 every step. This is exactly the multiplication principle behind the formula nPr = n! / (n-r)!.
Derivation ADeriving the permutation formula nPr from the multiplication principle

The goal is to show, using only the multiplication principle already known from earlier in this chapter and the definition of a factorial, that the number of ordered arrangements of rr objects chosen from nn distinct objects equals n!/(n−r)!n!/(n-r)!, and to see clearly why the division by (n−r)!(n-r)! is exactly the right correction rather than an arbitrary rule to memorise.

Step 1. Set up rr positions in a row, to be filled one at a time from left to right, using distinct objects with no repetition. The first position can be filled by any of the nn available objects, so there are nn ways to fill it.

Step 2. Once the first position is filled, one object has been used, leaving n−1n-1 objects for the second position. By the multiplication principle, the number of ways to fill the first two positions together is n×(n−1)n \times (n-1). Continuing this reasoning, the third position has n−2n-2 objects left, the fourth has n−3n-3, and in general the kk-th position has n−(k−1)n-(k-1) objects available.

Step 3. Multiply the choices for all rr positions: n(n−1)(n−2)⋯(n−r+1)n(n-1)(n-2)\cdots(n-r+1). This product has exactly rr factors, starting at nn and decreasing by 11 each time, stopping at n−r+1n-r+1 (not at n−rn-r, since the rr-th factor is the rr-th term of the sequence).

Step 4. Rewrite this product using factorials. Note that n!=n(n−1)⋯(n−r+1)×(n−r)(n−r−1)⋯2⋅1n! = n(n-1)\cdots(n-r+1)\times(n-r)(n-r-1)\cdots 2\cdot 1, i.e. n!n! equals our product times (n−r)!(n-r)!. Dividing both sides by (n−r)!(n-r)! isolates exactly the product we want: n(n−1)⋯(n−r+1)=n!(n−r)!n(n-1)\cdots(n-r+1) = \dfrac{n!}{(n-r)!}. Hence nPr=n!(n−r)!^nP_r = \dfrac{n!}{(n-r)!}, confirming the formula purely from the step-by-step counting argument.

Worked example

Problem. How many 3-letter arrangements (no letter repeated) can be made from the letters of the word FLOWER? Then, separately, in how many distinct ways can all the letters of the word STATISTICS be arranged?

Step 1. FLOWER has 6 distinct letters: F, L, O, W, E, R. Arranging 3 of them in order, with no repetition, is exactly nPr^nP_r with n=6n = 6, r=3r = 3: 6P3=6!(6−3)!=6!3!=7206=120^6P_3 = \dfrac{6!}{(6-3)!} = \dfrac{6!}{3!} = \dfrac{720}{6} = 120.

Step 2. Cross-check FLOWER directly by the multiplication principle: first letter in 6 ways, second in 5 ways (one used), third in 4 ways, giving 6×5×4=1206 \times 5 \times 4 = 120. Both routes agree: 120 three-letter arrangements.

Step 3. Now STATISTICS. It has 10 letters total: S, T, A, T, I, S, T, I, C, S. Counting repeats: S appears 3 times, T appears 3 times, I appears 2 times, and A and C each appear once. Check the total: 3+3+2+1+1=103+3+2+1+1 = 10.

Step 4. Since the letters are not all distinct, use n!p1! p2!⋯pk!\dfrac{n!}{p_1!\,p_2!\cdots p_k!} with n=10n = 10 and repeated-group counts 3,3,23, 3, 2 (groups of size 11 contribute 1!=11! = 1 and change nothing): 10!3! 3! 2!=36288006×6×2=362880072=50400\dfrac{10!}{3!\,3!\,2!} = \dfrac{3628800}{6 \times 6 \times 2} = \dfrac{3628800}{72} = 50400. The letters of STATISTICS can be arranged in 50,400 distinct ways, the division by 3! 3! 2!3!\,3!\,2! removing the arrangements that only differ by swapping identical S's, T's, or I's among themselves.

Competitive stretch

A tighter variant: how many of those STATISTICS arrangements keep all three S's together, treated as one block? Glue the three S's into a single unit; we now arrange 88 items — that block plus the remaining 7 letters T, A, T, I, T, I, C — of which T repeats 3 times and I repeats 2 times. The count is 8!3! 2!=4032012=3360\dfrac{8!}{3!\,2!} = \dfrac{40320}{12} = 3360. This "glue the repeated block" trick is a common extension once the base not-all-distinct formula is secure.

Common traps

  • Using nPr^nP_r when order does not actually matter. If the problem is about selecting a group (a committee, a hand of cards) and not sequencing it, permutations overcount — combinations are needed instead.
  • Forgetting to divide out repeated objects. Treating STATISTICS-type words as if all letters were distinct and using plain n!n! silently overcounts by a factor of p1! p2!⋯pk!p_1!\,p_2!\cdots p_k!.
  • Mixing up "repetition allowed" with the standard case. With repetition, the count is nrn^r; without it, n!/(n−r)!n!/(n-r)! — these are different formulas for different situations, not interchangeable.
  • Misreading nn and rr from the word problem, or slipping in the arithmetic of (n−r)!(n-r)!, especially when nn and rr must first be extracted from a real-world description rather than being handed directly.

Ask the tutor: Want to try a mixed set of permutation word problems — some with repetition, some with repeated letters — to build speed at spotting which formula applies?

How do I quickly tell a permutation problem from a combination problem?

Ask whether swapping two chosen items changes the outcome. If arranging the same three people as president, secretary, treasurer gives a different result depending on who gets which role, order matters and it is a permutation. If you are just picking a 3-person committee with no distinct roles, swapping two members changes nothing, so it is a combination. Committees, teams, and subsets are usually combinations; rankings, passwords, and seating rows are usually permutations.

Why does the not-all-distinct formula divide by factorials instead of subtracting?

Because the overcounting is multiplicative, not additive. If you pretend all nn objects (including the repeated ones) are distinguishable, you get n!n! arrangements, but every group of pip_i identical objects can be internally shuffled in pi!p_i! ways without changing what you actually see. Each such internal shuffle is counted once too many in n!n!, so you must divide by pi!p_i! for every repeated group, not subtract a fixed amount, since the overcounting scales with how many arrangements exist in the first place.

Is 0! really equal to 1, and why does that matter here?

Yes, by definition, and it matters because nPn=n!/(n−r)!^nP_n = n!/(n-r)! with r=nr = n becomes n!/0!n!/0!. For this to correctly equal n!n! (arranging all nn objects, which clearly has n!n! orderings by direct reasoning), we need 0!=10! = 1. It is a convention chosen precisely so formulas like nPr^nP_r stay consistent at their boundary case, not an accident.

Before this

Where this leads