Jeemate
MathematicsAlgebraHigh Yield (2 Qs in JEE)

Permutations & Combinations (P&C) Formulas

Fundamental principle of counting, nPr, nCr, circular permutations, distribution into groups, and de-arrangement.

18 Formulas•599+ Questions in Bank

Core Formulas & Mathematical Identities

18
01

Basic Permutation & Combination Formulas

nPr=n!(n−r)!,nCr=n!r!(n−r)!,nCr+nCr−1=n+1Cr{}^nP_r = \frac{n!}{(n-r)!}, \quad {}^nC_r = \frac{n!}{r!(n-r)!}, \quad {}^nC_r + {}^nC_{r-1} = {}^{n+1}C_r

Fundamental counting formulas (Pascal's rule).

Examiner Tip: ^nC_r = ^nC_{n-r}.
02

Number of Non-Negative Integral Solutions

x1+x2+⋯+xr=n  ⟹  Solutions=n+r−1Cr−1x_1 + x_2 + \dots + x_r = n \implies \text{Solutions} = {}^{n + r - 1}C_{r - 1}

Stars and bars method: distributing n identical items into r distinct boxes.

Examiner Tip: For positive integral solutions (x_i ≥ 1), solutions = ^{n - 1}C_{r - 1}.
03

De-arrangement Formula (D_n)

Dn=n![1−11!+12!−13!+⋯+(−1)nn!]D_n = n! \left[ 1 - \frac{1}{1!} + \frac{1}{2!} - \frac{1}{3!} + \dots + \frac{(-1)^n}{n!} \right]

Number of permutations such that none of the n objects appear in their original natural position.

Examiner Tip: D₁ = 0, D₂ = 1, D₃ = 2, D₄ = 9, D₅ = 44.
04

Division into Groups

Equal Groups: (mn)!(m!)nn!,Unequal Groups: (m+n+p)!m!n!p!\text{Equal Groups: } \frac{(mn)!}{(m!)^n n!}, \quad \text{Unequal Groups: } \frac{(m+n+p)!}{m! n! p!}

Formulas for partition into distinct or identical sets.

Examiner Tip: Divide by k! whenever k groups have the same size and are undistinguished.
05

Circular Permutations & Necklaces

Pcircle=(n−1)!,Pnecklace=(n−1)!2 (n≥3)P_{\text{circle}} = (n - 1)!, \quad P_{\text{necklace}} = \frac{(n - 1)!}{2}\ (n\ge3)

Arrangements around a round table versus a necklace/garland where flip-over (clockwise = anticlockwise) makes halves identical.

Examiner Tip: If arranging n men and n women alternatively around a round table: (n - 1)! × n!. Halving for necklaces applies for n ≥ 3 only.
06

Grid / Lattice Path Counting

Paths from (0,0)→(m,n)=(m+n)!m!n!=m+nCm\text{Paths from } (0, 0) \to (m, n) = \frac{(m + n)!}{m! n!} = {}^{m+n}C_m

Number of shortest monotonic paths on an m × n grid moving only rightward (R) and upward (U).

Examiner Tip: If passing through an intermediate point (p, q): Total Paths = {}^{p+q}C_p × {}^{(m-p)+(n-q)}C_{m-p}.
07

Distribution of Distinct Objects into Boxes

rn  (Distinct items, Distinct boxes),∑k=0r(−1)r−krCkkn  (No empty box)r^n \; (\text{Distinct items, Distinct boxes}), \quad \sum_{k=0}^r (-1)^{r-k} {}^rC_k k^n \; (\text{No empty box})

Fundamental distribution theorem with restrictions on empty containers using inclusion-exclusion.

Examiner Tip: Total number of functions from set of n elements to set of r elements is r^n; total onto functions is r! · S(n, r).
08

Arrangements with Repeated Objects

n!p! q! r!(p alike of one kind, q of another, r of a third, p+q+r+⋯=n)\frac{n!}{p!\,q!\,r!}\quad (p \text{ alike of one kind},\ q \text{ of another},\ r \text{ of a third},\ p+q+r+\dots=n)

Number of distinct arrangements of n objects of which p are alike of one kind, q alike of a second kind, and so on.

Examiner Tip: MISSISSIPPI: 11!/(4!·4!·2!) = 34650. For words where letters like 'vowels together' are required, treat the block as one object, then multiply by the arrangements inside it.
09

Number & Sum of Divisors

N=p1a1p2a2⋯pkak: d(N)=∏(ai+1),σ(N)=∏piai+1−1pi−1,∏divisors=Nd(N)/2N=p_1^{a_1}p_2^{a_2}\cdots p_k^{a_k}:\ d(N)=\prod(a_i+1),\quad \sigma(N)=\prod\frac{p_i^{a_i+1}-1}{p_i-1},\quad \prod\text{divisors}=N^{d(N)/2}

Count of positive divisors, their sum, and the product, from the prime factorisation of N.

Examiner Tip: Ways of writing N as a product of two factors: d(N) ordered, d(N)/2 unordered (or (d + 1)/2 if N is a perfect square). N is a perfect square iff d(N) is odd.
10

Highest Power of a Prime in n! (Legendre)

Ep(n!)=⌊np⌋+⌊np2⌋+⌊np3⌋+…E_p(n!)=\left\lfloor\frac np\right\rfloor+\left\lfloor\frac n{p^2}\right\rfloor+\left\lfloor\frac n{p^3}\right\rfloor+\dots

Exponent of the prime p in n!. The number of trailing zeroes of n! is E₅(n!) because factors of 2 are more plentiful than factors of 5.

Examiner Tip: 100! has ⌊100/5⌋ + ⌊100/25⌋ = 24 trailing zeroes. For a composite base like 12 = 2²·3 take the minimum of E₂/2 and E₃.
11

Rank of a Word in the Dictionary

Rank=1+∑i(no. of unused letters smaller than the i-th letter)×(n−i)!\text{Rank}=1+\sum_i\left(\text{no. of unused letters smaller than the } i\text{-th letter}\right)\times(n-i)!

Count the words that come before the given word position by position (alphabetical order), then add 1. For repeated letters divide each factorial by the factorials of repeated letters in the remaining set.

Examiner Tip: Rank of MATHS (A, H, M, S, T): 2·4! + 0·3! + 2·2! + 0 + 0 + 1 = 53.
12

Sum of All Numbers Formed from Given Digits

n distinct non-zero digits, all taken at a time: (n−1)! (∑digits) 11…1⏟n ones;r at a time: n−1Pr−1 (∑digits) 10r−19n \text{ distinct non-zero digits, all taken at a time}: \ (n-1)!\,(\textstyle\sum\text{digits})\,\underbrace{11\ldots1}_{n\text{ ones}};\quad r\text{ at a time}: \ {}^{n-1}P_{r-1}\,(\textstyle\sum\text{digits})\,\dfrac{10^r-1}{9}

Each digit appears equally often in every place. For r-digit numbers each digit occupies a given place in ⁿ⁻¹P_{r−1} numbers.

Examiner Tip: Check: all 3-digit numbers from 1, 2, 3: 2!·6·111 = 1332. If 0 is among the digits, subtract the numbers with a leading 0.
13

Geometrical Counting: Diagonals, Triangles, Rectangles

Diagonals of an n-gon=n(n−3)2;Triangles from n points with m collinear=nC3−mC3;Rectangles in an m×n grid=m+1C2⋅n+1C2;Squares in n×n=n(n+1)(2n+1)6\text{Diagonals of an } n\text{-gon}=\frac{n(n-3)}2;\quad \text{Triangles from } n \text{ points with } m \text{ collinear}={}^nC_3-{}^mC_3;\quad \text{Rectangles in an } m\times n \text{ grid}={}^{m+1}C_2\cdot{}^{n+1}C_2;\quad \text{Squares in } n\times n=\frac{n(n+1)(2n+1)}6

Standard counting results. Interior intersection points of the diagonals of a convex n-gon (no three concurrent) = ⁿC₄. Lines from n points with m collinear: ⁿC₂ − ᵐC₂ + 1.

Examiner Tip: Chessboard (8 × 8): 1296 rectangles (36 × 36) and 204 squares. Triangles formed by vertices of an n-gon with no side common to the polygon: n(n − 4)(n − 5)/6.
14

Circular Permutations with Restrictions

Two particular persons together:2 (n−2)!;not together:(n−3)(n−2)!;Choose r of n and seat:nCr (r−1)!\text{Two particular persons together}: 2\,(n-2)!;\quad \text{not together}: (n-3)(n-2)!;\quad \text{Choose } r \text{ of } n \text{ and seat}: {}^nC_r\,(r-1)!

Number of ways of seating n people around a round table with restrictions (relative positions matter, rotations equivalent).

Examiner Tip: Fix one person (or the block) first to remove the rotational symmetry. Clockwise = anticlockwise arrangements (necklace, garland) means halve the count.
15

Selection from Identical Objects & Other Selections

Selections (including none) from p alike, q alike and r distinct objects=(p+1)(q+1)2r;non-empty selections from n distinct=2n−1\text{Selections (including none) from } p \text{ alike, } q \text{ alike and } r \text{ distinct objects}=(p+1)(q+1)2^r;\quad \text{non-empty selections from } n \text{ distinct}=2^n-1

Each group of alike objects can be taken in (number + 1) ways (0 to all), and each distinct object in 2 ways (take / leave).

Examiner Tip: Subtract 1 for the empty selection when 'at least one' is required. Selecting r objects from n distinct types with repetition allowed: ⁿ⁺ʳ⁻¹Cᵣ.
16

Catalan Numbers & Stirling Numbers of the Second Kind

Cn=1n+12nCn (1,1,2,5,14,42,… );S(n,k)=kS(n−1,k)+S(n−1,k−1);S(n,2)=2n−1−1;S(n,n−1)=nC2;onto functions=k! S(n,k)C_n=\frac1{n+1}{}^{2n}C_n \ (1,1,2,5,14,42,\dots);\quad S(n,k)=kS(n-1,k)+S(n-1,k-1);\quad S(n,2)=2^{n-1}-1;\quad S(n,n-1)={}^nC_2;\quad \text{onto functions}=k!\,S(n,k)

Catalan: balanced bracket sequences of n pairs, lattice paths that never cross the diagonal, triangulations of an (n+2)-gon. Stirling S(n, k): ways to partition n distinct objects into k non-empty identical groups.

Examiner Tip: S(4, 2) = 7 and S(5, 3) = 25. Distinct objects into k distinct non-empty boxes: k! S(n, k).
17

Handshakes and Pairing

Handshakes among n people=nC2;Pairing 2n people=(2n)!2n n!=(2n−1)!!\text{Handshakes among } n \text{ people}={}^nC_2;\quad \text{Pairing } 2n \text{ people}=\frac{(2n)!}{2^n\,n!}=(2n-1)!!

Each handshake is an unordered pair. Pairing counts the ways of splitting 2n distinct objects into n unordered pairs.

Examiner Tip: If k particular people do not shake hands among themselves, subtract ᵏC₂. Matches in a round-robin tournament of n teams: ⁿC₂; in a knockout: n − 1.
18

Quick Reference: Standard Results in Handbook Notation

Arrangements of r items from n with repetition=nrn!(r!)k k!\begin{array}{l}\text{Arrangements of }r\text{ items from }n\text{ with repetition}=n^r\\ \frac{n!}{(r!)^k\,k!}\end{array}

A compact restatement of the standard results of this chapter in the notation used by the common JEE Main handbooks, for last-minute revision. Each result is explained and extended in the detailed entries on this page.

Examiner Tip: Learn these as a checklist: if you can write every line from memory, the chapter's direct-formula questions are covered. Check units and the conditions under which each result holds before using it.

Top Examiner Traps & Pitfalls

Frequently tested misconceptions in Permutations & Combinations (P&C)

  • •Confusing permutation (order matters) with combination (order does NOT matter).
  • •Circular permutations: (n - 1)! for distinct objects, (n - 1)! / 2 for garland/necklace (clockwise = counter-clockwise).

Fundamental Theory & Core Concepts

2 Topics

1Fundamental principles

  • ›Multiplication principle for independent stages, addition principle for either/or cases.
  • ›Permutations count arrangements (order matters): ⁿPᵣ = n!/(n−r)!. Combinations count selections: ⁿCᵣ = n!/(r!(n−r)!).
  • ›"At least" and "at most" problems are cleaner when counted as total minus the unwanted cases.

2Common patterns

  • ›Arrangements of n things with repeats: n!/(p!q!r!). Circular arrangements: (n−1)!, or (n−1)!/2 when flipping gives the same arrangement.
  • ›Keeping items together: glue them as one object. Keeping items apart: arrange the others first and place them in the gaps.
  • ›Distributing identical objects into distinct boxes uses stars and bars: ⁿ⁺ʳ⁻¹Cᵣ₋₁ non-negative solutions.