Skip to main content
ExamExplained
NSW · Maths Extension 1
Maths Extension 1 study scene
§-Syllabus dot point
NSWMaths Extension 1Syllabus dot point

How do we count the number of unordered selections (combinations) of objects from a larger set?

Use the combination formula (nr)\binom{n}{r} 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!r!, key identities, applications including complementary counting, splitting into groups, and at-least/at-most counts, with a stepped diagram and worked examples.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to count unordered selections (combinations) of rr objects from nn distinct objects, apply the formula (nr)\binom{n}{r}, use the key identities (symmetry, Pascal's rule, the sum to 2n2^n), 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!r!.

The answer

The combination formula

The number of ways to choose rr unordered objects from nn distinct objects is

(nr)=n!r!(nr)!.\binom{n}{r} = \frac{n!}{r! (n - r)!}.

The notation (nr)\binom{n}{r} is read "nn choose rr" and is also written nCr{}^n C_r. It is defined for integers 0rn0 \le r \le n.

Why you divide by r!r! (the link to permutations)

A combination is what you get from a permutation when order stops mattering. To choose and arrange rr from nn there are nPr=n!(nr)!{}^{n}P_r = \frac{n!}{(n-r)!} ordered lists. But every unordered selection of rr objects can be written as r!r! different ordered lists (the r!r! ways of arranging those same rr objects). So the ordered count over-counts the unordered count by exactly r!r!, and

(nr)=nPrr!=n!r!(nr)!.\binom{n}{r} = \frac{{}^{n}P_r}{r!} = \frac{n!}{r!\,(n-r)!}.

The picture below makes the "divide by r!r!" concrete for r=3r = 3: a single chosen set {A,B,C}\{A, B, C\} corresponds to 3!=63! = 6 ordered arrangements.

One combination equals r factorial permutationsThe single unordered selection of A, B and C corresponds to six ordered arrangements ABC, ACB, BAC, BCA, CAB, CBA. So the number of permutations is the number of combinations times three factorial, which is six.One selection = 3! orderings{A, B, C}1 combinationABCACBBACBCACABCBA6 = 3! permutationsEach unordered set of 3 makes 3! = 6 ordered lists, so divide: C(n,r) = P(n,r) / r!.

Key identities

Symmetry.

(nr)=(nnr).\binom{n}{r} = \binom{n}{n - r}.

Choosing rr objects to include is the same act as choosing nrn - r objects to exclude. This is also a labour-saver: compute whichever of the two has the smaller bottom number.

Pascal's rule.

(nr)=(n1r1)+(n1r).\binom{n}{r} = \binom{n - 1}{r - 1} + \binom{n - 1}{r}.

Focus on one particular object. Either it is in the chosen subset (then choose the remaining r1r - 1 from the other n1n - 1) or it is not (then choose all rr from the other n1n - 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=0n(nr)=2n.\sum_{r = 0}^{n} \binom{n}{r} = 2^n.

The left side counts subsets of every size; the right side counts subsets by deciding "in or out" independently for each of the nn elements. Both count all subsets of an nn-element set.

Boundary values.

(n0)=(nn)=1\binom{n}{0} = \binom{n}{n} = 1 (one way to choose nothing, one way to choose everything), and (n1)=n\binom{n}{1} = n.

Complementary counting

For "at least kk" or "at most kk" problems it is usually far quicker to count the complement than to add up every allowed case:

(at least 1)=total(none),(\text{at least 1}) = \text{total} - (\text{none}),

(at least 2)=total(none)(exactly 1).(\text{at least 2}) = \text{total} - (\text{none}) - (\text{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 nn distinct objects into groups of sizes r1,r2,,rkr_1, r_2, \dots, r_k (with r1++rk=nr_1 + \dots + r_k = n):

(nr1,r2,,rk)=n!r1!r2!rk!.\binom{n}{r_1,\, r_2,\, \dots,\, r_k} = \frac{n!}{r_1! \, r_2! \cdots r_k!}.

This is the multinomial coefficient, and equivalently it is the chain (nr1)(nr1r2)(rkrk)\binom{n}{r_1} \cdot \binom{n - r_1}{r_2} \cdots \binom{r_k}{r_k} (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 AA": AA is already in, so choose the remaining r1r - 1 from the other n1n - 1: (n1r1)\binom{n - 1}{r - 1}.

"Must exclude object AA": AA is out, so choose all rr from the other n1n - 1: (n1r)\binom{n - 1}{r}.

"Includes AA or BB but not both": add (includes AA, excludes BB) and (includes BB, excludes AA).

"At least one of A,B,CA, 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 rr ...?" with no mention of order: a plain (nr)\binom{n}{r}.
  • "... containing at least one [type]?": complementary counting, total minus none.
  • "... containing exactly kk [type]?": choose the kk from that type and the rest from the others, then multiply: (ak)(brk)\binom{a}{k}\binom{b}{r-k}.
  • "... that must include [a named person/object]?": fix it in, then (n1r1)\binom{n-1}{r-1}.
  • "... that must not include [a named person/object]?": (n1r)\binom{n-1}{r}.
  • "Split / divide [people] into groups of ...": multinomial n!r1!rk!\dfrac{n!}{r_1!\cdots r_k!}; 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 (nr)=(nnr)\binom{n}{r} = \binom{n}{n-r}" 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 5252 cards?
Show worked answer →

Unordered selection of 55 from 5252.

(525)=52!5!47!=525150494854321=2598960\binom{52}{5} = \frac{52!}{5! \, 47!} = \frac{52 \cdot 51 \cdot 50 \cdot 49 \cdot 48}{5 \cdot 4 \cdot 3 \cdot 2 \cdot 1} = 2 \, 598 \, 960.

Markers reward identifying that order does not matter, the combination formula, and the arithmetic.

2022 HSC Q243 marksA committee of 44 is to be formed from 77 women and 55 men. How many committees include at least 11 woman?
Show worked answer →

Use complementary counting: (at least 1 woman)=(total)(no women)(\text{at least 1 woman}) = (\text{total}) - (\text{no women}).

Total committees of 44 from 1212: (124)=495\binom{12}{4} = 495.

Committees with no women (all 44 men): (54)=5\binom{5}{4} = 5.

At least one woman: 4955=490495 - 5 = 490.

Markers reward setting up the complement, computing both combinations, and the subtraction.

ExamExplained