In short
A permutation of r objects chosen from n distinct objects is an arrangement in a specific order. The number of such permutations is {}^nP_r = \frac{n!}{(n-r)!} = n(n-1)(n-2)\cdots(n-r+1). When you arrange all n objects (r = n), the count is simply n!. The formula comes directly from applying the multiplication principle to r sequential choices with shrinking options.
A cricket team of 11 players has won a tournament. The organiser wants to line them up on the podium for a photograph — but the order matters, because the captain should stand in the centre, the player of the tournament next to the captain, and so on. The photographer asks: in how many different ways can these 11 players stand in a row?
For the first position, you have 11 choices. Once one player stands there, 10 remain for the second position. Then 9, then 8, down to 1. By the multiplication principle:
Nearly forty million arrangements. That number is large enough that even if the photographer took one photo per second, it would take more than a year to exhaust them all.
But what if only 3 of the 11 players receive awards (Player of the Tournament, Best Bowler, Best Fielder) and you need to arrange just those 3 on a smaller podium? Now you have 11 choices for the first award recipient, 10 for the second, 9 for the third:
This is the key question of permutations: how many ways can you pick r objects from n and arrange them in order?
What is a permutation?
Permutation
A permutation of r objects from a collection of n distinct objects is an ordered arrangement of r of those objects. Two arrangements are considered different if they contain different objects or the same objects in a different order.
The number of such permutations is denoted {}^nP_r (also written P(n, r) or P^n_r).
The word "ordered" is the crucial distinction. Picking players A, B, C for the three awards is a different permutation from picking A, C, B — because the awards are different (Player of the Tournament is not the same honour as Best Fielder). If you do not care about order — if A, B, C and A, C, B count as the same selection — that is a combination, a different concept covered in combinations.
Deriving the {}^nP_r formula
The derivation is a direct application of the multiplication principle, step by step.
You have n distinct objects and you want to fill r ordered positions.
- Position 1: n choices (any of the n objects).
- Position 2: n - 1 choices (one object has been used).
- Position 3: n - 2 choices.
- \vdots
- Position r: n - r + 1 choices (r - 1 objects have been used, so n - (r-1) = n - r + 1 remain).
By the multiplication principle, the total number of ordered arrangements is:
This is a product of r consecutive descending integers, starting from n.
Now express this in terms of factorials. The product n \times (n-1) \times \dots \times (n-r+1) is the "top part" of n!, with the "bottom part" (n-r) \times (n-r-1) \times \dots \times 1 missing. So:
Check: the numerator is n! = n \times (n-1) \times \dots \times (n-r+1) \times (n-r)!, and dividing by (n-r)! cancels the tail, leaving exactly the r factors you want.
The permutation formula
Special case: r = n. When you arrange all n objects:
This confirms what you already know from factorial notation: the number of ways to arrange n distinct objects in a row is n!.
Special case: r = 1. Choosing one object from n (where order "matters" trivially):
There are n ways to pick one item — no surprise.
Special case: r = 0. Choosing zero objects:
There is exactly one way to choose nothing: do nothing. This mirrors the convention 0! = 1.
Permutations of n different objects
The most common permutation problem in school mathematics is: how many ways can n distinct objects be arranged in a row? The answer is n! = {}^nP_n, and the derivation is the multiplication-principle staircase from slot 1 (with n choices) to slot n (with 1 choice).
Here are some concrete instances:
- 3 books on a shelf: 3! = 6 arrangements.
- 4 people in a queue at a chai stall: 4! = 24 arrangements.
- 5 digits \{1, 2, 3, 4, 5\} forming a 5-digit number (each digit used once): 5! = 120 numbers.
- 8 runners finishing a race (all different times): 8! = 40{,}320 possible orderings of the finish.
A natural question: what happens when some objects are identical? If you have the letters \{A, A, B\}, swapping the two A's does not produce a new arrangement. The formula for this case — permutations with repetition — is covered in permutations with constraints. For now, every formula in this article assumes all n objects are distinct.
Two worked examples
Example 1: How many 4-letter "words" can be formed from the letters of PENCIL (no letter used twice)?
The word PENCIL has 6 distinct letters: P, E, N, C, I, L. A "word" here means any sequence of 4 letters chosen from these 6, regardless of whether it makes dictionary sense.
Step 1. Identify n and r.
n = 6 (the pool of letters), r = 4 (the length of each word).
Why: each "word" is an ordered arrangement of 4 letters chosen from 6 distinct letters, with no repetition. That is exactly the setup for {}^nP_r.
Step 2. Apply the formula.
Why: 6! = 720 and 2! = 2. The division by (n-r)! = 2! removes the tail of the factorial that corresponds to the 2 unused letters.
Step 3. Verify by the multiplication principle.
Position 1: 6 choices. Position 2: 5. Position 3: 4. Position 4: 3.
Why: this is the expanded form of {}^6P_4 — four consecutive descending integers starting from 6. The two approaches give the same answer, as they must.
Step 4. Sanity check.
If you used all 6 letters, the count would be 6! = 720. Using only 4 gives 360 = 720/2, which is exactly half — because the 2 unused letters can be arranged in 2! = 2 ways among themselves, and those arrangements are "absorbed" by the division. The ratio makes sense.
Result. {}^6P_4 = 360 four-letter words.
Each of the 360 "words" is a distinct sequence of four letters. PENC and PENL are different words; PENC and CNEP are different words (same letters, different order). Order matters in every one of these 360 arrangements — that is what makes them permutations.
Example 2: In how many ways can a president, vice-president, and secretary be chosen from a club of $10$ members?
Step 1. Identify n and r.
n = 10 (the members), r = 3 (the positions: president, vice-president, secretary).
Why: the three positions are distinct — being president is not the same as being secretary — so the order of selection matters. This is a permutation problem, not a combination problem.
Step 2. Apply the formula.
Why: you are choosing 3 people from 10 and assigning them to 3 distinct roles. The formula {}^nP_r = n!/(n-r)! handles exactly this.
Step 3. Cancel and compute.
Why: 10! = 10 \times 9 \times 8 \times 7!, and dividing by 7! leaves the three top factors. This cancellation is the standard factorial simplification from factorial notation.
Step 4. Interpret.
There are 720 ways to fill the three officer positions. If you only wanted to know how many groups of 3 members could be chosen (ignoring which role each gets), you would divide by 3! = 6, getting 720/6 = 120 — that is the combination \binom{10}{3}. The permutation count is larger by a factor of r! = 3! = 6 because each group of 3 members corresponds to 6 different role assignments.
Result. {}^{10}P_3 = 720 ways to choose the three officers.
The distinction between permutations and combinations is visible in the diagram: if you ignored the role labels (president, vice-president, secretary) and cared only about which three members were chosen, the count would drop by a factor of 3! = 6. Permutations track both the selection and the arrangement; combinations track only the selection.
Common confusions
-
"Permutation and combination are the same thing." They are not. A permutation is an ordered selection; a combination is an unordered selection. Choosing 3 players for a team of equals is a combination. Choosing a president, vice-president, and secretary is a permutation. The permutation count is always \geq the combination count, and the two are equal only when r \leq 1.
-
"{}^nP_r = {}^nP_{n-r}." This is false. {}^5P_2 = 20 but {}^5P_3 = 60. The symmetry \binom{n}{r} = \binom{n}{n-r} belongs to combinations, not permutations.
-
"You can use {}^nP_r when objects repeat." The formula {}^nP_r = n!/(n-r)! assumes all n objects are distinct and each is used at most once. If repetition is allowed (you can re-use objects), the count for r positions is n^r (by the multiplication principle: each position has n independent choices). If some objects are identical, you need the permutation formula with repetition.
-
"Order always matters in real life, so always use permutations." Not true. If you are choosing 3 toppings for a pizza and the pizza tastes the same regardless of the order you list the toppings, that is a combination. The question "does the order of selection produce a different outcome?" determines which formula to use.
-
"{}^nP_0 = 0." It is 1, not 0. There is exactly one way to arrange zero objects: the empty arrangement. {}^nP_0 = n!/n! = 1.
Going deeper
If you have the {}^nP_r formula and can apply it to arrangement problems, you are ready for permutations with constraints and combinations. The rest of this section is for readers interested in the algebraic structure of permutations and their connection to group theory.
Permutations as functions
A permutation of n objects can be thought of as a bijection — a one-to-one and onto function from the set \{1, 2, \dots, n\} to itself. The permutation "move object 1 to position 3, object 2 to position 1, object 3 to position 2" is the function \sigma where \sigma(1) = 3, \sigma(2) = 1, \sigma(3) = 2.
This functional viewpoint lets you compose permutations: apply one, then apply another. If \sigma and \tau are both permutations of \{1, 2, 3\}, the composition \tau \circ \sigma is also a permutation. The set of all n! permutations of \{1, \dots, n\}, together with composition, forms a group — the symmetric group S_n. Group theory, which studies these structures abstractly, is one of the central branches of modern mathematics, and the symmetric group is its most concrete and most important example.
Derangements: permutations with no fixed points
A derangement is a permutation where no object ends up in its original position. If you have n letters and n envelopes (each letter belongs to a specific envelope), a derangement is a way to put every letter in the wrong envelope.
The number of derangements of n objects is:
For n = 3: D_3 = 3!(1 - 1 + 1/2 - 1/6) = 6 \times 1/3 = 2. The two derangements of \{1, 2, 3\} are (2, 3, 1) and (3, 1, 2) — the only arrangements where no element occupies its original position.
As n grows, the ratio D_n / n! approaches 1/e \approx 0.3679. So roughly 36.8\% of all permutations are derangements — a fact that is useful in probability.
Cayley's formula
How many labelled trees can be built on n vertices? The answer is n^{n-2}, a result known as Cayley's formula. The proof uses a beautiful bijection between labelled trees and sequences of n - 2 numbers from \{1, \dots, n\} (Prufer sequences), turning a graph-theory question into a counting question solvable by the multiplication principle: (n-2) positions, each with n choices, giving n^{n-2}. It is a striking example of how permutation-style counting reaches far beyond the "arrange objects in a row" problems of this chapter.
Where this leads next
Permutations are the gateway to the full combinatorics sequence.
- Permutations with Constraints — what happens when some objects must be together, or some must not be adjacent, or some objects are identical.
- Combinations — Basics — when order does not matter, the count drops from {}^nP_r to \binom{n}{r} = {}^nP_r / r!.
- Factorial Notation — the notation and properties that power every formula in this article.
- Fundamental Principle of Counting — the multiplication and addition principles that underlie the derivation of {}^nP_r.
- Number Theory Basics — where prime factorisations and the Fundamental Theorem connect to the structure of n!.