Skip to main content
NSWMaths Extension 1Syllabus dot point

When the order of a selection does not matter, how do you count the choices, and how do the restriction moves you learned for arrangements carry across to unordered selections?

Count unordered selections (combinations) using ^{n}C_{r} = ^{n}P_{r}/r! = n!/(r!(n-r)!), recognise that an n-element set has 2^n subsets and that the r-element subsets number ^{n}C_{r} with the symmetry ^{n}C_{r} = ^{n}C_{n-r} and row sum 2^n, and apply the at-least, complement, conditional and geometric counting techniques to selection problems

Counting unordered selections with combinations. Why nCr = nPr/r! = n!/(r!(n-r)!), why an n-set has 2^n subsets, the symmetry nCr = nC(n-r), and the row sum 2^n. Restriction technique with combinations: at least k by complement, must contain or exclude an item, committees with constraints, and geometry counts.

Generated by Claude Opus 4.818 min answer

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

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

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. How exam questions ask about this dot point

What this dot point is asking

The multiplication principle and ordered selections page counted selections where order matters: filling distinct positions, forming words, building numbers. The count of ordered selections of rr distinct objects from nn is the permutation nPr=n!(nr)!^{n}P_{r} = \frac{n!}{(n-r)!}. This page is about the other half of selection counting: when order does not matter. Choosing 33 books to take on holiday, picking a committee of 44, drawing 55 cards, joining 22 points with a line, these are all unordered selections, and an unordered selection of distinct objects is just a subset of the set you are choosing from.

The central object is the combination nCr^{n}C_{r}, the number of rr-element subsets of an nn-element set, spoken "nn choose rr" and also written (nr)\binom{n}{r}. There are three facts to lock in. First, the formula nCr=nPrr!=n!r!(nr)!^{n}C_{r} = \dfrac{^{n}P_{r}}{r!} = \dfrac{n!}{r!\,(n-r)!}, where the division by r!r! is exactly the step that turns "ordered" into "unordered". Second, the total number of subsets of an nn-element set is 2n2^n, which gives the row sum nC0+nC1++nCn=2n^{n}C_{0} + {}^{n}C_{1} + \cdots + {}^{n}C_{n} = 2^n. Third, the symmetry nCr=nCnr^{n}C_{r} = {}^{n}C_{n-r}, because choosing the rr you keep is the same as choosing the nrn-r you leave behind. With those three in hand, the rest of the dot point is restriction technique: "at least", the complement, "must contain or exclude" a particular item, committees with gender or role constraints, and geometric counts such as triangles from points on a circle.

The answer

From ordered to unordered: why you divide by r!r!

Start from something you can already count. The number of ordered selections of 33 distinct letters from the five-letter set {A,B,C,D,E}\{A, B, C, D, E\} is

5P3=5×4×3=60.^{5}P_{3} = 5 \times 4 \times 3 = 60.

Now ask the unordered question: how many subsets of size 33 are there? The subset {B,C,E}\{B, C, E\} is a single object, but it shows up among those 6060 ordered words as six different words,

BCE, BEC, CBE, CEB, EBC, ECB{B,C,E},BCE,\ BEC,\ CBE,\ CEB,\ EBC,\ ECB \longleftrightarrow \{B, C, E\},

because the three chosen letters can be ordered in 3!=63! = 6 ways. The same is true of every subset: each 33-element subset corresponds to exactly 3!3! ordered words. So the 6060 ordered words count each subset 66 times, and the number of subsets is

606=10.\frac{60}{6} = 10.

Why divide by r factorial: ordered selections overcountChoosing three letters from a five letter set. As an ordered selection there are 5 P 3, which is 60 words. The six orderings BCE, BEC, CBE, CEB, EBC, ECB all describe the same unordered subset B C E. Every subset is counted 3 factorial, which is 6, times over, so the number of subsets is 60 divided by 6, which is 10, matching 5 choose 3.Unordered = ordered ÷ r! : the same subset, many ordersBCEBECCBECEBEBCECB3! = 6 ordered words{B, C, E}1 subset5C3 = 5P3 ÷ 3! = 60 ÷ 6 = 10

The picture is the whole proof in one frame: the six ordered words on the left all funnel into the single subset on the right, so to count subsets you take the ordered count and divide by the r!r! orderings that each subset is counted with. Doing this in general, there are nPr=n!(nr)!^{n}P_{r} = \frac{n!}{(n-r)!} ordered selections, each subset is ordered in r!=rPrr! = {}^{r}P_{r} ways, so the number of unordered selections is

nCr=nPrr!=n!(nr)!÷r!=n!r!(nr)!.^{n}C_{r} = \frac{^{n}P_{r}}{r!} = \frac{n!}{(n-r)!} \div r! = \frac{n!}{r!\,(n-r)!}.

That single division by r!r! is the only difference between a permutation and a combination. If you ever cannot remember whether to divide, ask "does reordering my chosen objects make a new outcome?" If yes, it is a permutation; if no, divide by r!r! and it is a combination.

Computing nCr^{n}C_{r} by hand, and the nPr^{n}P_{r} contrast

For actual numbers, do not expand both full factorials. Cancel the largest factorial, (nr)!(n-r)!, against the top straight away, leaving rr falling factors over r!r!. For 8C5^{8}C_{5},

8C5=8!5!3!=8×7×63×2×1=3366=56.^{8}C_{5} = \frac{8!}{5!\,3!} = \frac{8 \times 7 \times 6}{3 \times 2 \times 1} = \frac{336}{6} = 56.

Notice the shortcut: cancel the larger of 5!5! and 3!3! (here 5!5!), so only 8×7×68 \times 7 \times 6 survives on top and 3!3! on the bottom. That is the same as using the symmetry first, 8C5=8C3=8×7×63!=56^{8}C_{5} = {}^{8}C_{3} = \frac{8 \times 7 \times 6}{3!} = 56, which is why nCr^{n}C_{r} is easiest to compute when you make the bottom number min(r,nr)\min(r,\,n-r).

The contrast with the permutation is worth seeing side by side. Choosing 55 objects from 88 in order gives

8P5=8×7×6×5×4=6720,^{8}P_{5} = 8 \times 7 \times 6 \times 5 \times 4 = 6720,

and dividing by 5!=1205! = 120 recovers the combination, 6720÷120=566720 \div 120 = 56. The ordered count is 120120 times larger because each unordered choice of 55 can be arranged in 5!5! orders.

Every subset at once: an nn-set has 2n2^n subsets

Step back from a fixed size and count all subsets of an nn-element set together. Building a subset means going through the nn elements one at a time and deciding, independently, whether each is in or out, two choices per element. By the multiplication principle that is

2×2××2n factors=2n\underbrace{2 \times 2 \times \cdots \times 2}_{n \text{ factors}} = 2^n

subsets in total, where the all-out choice gives the empty set and the all-in choice gives the whole set. For the five-element set {A,B,C,D,E}\{A, B, C, D, E\} this is 25=322^5 = 32 subsets.

All 32 subsets of a five-element set, grouped by sizeThe subsets of the set A B C D E sorted into columns by how many elements they contain. The column sizes are one, five, ten, ten, five, one, which are the values 5 choose 0 up to 5 choose 5. Together they make 32 subsets, and 32 equals 2 to the power 5. The columns read the same forwards and backwards, showing 5 choose r equals 5 choose 5 minus r.The 32 subsets of {A, B, C, D, E}, sorted by sizecolumn heights are 5C0, 5C1, ... , 5C5 and add to 2⁵ = 325C015C15ABCDE5C210ABACBCADBDCDAEBECEDE5C310ABCABDACDBCDABEACEBCEADEBDECDE5C45ABCDABCEABDEACDEBCDE5C51ABCDE1 + 5 + 10 + 10 + 5 + 1 = 32 = 2⁵

The display sorts those 3232 subsets into columns by size. The column heights are 5C0,5C1,,5C5^{5}C_{0}, {}^{5}C_{1}, \dots, {}^{5}C_{5}, which read 1,5,10,10,5,11, 5, 10, 10, 5, 1, and they add to 3232. That gives a second way to count all subsets: count them size by size and add. Equating the two counts is the row sum

nC0+nC1+nC2++nCn=2n,^{n}C_{0} + {}^{n}C_{1} + {}^{n}C_{2} + \cdots + {}^{n}C_{n} = 2^n,

true because both sides count every subset of an nn-set exactly once, the left by sorting on size and the right all together. For n=5n = 5 this is 1+5+10+10+5+1=32=251 + 5 + 10 + 10 + 5 + 1 = 32 = 2^5, exactly the columns in the figure.

The symmetry nCr=nCnr^{n}C_{r} = {}^{n}C_{n-r}

Look at the figure again and notice the columns read the same left to right as right to left: 1,5,10,10,5,11, 5, 10, 10, 5, 1. That is the symmetry

nCr=nCnr.^{n}C_{r} = {}^{n}C_{n-r}.

The reason is a perfect pairing, not a coincidence. Every time you choose an rr-element subset to keep, you simultaneously leave behind an (nr)(n-r)-element subset, its complement. Choosing the keepers and choosing the leavers are the same act described two ways, so the number of rr-subsets equals the number of (nr)(n-r)-subsets. Choosing 22 people from 55 to make the tea is the same as choosing the 33 who will not, so 5C2=5C3=10^{5}C_{2} = {}^{5}C_{3} = 10. In practice the symmetry is a labour-saver: compute nCr^{n}C_{r} using whichever of rr and nrn-r is smaller.

Restriction technique with combinations

The reshaping moves from the grouping, complement and cases page carry straight across to selections, because a combination is itself a count you can subtract from or split. Four moves cover almost every restricted-selection question.

Conditional: must contain a particular item
If a chosen object is forced in, put it in first, then choose the remaining places from the remaining objects. A team of 55 from 1111 that must include the captain CC has CC fixed, so the other 44 come from the remaining 1010: 10C4=210^{10}C_{4} = 210.
Conditional: must exclude a particular item
If an object is banned, simply remove it and choose from what is left. A team of 55 from 1111 that must exclude an injured player XX chooses all 55 from the remaining 1010: 10C5=252^{10}C_{5} = 252. Combine the two: include CC and exclude XX leaves 44 to choose from 99, namely 9C4=126^{9}C_{4} = 126.
Split a constrained selection into independent groups
When a committee must contain set numbers from disjoint pools, choose from each pool separately and multiply. A committee of 55 from 66 men and 88 women with exactly 22 men chooses 22 of the 66 men and 33 of the 88 women: 6C2×8C3=15×56=840^{6}C_{2} \times {}^{8}C_{3} = 15 \times 56 = 840.
At least / at most: count the complement
"At least kk" usually fragments into several size cases, so count the total and subtract the few unwanted cases. A committee of 44 from 55 women and 44 men with at least 22 women is the total 9C4=126^{9}C_{4} = 126 minus the committees with 00 or 11 woman, 4C4+5C14C3=1+20=21^{4}C_{4} + {}^{5}C_{1}\,^{4}C_{3} = 1 + 20 = 21, giving 12621=105126 - 21 = 105.

Geometry counts: lines and triangles from points

A clean family of combination questions hides inside geometry. Given points with no three on a straight line, every unordered pair of points determines exactly one line (chord), and every unordered triple determines exactly one triangle, so the counts are simply combinations.

Eight points on a circle: counting chords and trianglesEight equally spaced points labelled P1 to P8 around a circle, with no three on a straight line. Every choice of two points gives one chord, so there are 8 choose 2, which is 28 chords. Every choice of three points gives one triangle, so there are 8 choose 3, which is 56 triangles. One triangle through points P1, P4 and P6 is highlighted as an example.Choosing points: 2 make a chord, 3 make a triangleP1P2P3P4P5P6P7P8chords8C2 = 28triangles8C3 = 56quadrilaterals8C4 = 70one triangle shown: {P1, P4, P6}; order does not matter

For the 88 points shown, the chords number 8C2=28^{8}C_{2} = 28, the triangles number 8C3=56^{8}C_{3} = 56, and the quadrilaterals number 8C4=70^{8}C_{4} = 70. The highlighted triangle {P1,P4,P6}\{P_1, P_4, P_6\} is one of those 5656: notice that choosing the three vertices in any order gives the same triangle, which is exactly why it is a combination and not a permutation. The "no three collinear" condition matters, because three collinear points would give a degenerate "triangle" (a straight line) and the count nC3^{n}C_{3} would overcount; on a circle no three points are ever collinear, so the count is exact.

Verifying a small case by listing

Whenever a count is small, the safest check is to list and tally. Take the triangles from 66 points {1,2,3,4,5,6}\{1,2,3,4,5,6\} on a circle. The formula gives 6C3=6×5×46=20^{6}C_{3} = \frac{6 \times 5 \times 4}{6} = 20. Listing every 33-element subset in increasing order gives

123,124,125,126,134,135,136,145,146,156,234,235,236,245,246,256,345,346,356,456,123,\,124,\,125,\,126,\,134,\,135,\,136,\,145,\,146,\,156,\,234,\,235,\,236,\,245,\,246,\,256,\,345,\,346,\,356,\,456,

which is 2020 triangles, matching the formula. Listing in a fixed order (here, smallest digit first) guarantees you write each subset once and never repeat, which is the discipline that makes a by-hand check trustworthy.

How exam questions ask about this dot point

The wording tells you which move to reach for. Map the phrase to the method:

  • "...select / choose / pick a group / committee / team / hand", "in how many ways can rr be chosen from nn". A plain combination: nCr^{n}C_{r}, because order does not matter.
  • "...how many subsets", "how many possible selections of any size", "any number of toppings". All subsets: 2n2^n.
  • "...show that nCr=nCnr^{n}C_{r} = {}^{n}C_{n-r}", "why are the answers the same". Symmetry by complement: choosing the rr kept is the same as choosing the nrn-r left out.
  • "...must include / contains a particular ...". Fix that item, choose the rest from the rest: n1Cr1^{n-1}C_{r-1}.
  • "...must not include / excludes / without a particular ...". Delete that item, choose normally: n1Cr^{n-1}C_{r}.
  • "...exactly kk of one type and the rest another", "two men and two women". Multiply per-pool combinations: aCi×bCj^{a}C_{i} \times {}^{b}C_{j}.
  • "...at least / at most / a majority of ...". Complement: total minus the unwanted size cases.
  • "...how many lines / chords / triangles / diagonals from these points", with no three collinear. A geometry combination: nC2^{n}C_{2} for lines, nC3^{n}C_{3} for triangles.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation3 marks(i) Evaluate 9C4^{9}C_{4}. (ii) Evaluate 9P4^{9}P_{4}. (iii) Hence state, in one sentence, why selecting 44 people from 99 to form a committee gives a smaller answer than choosing 44 people from 99 to fill four distinct offices (chair, secretary, treasurer, member).
Show worked solution →

Part (i): use the formula for a combination. Cancel the larger factorial against the numerator:

9C4=9!4!5!=9×8×7×64×3×2×1=302424=126.^{9}C_{4} = \frac{9!}{4!\,5!} = \frac{9 \times 8 \times 7 \times 6}{4 \times 3 \times 2 \times 1} = \frac{3024}{24} = 126.

Part (ii): use the formula for a permutation. Here order matters, so do not divide by 4!4!:

9P4=9×8×7×6=3024.^{9}P_{4} = 9 \times 8 \times 7 \times 6 = 3024.

Part (iii): explain the gap. Filling four distinct offices is an ordered selection, so it counts 9P4=3024^{9}P_{4} = 3024. A committee is unordered, so each committee of 44 is counted 4!=244! = 24 times among those ordered lists, and dividing removes that overcount: 3024÷24=1263024 \div 24 = 126. Order multiplies the answer by 4!4!.

Answer. (i) 126126; (ii) 30243024; (iii) the committee is unordered, so it equals 9P4÷4!=126^{9}P_{4} \div 4! = 126, a factor of 4!4! smaller.

foundation2 marksA pizza shop offers 77 toppings. A customer may choose any number of toppings, from none at all up to all 77. How many different pizzas (counted by their set of toppings) are possible?
Show worked solution →

Recognise this as counting subsets. A pizza is just a subset of the 77 toppings, because the order you list the toppings in does not change the pizza.

Count every subset at once. Each topping is independently in or out, giving two choices per topping across 77 toppings:

27=128.2^{7} = 128.

Confirm by adding the subset sizes. The pizzas with 0,1,2,,70, 1, 2, \dots, 7 toppings number 7C0+7C1++7C7=1+7+21+35+35+21+7+1=128^{7}C_{0} + ^{7}C_{1} + \cdots + ^{7}C_{7} = 1 + 7 + 21 + 35 + 35 + 21 + 7 + 1 = 128, the same total.

Answer. There are 128128 possible pizzas (including the plain pizza with no toppings).

core3 marksA committee of 44 is chosen from 55 women and 44 men. In how many ways can the committee be chosen so that it contains at least 22 women?
Show worked solution →

Read 'at least' as a cue for the complement. Counting at least 22 women directly means adding the cases of exactly 22, 33 and 44 women. The complement (fewer than 22 women, that is 00 or 11) is shorter, so subtract it from the total.

Count all committees. Choose any 44 of the 99 people:

9C4=126.^{9}C_{4} = 126.

Count the unwanted committees (00 or 11 woman). With 00 women all 44 come from the 44 men, and with 11 woman the other 33 come from the men:

4C4+5C1×4C3=1+5×4=1+20=21.^{4}C_{4} + {}^{5}C_{1} \times {}^{4}C_{3} = 1 + 5 \times 4 = 1 + 20 = 21.

Subtract.

12621=105.126 - 21 = 105.

Check directly. Summing the wanted cases, 5C24C2+5C34C1+5C44C0=60+40+5=105^{5}C_{2}\,^{4}C_{2} + {}^{5}C_{3}\,^{4}C_{1} + {}^{5}C_{4}\,^{4}C_{0} = 60 + 40 + 5 = 105, which agrees.

Answer. There are 105105 committees with at least 22 women.

core3 marksEight points lie on a circle, with no three of them on a straight line. (i) How many straight lines (chords) join pairs of these points? (ii) How many triangles have all three vertices among these points? (iii) How many of those triangles have a particular point, PP, as a vertex?
Show worked solution →

Part (i): a line needs an unordered pair of points. Choosing the two endpoints in either order gives the same line, so count unordered pairs:

8C2=8×72=28.^{8}C_{2} = \frac{8 \times 7}{2} = 28.

Part (ii): a triangle needs an unordered triple of points. No three points are collinear, so every choice of 33 points really does form a triangle:

8C3=8×7×66=56.^{8}C_{3} = \frac{8 \times 7 \times 6}{6} = 56.

Part (iii): fix PP, then choose the rest. With PP already a vertex, the other 22 vertices are any 22 of the remaining 77 points:

7C2=7×62=21.^{7}C_{2} = \frac{7 \times 6}{2} = 21.

Answer. (i) 2828 lines; (ii) 5656 triangles; (iii) 2121 triangles through PP.

exam4 marksA netball squad has 1212 players, including the captain CC and two players JJ and KK who are both injured. A team of 77 is to be chosen. (i) In how many ways can a team of 77 be chosen with no restriction? (ii) In how many ways can the team be chosen if the captain CC must be included? (iii) In how many ways can the team be chosen if both JJ and KK must be excluded?
Show worked solution →

Part (i): choose 77 from 1212, order irrelevant. A team is an unordered selection:

12C7=12!7!5!=792.^{12}C_{7} = \frac{12!}{7!\,5!} = 792.

Part (ii): force CC in, then choose the rest. With CC already on the team, choose the other 66 players from the remaining 1111:

11C6=11!6!5!=462.^{11}C_{6} = \frac{11!}{6!\,5!} = 462.

Part (iii): remove JJ and KK, then choose freely. Excluding JJ and KK leaves 1010 available players, from whom all 77 are chosen:

10C7=10!7!3!=120.^{10}C_{7} = \frac{10!}{7!\,3!} = 120.

Sanity check on (iii). By the symmetry 10C7=10C3=10×9×86=120^{10}C_{7} = {}^{10}C_{3} = \frac{10 \times 9 \times 8}{6} = 120, which agrees.

Answer. (i) 792792; (ii) 462462; (iii) 120120.

exam4 marksA team of 55 is chosen from 66 men and 88 women. (i) In how many ways can the team be chosen with exactly 22 men? (ii) From a separate group of 1010 people, a working party of 44 is chosen and then one of those 44 is named as its leader. In how many ways can the working party and its leader be chosen?
Show worked solution →

Part (i): choose the men and the women separately, then multiply. The two genders are chosen independently, so use the multiplication principle on two combinations. Choose 22 of the 66 men and 33 of the 88 women:

6C2×8C3=15×56=840.^{6}C_{2} \times {}^{8}C_{3} = 15 \times 56 = 840.

Part (ii): an unordered choice followed by a distinguished role. First choose the unordered working party of 44 from 1010, then pick its leader from those 44:

10C4×4=210×4=840.^{10}C_{4} \times 4 = 210 \times 4 = 840.

Confirm part (ii) another way. Pick the leader first (1010 ways), then choose the other 33 members from the remaining 99: 10×9C3=10×84=84010 \times {}^{9}C_{3} = 10 \times 84 = 840, the same value. The role is a separate, ordered choice on top of the unordered selection.

Answer. (i) 840840; (ii) 840840.

Related dot points