PYQ Vault

NDA Maths · Permutation & Combination

Combinations & Selections

Selecting a group where order doesn't matter — straight nCr selections, subsets, and the constrained selections (at-least / at-most, compulsory members, complementary counting).

Why this matters

Selection problems hinge on spotting that order is irrelevant. The high-value trick is complementary counting — 'at least one' is total minus none — which beats summing cases.

Test yourself — a quick 13-question Permutation & Combination recall quiz, instant score.

Concept 1 of 2: Selections and subsets

A combination counts groups, not orders. Choosing rr from nn is nCr^nC_r; the number of subsets of an nn-set is 2n2^n. Fixing compulsory members just reduces the pool and the number to choose.

Definition

Choose rr of nn (order irrelevant): nCr^nC_r. Subsets of an nn-element set: 2n2^n. Compulsory members: if kk must be included, choose the rest: n−kCr−k^{n-k}C_{r-k}. Probabilities use favourable Ctotal C\dfrac{\text{favourable }C}{\text{total }C}.

  • Stars and bars (integer solutions): x1+⋯+xr=nx_1+\dots+x_r=n has n−1Cr−1^{n-1}C_{r-1} solutions in POSITIVE integers and n+r−1Cr−1^{n+r-1}C_{r-1} in NON-NEGATIVE integers — x+y+z=5x+y+z=5 has 4C2=6^4C_2=6 positive solutions and 7C2=21^7C_2=21 non-negative ones. Confusing the two forms is the recorded common mistake; "positive" means the bars sit in the n−1n-1 gaps between stars.
  • Strictly monotone sequences are combinations: the number of triples x>y>zx>y>z drawn from a set of 6 values is simply 6C3=20^6C_3=20 — pick the set, the order is forced. Likewise x≥y≥zx\ge y\ge z with repeats allowed is stars-and-bars.
  • Halving by symmetry: for a set of 2n+12n+1 elements, subsets of size ≤n\le n pair off with their complements of size ≥n+1\ge n+1, so exactly HALF the 22n+12^{2n+1} subsets, i.e. 22n2^{2n}, have at most nn elements — no sum of binomial coefficients needed.

Worked example

In how many ways can a committee of 3 be chosen from 8 people?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2021 · Q44Easy

Example 1 · Permutation & Combination · Combinations

In how many ways can a team of 5 players be selected from 8 players so as not to include a particular player?

Use nCr= nCn−r^nC_r=\,^nC_{n-r} — and count the empty set

Symmetry nCr= nCn−r^nC_r=\,^nC_{n-r} means choosing rr to keep equals choosing n−rn-r to leave out — so compute the easier one (50C48= 50C2^{50}C_{48}=\,^{50}C_2). Separately, the number of subsets of an nn-set is 2n2^n, which includes the empty set; 2n−12^n-1 is the count of non-empty subsets only.

Concept 2 of 2: Constrained selection: at-least, at-most, cases

When a selection must satisfy 'at least one of X', it's almost always faster to count the complement (total minus the forbidden 'none') than to sum cases. Genuinely multi-part constraints split into disjoint cases that add.

Definition

At-least-one: total−none\text{total}-\text{none}. At-most kk: sum nC0+⋯+nCk^nC_0+\cdots+^nC_k. Cases: when the constraint forces distinct sub-situations (e.g. 'choose 3 from 4 women + 3 men with a balance rule'), count each disjoint case and add. Watch for over-/under-counting at the boundaries. Factorising a number into kk factors: if N=p1p2⋯pmN=p_1p_2\cdots p_m is a product of mm DISTINCT primes, each prime goes to one of kk factors — kmk^m ORDERED factorisations (factors may be 1); divide by k!k! for unordered ones once ties (repeated factors) are removed. E.g. 30=2⋅3⋅530=2\cdot3\cdot5 as an unordered product of two factors >1>1: 23−22=3\tfrac{2^3-2}{2}=3 ways (2⋅152\cdot15, 3⋅103\cdot10, 5⋅65\cdot6).

Worked example

From 6 programmers and 4 typists, choose 5 with at least one typist. How many ways?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2024 · Q5Hard

Example 2 · Permutation & Combination · Combinations

A man has 7 relatives (4 women and 3 men). His wife also has 7 relatives (3 women and 4 men). In how many ways can they invite 3 women and 3 men so that 3 of them are the man's relatives and 3 are his wife's relatives?

'At least one' = total − none (don't sum cases)

For 'at least one X', count the complement: total−(none of X)\text{total}-(\text{none of X}). Summing the cases 'exactly 1, exactly 2, …' is slower and easy to miscount. E.g. at least one typist when choosing 5 from 6 programmers + 4 typists is 10C5− 6C5=252−6=246^{10}C_5-\,^6C_5=252-6=246, not a sum of four separate terms.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Watch out for (2)

Test yourself on Permutation & Combination

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes