How do we count the number of unordered selections (combinations) of objects from a larger set?
Use the combination formula (rn) to count unordered selections, including with restrictions and complementary counting
A focused answer to the HSC Maths Extension 1 dot point on combinations. The combination formula, why you divide by r!, key identities, applications including complementary counting, splitting into groups, and at-least/at-most counts, with a stepped diagram and worked examples.
✦ Generated by Claude Opus 4.8·13 min answer·
Reviewed by: AI editorial process; not yet individually human-reviewed
NESA wants you to count unordered selections (combinations) of r objects from n distinct objects, apply the formula (rn), use the key identities (symmetry, Pascal's rule, the sum to 2n), and handle the standard restriction types: "at least", "at most", "must include / must exclude a particular object", and splitting a set into groups. The single idea that unlocks the whole topic is that a combination is a permutation with the ordering thrown away, which is why the formula has an extra division by r!.
The answer
The combination formula
The number of ways to choose r unordered objects from n distinct objects is
(rn)=r!(n−r)!n!.
The notation (rn) is read "n choose r" and is also written nCr. It is defined for integers 0≤r≤n.
Why you divide by r! (the link to permutations)
A combination is what you get from a permutation when order stops mattering. To choose and arranger from n there are nPr=(n−r)!n! ordered lists. But every unordered selection of r objects can be written as r! different ordered lists (the r! ways of arranging those same r objects). So the ordered count over-counts the unordered count by exactly r!, and
(rn)=r!nPr=r!(n−r)!n!.
The picture below makes the "divide by r!" concrete for r=3: a single chosen set {A,B,C} corresponds to 3!=6 ordered arrangements.
Key identities
Symmetry.
(rn)=(n−rn).
Choosing r objects to include is the same act as choosing n−r objects to exclude. This is also a labour-saver: compute whichever of the two has the smaller bottom number.
Pascal's rule.
(rn)=(r−1n−1)+(rn−1).
Focus on one particular object. Either it is in the chosen subset (then choose the remaining r−1 from the other n−1) or it is not (then choose all r from the other n−1). These two cases are exclusive and exhaustive, so they add. This identity is exactly what builds Pascal's triangle row by row.
Sum identity.
r=0∑n(rn)=2n.
The left side counts subsets of every size; the right side counts subsets by deciding "in or out" independently for each of the n elements. Both count all subsets of an n-element set.
Boundary values.
(0n)=(nn)=1 (one way to choose nothing, one way to choose everything), and (1n)=n.
Complementary counting
For "at least k" or "at most k" problems it is usually far quicker to count the complement than to add up every allowed case:
(at least 1)=total−(none),
(at least 2)=total−(none)−(exactly 1).
The signal to reach for the complement is the phrase "at least one", because its opposite ("none") is a single, easy combination, whereas the direct count is a sum of several cases.
Splitting into groups
To split n distinct objects into groups of sizes r1,r2,…,rk (with r1+⋯+rk=n):
(r1,r2,…,rkn)=r1!r2!⋯rk!n!.
This is the multinomial coefficient, and equivalently it is the chain (r1n)⋅(r2n−r1)⋯(rkrk) (choose the first group, then the second from what is left, and so on). A crucial wrinkle: this counts labelled groups (team A, team B, team C). If the groups are the same size and unlabelled, divide by the number of equal-sized groups factorial, because any relabelling of them gives the same division.
Counting with constraints
"Must include object A":A is already in, so choose the remaining r−1 from the other n−1: (r−1n−1).
"Must exclude object A":A is out, so choose all r from the other n−1: (rn−1).
"Includes A or B but not both": add (includes A, excludes B) and (includes B, excludes A).
"At least one of A,B,C": use complementary counting (total minus the selections containing none of them).
How exam questions ask about combinations
"How many [committees / teams / hands / subsets] of size r ...?" with no mention of order: a plain (rn).
"... containing at least one [type]?": complementary counting, total minus none.
"... containing exactly k [type]?": choose the k from that type and the rest from the others, then multiply: (ka)(r−kb).
"... that must include [a named person/object]?": fix it in, then (r−1n−1).
"... that must not include [a named person/object]?": (rn−1).
"Split / divide [people] into groups of ...": multinomial r1!⋯rk!n!; divide by the symmetry factor if equal-sized groups are unlabelled.
"In how many ways can a [defence] and a [forward line] be chosen?" (two pools): choose from each pool and multiply.
"Show that (rn)=(n−rn)" or a Pascal's-rule identity: argue by the in/out or include/exclude meaning, not just algebra.
Watch for the order cue. "Arranged", "in a row", "ranked", "first, second, third" means a permutation, not a combination.
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2023 HSC Q72 marksHow many five-card hands are there from a standard deck of 52 cards?