Math · Algebra

Permutations and Combinations revision notes

A concise JEE revision summary of Permutations and Combinations.

FormulasRevision notes
Mathrevision notes

Fundamental Principle of Counting

The foundation of all counting techniques is determining the number of ways to arrange and select objects without actually listing them.

  • The Multiplication Principle: If an event can occur in mm different ways, following which another event can occur in nn different ways, then the total number of occurrences of the events in the given order is m×nm \times n. This generalizes to any finite number of sequential events (e.g., m×n×pm \times n \times p). → [JEE TIP] Use this when events are dependent and happen in sequence (indicated by the word "AND").
  • The Addition Principle: While not explicitly named in the text, it is utilized when breaking down mutually exclusive cases. For example, if generating a signal requires 2 OR 3 OR 4 OR 5 flags, we calculate the arrangements for each case separately and add them up (e.g., 20+60+120+120=32020 + 60 + 120 + 120 = 320). → [JEE TIP] Use this for mutually exclusive cases (indicated by the word "OR").

Factorial Notation

The notation n!n! represents the product of the first nn natural numbers: n!=1×2×3×...×(n1)×nn! = 1 \times 2 \times 3 \times ... \times (n-1) \times n.

  • Recursive Property: n!=n(n1)!n! = n(n-1)! (for n2n \ge 2). This property is heavily used for simplifying factorial fractions.
  • Zero Factorial: By definition, 0!=10! = 1. This ensures combinatorial formulas remain valid even for zero values (e.g., selecting or arranging 0 objects).

Permutations (Arrangements)

A permutation is an arrangement in a definite order of a number of objects taken some or all at a time. Order is strictly important here.

  • Permutations of Distinct Objects (No Repetition): The number of permutations of nn different objects taken rr at a time (0<rn0 < r \le n) is denoted by nPr^nP_r.
    • Formula: nPr=n!(nr)!^nP_r = \frac{n!}{(n-r)!}.
    • When arranging all nn objects at once (r=nr=n), the number of ways is nPn=n!^nP_n = n!.
    • Arranging 0 objects is considered 1 way: nP0=1^nP_0 = 1.
  • Permutations with Repetition Allowed: The number of permutations of nn different objects taken rr at a time, where repetition is allowed, is nrn^r.
  • Permutations of Identical Objects: The number of permutations of nn objects, where p1p_1 objects are of one kind, p2p_2 are of a second kind, ..., pkp_k are of a kthk^{th} kind, and the rest are all different, is n!p1!p2!...pk!\frac{n!}{p_1! p_2! ... p_k!}. → [JEE TIP] Whenever dealing with words like "MISSISSIPPI" or "ALLAHABAD", immediately count the frequencies of identical letters before applying this formula.

Combinations (Selections)

A combination is a selection of items where the order of selection does not matter (e.g., choosing a team of players, drawing chords between points).

  • Combinations of Distinct Objects: The number of combinations of nn different objects taken rr at a time is denoted by nCr^nC_r.
    • Formula: nCr=n!r!(nr)!^nC_r = \frac{n!}{r!(n-r)!}.
  • Relationship between Permutations and Combinations: Every combination of rr objects can be rearranged internally in r!r! ways. Therefore, nPr=nCr×r!^nP_r = ^nC_r \times r! (0<rn0 < r \le n).
  • Key Properties of Combinations:
    1. nC0=1^nC_0 = 1 (Selecting 0 objects means leaving all behind, which is 1 way).
    2. nCn=1^nC_n = 1.
    3. Complementary Combinations: nCr=nCnr^nC_r = ^nC_{n-r}. Selecting rr objects is identical to rejecting the remaining (nr)(n-r) objects.
    4. Equality Rule: If nCa=nCb^nC_a = ^nC_b, then either a=ba = b or a=nba = n - b (which implies n=a+bn = a + b). → [JEE TIP] Highly tested property in basic JEE algebra equations.
    5. Pascal's Rule: nCr+nCr1=n+1Cr^nC_r + ^nC_{r-1} = ^{n+1}C_r.

JEE Advanced Topics

  • Circular Permutations: The number of ways to arrange nn distinct objects in a circle is (n1)!(n-1)!. If clockwise and counter-clockwise arrangements are indistinguishable (like beads on a necklace or flowers in a garland), the number of ways is (n1)!2\frac{(n-1)!}{2}.
  • Beggars Method (Stars and Bars): To find the number of non-negative integral solutions to the equation x1+x2+...+xr=nx_1 + x_2 + ... + x_r = n, the formula is n+r1Cr1^{n+r-1}C_{r-1}. For strictly positive integral solutions, the formula is n1Cr1^{n-1}C_{r-1}.
  • Derangements: The number of ways nn items can be placed into nn distinct directed positions such that NO item goes to its original/correct position is Dn=n!(111!+12!13!+...+(1)nn!)D_n = n! \left(1 - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + ... + \frac{(-1)^n}{n!}\right).
  • Legendre's Formula: To find the highest power (exponent) of a prime number pp that divides n!n!, use Ep(n!)=np+np2+np3+...E_p(n!) = \lfloor \frac{n}{p} \rfloor + \lfloor \frac{n}{p^2} \rfloor + \lfloor \frac{n}{p^3} \rfloor + ...
  • Distribution into Groups: Distributing m+n+pm+n+p distinct items into three groups of sizes m,n,pm, n, p is (m+n+p)!m!n!p!\frac{(m+n+p)!}{m!n!p!}. If group sizes are identical (m=n=pm=n=p), divide by the factorial of the number of identical groups to avoid overcounting: (3m)!(m!)33!\frac{(3m)!}{(m!)^3 3!}.

Key Concepts & Definitions

Permutation:
An arrangement of objects in a definite sequential order.
Combination:
A selection of objects where order is entirely irrelevant (e.g., XYXYXY and YXYXYX are the same combination).
Multiplication Principle vs. Addition Principle:
Multiplication represents successive events (Event A occurs and then Event B occurs), while Addition represents alternate events (Either Event A or Event B occurs).

Formulae, Equations & Variables

  • n!=n(n1)!n! = n(n-1)!
    • nn: Must be a non-negative integer (W\mathbb{W}).
  • nPr=n!(nr)!^nP_r = \frac{n!}{(n-r)!}
    • nn: Total number of distinct objects available.
    • rr: Number of objects to be arranged.
    • Condition: nr0n \ge r \ge 0; nNn \in \mathbb{N}, rWr \in \mathbb{W}.
  • nCr=n!r!(nr)!^nC_r = \frac{n!}{r!(n-r)!}
    • nn: Total distinct objects.
    • rr: Number of objects to select.
    • Condition: nr0n \ge r \ge 0; nNn \in \mathbb{N}, rWr \in \mathbb{W}.
  • Permutations with Indistinguishable Objects: n!p1!p2!...pk!\frac{n!}{p_1! p_2! ... p_k!}
    • nn: Total objects.
    • pkp_k: Frequency of the kthk^{th} type of identical object.

Conditions & Limitations

  • Formulas for nPr^nP_r and nCr^nC_r cannot be used if the total pool of nn objects contains duplicates (indistinguishable items) unless modified.
  • The Factorial operator !! is strictly limited to non-negative integers. Negative factorials and fractional factorials are undefined in the context of standard P&C.
  • Zero can be tricky. When forming numbers of a specific length (e.g., 3-digit numbers), a "0" in the most significant digit (hundreds place) disqualifies the number from being a 3-digit number. It acts as a 2-digit number and must be subtracted out. → [JEE TIP] Always check if 0 is part of the given digits when forming numerical sequences!

Standard Derivations & Step-by-Step Problem Solving

1. Tie Method (Bundle Method)

Use case: When specific items (like vowels) must always occur "together". Steps:

  1. Group the required items into a single "bundle" or "super-object".
  2. Count the total arrangements of the remaining objects plus this 1 super-object.
  3. Multiply the result by the internal permutations of the items inside the bundle.

2. Gap Method

Use case: When specific items (like boys) must "never occur together" (no two are adjacent). Steps:

  1. Arrange the other non-restricted items first (e.g., the girls). Let's say there are nn girls. This gives n!n! ways.
  2. Create "gaps" between and at the ends of these arranged items. For nn items, there are n+1n+1 gaps.
  3. Select and arrange the restricted items into these gaps using n+1Pr^{n+1}P_r. Multiply the two values. → [JEE TIP] Never use Total minus 'All Together' for finding "no two are together" if the restricted objects are more than 2, as it leaves cases where some (but not all) are together.

3. Dictionary Rank Problem

Use case: Finding the alphabetical rank of a given word (e.g., "AGAIN" finding the 50th word). Steps:

  1. Arrange the letters of the word alphabetically (A, A, G, I, N).
  2. Fix the first letter and find permutations of the remaining letters. (e.g., Words starting with A = 4!=244! = 24).
  3. Systematically step through the alphabet for the first position until you get close to the target rank, then move to the second position.

⚠️ COMMON MISCONCEPTIONS & SIGN CONVENTIONS

  • The Overcounting Trap with Identical Objects: Treating identical objects as distinct leads to massive overcounting. If you have 2 identical 'O's in ROOT, swapping them creates the exact same visual arrangement, which is why we must divide the total permutations (4!4!) by the identical factorials (2!2!).
  • "At Least" vs "At Most" Restrictions: A restriction like "at least 3 girls" means you must painstakingly list out the mutually exclusive cases: (3 girls + 2 boys) OR (4 girls + 1 boy) OR (5 girls + 0 boys), evaluate each combination using multiplication, and sum them using the addition principle.

Previous Year JEE Topics

  • Dictionary Rank of Words (with and without repetition).
  • Number of factors/divisors and sum of divisors.
  • Grid problems (shortest paths from (0,0)(0,0) to (m,n)(m,n)).
  • Selection of specific suits/denominations from playing cards.
  • Distribution of distinct and identical objects (Beggars method).
  • Gap method and Bundle method restrictions.

Top 10 JEE MCQ Traps

Trap 1 - Zero as a Leading Digit:

  • [JEE TIP] Trap 1 - The Leading Zero Illusion:

    • Misconception: Permutations generated from a set of digits that include 00 (such as 0,4,20, 4, 2) automatically yield valid nn-digit numbers.
    • Correct Understanding: A number cannot have 00 as its leading digit if it is to retain its specified number of digits (e.g., 042042 is a 2-digit number, not a 3-digit number). To solve this correctly, you must manually fix 00 at the highest place value, calculate those specific permutations, and subtract them from the total unconstrained permutation count.
  • [JEE TIP] Trap 2 - The Separated Vowel Semantic Split:

    • Misconception: Subtracting the cases where "all vowels are together" from the "total possible arrangements" yields the correct answer for "no two vowels are together".
    • Correct Understanding: Subtracting "all together" only eliminates the single block case where every vowel sits next to each other; it completely misses cases where two vowels are together and a third is separated. To guarantee that no two vowels sit together, you must instead use the Gap Method—arrange the consonants first, and then choose spaces from the resulting gaps to place the vowels.
  • [JEE TIP] Trap 3 - Identical Combination Over-Selection:

    • Misconception: The standard combination formula nCr{}^n\text{C}_r can be applied directly to select a subset of letters from a word containing repeating characters, such as "INDEPENDENCE".
    • Correct Understanding: The formula nCr{}^n\text{C}_r is strictly restricted to distinct objects. When dealing with collections that contain identical objects, you must construct mutually exclusive, exhaustive cases based on structural patterns (e.g., Case 1: 3 letters are identical; Case 2: 2 letters are identical and 1 is different; Case 3: All 3 letters are completely different) and calculate each separately.
  • [JEE TIP] Trap 4 - The 3D Necklace Rotation Inversion:

    • Misconception: Arranging nn distinct beads on a circular necklace follows the standard circular permutation formula (n1)!(n-1)!.
    • Correct Understanding: A physical necklace can be flipped over in 3D space, which means that its clockwise and counter-clockwise arrangements are visually and geometrically identical. Because turning the necklace over mirrors the sequence, you must divide the unconstrained circular permutations by 2, yielding (n1)!2\frac{(n-1)!}{2}.
  • [JEE TIP] Trap 5 - The "At Least One" Sigma Exhaustion:

    • Misconception: Finding the number of ways to select "at least one" object from a set of nn distinct items requires manually computing and summing individual combinations (nC1+nC2+nC3++nCn{}^n\text{C}_1 + {}^n\text{C}_2 + {}^n\text{C}_3 + \dots + {}^n\text{C}_n).
    • Correct Understanding: Summing every term individually is highly inefficient and prone to addition errors under exam pressure. Instead, exploit the total subset identity: since each distinct object has exactly 2 choices (either selected or not selected), the entire sum condenses perfectly to 2n12^n - 1 (total possible subsets minus the single empty null set).
  • [JEE TIP] Trap 6 - The Unmarked Box Division Deficit:

    • Misconception: Distributing 1212 distinct items equally into 33 identical, unmarked boxes can be computed directly using the multinomial coefficient 12!4!4!4!\frac{12!}{4!4!4!}.
    • Correct Understanding: The multinomial coefficient implicitly assumes that the boxes themselves are distinct (e.g., Box A, Box B, Box C). If the boxes are completely unmarked and identical, swapping the final groups between the boxes does not create a new unique distribution. To remove this false ordering, you must divide by the factorial of the number of identical groups, giving 12!(4!)33!\frac{12!}{(4!)^3 \cdot 3!}.
  • [JEE TIP] Trap 7 - Card Suit Logical Disjunction vs. Conjunction:

    • Misconception: The counting operations for selecting cards "of the same suit" and cards "of different suits" are interchangeable.
    • Correct Understanding: The wording dictates the mathematical operator. Selecting 4 cards of the same suit implies an OR relationship (4 Hearts OR 4 Clubs OR 4 Diamonds OR 4 Spades), which requires the addition rule: (13C4)+(13C4)+(13C4)+(13C4)({}^{13}\text{C}_4) + ({}^{13}\text{C}_4) + ({}^{13}\text{C}_4) + ({}^{13}\text{C}_4). Selecting 4 cards of different suits implies an AND relationship (1 Heart AND 1 Club AND 1 Diamond AND 1 Spade), which mandates the multiplication rule: (13C1)×(13C1)×(13C1)×(13C1)({}^{13}\text{C}_1) \times ({}^{13}\text{C}_1) \times ({}^{13}\text{C}_1) \times ({}^{13}\text{C}_1).
  • [JEE TIP] Trap 8 - The Polynomial Factorial Expansion Trap:

    • Misconception: Solving a combination equality like nC8=nC2{}^n\text{C}_8 = {}^n\text{C}_2 requires expanding the terms into full factorials and solving the resulting high-degree algebraic polynomial for nn.
    • Correct Understanding: Do not expand the factorials. Instead, apply the fundamental complementary combination property: nCa=nCb    {}^n\text{C}_a = {}^n\text{C}_b \implies either a=ba = b or n=a+bn = a + b. Since 828 \neq 2, it must hold true that n=8+2=10n = 8 + 2 = 10, bypassing the algebraic expansion entirely.
  • [JEE TIP] Trap 9 - Manual Derangement Counting Exhaustion:

    • Misconception: Determining the number of ways to place nn distinct letters into nn distinct envelopes such that no letter goes into its correct envelope is best computed by manual tree diagrams or basic subtraction.
    • Correct Understanding: Counting derangements manually for n4n \ge 4 is highly prone to omissions. You should directly apply the formal Derangement formula: Dn=n!(111!+12!13!++(1)n1n!)\text{D}_n = n! \left( 1 - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + \dots + (-1)^n\frac{1}{n!} \right). For the exam, it is highly efficient to memorize the standard output values: D3=2\text{D}_3 = 2, D4=9\text{D}_4 = 9, and D5=44\text{D}_5 = 44.
  • [JEE TIP] Trap 10 - The Selection-Arrangement Chronological Blending:

    • Misconception: Selecting and ordering a team under constraints (such as a 5-member committee with "at least one boy and one girl") can be solved cleanly using a single unified permutation formula.
    • Correct Understanding: Attempting to select and arrange items simultaneously when conditions apply leads to severe double-counting errors. You must break the problem down into two discrete, chronological phases: Phase 1 (Selection)—use combinations to pick the items, summing up the independent, mutually exclusive case structures. Phase 2 (Arrangement)—multiply the final consolidated selection count by r!r! to order them if the positions are distinct.
Notes fade fast. Rhovecs re-surfaces each concept on a forgetting schedule and picks what you practise next — so revision sticks.See how it works
Other chapters

Rhovecs re-surfaces each concept right before you’d forget it — and picks the next thing to practise. We decide, you execute.

Get started