Permutations and Combinations for NDA Mathematics

intermediate 22 min read

Concept

Permutations and combinations sit at the heart of combinatorics — the branch of mathematics that counts arrangements and selections. If you've ever wondered how many ways a commanding officer can assign 3 posts from 10 soldiers, or how many 4-digit codes avoid repetition, this is the chapter that answers it.

Here is the core distinction, and it is the one students blur most often:

A useful analogy: think of forming a military squad versus forming a firing line. Picking 5 soldiers for a patrol squad is a combination — it doesn't matter who is listed first on the roll. But arranging those same 5 soldiers into a single-file march past is a permutation — position number one is distinct from position number five.

The mathematical machinery behind both is the factorial. For any positive integer nn:

n!=n×(n1)×(n2)××2×1n! = n \times (n-1) \times (n-2) \times \cdots \times 2 \times 1

By convention, 0!=10! = 1 — this is not arbitrary; it makes the formulas consistent.

From the factorial, two formulas follow directly:

nPr=n!(nr)!(arrangements of r from n)^nP_r = \frac{n!}{(n-r)!} \quad \text{(arrangements of } r \text{ from } n\text{)}

nCr=n!r!(nr)!(selections of r from n)^nC_r = \frac{n!}{r!(n-r)!} \quad \text{(selections of } r \text{ from } n\text{)}

Notice that nPr=r!×nCr^nP_r = r! \times {^nC_r}. The factor of r!r! is exactly the number of ways to arrange a selected group — so permutation is just combination multiplied by the internal arrangements. Keep this relationship in your head; it resolves half the confusion instantly.

NDA papers test this chapter consistently. Questions are usually not raw formula application — they involve constraints: "leading digit cannot be zero", "vowels must stay together", "consonants keep their positions". The formula is never the hard part. Reading the constraint carefully is.


Deep Dive

Fundamental Counting Principle

Before any formula, you need the multiplication and addition principles:

Most NDA problems are multiplication principle problems with one tricky constraint thrown in.

Permutations

All nn distinct objects: n!n! arrangements.

rr objects from nn distinct objects: nPr=n!(nr)!=n(n1)(n2)(nr+1)^nP_r = \frac{n!}{(n-r)!} = n(n-1)(n-2)\cdots(n-r+1)

The second form (product of rr consecutive integers descending from nn) is faster to evaluate mentally than the fraction.

Permutations with repetition in the collection: If you have nn objects where one type repeats pp times, another repeats qq times, etc., the number of distinct arrangements is: n!p!q!\frac{n!}{p!\, q!\, \cdots}

This formula appears whenever a word has repeated letters — a very common NDA setup.

Circular permutations: Arranging nn distinct objects in a circle gives (n1)!(n-1)! arrangements, because one object can be fixed to eliminate rotational equivalence. If the arrangement can also be flipped (like a necklace or bracelet), divide further by 2: (n1)!2\frac{(n-1)!}{2}.

Combinations

nCr=n!r!(nr)!^nC_r = \frac{n!}{r!(n-r)!}

Key properties you must know cold:

  1. nCr=nCnr^nC_r = {^nC_{n-r}} — choosing rr to include is the same count as choosing nrn-r to exclude.
  2. nC0=nCn=1^nC_0 = {^nC_n} = 1.
  3. nCr+nCr1=n+1Cr^nC_r + {^nC_{r-1}} = {^{n+1}C_r} — Pascal's identity, useful when nn or rr appear as unknowns.
  4. If nCr=nCs^nC_r = {^nC_s}, then either r=sr = s or r+s=nr + s = n.

Property 4 is a direct NDA question type — see the PYQ on 5nCr=5nCn+r^{5n}C_r = {^{5n}C_{n+r}}.

Diagonals of a Polygon

A polygon with nn sides has nn vertices. Any 2 vertices define a line segment. Total line segments = nC2^nC_2. Subtract nn sides to get diagonals:

Diagonals=n(n1)2n=n(n3)2\text{Diagonals} = \frac{n(n-1)}{2} - n = \frac{n(n-3)}{2}

This is a formula NDA recycles frequently. Memorise it. To reverse-engineer nn from a given diagonal count, set up a quadratic and solve.

Stars and Bars (Integer Solutions)

The number of positive integer solutions to x1+x2++xk=nx_1 + x_2 + \cdots + x_k = n is n1Ck1^{n-1}C_{k-1}.

The number of non-negative integer solutions is n+k1Ck1^{n+k-1}C_{k-1}.

The logic: positive-integer case. Give each variable 1 unit first (to ensure positivity), then distribute the remaining nkn - k units freely. But the neater way to remember it — imagine placing nn stars in a row and inserting k1k-1 dividers among the n1n-1 gaps. That is n1Ck1^{n-1}C_{k-1} ways.

Constrained Digit Problems

When forming numbers with digit constraints:

  1. Fill the most constrained position first — usually the leading digit (cannot be zero).
  2. Then fill remaining positions in decreasing constraint order.
  3. Use multiplication principle across positions.

This is the approach that prevents the classic error of forgetting that zero cannot lead a multi-digit number.

"At Most / At Least" Selections


Memory Tricks & Shortcuts

patternP for Position, C for Committee

When you see the word "arrange", "order", "rank", "sequence", "queue" — use P (permutation). When you see "select", "choose", "committee", "group", "team", "subset" — use C (combination). Apply this word-scan before touching any formula. This saves the 15–20 seconds most students spend re-reading the question twice in the exam hall. Standard mis-application rate drops to near zero.

eliminationLeading-Digit First for Digit Problems

For any number-formation problem where zero is one of the available digits: always count choices for the leading digit first (exclude zero → one fewer choice), then multiply by the remaining options for the other positions. Example: 4-digit numbers from {0,1,2,3} without repetition — thousands place has 3 choices, remaining 3 places have 3! = 6 arrangements → 3 × 6 = 18. If you instead compute 4! = 24 and subtract the cases starting with 0 (= 3! = 6) you also get 18 — but that is a two-step method. The "fill the constrained slot first" method is a single multiplication: 3 steps vs 5 steps.

patternDiagonal Formula from First Principles in 8 Seconds

Don't memorise n(n3)2\frac{n(n-3)}{2} blindly. Derive it live: nC2n=n(n1)2n=n2n2n2=n(n3)2^nC_2 - n = \frac{n(n-1)}{2} - n = \frac{n^2 - n - 2n}{2} = \frac{n(n-3)}{2}. Once you see it as "nC2^nC_2 minus sides", you can reconstruct it in under 10 seconds even after a blank. For the reverse problem (given diagonals, find nn), substitute into n(n3)=2Dn(n-3) = 2D, rearrange to n23n2D=0n^2 - 3n - 2D = 0, and use the quadratic formula. For D=20D = 20: n23n40=0n=8n^2 - 3n - 40 = 0 \Rightarrow n = 8. Total time with this approach: under 30 seconds vs drawing polygons (90+ seconds).

substitutionnCr Complement Property to Kill Unknowns

Whenever you see nCa=nCb^nC_a = {^nC_b} with aba \neq b, immediately write a+b=na + b = n. This single step converts a two-unknown equation into a one-liner. For 5nCr=5nCn+r^{5n}C_r = {^{5n}C_{n+r}}: set r+(n+r)=5n2r=4nr=2nr + (n+r) = 5n \Rightarrow 2r = 4n \Rightarrow r = 2n. No expansion, no factorial arithmetic. Standard method: expand both sides (5+ steps). This method: 1 equation, 1 step.

patternVowel-Consonant Block Method for Word Arrangements

When consonants or vowels must "stay together", bundle them into a single block. Count: (number of non-block units + 1 block) items to arrange, divided by any internal repetitions, then multiply by internal arrangements of the block. For DELHI with vowels and consonants in fixed positions: vowels {E,I} occupy 2 fixed slots → 2! = 2 arrangements; consonants {D,L,H} occupy 3 fixed slots → 3! = 6 arrangements; total = 2 × 6 = 12. The key insight is that "keep positions of vowels unchanged" means vowels stay in vowel-slots — they just permute among those slots. This takes 20 seconds once you see it vs 60+ seconds of trial-and-error listing.


Fast-Solving Framework

When you see a P&C question in the exam hall, run this decision tree before writing anything:

Step 1 — Order or no order? Words like arrange/sequence/rank → permutation. Words like select/choose/committee → combination.

Step 2 — Any constraint? Leading digit zero forbidden → fill leading digit first. Letters must stay together → use block method. Positions of a type are fixed → permute each type independently and multiply.

Step 3 — Repetition in the pool? Repeated letters/digits in the source → divide by factorial of each repeated count.

Step 4 — "At most" / "At least" / "Exactly"? Exactly rr → single nCr^nC_r term. At most rr → sum from 0 to rr (check whether empty set counts). At least rr → sum from rr to nn or use complement.

Step 5 — Does it match a known formula? Polygon diagonals, integer-solution counting (stars and bars), circular permutations — if the problem matches a known template, apply the formula directly without re-deriving.

Total decision time: under 20 seconds. Then execute the arithmetic cleanly.


Solved PYQs

Why this question: The most common NDA digit-question trap — forgetting that zero cannot occupy the leading position. This appears nearly every year in some form.

Previous Year Questionपिछले वर्ष का प्रश्न2026
Using digits 0, 1, 2 and 3, how many numbers greater than 1000 can be made (repetition of digits is not allowed)?
  1. 24
  2. 18
  3. 15
  4. 12
Solutionसमाधान
Numbers greater than 1000 means 4-digit numbers (since with these 4 digits we can only form up to 4-digit numbers without repetition). First digit can't be 0: 3 choices (1, 2, or 3). Remaining 3 places filled with the other 3 digits: 3! = 6 ways. Total = 3 × 6 = 18.

Solving path: Digits available: {0, 1, 2, 3}. Target: 4-digit numbers greater than 1000. Since we have exactly 4 digits and no repetition, every valid arrangement uses all 4 digits — so we need all 4-digit arrangements of {0,1,2,3} that don't start with 0. Thousands place: 3 choices (1, 2, 3). Remaining 3 places: fill with the 3 leftover digits in any order → 3!=63! = 6 ways. Total = 3×6=183 \times 6 = 18.


Why this question: Tests the diagonal formula — a formula NDA recycles, and the reverse problem (given diagonals, find nn) is the harder direction that eliminates unprepared students.

Previous Year Questionपिछले वर्ष का प्रश्न2025
How many sides are there in a polygon which has 20 diagonals?
  1. 6
  2. 7
  3. 8
  4. 10
Solutionसमाधान
Number of diagonals in a polygon with n sides = n(n-3)/2. Setting n(n-3)/2 = 20: n(n-3) = 40, so n² - 3n - 40 = 0, giving n = (3 + √169)/2 = (3+13)/2 = 8.

Solving path: Use the diagonal formula D=n(n3)2D = \frac{n(n-3)}{2}. Set n(n3)2=20\frac{n(n-3)}{2} = 20, so n(n3)=40n(n-3) = 40, giving n23n40=0n^2 - 3n - 40 = 0. Discriminant: 9+160=169=1329 + 160 = 169 = 13^2. So n=3+132=8n = \frac{3 + 13}{2} = 8. Verify: 8×52=20\frac{8 \times 5}{2} = 20. Confirmed.


Why this question: Teaches the "positions are fixed, types permute independently" principle — a cleaner and faster approach than brute-force listing.

Previous Year Questionपिछले वर्ष का प्रश्न2025
In how many ways can the letters of the word DELHI be arranged keeping the positions of vowels and consonants unchanged?
  1. 6
  2. 9
  3. 12
  4. 24
Solutionसमाधान
DELHI has 5 letters: D, E, L, H, I. Vowels: E, I (positions 2 and 5). Consonants: D, L, H (positions 1, 3, 4). Keeping positions of vowels and consonants unchanged means vowels are arranged in vowel positions and consonants in consonant positions. Vowels: 2! = 2 ways. Consonants: 3! = 6 ways. Total = 2·6 = 12.

Solving path: DELHI: D(1), E(2), L(3), H(4), I(5). Vowels occupy positions 2 and 5: {E, I} can be arranged in those 2 positions in 2!=22! = 2 ways. Consonants occupy positions 1, 3, 4: {D, L, H} can be arranged in those 3 positions in 3!=63! = 6 ways. Total = 2×6=122 \times 6 = 12.


Why this question: Stars-and-bars is a direct formula question. NDA occasionally drops one in to see if you know the template, or whether you'll waste time listing solutions.

Previous Year Questionपिछले वर्ष का प्रश्न2025
What is the number of positive integer solutions of x + y + z = 5?
  1. 3
  2. 5
  3. 6
  4. 9
Solutionसमाधान
Number of positive integer solutions of x + y + z = n is C(n-1, 2). For n = 5: C(4, 2) = 6.

Solving path: Positive integer solutions to x+y+z=nx + y + z = n count as n1C2^{n-1}C_{2}. Here n=5n = 5: 4C2=4×32=6^{4}C_{2} = \frac{4 \times 3}{2} = 6. Quick verification by listing: (1,1,3),(1,3,1),(3,1,1),(1,2,2),(2,1,2),(2,2,1)(1,1,3),(1,3,1),(3,1,1),(1,2,2),(2,1,2),(2,2,1) — exactly 6.


Why this question: Tests the complement property of combinations. Students who don't know nCr=nCnr^nC_r = {^nC_{n-r}} will expand factorials and grind for 3 minutes. Students who do will finish in 15 seconds.

Previous Year Questionपिछले वर्ष का प्रश्न2025
If the number of selections of r as well as (n + r) things from 5n different things are equal, then what is the value of r?
  1. n
  2. 2n
  3. 3n
  4. 4n
Solutionसमाधान
C(5n, r) = C(5n, n+r). Using property C(p, q) = C(p, p-q): r + (n+r) = 5n, so 2r = 4n, r = 2n.

Solving path: 5nCr=5nCn+r^{5n}C_r = {^{5n}C_{n+r}}. If rn+rr \neq n+r (which they aren't, since n>0n > 0), the complement property gives r+(n+r)=5nr + (n+r) = 5n. So 2r+n=5n2r + n = 5n, meaning 2r=4n2r = 4n, thus r=2nr = 2n.


Common Mistakes


Related Topics

Practice on SarkariRise

Sign up + get 3 free mocks →