6.2 Permutations
A permutation is an arrangement in a definite order. Filling $r$ places from $n$ different objects gives ${}^nP_r=\dfrac{n!}{(n-r)!}$ arrangements; when some objects are alike, divide out the swaps that change nothing.
Before a match, the captain of a cricket team writes down a batting order for the eleven players. How many different batting orders are possible? By the counting principle of Section 6.1, the first place can be filled in $11$ ways, the second in $10$, the third in $9$, and so on down to $1$: the answer is $11\times10\times9\times\cdots\times2\times1=39\,916\,800$. Almost forty million orders, from eleven names.
Products of consecutive whole numbers like this turn up in every arrangement problem, so they get a short name โ the factorial. In this section we introduce factorial notation, count arrangements of $r$ objects chosen from $n$ different objects โ the permutations ${}^nP_r$ โ prove the formula ${}^nP_r=\dfrac{n!}{(n-r)!}$, and then deal with the common case where some of the objects are identical, like the three A's in BANANA. Along the way you will learn the two standard tricks for "together" and "never together".
Factorial Notation
For a natural number $n$, the product of the first $n$ natural numbers is called $n$ factorial and written $n!$: $$n!=1\times2\times3\times\cdots\times(n-1)\times n.$$ We also define $$0!=1.$$ So $1!=1$, $2!=2$, $3!=6$, $4!=24$, $5!=120$, $6!=720$, $7!=5040$.
The most useful property is that each factorial contains the one before it: $$n!=n\times(n-1)!\qquad(n\ge1),$$ and, peeling off more factors, $n!=n(n-1)(n-2)!$ for $n\ge2$, and so on. This is what makes quotients of factorials easy: $\dfrac{8!}{6!}=\dfrac{8\times7\times6!}{6!}=56$ โ never multiply out $8!$ and $6!$ separately.
Why is $0!=1$ and not $0$? Put $n=1$ in $n!=n\times(n-1)!$: it says $1!=1\times0!$, so $0!$ must be $1$ if the rule is to keep working. In counting terms, there is exactly one way to arrange nothing โ do nothing. You will see in Theorem 6.4 that this choice makes the formulas work without exceptions.
(b) Evaluate $\dfrac{8!}{6!\,2!}$.
(c) Find the natural number $n$ with $(n+1)!=12\,(n-1)!$.
(d) Find $x$ if $\dfrac{1}{6!}+\dfrac{1}{7!}=\dfrac{x}{8!}$.
Permutations of Different Objects
A permutation is an arrangement, in a definite order, of some or all of a given collection of objects. For $0\le r\le n$, the number of permutations of $n$ different objects taken $r$ at a time, with no object repeated, is written $${}^nP_r.$$ For example, the permutations of the letters A, B, C taken $2$ at a time are $\text{AB},\text{BA},\text{AC},\text{CA},\text{BC},\text{CB}$, so ${}^3P_2=6$.
For integers $0\le r\le n$, $$\begin{aligned}{}^nP_r&=n(n-1)(n-2)\cdots(n-r+1)\\&=\dfrac{n!}{(n-r)!}.\end{aligned}$$ In particular ${}^nP_n=n!$ and ${}^nP_0=1$.
Proof. Arranging $r$ of the objects means filling $r$ places in order. The first place can be filled by any of the $n$ objects. Whichever object is used, $n-1$ objects are left for the second place, $n-2$ for the third, โฆ, and for the $r$-th place $n-(r-1)=n-r+1$ objects are left. By the fundamental principle of counting (Theorem 6.2), $${}^nP_r=n(n-1)\cdots(n-r+1).$$ Multiply and divide by $(n-r)!=(n-r)(n-r-1)\cdots2\cdot1$: the numerator becomes $n(n-1)\cdots(n-r+1)(n-r)\cdots1=n!$, so ${}^nP_r=\dfrac{n!}{(n-r)!}$. For $r=n$ this gives $\dfrac{n!}{0!}=n!$, and for $r=0$ it gives $\dfrac{n!}{n!}=1$ (one way to arrange nothing) โ both correct only because $0!=1$. $\blacksquare$
The number of arrangements of $r$ objects taken from $n$ different objects, when each object may be used any number of times, is $$n^r.$$ Reason. Each of the $r$ places can be filled in $n$ ways whatever was put in the other places (the Corollary of Theorem 6.2). $\blacksquare$
(b) Find $r$ if ${}^5P_r=2\times{}^6P_{r-1}$.
- Together (block method). Tie the objects that must be together into one block. Arrange the block with the other objects as single units, then multiply by the number of ways of arranging the objects inside the block.
- Never together, two objects. Subtract: $\#(\text{never together})=\#(\text{all})-\#(\text{together})$.
- No two of a group together (gap method). First arrange the other objects. They create gaps โ one before each object and one at the end. Choose and fill gaps for the group, one per gap.
Permutations When Some Objects Are Alike
How many different words can be made from the letters of $\text{BOOK}$? If the two O's were different โ say $\text{O}_1$ and $\text{O}_2$ โ there would be $4!=24$ arrangements. But $\text{BO}_1\text{O}_2\text{K}$ and $\text{BO}_2\text{O}_1\text{K}$ both read $\text{BOOK}$: swapping the two O's changes nothing you can see. Every visible word is counted $2!=2$ times among the $24$, so there are $\tfrac{24}{2}=12$ words.
Suppose $n$ objects consist of $p_1$ alike objects of one kind, $p_2$ alike objects of a second kind, โฆ, $p_k$ alike objects of a $k$-th kind, and the rest (if any) all different from each other and from these. Then the number of permutations of all $n$ objects is $$\dfrac{n!}{p_1!\,p_2!\cdots p_k!}.$$
Proof. Let the number of permutations be $x$. Take any one of them and make the alike objects different by attaching labels: $\text{O}_1,\text{O}_2$, and so on. Keeping every other object where it is, the $p_1$ labelled objects of the first kind can be rearranged among the positions they occupy in $p_1!$ ways, those of the second kind in $p_2!$ ways, and so on. By the fundamental principle, each of the $x$ permutations produces $p_1!\,p_2!\cdots p_k!$ permutations of $n$ different objects. Every permutation of the $n$ different (labelled) objects arises exactly once in this way โ remove its labels to see which of the $x$ it comes from. Therefore $$x\cdot p_1!\,p_2!\cdots p_k!=n!,$$ and dividing gives the formula. $\blacksquare$
1. Confusing ${}^nP_r$ with $n^r$. ${}^nP_r$ forbids repetition; $n^r$ allows it. "Using each letter at most once" means ${}^nP_r$.
2. $0!=0$. No: $0!=1$. With $0!=0$ the formula ${}^nP_n=\dfrac{n!}{0!}$ would divide by zero.
3. Forgetting to divide for alike objects. The letters of $\text{LEVEL}$ give $\dfrac{5!}{2!\,2!}=30$ words, not $5!=120$. Count every repeated letter, and divide by the factorial of each repetition count.
4. Forgetting the arrangements inside a block. In "the girls stand together", after arranging the units you must still multiply by the number of orders inside the block.
5. Cancelling factorials wrongly. $\dfrac{8!}{4!}\ne2!$ and $\dfrac{8!}{4!}\ne4!$; it is $8\times7\times6\times5=1680$. Similarly $(n+1)!\ne n!+1$.
In JEE Main and JEE Advanced 2026 (both list permutations and their applications); not in the CBSE year-end exam. Circular arrangements are a favourite of entrance-exam papers.
Circular permutations. When $n$ different people sit round a circular table, only their positions relative to each other matter: rotating everyone one seat to the left gives the same seating. Each circular seating corresponds to $n$ row arrangements (cut the circle at any of the $n$ places), so the number of circular arrangements is $$\dfrac{n!}{n}=(n-1)!.$$ Equivalently, fix one person's seat and arrange the other $n-1$ in a row. If, in addition, clockwise and anticlockwise orders count as the same โ beads on a necklace, flowers on a garland โ the number is $\dfrac{(n-1)!}{2}$ for $n\ge3$.
Worked example. In how many ways can $6$ people sit at a round table? In how many of these do two particular people, P and Q, sit next to each other?
Solution. $(6-1)!=120$ ways. For P and Q together, treat them as one unit: $5$ units round the table give $(5-1)!=24$ arrangements, and P, Q can sit in $2$ orders within the unit: $48$. Check: fix P's seat; Q has $5$ seats to choose from, $2$ of them next to P, so P and Q are neighbours in $\tfrac25$ of all seatings, and $\tfrac25\times120=48$ โ.
Exercises
- 1 Evaluate $6!$.
- 2 Evaluate $\dfrac{8!}{5!\,3!}$.
- 3 Is $3!+4!=7!$? Evaluate both sides.
- 4 Evaluate $\dfrac{n!}{r!\,(n-r)!}$ for $n=7$, $r=3$.
- 5 Find $x$ if $\dfrac{1}{8!}+\dfrac{1}{9!}=\dfrac{x}{10!}$.
- 6 Find the natural number $n$ with $(n+2)!=2550\times n!$.
- 7 Find $n$ if $\dfrac{n!}{(n-2)!}=56$.
- 8 Write $10\times9\times8\times7$ as a quotient of two factorials.
- 1 Evaluate ${}^7P_3$.
- 2 Evaluate ${}^{10}P_2$.
- 3 Evaluate ${}^6P_6$.
- 4 Find $n$ if ${}^nP_2=72$.
- 5 Find $n$ if ${}^nP_5=42\times{}^nP_3$ ($n\ge5$).
- 6 Find $r$ if ${}^6P_r=120$.
- 7 How many 3-digit numbers with three different digits can be made from the digits $1$โ$9$?
- 8 In how many ways can $4$ people sit on a row of $6$ chairs?
- 1 How many arrangements of the letters of $\text{DELHI}$ are there, and how many of them begin with a vowel?
- 2 How many arrangements of the letters of $\text{PATNA}$ are there?
- 3 How many arrangements of the letters of $\text{ASSESS}$ are there?
- 4 How many arrangements of the letters of $\text{INSTITUTE}$ are there? In how many are the vowels together?
- 5 $7$ different books are put on a shelf. In how many ways can this be done if two particular books are (a) together (b) never together?
- 6 In how many ways can $4$ boys and $4$ girls stand in a row so that boys and girls alternate?
- 7 In how many ways can $3$ identical red balls, $2$ identical blue balls and $1$ green ball be placed in a row?
- 8 How many 6-digit numbers can be made using all of the digits $0,1,1,2,2,2$?
- 9 A signal is made by hanging all of $6$ flags in a vertical line: $2$ identical red, $2$ identical blue and $2$ identical green flags. How many signals are possible?
- 1 A cricket captain fixes the batting order of his $11$ players. The two opening places must go to two of the $3$ specialist openers in the team; the other $9$ players (including the third opener) fill places $3$ to $11$ in any order. How many batting orders are possible?
- 2 A railway line has $20$ stations. A ticket shows the starting station and the destination. How many different kinds of single-journey ticket must be printed?
- 3 A suitcase lock has $4$ rings, each showing the $6$ letters AโF. What is the largest number of unsuccessful attempts someone who has forgotten the code could make?
- 4 In a race with $8$ runners, in how many ways can the gold, silver and bronze medals be awarded (no ties)?
- 5 A DNA strand is a sequence of the bases A, C, G, T. How many different strands of length $10$ are possible?
- 6 In how many arrangements of the letters of $\text{MATHS}$ are M and A not next to each other?
- 7 Five board papers, one of them Mathematics, are to be held on five different days. In how many orders can they be scheduled if Mathematics is not on the first day?
How this is examined: Board papers ask you to evaluate factorials, solve an equation in ${}^nP_r$ (2 marks) and count arrangements of a word with repeated letters, often with a "begins with" or "together" condition (3โ5 marks). JEE adds dictionary ranks, circular arrangements and identities between the ${}^nP_r$.
E1. Board ยท 1 mark The value of $0!+1!+2!$ is (A) $3$ (B) $4$ (C) $2$ (D) $0$
E2. Board ยท 2 marks Find $n$ if ${}^nP_4:{}^nP_2=12:1$.
E3. Board ยท 3 marks Find the number of arrangements of the letters of the word $\text{PARALLEL}$. In how many of them (i) does the word begin with P (ii) are all three L's together?
E4. Board ยท Case study Six students, including Asha and Bilal, are to sit in a row of six chairs for a group photograph. (i) In how many ways can they sit? (1 mark) (ii) In how many ways if Asha and Bilal sit together? (1 mark) (iii) In how many ways if Asha and Bilal do not sit together, and in how many of those does Asha sit at one end of the row? (2 marks)
E5. JEE Main All the arrangements of the letters of $\text{TRAIN}$ are listed in dictionary (alphabetical) order. The position of the word $\text{TRAIN}$ in the list is (A) $113$ (B) $114$ (C) $115$ (D) $116$
E6. JEE Advanced One or more options correct. For integers $1\le r\le n$: (A) ${}^nP_r=n\cdot{}^{n-1}P_{r-1}$ (B) ${}^nP_r=(n-r+1)\cdot{}^nP_{r-1}$ (C) ${}^nP_n={}^nP_{n-1}$ (D) ${}^nP_r={}^nP_{n-r}$
Research question. Whose name in your class can be rearranged in the most ways โ and how much do repeated letters cut the number down?
Why it matters. The formula $\dfrac{n!}{p_1!\,p_2!\cdots}$ is used far beyond word puzzles: chemists count the arrangements of molecules in a crystal with it, biologists count DNA sequences with a given make-up, and it is the starting point of the idea of entropy in physics โ the more arrangements a state has, the more likely it is.
What to do.
- Collect the first names of $15$โ$20$ classmates (with permission). For each name write $n$, the repeated letters and their counts.
- Compute the number of arrangements $\dfrac{n!}{p_1!\,p_2!\cdots}$ for every name in a spreadsheet (use
FACT()). - For one short name with a repeated letter, list all its arrangements by hand to check the formula.
- Rank the names. Find two names of the same length whose counts differ a lot, and explain why using the formula.
Tools: A spreadsheet app; paper for the hand listing
Hand in: Your table, the ranking, the hand-made list, and a short paragraph on how repetition reduces the count.
Going further. A shuffled pack of $52$ different cards can be in $52!$ orders. Estimate $52!$ with a calculator and compare it with the age of the universe in seconds (about $4.4\times10^{17}$). Is any shuffle you make likely to have happened before?
๐งช Self-check quiz
Q1. $0!$ is equal to
Q2. ${}^5P_2$ is
Q3. The number of different arrangements of the letters of $\text{LEVEL}$ is
Q4. In how many ways can $4$ people A, B, C, D stand in a row if A and B must stand next to each other?
Q5. How many 3-letter codes can be made from the letters A, B, C, D, E if letters may be repeated?