Permutations and combinations
← Back to lesson · Complete chapter reading and print view · Open reference notes separately
By the end, you can
- Decide whether order matters
- Count arrangements with restrictions or repetitions
- Use addition and multiplication without double counting
about 30 minutes for the lesson · practise at your own pace.
The central idea
Use addition for disjoint alternatives and multiplication for successive choices. Selecting r objects from n distinct objects without order gives . Assigning ordered roles gives . Repeated identical objects reduce arrangement counts; circular arrangements require an explicit convention about rotations.
Counting outcomes before choosing a formula
Combinatorics studies counting problems. The source outline covers addition and multiplication, permutations and combinations, and arrangements in rows or circles with repetition or restrictions. Its opening four-wheel lock asks for a count of settings; try that question below. The printed combinatorics reference is retained as a learning pointer.
Add mutually exclusive alternatives
If E₁ and E₂ cannot occur together and have n₁,n₂ outcomes, the number of ways for E₁ or E₂ is . More generally, for k≥1 pairwise mutually exclusive alternatives, the number for at least one is . Here at most one can occur, so none is counted twice. Example 1 chooses one air or sea service.
Multiply ordered stages
If an outcome requires E₁ followed by E₂, with n₁ ways for the first stage and n₂ continuations for each first choice, there are outcomes. For k ordered stages, the product is . If continuation counts depend on an earlier choice, separate disjoint cases before adding. This is a counting rule, not a probability-independence assumption. Example 2 pairs each of two A–B roads with each of three B–C roads.
Arrange all n distinct objects in a row
A permutation is an arrangement of all or some objects where order matters. With no replacement, each chosen object is removed from the later choices.
| Position | 1st | 2nd | 3rd | … | (n−1)th | nth |
|---|---|---|---|---|---|---|
| Available objects | n | n−1 | n−2 | … | 2 | 1 |
Multiplication gives for positive integer n. Example 3 uses all 10 seats.
Arrange r of n distinct objects without replacement
| Position | 1st | 2nd | 3rd | … | (r−1)th | rth |
|---|---|---|---|---|---|---|
| Available objects | n | n−1 | n−2 | … | n−(r−2) | n−(r−1) |
The last two entries are completed in the Teacher copy. There are r decreasing factors:
Multiply and divide by the missing tail to obtain
Here n,r are integers with . The empty-product convention gives . The source remarks that because . Example 4 uses r=3,n=10. The calculator steps for both factorial and nPr are retained with those examples.
Keep the same number of choices when repetition is allowed
The source paints three labelled rooms using five colours: red, green, yellow, blue and purple. Each room still has five choices, so the position table is
| Room | 1st | 2nd | 3rd |
|---|---|---|---|
| Colour choices | 5 | 5 | 5 |
There are colour assignments. In general, r ordered positions with n choices available each time give .
Source qualification: both copies print beside the repetition formula on page 5. The upper bound is unnecessary when replacement or repetition is allowed: r can exceed n. Use positive integer n and any nonnegative integer r; counts the empty arrangement. Example 5 uses repeated letters and digits.
Remove overcounting from identical objects
First pretend the letters A,B,B are A,B₁,B₂. Their 3!=6 labelled arrangements fall into pairs:
| Same unlabelled arrangement | First labelled version | Second labelled version |
|---|---|---|
| ABB | AB₁B₂ | AB₂B₁ |
| BAB | B₁AB₂ | B₂AB₁ |
| BBA | B₁B₂A | B₂B₁A |
Swapping the two identical B copies does not create a new arrangement. Each unlabelled result is counted 2! times, so there are distinct arrangements.
For N objects consisting of n₁ of type 1,…,nₖ of type k, with , the count is
Follow the source proof by choosing positions
Use N boxes, one for each position. Write , with .
- Choose n₁ boxes for type 1: .
- Choose n₂ from the remaining N−n₁: .
- Continue to type k, choosing .
- If there are m=N−sₖ remaining distinct objects, arrange them in m! ways, as in the source’s final stage. In the boxed all-types formula sₖ=N, so m=0 and this is 0!=1. The proof switches the total’s letter from N to n; N is used consistently here.
Multiplication gives
The intermediate factorials cancel. If every object is included among the types, m=0; if m counts additional distinct objects, their ordering supplies the final m! factor. Examples 6 and Self-Practice 1 apply this to repeated letters.
Select without caring about order
A combination is a selection from distinct objects where order does not matter. An r-combination of a set S is a subset with r elements. For , the three 2-combinations are , and . Reversing their written order changes nothing: , and .
The notation , also written in the source’s MF27 reference, has formula
for nonnegative integers n,r. There is one way to select all or none: . Selecting r objects is equivalent to rejecting the other n−r, so .
Choose the seats, then arrange the people
Revisit Example 4: first choose 3 of the 10 seats in ways, then arrange the 3 distinct people in those seats in 3! ways. Thus . In general,
The source calculator evaluates by typing 10, selecting MATH → PROB → 3:nCr, typing 3 and pressing ENTER. Its input 10 nCr 3 returns 120. Compare that 120 with the 720 ordered seatings in Example 4.
Build a committee by cases or complements
For a committee with no assigned roles, choose members using combinations. Multiply independent selection stages in the counting sense, such as choosing boys and girls from separate sets; then add disjoint cases. Reversing the order of those two stages does not change the committee count.
At most one means zero or one. At least one can be counted directly by all positive cases, or by subtracting none from the unrestricted total. The source recommends the complement method when there would otherwise be too many cases. Example 8 retains both routes.
If A or B must be included, both may be included: the or is inclusive. Add the count including A and the count including B, then subtract the overlap once. The Teacher note asks for a Venn diagram; Example 8 includes one with all three membership regions. Alternatively count A only, B only, and both as disjoint cases.
Remove the ordering of indistinguishable groups
Distinct children remain distinct, but a partition into unlabelled groups does not record which group was selected first. Example 10 shows the same C₁,…,C₅ and C₆,…,C₁₀ groups selected in opposite stage orders. Divide their ordered-selection count by 2! to count each partition once.
In general, r equal-sized indistinguishable groups can be arranged in orders. Each of those orders represents the same unlabelled partition, so divide by r!. Apply a separate correction for each set of interchangeable groups. Do not divide for groups with distinct labels, roles, functions or sizes. The source’s repeated section number 4.2 labels both distinct-group formation and indistinguishable-group formation; these are separate counting situations.
Count selections from repeated types by cases
The source distinguishes physical objects from distinguishable outcomes. Applying directly to n labelled objects is not the right model when same-type copies are indistinguishable. Identify all permitted multiplicity cases instead. Example 11 selects three beads from supplies R,R,R,B,B,W,G using patterns 1+1+1,2+1, and 3. Self-Practice 4 applies the same idea to ELEVEN. The supply limits matter: blue cannot supply a triple, and E is the only repeated letter in ELEVEN.
Handle a restriction before arranging the rest
The source’s general problem-solving tip is to account for restrictions first, before counting the unrestricted choices.
Objects together: group the required items into a single block. Arrange the outer objects, then count the arrangements within the block, correcting for identical copies at each level. Example 12 has outer objects I,I,U,[MMMN]. Example 14(a)has a block containing A,T, with both AT and TA counted.
Objects separated: arrange the objects that need not be separated first. They create gaps, including both ends. Select different gaps for the items that must be separated, then arrange those items within the chosen gaps. Example 13 uses three consonants to create four gaps for three vowels.
A selection ignores order; a codeword records it. Example 14(b)therefore selects a permitted multiset from CELEBRATE, then orders it. Self-Practice 4 only selects from ELEVEN, so permuting a selected multiset does not give extra outcomes.
Choose constrained positions before unrestricted ones
The Teacher notes explain that positions need not be filled from left to right. Usually start with the position with the most constraints.
In Example 15, first fix the thousands digit as 3 or 4, then fill the even units digit; the available units choices depend on that first digit. Complete tens and hundreds afterward.
A quoted fixed digit in the source boxes is a value, whereas an unquoted number counts choices.
State the selection model
Example 16 uses blocks and alternating gender patterns for distinct people. In part (iii), the source intends a contiguous WMMW block: exactly two intervening men.
Example 17 instead counts unordered subsets of five rides, each selected or not selected. Its two methods count all binary decisions except the empty set, or add the five possible positive subset sizes. These methods both give 31.
Self-Practice 5 combines fixing positions, grouping adjacent letters and subtracting the adjacent case from all arrangements.
Decide whether rotations make a new arrangement
For three distinct people, the six row orders are ABC, CAB, BCA, ACB, BAC, CBA. Put them at clockwise seats 1,2,3 around a circle. The first three placements form one rotation class; the last three form the other. If seat numbers are ignored, each class is one arrangement, giving . Clockwise and anticlockwise orders still differ: reflection is not being identified.
In general, for n≥1 distinct objects at unlabelled circular positions, each circular order has n rotations of its linear listing, so . Alternatively, fix one object as a reference and arrange the other n−1. This distinct-object assumption matters; repeated circular objects can have rotational symmetries, so dividing a general repeated-object row count by n is not automatically valid. Example 19 instead fixes its unique ACE block.
Labeled circular positions restore the seat choices
If three men sit in three differently coloured chairs, first fix M1 as a reference and arrange the other men in ways. M1 then has three distinct seats, restoring . For n distinct objects in n distinct circular positions, the source formula is .
Example 18 uses unlabelled circular seats, alternating-gender gaps and a contiguous boy-girl-boy block. Example 19 keeps A,C,E consecutive clockwise, with one internal order. Its two conditions are independent: separated asterisks at unlabelled positions, then labelled symbol positions without the separation restriction. When restoring labels, count all eleven original symbol positions rather than the nine compressed objects.
Six labeled placements and two circular orders
Expand diagramFit diagram to page
Use the scrollbars or arrow keys to inspect details.
Explore
Use the worked example below, then change one input or assumption. Predict which part of the answer must change before calculating.
Worked example
Choose two representatives from five people: . Choose a chair and a secretary instead: 5 choices then 4 choices, giving 20. Swapping roles changes the outcome in the second problem.
Multiplication counts sequences of choices; it may count the same final unordered set more than once.
Check your understanding
How many distinct arrangements are there of the letters in LEVEL?
There are five letters, with two Ls and two Es, so .
Mastery learning objectives
At the end of this chapter, I should be able to:
Choose a practice question
Use the printed question-type map to choose a method to practise. Links open the complete question; the printed part references are retained below.
| Skill | Lecture examples | Discussion | Review follow-up |
|---|---|---|---|
| Distinct-object permutations with restrictions | 3, 4, 5, 13, 15(i), 16 | 1, 2, 13(i) | 9(i), 13, 15(i)(i), 16(last part) |
| Repeated-object permutations with restrictions | 6, 12, 14(a), 15(ii) | 4, 5, 7, 10 | 2, 3, 5(a), 7(a), 8, 10, 11, 12(b), 14 |
| Selection, including restrictions | 7, 8, 9(i)(ii) | 12(b) | 1 |
| Selection into non-distinct groups of the same size | 10 | 3 | — |
| Circular arrangements | 18, 19 | 8 | 5(b), 6, 7(b), 9(ii), 12, 14(iii), 15(iii)(iv), 16(i)(ii) |
| Complement | 8(iv), 9(iii) | 4(iii) | 2(iii) |
| Grouping and separation | 13, 16(iii) | 5(ii), 6, 11(a) | 4 |
| Cases | 8(ii)(iii), 11, 14(b), 15(iii), 16(ii), 17 | 5(iv), 7(ii), 9, 10(ii), 11(b), 13(ii) | 7(a), 10(b)(i) |
Read the printed references critically. The complement row prints Example8(iv), whose source working uses inclusion–exclusion and disjoint cases. The explicit complement method is in Example8(iii), “at least one girl”. Both are available in the linked Example8.
The printed Review15(i)(i) repeats(i); the link opens Review15 without inventing a missing part.
The repeated-object row includes Example15(ii), which actually allows repetition of the available distinct digits.
Preserve these source references as navigation pointers while deciding the counting model from each question. Some questions use more than one strategy.
Practice questions
Practice section 1 · Questions 1–6
Count the settings of a four-wheel lock · Add the air and sea travel alternatives · +4 more
Practice section 2 · Questions 7–12
Arrange STATISTICS without distinguishing repeated copies · Arrange MATHEMATICS by counting its repeated letters · +4 more
- Arrange STATISTICS without distinguishing repeated copies
- Arrange MATHEMATICS by counting its repeated letters
- Choose a committee or choose who is left out
- Select three of five people without assigning roles
- Count restricted committees using cases and complements
- Choose a committee subject to a married-couple restriction
Practice section 3 · Questions 13–18
Partition children into unlabelled groups · Divide ten people into repeated group sizes · +4 more
Practice section 4 · Questions 19–24
Arrange adjacent letters and form CELEBRATE codewords · Fill the most constrained digit position first · +4 more
Practice section 5 · Questions 25–30
Rearrange the ACE icon with repeated symbols · Seat ten people with two couples · +4 more
Practice section 6 · Questions 31–36
Separate disjoint cases from inclusion–exclusion · Keep a fixed-order block and separate two books · +4 more
- Separate disjoint cases from inclusion–exclusion
- Keep a fixed-order block and separate two books
- Count signals by their remaining colour multiplicities
- Distinguish circular rotations from numbered seats
- Separate repeated-ball selections into disjoint cases
- Classify code words by the number of repeated pairs
Practice section 7 · Questions 37–42
Count nonempty subsets and a selection with tomatoes fixed · Keep all ten seats when people are absent · +4 more
- Count nonempty subsets and a selection with tomatoes fixed
- Keep all ten seats when people are absent
- Join overlapping card blocks before arranging the remaining cards
- Choose people while controlling complete couples
- Separate fixed digit counts from adjacent-repeat complements
- Allow leading zero in a six-position PIN
Practice section 8 · Questions 43–48
Choose three gaps for the three vowels · Distinguish nine-digit integers from nine-position binary strings · +4 more
Practice section 9 · Questions 49–54
Use flavour multiplicities rather than physical bar identities · Keep the meeting and lunch seating models separate · +4 more
- Use flavour multiplicities rather than physical bar identities
- Keep the meeting and lunch seating models separate
- Separate labelled circular seats from fixed-room colour assignments
- Keep committee choices, circular seating and diner choices distinct
- Explain every complement and the meaning of neighbouring ride seats
- Split a parent–child–parent block by its table
Practice section 10 · Question 55
Reserve the central front-row positions before placing the children
Ready to try this on your own?
For “Permutations and combinations”, try a question without the working and explain your method. This records your confidence, saved in this browser only.