Permutations and Combinations

Imagine a suitcase secured by a four-wheel number lock, each wheel showing the ten digits 0 through 9, and suppose you remember only that the unlocking sequence begins with 7 and that its four digits never repeat. How many three-digit continuations would you be forced to try, in the worst case, before the lock falls open? Writing out every possibility by hand would take far too long, yet the question has one precise numerical answer, and finding it without listing a single sequence is exactly the skill this chapter builds. Permutations and Combinations grows an entire toolkit for counting arrangements and selections out of one deceptively simple observation: if a first choice can be made in mm ways and, whatever that choice, a second choice can then be made in nn ways, the two choices together can be made in m×nm \times n ways. Repeated and refined, that single idea — the fundamental principle of counting — yields the factorial notation n!n!, then the formula for a permutation (an ordered arrangement) of nn distinct things taken rr at a time, nPr=n!/(n−r)!{}^{n}P_r = n!/(n-r)!, then its variants for arrangements with repetition and for arrangements of objects that are not all distinct, and finally the formula for a combination (an unordered selection), nCr=n!/(r!(n−r)!){}^{n}C_r = n!/(r!(n-r)!). The single hardest skill in this chapter is not remembering formulas — it is reading a word problem carefully enough to know whether order matters. A four-digit password is a permutation problem; a five-person committee is a combination problem; a word with repeated letters needs factorial arithmetic and careful case-splitting for restrictions like "all vowels together." Master the multiplication principle underneath every formula, learn to recognise order-matters versus order-does-not-matter at a glance, and the rest of this chapter — right up to the binomial theorem that follows it — becomes almost mechanical.

Key takeaways
  • The fundamental principle of counting (multiplication principle): if one event can occur in mm ways and, following it, a second event can occur in nn ways, the two together occur in m×nm \times n ways; this extends to any finite number of successive events.
  • Factorial notation: n!=n(n−1)(n−2)⋯2⋅1n! = n(n-1)(n-2)\cdots 2 \cdot 1, with 0!=10! = 1 defined by convention so that formulas involving (n−r)!(n-r)! stay valid even when r=nr = n.
  • Permutation formula: the number of ordered arrangements of nn distinct objects taken rr at a time is nPr=n!/(n−r)!{}^{n}P_r = n!/(n-r)!, valid for 0≤r≤n0 \le r \le n.
  • Permutations with repetition allowed: when the nn objects may repeat, the count of arrangements taken rr at a time is simply nrn^r.
  • Permutations of objects not all distinct: if nn objects contain p1p_1 of one kind, p2p_2 of a second kind, and so on, the number of distinct arrangements of all nn is n!/(p1! p2!⋯pk!)n!/(p_1!\,p_2!\cdots p_k!).
  • Restricted arrangements (such as "all vowels occur together") are handled by bundling the restricted objects into a single block, arranging the blocks, then multiplying by the internal arrangements of the block.
  • Combination formula: the number of unordered selections of rr objects out of nn is nCr=n!/(r!(n−r)!)=nPr/r!{}^{n}C_r = n!/(r!(n-r)!) = {}^{n}P_r / r!, since each selection can be internally ordered in r!r! ways.
  • Symmetry and Pascal's rule: nCr=nCn−r{}^{n}C_r = {}^{n}C_{n-r} (choosing rr objects is the same as rejecting n−rn-r of them), and nCr+nCr−1=n+1Cr{}^{n}C_r + {}^{n}C_{r-1} = {}^{n+1}C_r, the identity that seeds Pascal's triangle and the binomial theorem in the next chapter.
  • Key idea: permutations count ordered arrangements, nPr=n!/(n−r)!{}^nP_r = n!/(n-r)!, while combinations count unordered selections, nCr=n!/(r!(n−r)!)=nPr/r!{}^nC_r = n!/(r!(n-r)!) = {}^nP_r/r!, and every problem in this chapter reduces to deciding whether order matters, then building the count with the multiplication principle or splitting into mutually exclusive cases and adding.
The core insight

The fundamental principle of counting extends to ordered arrangements via nPr=n!/(n−r)!{}^{n}P_r = n!/(n-r)! and to unordered selections via nCr=n!/(r!(n−r)!)=nPr/r!{}^{n}C_r = n!/(r!(n-r)!) = {}^{n}P_r/r!, with the symmetry nCr=nCn−r{}^{n}C_r = {}^{n}C_{n-r} and Pascal's rule nCr+nCr−1=n+1Cr{}^{n}C_r + {}^{n}C_{r-1} = {}^{n+1}C_r connecting consecutive counts and preparing the ground for the binomial theorem.

What this chapter covers

This chapter climbs from one counting principle to two big formulas. It opens with the fundamental principle of counting — the multiplication principle, illustrated with pants-and-shirts and coloured-flag problems — and its natural companion, the addition principle for mutually exclusive cases. It then defines the permutation, introduces factorial notation, derives nPr=n!/(n−r)!{}^{n}P_r = n!/(n-r)! for arrangements of distinct objects, and extends this to arrangements with repetition (nrn^r) and to arrangements of objects that are not all distinct (words with repeated letters, discs of the same colour, digits that recur). It then turns to the combination, defines nCr{}^{n}C_r, proves the link nPr=nCr r!{}^{n}P_r = {}^{n}C_r \, r!, records the symmetry nCr=nCn−r{}^{n}C_r = {}^{n}C_{n-r}, and proves Pascal's rule nCr+nCr−1=n+1Cr{}^{n}C_r + {}^{n}C_{r-1} = {}^{n+1}C_r. Worked examples throughout mirror NCERT's own numbered examples on lock combinations, word arrangements, restricted seating, committee selections and card-hand counting — the chapter's stated goal is always to count without listing.

The core ideas

The fundamental principle of counting

Suppose Mohan owns 3 pants and 2 shirts. In how many different ways can he dress in one pant and one shirt? A pant can be chosen in 3 ways; whichever pant is chosen, a shirt can then be chosen in 2 ways; so the pair can be chosen in 3×2=63 \times 2 = 6 ways. This is the seed of the whole chapter, generalised to any finite chain of successive events.

total ways=m1×m2×⋯×mk.(1)\text{total ways} = m_1 \times m_2 \times \cdots \times m_k. \qquad (1)

where: mim_i is the number of ways the ii-th event can occur, counted after every earlier event has already occurred, provided that number of available ways stays the same no matter which of the earlier choices was actually made. Filling vacant places in succession is the standard picture: the first place can be filled in m1m_1 ways, and for each of those, the second place can be filled in m2m_2 ways, and so on, so the total number of ways of filling all the places is the product. A companion rule, the addition principle, handles jobs that can be done in one of several mutually exclusive ways: if a task can be completed by method one in aa ways or by an entirely separate method two in bb ways, with no overlap, the total is a+ba+b. NCERT's own flag-signal problem uses exactly this: with 5 different flags, a signal of 2 flags can be made in 5×4=205 \times 4 = 20 ways, of 3 flags in 5×4×3=605\times4\times3=60 ways, of 4 flags in 120120 ways and of 5 flags in 120120 ways, so a signal of at least 2 flags — an "either/or" of four disjoint cases — totals 20+60+120+120=32020+60+120+120=320 by addition.

Figure
A tree diagram showing three pants each branching into two shirts giving six ordered outfit pairs, illustrating the multiplication principle
The multiplication principle — 3 pants times 2 shirts equals 6 outfits choose a pant (3 ways) then a shirt (2 ways each) P1 P2 P3 S1 S2 S1 S2 S1 S2 (P1,S1) (P1,S2) (P2,S1) (P2,S2) (P3,S1) (P3,S2) 3 x 2 = 6 one outfit for every pant-shirt pairing Six branch tips, none repeated and none missing — exactly the product of the two branch counts

Permutations of distinct objects: factorial notation and nPr

An arrangement of objects in a definite order is a permutation. If four different letters, R, O, S, E, are arranged in all possible orders taking all four at a time, each distinct ordering (ROSE, REOS, OSER, ...) counts as a separate permutation, because order matters: ROSE and OSER use the same letters but are different arrangements. Counting how many words of 3 letters can be formed from the 6 different letters of NUMBER, without repeating a letter, is asking for the permutations of 6 distinct objects taken 3 at a time, and the multiplication principle gives 6×5×4=1206 \times 5 \times 4 = 120 directly, by filling three vacant places in succession. This repeated pattern of "filling rr vacant places from nn available objects, without repetition" is compressed into a single symbol and a single formula.

n!=n(n−1)(n−2)⋯2⋅1,0!=1.(2)n! = n(n-1)(n-2)\cdots 2 \cdot 1, \qquad 0! = 1. \qquad (2)
nPr=n!(n−r)!,0≤r≤n.(3){}^{n}P_r = \frac{n!}{(n-r)!}, \qquad 0 \le r \le n. \qquad (3)

where: nn is the number of distinct objects available, rr is the number chosen and arranged in order, and n!n! ("nn factorial") is the product of the first nn natural numbers, with 0!=10! = 1 fixed by convention so that equation (3)(3) still gives the sensible value nP0=1{}^{n}P_0 = 1 (there is exactly one way to arrange nothing at all — leave every object where it is). The full proof that the messy product n(n−1)(n−2)⋯(n−r+1)n(n-1)(n-2)\cdots(n-r+1) collapses into the tidy ratio n!/(n−r)!n!/(n-r)! is given in the first derivation below. When repetition of the nn objects is allowed — each of the rr positions can independently be any of the nn objects, with no restriction against reuse — the count changes entirely, because every position again has a full nn choices regardless of what filled the earlier positions.

permutations with repetition=nr.(4)\text{permutations with repetition} = n^r. \qquad (4)

where: each of the rr positions is filled independently from the same pool of nn objects, so the rr factors of nn multiply together rr times. For the word ROSE with repetition allowed, the count of 4-letter words rises from 4P4=24{}^{4}P_4 = 24 (no repetition) to 44=2564^4 = 256 (repetition allowed) — a useful sanity check that repetition always increases (or, at worst, matches) the no-repetition count.

Figure
A row of four vacant slots being filled in succession with n, n minus one, n minus two and n minus three choices respectively, illustrating the permutation formula
Filling r vacant places in succession — the picture behind n P r r = 4 places chosen from n available distinct objects, no repetition n choices n-1 choices n-2 choices n-3 choices 1st 2nd 3rd 4th = n P r n(n-1)(n-2)(n-3) = n! / (n-4)! Each choice removes one object from the pool, so the count drops by exactly one at every step for r = 4 the chain stops after the fourth factor, leaving n! divided by (n minus 4) factorial

Permutations when the objects are not all distinct

Arranging the letters of ROOT is different from arranging four fully distinct letters, because the two O's are identical: swapping them produces the same written word, not a new one. Treat the two O's as temporarily distinguishable (O1,O2O_1, O_2) to count 4!4! arrangements, then notice every genuine word (such as ROOT) has been counted exactly 2!2! times — once for each way of labelling the identical O's — so the true count is 4!/2!=124!/2! = 12. Extending this reasoning to several repeated kinds of objects at once gives the general formula.

permutations of n objects=n!p1! p2! ⋯ pk!.(5)\text{permutations of } n \text{ objects} = \frac{n!}{p_1!\, p_2!\, \cdots\, p_k!}. \qquad (5)

where: nn is the total number of objects being arranged, and p1,p2,…,pkp_1, p_2, \ldots, p_k are the multiplicities of each repeated kind (objects of a kind that appears only once contribute a factor of 1!=11! = 1 and can be ignored). For the word ALLAHABAD — 9 letters with 4 A's and 2 L's, the rest distinct — the number of arrangements is 9!/(4! 2!)=75609!/(4!\,2!) = 7560. This same formula underlies restricted permutations, such as requiring a set of letters to occur together: bundle the restricted letters into one block, treat the block plus the remaining letters as a smaller set of objects to arrange (accounting for any repeats among them), and then multiply by the number of ways to arrange the contents inside the block — a two-stage multiplication-principle argument fully worked through in the second worked example below.

Combinations: selections where order does not matter

Three lawn-tennis players X, Y, Z are to be reduced to a team of 2. Is the team "X and Y" different from the team "Y and X"? No — a team is just a set of people, with no order attached, so there are only 3 possible teams: XY, YZ, ZX. Each such selection is a combination of 3 objects taken 2 at a time, and the essential difference from a permutation is precisely this: a combination does not care which object was "chosen first."

nCr=n!r! (n−r)!=nPrr!,0≤r≤n.(6){}^{n}C_r = \frac{n!}{r!\,(n-r)!} = \frac{{}^{n}P_r}{r!}, \qquad 0 \le r \le n. \qquad (6)

where: nn is the pool size, rr is how many are selected with no regard to order, and dividing nPr{}^{n}P_r by r!r! removes the overcounting caused by the r!r! internal orderings that each unordered selection would otherwise be split across — proved carefully in the second derivation below. Three immediate consequences follow directly from equation (6)(6): nC0=nCn=1{}^{n}C_0 = {}^{n}C_n = 1 (there is exactly one way to select nothing, and exactly one way to select everything); the symmetry nCr=nCn−r{}^{n}C_r = {}^{n}C_{n-r}, because choosing rr objects to keep is the same act as choosing n−rn-r objects to reject; and if nCa=nCb{}^{n}C_a = {}^{n}C_b with a≠ba \neq b, then necessarily a+b=na + b = n. Combinations also satisfy an addition identity linking one row of counts to the next, Pascal's rule, proved in full in the third derivation below.

nCr+nCr−1=n+1Cr.(7){}^{n}C_r + {}^{n}C_{r-1} = {}^{n+1}C_r. \qquad (7)

where: the left side adds two consecutive combination counts for a pool of size nn, and the right side is a single combination count for a pool one object larger — this identity is the algebraic seed of Pascal's triangle and reappears as the key step in proving the binomial theorem in the next chapter.

Figure
The first five rows of Pascal's triangle with two adjacent entries in one row highlighted and an arrow to the entry directly below them in the next row, illustrating Pascal's rule for combinations
Pascal's rule — n C r plus n C r-1 equals n+1 C r 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 3C1 + 3C2 = 3 + 3 = 6 = 4C2 row n = 3 gives entries n C 0 through n C 3; row n = 4 gives n C 0 through n C 4 every interior entry is the sum of the two entries diagonally above it This row-building rule is exactly Pascal's rule, n C r + n C (r-1) = n+1 C r

Three key derivations

Derivation ADeriving the permutation formula n P r equals n factorial over n minus r factorial

The chapter states the number of permutations of nn distinct objects taken rr at a time as the messy product n(n−1)(n−2)⋯(n−r+1)n(n-1)(n-2)\cdots(n-r+1), obtained by filling rr vacant places in succession. The goal of this derivation is to show, rigorously and not just by pattern-matching a few examples, that this product can always be rewritten as the clean ratio n!/(n−r)!n!/(n-r)!, which is the form used in every later formula and in the definition of nCr{}^{n}C_r itself.

Step 1. Count the ways of filling rr vacant positions in a row using nn distinct objects with no repetition allowed. The first position can be filled by any of the nn objects: nn ways. Once it is filled, only n−1n-1 objects remain for the second position: n−1n-1 ways. Continuing this way, the third position has n−2n-2 choices, and in general the kk-th position (for k=1,2,…,rk = 1, 2, \ldots, r) has n−(k−1)n-(k-1) choices remaining, because k−1k-1 objects have already been used up by the earlier positions.

Step 2. By the fundamental principle of counting from equation (1)(1), multiply these rr successive counts together: the total number of arrangements is n(n−1)(n−2)⋯(n−r+1)n(n-1)(n-2)\cdots(n-r+1), where the last factor is n−(r−1)=n−r+1n-(r-1) = n-r+1, since the rr-th position is filled after r−1r-1 objects have already been removed from the pool.

Step 3. This product is exactly nPr{}^{n}P_r, but it is inconvenient to write out in full for large nn and rr. To compress it, multiply and divide by the missing tail of the factorial, (n−r)(n−r−1)⋯3⋅2⋅1(n-r)(n-r-1)\cdots 3\cdot2\cdot1, which is precisely (n−r)!(n-r)!: n(n−1)⋯(n−r+1)=n(n−1)⋯(n−r+1)⋅(n−r)(n−r−1)⋯1(n−r)(n−r−1)⋯1=n!(n−r)!n(n-1)\cdots(n-r+1) = \dfrac{n(n-1)\cdots(n-r+1)\cdot(n-r)(n-r-1)\cdots1}{(n-r)(n-r-1)\cdots1} = \dfrac{n!}{(n-r)!}, since the numerator, read in full, is exactly the product of every integer from nn down to 11, which is the definition of n!n!.

Step 4. Confirm the formula is consistent at its two boundary cases. When r=nr=n, every object is used and equation (3)(3) gives nPn=n!/0!=n!{}^{n}P_n = n!/0! = n!, matching the ordinary fact that nn distinct objects can be arranged in a row in n!n! ways. When r=0r=0, equation (3)(3) gives nP0=n!/n!=1{}^{n}P_0 = n!/n! = 1, matching the sensible convention that there is exactly one way to arrange nothing at all — leaving every object untouched. Both checks confirm nPr=n!/(n−r)!{}^{n}P_r = n!/(n-r)! holds for the full range 0≤r≤n0 \le r \le n, not merely for the interior values.

Go deeper · Derivation B · 2 minProving that n P r equals n C r times r factorial
Derivation BProving that n P r equals n C r times r factorial

NCERT records the relationship between permutations and combinations as a remark rather than deriving it slowly, but it is the single most important bridge in the chapter, because every combination formula is built on it. The goal here is to show precisely why counting ordered arrangements and counting unordered selections differ by exactly a factor of r!r!, using nothing beyond the definition of a combination as an unordered choice.

Step 1. Start from any one combination — one unordered selection of rr objects out of the nn available. Because a combination carries no order at all, its rr chosen objects can afterward be arranged, in a row, in exactly r!r! different ways (this is simply rPr=r!{}^{r}P_r = r!, the number of ways to permute rr distinct objects taken all at a time). So one combination gives rise to r!r! distinct ordered arrangements.

Step 2. Every ordered arrangement of rr objects out of nn — that is, every permutation counted by nPr{}^{n}P_r — arises from exactly one combination in this way: strip the order off any permutation and what remains is a definite unordered set of rr objects, which is precisely one combination. So the correspondence "one combination gives r!r! permutations" accounts for every permutation exactly once, with none missing and none double-counted.

Step 3. Summing Step 1's contribution over all nCr{}^{n}C_r combinations (since that is, by definition, how many distinct combinations exist) gives the total number of permutations: nPr=nCr×r!{}^{n}P_r = {}^{n}C_r \times r!. This is the identity to be proved, obtained purely by counting the same collection of permutations in two different, equally valid ways — once directly, and once by grouping them into combinations first.

Step 4. Solve for nCr{}^{n}C_r and substitute the closed form for nPr{}^{n}P_r from the first derivation: nCr=nPrr!=n!/(n−r)!r!=n!r! (n−r)!{}^{n}C_r = \dfrac{{}^{n}P_r}{r!} = \dfrac{n!/(n-r)!}{r!} = \dfrac{n!}{r!\,(n-r)!}, exactly equation (6)(6). As a numerical check, for 5 distinct objects A, B, C, D, E taken 3 at a time: 5P3=5×4×3=60{}^{5}P_3 = 5\times4\times3 = 60 and 5C3=60/3!=60/6=10{}^{5}C_3 = 60/3! = 60/6 = 10 — the 10 unordered triples ABC, ABD, ABE, ACD, ACE, ADE, BCD, BCE, BDE, CDE, each of which unfolds into 3!=63! = 6 ordered permutations, for 10×6=6010 \times 6 = 60 in total, matching 5P3{}^{5}P_3 exactly.

Go deeper · Derivation C · 1 minProving Pascal's rule n C r plus n C r-1 equals n+1 C r
Derivation CProving Pascal's rule n C r plus n C r-1 equals n+1 C r

Pascal's rule is stated as a theorem in the chapter and is worth proving in full algebraic detail, because it is the identity that makes Pascal's triangle grow correctly row by row and is reused, unchanged, as the inductive engine of the binomial theorem's proof in the following chapter. The goal is to show, by direct algebraic manipulation of the factorial formula from equation (6)(6), that adding two adjacent combination counts from a pool of size nn always produces a single combination count from a pool of size n+1n+1.

Step 1. Write both terms on the left of equation (7)(7) using the factorial formula: nCr+nCr−1=n!r! (n−r)!+n!(r−1)! (n−r+1)!{}^{n}C_r + {}^{n}C_{r-1} = \dfrac{n!}{r!\,(n-r)!} + \dfrac{n!}{(r-1)!\,(n-r+1)!}. Both terms share the common factor n!n!, but their denominators are not yet identical, so they cannot simply be added as they stand.

Step 2. Peel one factor off each denominator to expose a common structure: r!=r⋅(r−1)!r! = r\cdot(r-1)! in the first term, and (n−r+1)!=(n−r+1)⋅(n−r)!(n-r+1)! = (n-r+1)\cdot(n-r)! in the second term. Substituting these gives nCr+nCr−1=n!r⋅(r−1)! (n−r)!+n!(r−1)! (n−r+1)⋅(n−r)!{}^{n}C_r + {}^{n}C_{r-1} = \dfrac{n!}{r\cdot(r-1)!\,(n-r)!} + \dfrac{n!}{(r-1)!\,(n-r+1)\cdot(n-r)!}, and now both terms share the identical factor (r−1)! (n−r)!(r-1)!\,(n-r)! in their denominators, differing only by the extra factor rr in the first and (n−r+1)(n-r+1) in the second.

Step 3. Factor out the common piece n!(r−1)! (n−r)!\dfrac{n!}{(r-1)!\,(n-r)!} from both terms, leaving a simple sum of two unit fractions inside the brackets: nCr+nCr−1=n!(r−1)! (n−r)!(1r+1n−r+1){}^{n}C_r + {}^{n}C_{r-1} = \dfrac{n!}{(r-1)!\,(n-r)!}\left(\dfrac{1}{r} + \dfrac{1}{n-r+1}\right). Combine the bracketed fractions over their common denominator r(n−r+1)r(n-r+1): 1r+1n−r+1=(n−r+1)+rr(n−r+1)=n+1r(n−r+1)\dfrac{1}{r} + \dfrac{1}{n-r+1} = \dfrac{(n-r+1)+r}{r(n-r+1)} = \dfrac{n+1}{r(n-r+1)}, since the two terms −r-r and +r+r in the numerator cancel, leaving exactly n+1n+1.

Step 4. Substitute this back and simplify: nCr+nCr−1=n!(r−1)! (n−r)!×n+1r(n−r+1)=(n+1)⋅n!r⋅(r−1)! (n−r+1)⋅(n−r)!=(n+1)!r! (n+1−r)!=n+1Cr{}^{n}C_r + {}^{n}C_{r-1} = \dfrac{n!}{(r-1)!\,(n-r)!} \times \dfrac{n+1}{r(n-r+1)} = \dfrac{(n+1)\cdot n!}{r\cdot(r-1)!\,(n-r+1)\cdot(n-r)!} = \dfrac{(n+1)!}{r!\,(n+1-r)!} = {}^{n+1}C_r, using (n+1)⋅n!=(n+1)!(n+1)\cdot n! = (n+1)!, r⋅(r−1)!=r!r\cdot(r-1)! = r! and (n−r+1)(n−r)!=(n+1−r)!(n-r+1)(n-r)! = (n+1-r)! in the last step. This is precisely equation (7)(7), established for arbitrary valid nn and rr, not merely checked for one numerical pair.

Worked examples

Board level - solving for n from a permutation equation (Example 12 pattern)

Find the value of nn such that nP5=42 nP3{}^{n}P_5 = 42\, {}^{n}P_3, given n>4n > 4.

Step 1. Write nP5{}^{n}P_5 as nP3{}^{n}P_3 multiplied by two extra descending factors, since filling 5 places is the same as filling 3 places and then 2 more: nP5=n(n−1)(n−2)(n−3)(n−4){}^{n}P_5 = n(n-1)(n-2)(n-3)(n-4) and nP3=n(n−1)(n−2){}^{n}P_3 = n(n-1)(n-2), so the equation becomes n(n−1)(n−2)(n−3)(n−4)=42 n(n−1)(n−2)n(n-1)(n-2)(n-3)(n-4) = 42\,n(n-1)(n-2).

Step 2. Because n>4n>4, the factors nn, (n−1)(n-1) and (n−2)(n-2) are all non-zero, so they can be safely cancelled from both sides, leaving the much smaller equation (n−3)(n−4)=42(n-3)(n-4) = 42.

Step 3. Expand and rearrange into standard quadratic form: n2−7n+12=42n^2 - 7n + 12 = 42, so n2−7n−30=0n^2 - 7n - 30 = 0. Factorise: (n−10)(n+3)=0(n-10)(n+3) = 0, giving n=10n = 10 or n=−3n = -3.

Step 4. Reject n=−3n=-3, since nn counts objects and cannot be negative (and the problem states n>4n>4 in any case). Answer: n = 10.

Board level - vowels together and vowels apart in a word with distinct letters (Example 14 pattern)

Find the number of different 8-letter arrangements that can be made from the letters of the word DAUGHTER so that (i) all vowels occur together, and (ii) all vowels do not occur together.

Step 1. DAUGHTER has 8 distinct letters, of which 3 are vowels (A, U, E) and 5 are consonants (D, G, H, T, R). For part (i), treat the block of 3 vowels as glued into a single unit, temporarily written AUE. This single block, together with the 5 separate consonants, gives 6 objects in total to arrange.

Step 2. Arrange these 6 objects (5 consonants plus 1 vowel-block) in a row: since all 6 are distinct objects at this stage, this is 6P6=6!=720{}^{6}P_6 = 6! = 720 ways. But the vowel-block itself is not a rigid unit — its 3 internal letters can be reordered among themselves in 3P3=3!=6{}^{3}P_3 = 3! = 6 ways for every one of those 720 outer arrangements.

Step 3. By the multiplication principle, the number of arrangements with all vowels together is 6!×3!=720×6=43206! \times 3! = 720 \times 6 = 4320. For part (ii), first find the total number of arrangements with no restriction at all: since all 8 letters of DAUGHTER are distinct, this is 8!=403208! = 40320. The arrangements where vowels do not all occur together are everything except the ones where they do.

Step 4. Subtract: 40320−4320=3600040320 - 4320 = 36000. Answer: vowels together gives 4320 arrangements; vowels not all together gives 36000 arrangements.

Competitive level (JEE / NEET) - team selection with an at least one of each restriction, via complementary counting (Example 21 pattern)

A group consists of 4 girls and 7 boys. In how many ways can a team of 5 members be selected so that the team contains at least one boy and at least one girl?

Step 1. The direct route is to split into the four disjoint cases (1 boy and 4 girls), (2 boys and 3 girls), (3 boys and 2 girls), (4 boys and 1 girl), and add 7C14C4+7C24C3+7C34C2+7C44C1{}^{7}C_1{}^{4}C_4 + {}^{7}C_2{}^{4}C_3 + {}^{7}C_3{}^{4}C_2 + {}^{7}C_4{}^{4}C_1. That works, but it is four separate combination products to compute under time pressure. The faster competitive-exam route is complementary counting: count everything, then subtract only the selections that fail the restriction.

Step 2. The pool has 4+7=114+7=11 people in total, so the number of ways to pick any 5 of them, with no restriction at all, is 11C5=11!5! 6!=11×10×9×8×7120=462{}^{11}C_5 = \dfrac{11!}{5!\,6!} = \dfrac{11\times10\times9\times8\times7}{120} = 462.

Step 3. A team fails "at least one boy and one girl" in exactly two mutually exclusive ways: it has no girls at all (all 5 boys), or no boys at all (all 5 girls). All-boys teams number 7C5=21{}^{7}C_5 = 21. All-girls teams are impossible, since only 4 girls exist and a team of 5 cannot be built from them: 4C5=0{}^{4}C_5 = 0.

Step 4. Subtract both failing cases from the unrestricted total: 462−21−0=441462 - 21 - 0 = 441. As a cross-check, the four-case direct sum from Step 1 gives 7C14C4+7C24C3+7C34C2+7C44C1=7+84+210+140=441{}^{7}C_1{}^{4}C_4 + {}^{7}C_2{}^{4}C_3 + {}^{7}C_3{}^{4}C_2 + {}^{7}C_4{}^{4}C_1 = 7 + 84 + 210 + 140 = 441, exactly matching. Answer: 441 ways. Timing note: budget about ninety seconds. Reach for complementary counting the instant you see "at least one of each" across two categories — it collapses four combination products into one subtraction. Always check whether a "failing" case is impossible (as 4C5=0{}^{4}C_5=0 is here) before spending time computing it.

Common traps

The single most frequent error is applying nPr{}^{n}P_r to a problem that is actually asking for a selection, or vice versa — ask first whether swapping the order of the chosen objects gives a genuinely different outcome (shelf: yes; committee: no). A second common slip appears with repeated-letter words: students correctly compute n!n! but forget to divide by the factorial of each repeated letter's multiplicity, silently overcounting identical-looking arrangements. A third slip is with restricted arrangements such as "letters together": students bundle the group into one block and arrange the blocks, but forget the second multiplication step — permuting the contents inside the block. In "at least/at most" problems, a frequent error is missing a boundary case (forgetting "at least 3" includes "exactly 4" when only 4 are available) or double-counting overlapping cases instead of splitting them into mutually exclusive groups before adding. Finally, students often mishandle 0!0!, treating it as 00 instead of the defined value 11, which silently breaks the boundary cases nP0{}^{n}P_0 and nPn{}^{n}P_n.

You should be able to…

  • State the fundamental principle of counting precisely, and apply it to fill vacant positions in succession for problems with and without repetition.
  • Define n!n!, know that 0!=10!=1 by convention, and simplify factorial expressions such as 12!/(10!×2!)12!/(10!\times 2!) without expanding every factor.
  • State the formula nPr=n!/(n−r)!{}^{n}P_r = n!/(n-r)!, derive it from the multiplication principle, and use it to count arrangements of distinct objects.
  • Distinguish permutations with repetition (nrn^r) from permutations without repetition (nPr{}^{n}P_r), and know which applies to a given word problem.
  • Count arrangements of objects that are not all distinct using n!/(p1! p2!⋯pk!)n!/(p_1!\,p_2!\cdots p_k!), correctly identifying every repeated letter or object and its multiplicity.
  • Solve restricted-arrangement problems (letters or people kept together, or kept apart) by the block-and-multiply technique, including the internal-arrangement step.
  • State the formula nCr=n!/(r!(n−r)!){}^{n}C_r = n!/(r!(n-r)!), derive it from nPr=nCr r!{}^{n}P_r = {}^{n}C_r\, r!, and correctly decide, for any given problem, whether it needs a permutation or a combination.
  • Use the symmetry nCr=nCn−r{}^{n}C_r = {}^{n}C_{n-r} and Pascal's rule nCr+nCr−1=n+1Cr{}^{n}C_r + {}^{n}C_{r-1} = {}^{n+1}C_r, and prove Pascal's rule algebraically from the factorial definition.
  • Solve committee and card-hand problems with restrictions ("at least," "at most," "exactly") by splitting into mutually exclusive cases or by complementary counting.
  • Solve algebraic equations in nn or rr built from nPr{}^{n}P_r or nCr{}^{n}C_r by cancelling common non-zero factors before expanding.

Ask the tutor: Want to work through a trickier restricted-arrangement or at-least-committee problem together, step by step?

What is the real difference between a permutation and a combination?

A permutation cares about order, a combination does not. If you select the same objects but arrange them differently and that counts as a new outcome, you need a permutation, nPr=n!/(n−r)!{}^{n}P_r = n!/(n-r)!. If rearranging the chosen objects gives you the exact same outcome, you need a combination, nCr=n!/(r!(n−r)!){}^{n}C_r = n!/(r!(n-r)!). A useful test: picking a chairman and a vice-chairman from a group is a permutation (the two roles are different, so swapping who holds which position matters), while picking a two-person subcommittee with no distinct roles is a combination (there is no "first" or "second" member). Since nPr=nCr×r!{}^{n}P_r = {}^{n}C_r \times r!, a permutation count is always at least as large as the corresponding combination count, and equal only when r≤1r \le 1.

Why is 0 factorial defined as 1 and not 0?

It is a convention chosen so that the formulas of this chapter keep working correctly at their boundary cases, not something you can derive from "multiplying nothing together." If 0!=10! = 1, then nP0=n!/(n−0)!=n!/n!=1{}^{n}P_0 = n!/(n-0)! = n!/n! = 1, which matches the sensible real-world fact that there is exactly one way to arrange zero objects — do nothing, leave everything as it is. The same convention makes nC0=1{}^{n}C_0 = 1 correctly represent "there is exactly one way to select nothing at all." If 0!0! were defined as 00 instead, both of these formulas would collapse into division by zero exactly at their most natural boundary case, which would be far more disruptive than useful.

How do I know when to divide by factorials for a word with repeated letters?

Divide by p!p! for every letter that repeats pp times, and do this exactly once per distinct repeated letter, multiplying all such factorials together in the denominator. Count the letters and their multiplicities first: in INDEPENDENCE, N appears 3 times, E appears 4 times, D appears 2 times, and every other letter appears once, so the count is 12!/(3! 4! 2!)12!/(3!\,4!\,2!), with the once-only letters contributing an implicit 1!=11!=1 each and therefore not appearing in the denominator at all. The test for whether you need this division is simple: if two arrangements that swap two copies of the same letter look identical on paper, you are overcounting unless you divide by that letter's factorial.

In at least or at most problems, how do I avoid double counting?

Split the problem into cases that are genuinely mutually exclusive — no team, digit-string or arrangement should be capable of falling into two cases at once — and only then add the case counts together, or alternatively use complementary counting (total minus the cases that fail the condition) when the direct case list is long. For "at least 3 girls" out of 4 available girls and some boys, the only two mutually exclusive cases are exactly 3 girls or exactly 4 girls — never overlapping, since a team cannot simultaneously have exactly 3 and exactly 4 girls — so you simply add 4C3⋅ boysCrest+4C4⋅ boysCrest{}^{4}C_3\cdot{}^{\,\text{boys}}C_{\text{rest}} + {}^{4}C_4\cdot{}^{\,\text{boys}}C_{\text{rest}}. The danger sign for double counting is writing "at least" cases that are not phrased as exactly some fixed number in each case.

Is there a permutations trick for circular arrangements such as seating people around a table?

Circular permutations are a genuinely different formula (arrangements around a table are counted as (n−1)!(n-1)! for nn distinct objects, because rotating everyone by one seat gives the same relative arrangement) but they are not part of this NCERT chapter, which covers only linear arrangements, factorial-based permutations of repeated objects, and combinations. If you have seen the circular-permutation formula in a JEE preparation book, treat it as useful extra material from a slightly later or supplementary source, not something this chapter's exercises will test directly — every seating problem in this chapter (such as boys and girls in a row with no two boys adjacent) is a straight-line, not round-table, arrangement.

Before this

Where this leads