Permutations
🟢 Lite — Quick Review (1h–1d)
Rapid summary for last-minute revision before your exam.
Fundamental Principle of Counting: If one operation can be done in $m$ ways, and for each of these, another operation can be done in $n$ ways, then both operations can be done in $m \times n$ ways.
Factorial: $n! = n \times (n-1) \times (n-2) \times \cdots \times 1$. By definition, $0! = 1$.
Permutation (Arrangement):
- Without repetition: $P(n, r) = \frac{n!}{(n-r)!}$
- With repetition: $n^r$ (each of $r$ positions has $n$ choices)
Special Cases:
- $P(n, n) = n!$ (arranging all $n$ objects)
- $P(n, 1) = n$ (choosing 1 from $n$)
- $P(n, 0) = 1$
⚡ JEE Tip: When objects repeat, divide by factorials of each repeated type: number of arrangements of “BOOKKEEPER” = $\frac{10!}{2! \cdot 2! \cdot 3!}$ (2 O’s, 2 K’s, 3 E’s).
⚡ Common Mistake: Don’t use $n^r$ when order matters but selections don’t repeat. If you choose $r$ out of $n$ and arrange them (permutation without repetition), use $P(n,r)$, not $n^r$.
🟡 Standard — Regular Study (2d–2mo)
For students who want genuine understanding.
Circular Permutations:
- Around a circle: $(n-1)!$ (fix one position to remove rotation symmetry)
- Necklace/KEY: If clockwise and anticlockwise arrangements are identical: $\frac{(n-1)!}{2}$
Conditional Permutations:
1. Restrictions on adjacent positions: Use inclusion-exclusion or “treat as block” method. Example: arrangements of “KEPLER” with P and L together (note E repeats twice). Treat $(PL)$ or $(LP)$ as one unit: 5 units with 2 Es, $\frac{5!}{2!} \times 2! = 120$.
2. Restrictions on not being together: Total arrangements minus arrangements with restriction. Example: arrangements of “KEPLER” with P and L NOT together. Total: $\frac{6!}{2!} = 360$ (E repeats twice). With P and L together: $120$. So NOT together: $360 - 120 = 240$.
3. Position-based restrictions: Example: arrangements of numbers 1–5 where 1 is not in first position. Use complement: total $5! - 4! = 120 - 24 = 96$.
Derangements (Principle of Inclusion-Exclusion):
Number of ways to arrange $n$ items so that no item is in its original position: $$D_n = n!\left[\frac{1}{0!} - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + \cdots + \frac{(-1)^n}{n!}\right]$$
Special values: $D_1 = 0, D_2 = 1, D_3 = 2, D_4 = 9, D_5 = 44$.
Worked Examples:
Example 1: How many 5-digit numbers can be formed using digits 1, 2, 3, 4, 5 (without repetition) that are divisible by 4?
A number is divisible by 4 if and only if its last two digits form a number divisible by 4. So the strategy is to fix the last two positions with a valid pair and freely arrange the rest.
Using only the digits 1–5 with no repetition, the ordered two-digit endings divisible by 4 are: 12, 24, 32, and 52. (Endings such as 44 or 04 are excluded because they require a repeated digit or a 0, neither of which is available.) That gives 4 valid choices for the last two positions.
For each such ending, the first 3 positions are filled with the remaining 3 digits in $3! = 6$ ways. Total: $4 \times 6 = 24$ numbers.
Example 2 (JEE 2022): Count arrangements of “EXAMINATION” where vowels appear together.
Letters: E, X, A, M, I, N, A, T, I, O, N. Vowels: E, A, A, I, I, O (6 vowels, 2 As, 2 Is). Consonants: X, M, N, N, T (5 consonants, 2 Ns).
Treat vowels as a block: 1 block + 5 consonants = 6 items. Arrangements of 6 items: $\frac{6!}{2!}$ (for 2 Ns) $= 360$. Within vowel block: arrange E, A, A, I, I, O = $\frac{6!}{2! \cdot 2!} = 180$. Total: $360 \times 180 = 64800$.
Example 3: In how many ways can 5 boys and 5 girls be seated around a round table so that no two adjacent are of same gender?
Place boys first: $(5-1)! = 4! = 24$ arrangements. Now there are 5 gaps between boys (gaps are the positions). Seat girls in these 5 gaps: $5! = 120$ arrangements. Total: $24 \times 120 = 2880$.
🔴 Extended — Deep Study (3mo+)
Comprehensive theory for serious JEE Advanced preparation.
Distribution Problems:
1. Distribute $n$ distinct objects into $r$ distinct boxes:
- No restriction: $r^n$
- No box empty (inclusion-exclusion): $\sum_{k=0}^{r} (-1)^k \binom{r}{k} (r-k)^n$
- At most one per box: $P(n, r)$
2. Distribute $n$ identical objects into $r$ distinct boxes:
- No restriction: $\binom{n+r-1}{r-1}$
- No box empty: $\binom{n-1}{r-1}$
- At most $m$ in each: inclusion-exclusion or generating functions
Partition of Numbers:
Ferrers Diagram: Visual representation of partitions, where each part of the partition is drawn as a row of dots. Conjugating (reflecting) the diagram gives a partition into parts whose sizes correspond to the column counts, which is the basis of many partition identities.
The number of partitions of $n$ into at most $k$ parts equals the number of partitions of $n$ into parts each of size at most $k$ — the two are related by conjugation of the Ferrers diagram.
Generating Functions for Permutations:
Generating functions package a counting sequence into the coefficients of a power series. For permutations, the exponential generating function (EGF) is the natural tool, since labelled arrangements are weighted by $\frac{x^n}{n!}$.
The EGF for the number of permutations of an $n$-element set is $$\sum_{n=0}^{\infty} n! , \frac{x^n}{n!} = \sum_{n=0}^{\infty} x^n = \frac{1}{1-x}.$$
More generally, the ordinary generating function for the falling factorials (ordered selections) uses the identity $\sum_{r} P(n,r) = \lfloor e \cdot n! \rfloor$ for the total number of partial permutations of an $n$-set.
Advanced Problems:
Problem 1 (JEE Advanced 2020): Find the number of 9-digit numbers with digits 1–9 where each digit appears exactly once, and the number is divisible by 9.
A number is divisible by 9 if the sum of its digits is divisible by 9. Sum of digits 1–9 = 45, which is divisible by 9. So ANY arrangement of 1–9 is divisible by 9. Number of such arrangements: $9! = 362880$.
Problem 2: In how many ways can 12 examination papers be distributed among 4 students so that each student gets at least one paper?
Total ways to assign 12 distinct papers to 4 students: $4^{12}$ (each paper has 4 choices). Subtract assignments where at least one student gets nothing, using inclusion-exclusion. Let $A_i$ be the event that student $i$ gets no papers. $|A_i| = 3^{12}$ (papers go to remaining 3). $|A_i \cap A_j| = 2^{12}$. $|A_i \cap A_j \cap A_k| = 1^{12} = 1$. $|A_1 \cap A_2 \cap A_3 \cap A_4| = 0$.
By inclusion-exclusion, the count of “every student gets at least one paper” is $$4^{12} - \binom{4}{1}3^{12} + \binom{4}{2}2^{12} - \binom{4}{3}1^{12}.$$ Using $4^{12} = 16777216$, $3^{12} = 531441$, $2^{12} = 4096$: $$16777216 - 4 \cdot 531441 + 6 \cdot 4096 - 4 \cdot 1 = 16777216 - 2125764 + 24576 - 4 = 14676024.$$
Problem 3: Number of surjections from an $n$-set to an $m$-set ($n \geq m$): $$m! , S(n,m)$$ where $S(n,m)$ are Stirling numbers of the second kind.
$S(n,m) = \frac{1}{m!} \sum_{k=0}^{m} (-1)^k \binom{m}{k} (m-k)^n$.
JEE Advanced Patterns (2018–2024):
- Distribution problems with conditions (at least one, at most $k$) are common
- Derangements formula is frequently tested (usually given, but $D_n$ values up to 5 should be memorised)
- Circular permutations with gender adjacency are classic
- Stirling numbers appear in 2021, 2023 papers
- Principle of inclusion-exclusion in complex counting is trending upward
Content adapted based on your selected roadmap duration. Switch tiers using the pill selector above.
Sources & verification
- Official JEE Advanced syllabus & pattern: https://jeeadv.ac.in
- Editorial methodology: research → draft → fact-verify → curate pipeline
- Reviewed by Pushkar Saini · last updated
- Found an error? Email pushkersaini@gmail.com with the page URL and a one-line description — corrections typically actioned within 48 hours.
📐 Diagram Reference
Mathematical diagram showing Permutations concept with coordinate axes, labeled points, geometric shapes shaded appropriately, clean black and white style
Diagrams are generated per-topic using AI. Support for AI-generated educational diagrams coming soon.