Combinations

A school election needs one class monitor and one deputy — two distinct posts, so order matters and you count permutations. A school committee needs any four students, with no post attached to any of them — order does not matter, and you count combinations. This single distinction, order versus no order, decides which formula an entire word problem needs, and it is the crux of this topic. A combination of nn distinct objects taken rr at a time is simply a selection — a subset — of size rr, counted by nCr=n!r!(n−r)!^nC_r = \dfrac{n!}{r!(n-r)!}. Because every permutation is a combination that has then been arranged in one of r!r! orders, permutations and combinations are two views of the same counting problem, linked by nPr=r! nCr^nP_r = r!\,^nC_r. This article rebuilds that link, works two selection problems fully, and collects the properties and traps that decide most exam marks on this topic.

The core insight

A combination counts unordered selections of rr objects from nn, given by nCr=n!r!(n−r)!^nC_r = \dfrac{n!}{r!(n-r)!}, obtained by dividing the ordered count nPr^nP_r by the r!r! ways each selected group can itself be arranged.

The core idea

What a combination counts. Given nn distinct objects, a combination of size rr is any subset containing rr of them, with no regard to the order in which the objects were picked. The number of such subsets is written nCr^nC_r or (nr)\binom{n}{r}:

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

where: nn is the total number of distinct objects available, rr is the size of the group being chosen, and n!n! (read "nn factorial") is n×(n−1)×⋯×1n \times (n-1) \times \cdots \times 1, with 0!=10! = 1 by convention.

Where the formula comes from, in one line. A permutation nPr^nP_r counts every ordered arrangement of rr objects from nn. Group those arrangements by which rr objects they use: each group of rr objects can be internally reordered in exactly r!r! ways, and all of those orderings collapse to the same combination. So ordered count equals unordered count times the reorderings of each group:

nPr=r!  nCr⟹nCr=nPrr!=n!r! (n−r)!.^nP_r = r!\;{}^nC_r \quad\Longrightarrow\quad {}^nC_r = \frac{^nP_r}{r!} = \frac{n!}{r!\,(n-r)!}.

where: nPr=n!(n−r)!^nP_r = \dfrac{n!}{(n-r)!} is the number of ordered arrangements of rr objects out of nn, already known from permutations.

Three properties worth memorising, each provable straight from the formula:

  • nCr=nCn−r^nC_r = {}^nC_{n-r} — choosing rr objects to keep is equivalent to choosing the other n−rn-r objects to discard, so the two counts must agree.
  • nC0=nCn=1^nC_0 = {}^nC_n = 1 — there is exactly one way to select nothing at all, and exactly one way to select everything.
  • nCr+nCr−1=n+1Cr^nC_r + {}^nC_{r-1} = {}^{n+1}C_r — fix one extra object among n+1n+1; either it is left out of the chosen rr (the remaining rr come from the other nn, giving nCr^nC_r) or it is included (the other r−1r-1 come from the other nn, giving nCr−1^nC_{r-1}). This identity generates Pascal's triangle.
Figure
A word problem funnels into either combinations or permutations depending on whether order matters
Does order matter in the selection? form a group / committee order does NOT matter order DOES matter Combination nCr = n! / r!(n-r)! committees, teams, subsets Permutation nPr = n! / (n-r)! ranks, posts, seating order

Combinations vs. permutations

The keyword to hunt for in a word problem is whether the chosen objects play distinct roles. "Select a committee," "choose a team," "pick a group of books" — none of these attach a different job to each chosen item, so they are combinations. "Elect a president and a secretary," "arrange books on a shelf," "assign first, second and third prize" — here each position is different, so they are permutations. When a problem mixes both (a group is chosen and then one member is additionally given a special role), it usually breaks into a combination step followed by a permutation or multiplication step.

Derivation ADeriving nCr^nC_r from the relation between nPr^nP_r and r!r!

The goal of this derivation is to show, without assuming the combinations formula in advance, exactly why dividing the permutation count nPr=n!/(n−r)!^nP_r = n!/(n-r)! by r!r! produces the correct count of unordered selections, so that the formula nCr=n!/[r!(n−r)!]^nC_r = n!/[r!(n-r)!] is earned rather than simply stated.

Step 1. Start from what is already known about ordered selections: nPr^nP_r counts every way to pick rr objects out of nn and arrange them in a definite order, one after another, in rr distinct positions.

Step 2. Fix attention on one particular unordered group of rr objects, say {a,b,c}\{a, b, c\} for r=3r = 3. Every ordered arrangement counted inside nPr^nP_r that uses exactly this group is simply this group written in some order — abcabc, acbacb, bacbac, bcabca, cabcab, cbacba — and there are exactly r!=3!=6r! = 3! = 6 such orderings, since arranging rr distinct objects in rr positions is itself a permutation problem with answer r!r!.

Step 3. This pairing is exact and covers everything: every ordered arrangement in nPr^nP_r belongs to exactly one unordered group (the set of objects it uses), and every unordered group of size rr contributes exactly r!r! ordered arrangements to nPr^nP_r. So the ordered count is the unordered count multiplied by r!r!:

nPr=r!×(number of unordered groups of size r)=r! nCr.^nP_r = r! \times (\text{number of unordered groups of size } r) = r!\,{}^nC_r.

Step 4. Solve for the unordered count and substitute the known formula nPr=n!/(n−r)!^nP_r = n!/(n-r)!:

nCr=nPrr!=1r!⋅n!(n−r)!=n!r! (n−r)!.^nC_r = \frac{^nP_r}{r!} = \frac{1}{r!}\cdot\frac{n!}{(n-r)!} = \frac{n!}{r!\,(n-r)!}.

This is exactly the combinations formula, and the derivation shows why it works: it is a permutation count with the internal ordering of each group divided back out.

Worked example

Problem. From a group of 10 students, a committee of 4 is to be formed, and separately, a box holding 5 red balls and 6 blue balls needs exactly 2 red and 1 blue ball drawn for a display. Solve both.

Step 1 (committee). A committee has no internal ranking, so this is a pure combination with n=10n = 10, r=4r = 4:

10C4=10!4! 6!=10×9×8×74!=504024=210.^{10}C_4 = \frac{10!}{4!\,6!} = \frac{10 \times 9 \times 8 \times 7}{4!} = \frac{5040}{24} = 210.

The committee can be formed in 210 ways.

Step 2 (balls, stage one). Only the composition of the drawn balls matters, not the order of drawing, so this is again combinations, split into two independent choices. Choosing 2 red balls from 5: 5C2=5!2! 3!=5×42×1=10^5C_2 = \dfrac{5!}{2!\,3!} = \dfrac{5\times4}{2\times1} = 10.

Step 3 (balls, stage two and combine). Choosing 1 blue ball from 6: 6C1=6!1! 5!=6^6C_1 = \dfrac{6!}{1!\,5!} = 6. Both choices happen together to build one final selection, so by the fundamental principle of counting the counts multiply, not add: 10×6=6010 \times 6 = 60.

The final answers: the committee can be formed in 210 ways, and the ball selection can be made in 60 ways.

Competitive stretch

Problem. From the same box of 5 red and 6 blue balls, in how many ways can 3 balls be drawn such that at least 2 are red?

Step 1. "At least 2 red" out of 3 balls splits into two disjoint cases: exactly 2 red and 1 blue, or exactly 3 red and 0 blue. Since these cases cannot both happen at once, their counts are added (not multiplied).

Step 2. Exactly 2 red and 1 blue was already computed above: 5C2×6C1=10×6=60^5C_2 \times {}^6C_1 = 10 \times 6 = 60. Exactly 3 red and 0 blue: 5C3×6C0=5!3! 2!×1=10×1=10^5C_3 \times {}^6C_0 = \dfrac{5!}{3!\,2!}\times 1 = 10 \times 1 = 10.

Step 3. Add the disjoint cases: 60+10=7060 + 10 = 70. There are 70 ways to draw 3 balls with at least 2 red, a compact illustration of how "at least" problems in combinations decompose into an addition over the fundamental principle of counting's multiplied sub-cases.

Common traps

  • Using nCr^nC_r when roles are distinct. "Choose a captain and a vice-captain" is not a plain committee selection — the two posts differ, so this needs permutations, or a combination followed by an explicit ordering step.
  • Adding instead of multiplying across independent stages. When a selection has several categories (red balls and blue balls above), each stage's combination count is multiplied together, since all stages happen simultaneously to form one final group; only genuinely disjoint cases (like "at least" problems) get added.
  • Skipping the smaller-index shortcut. By nCr=nCn−r^nC_r = {}^nC_{n-r}, a value like 10C8^{10}C_8 is faster computed as 10C2=45^{10}C_2 = 45 than by expanding 8!8! needlessly.
  • Mixing up the two formulas mid-calculation — dividing by r!r! twice, or confusing n!r!(n−r)!\dfrac{n!}{r!(n-r)!} (combinations) with n!(n−r)!\dfrac{n!}{(n-r)!} (permutations).

Ask the tutor: Not sure whether your next word problem needs nCr^nC_r or nPr^nP_r? Ask the AI tutor to walk through the order-matters test on it with you.

How do I quickly decide combinations versus permutations in a word problem?

Ask whether swapping two of the chosen objects would create a genuinely different outcome. If a committee's members swap places and the committee is still the same committee, order does not matter and you need nCr^nC_r. If swapping who gets "captain" and who gets "vice-captain" produces a different assignment, order matters and you need nPr^nP_r. Watch for hidden roles: "choose 3 winners" sounds like a combination, but if the winners get different prizes, it is really a permutation.

Why do we divide by r! and not multiply when going from permutations to combinations?

Because nPr^nP_r already over-counts by treating every ordering of the same group as a separate outcome. For a fixed group of rr objects, there are r!r! ways to order them, and all of those orderings are really "the same selection" once order stops mattering. Dividing nPr^nP_r by r!r! removes exactly this duplication, collapsing each cluster of r!r! ordered arrangements down to the single unordered group it represents — which is precisely nCr^nC_r.

In the balls problem, why do we multiply the red count and the blue count instead of adding them?

Multiplication applies when a selection is built from independent stages that all happen together — here, the final group of 3 balls requires both a choice of 2 reds and a choice of 1 blue, simultaneously. Every one of the 10 red-choices can pair with every one of the 6 blue-choices, giving 10×6=6010 \times 6 = 60 distinct final groups — that pairing-up is exactly what multiplication counts. Addition is reserved for counting separate, mutually exclusive cases, like the "at least 2 red" problem above, where a selection is either one case or the other, never both.

Before this

Where this leads