Permutations and Combinations
Factorial Notation
Definition
For :
with by convention.
Properties
Worked Example 1
Simplify .
Permutations
Definition
A permutation is an ordered arrangement of objects. The number of permutations of objects chosen from distinct objects:
Also written as or .
When Order Matters
Permutations are used when the order of selection matters.
Worked Example 2
In how many ways can 5 students be arranged in a row from a class of 8?
Worked Example 3
How many 4-letter arrangements can be made from the word "SMILE"?
All 5 letters are distinct: .
Permutations with Repetition
When some objects are identical, divide by the factorial of the count of each repeated object:
Worked Example 4
How many distinct arrangements of the letters in "BANANA"?
Total letters: , with appearing times, appearing times, and appearing time.
Circular Permutations
The number of ways to arrange distinct objects in a circle:
This accounts for rotational symmetry (rotating everyone does not create a new arrangement).
Worked Example 5
In how many ways can 6 people sit around a round table?
Combinations
Definition
A combination is an unordered selection of objects. The number of combinations of objects chosen from distinct objects:
Also written as or .
When Order Does Not Matter
Combinations are used when only the group matters, not the order of selection.
Worked Example 6
A committee of 4 is to be chosen from 10 people. How many ways?
Relation Between Permutations and Combinations
This reflects the fact that each combination of objects can be arranged in ways.
Pascal's Triangle
Construction
Pascal's triangle is a triangular array where each entry is the sum of the two entries directly above it:
Connection to Combinations
The -th entry (starting from ) in row (starting from ) is:
Properties of Binomial Coefficients
Symmetry:
Pascal's identity:
Row sum:
Alternating sum:
Worked Example 7
Find the coefficient of in the expansion of .
By the binomial theorem:
For : .
Coefficient: .
Applications
Selection Problems
When a problem involves selecting from distinct groups, multiply the number of choices for each group.
Worked Example 8
A class has 7 boys and 5 girls. In how many ways can a team of 4 be chosen with at least 2 girls?
| Girls | Boys | Ways |
|---|---|---|
| 2 | 2 | |
| 3 | 1 | |
| 4 | 0 |
Total: .
Complementary Counting
When it is easier to count the complement and subtract:
Worked Example 9
How many 5-card hands from a standard 52-card deck contain at least one ace?
Total hands: .
Hands with no ace: .
Hands with at least one ace: .
Common Pitfalls
- Confusing permutations with combinations. Ask: does the order matter? If yes, use ; if no, use .
- Forgetting that . This is needed in many calculations.
- In circular permutation problems, forgetting that rotations are equivalent. For objects in a circle, there are arrangements, not .
- Double-counting in selection problems. When dividing into groups, ensure each object is counted exactly once.
- Incorrectly applying the permutation-with-repetition formula. Only divide by factorials when objects are truly identical.
Summary Table
| Topic | Formula |
|---|---|
| Factorial | |
| Permutation | |
| Combination | |
| With repetition | |
| Circular | |
| Row sum | |
| Pascal's identity |
Wrap-up Questions
- Question: Evaluate .
.
- Question: How many 3-digit even numbers can be formed from the digits if each digit can be used at most once?
Last digit (units) must be even: choose from -- 3 ways.
First digit cannot be zero (not an issue here) and must differ from the last digit: 5 remaining digits.
Middle digit: 4 remaining digits.
Total: . Wait -- first digit: 5 choices (all except the chosen last digit). Middle digit: 4 choices (remaining). Total: .
- Question: In how many ways can 4 boys and 3 girls be arranged in a row if no two girls sit together?
First arrange the 4 boys: ways. This creates 5 gaps (including ends):
_ B _ B _ B _ B _
Choose 3 of these 5 gaps for the girls: ways. Arrange the 3 girls: ways.
Total: .
- Question: A committee of 5 is chosen from 4 men and 6 women. How many committees have more women than men?
| Women | Men | Ways |
|---|---|---|
| 3 | 2 | |
| 4 | 1 | |
| 5 | 0 |
Total: .
- Question: Find the coefficient of in .
Coefficient: .
- Question: How many distinct arrangements of the letters in "MISSISSIPPI"?
Letters: M(1), I(4), S(4), P(2). Total: 11.
- Question: Prove that .
.
- Question: A box contains 6 red, 4 blue, and 5 green balls. In how many ways can 4 balls be chosen so that at least 2 are red?
Total: .
With 0 or 1 red: .
At least 2 red: .
- Question: How many ways can 8 people be divided into 4 pairs?
Number of ways to split people into unordered pairs:
- Question: From 7 men and 5 women, how many committees of 6 can be formed with at least 3 men and at least 2 women?
Possible compositions: (4M, 2W), (3M, 3W).
: .
: .
Total: .
Additional Worked Examples
Worked Example 10: Arrangements with repeated letters
How many distinct arrangements of the letters in "MATHEMATICS"?
Solution
Total letters: . Counts: M(), A(), T(), H(), E(), I(), C(), S().
Worked Example 11: Couple seating arrangements
In how many ways can 4 married couples sit in a row of 8 seats if each couple must sit together?
Solution
Treat each couple as a single unit. We have 4 units to arrange: ways.
Each couple can swap seats internally: ways.
Worked Example 12: Distributing identical objects (stars and bars)
In how many ways can 12 identical balls be distributed into 5 distinct boxes (boxes may be empty)?
Solution
This is a stars-and-bars problem: we need the number of non-negative integer solutions to .
Worked Example 13: Password with digit constraint
A password consists of 4 distinct characters chosen from . How many passwords contain at least one digit?
Solution
Total passwords (no repetition): .
Passwords with no digits (all letters from 5 letters): .
Direct counting verification:
| Digits | Letters | Ways |
|---|---|---|
| 1 | 3 | |
| 2 | 2 | |
| 3 | 1 |
Total: . Correct.
Worked Example 14: Constant term in a binomial expansion
Find the constant term in the expansion of .
Solution
General term: .
For the constant term: .
Additional Common Pitfalls
-
Order matters vs. does not matter. "Arranging" implies permutations (order matters). "Selecting" or "choosing" implies combinations (order does not matter). When in doubt, ask whether swapping two elements produces a different outcome.
-
Overcounting in selection problems. When forming teams from distinct groups, multiply the number of ways from each group. Do not simply use on the combined pool, which ignores group structure.
-
Circular permutation exceptions. If a circle has a fixed reference point (e.g., a specific seat for a host), the arrangement count changes. With people and one fixed seat, the remaining people are arranged linearly in ways.
-
Stars and bars conditions. counts non-negative integer solutions. For strictly positive solutions (at least one per box), substitute to get .
-
Binomial theorem sign errors. In , the general term is . The alternating sign is frequently forgotten.
-
Division into equal indistinguishable groups. When dividing people into two teams of , the answer is , not , since the two teams are not labelled.
-
Double-counting in circular arrangements with identical objects. In circular permutations with repeated items, apply both the circular correction () and the identical-objects correction (dividing by factorials of counts).
-
Confusing notation with . Always verify whether the problem requires ordered or unordered selection before choosing the formula. A safe check: if the problem asks "how many ways to arrange" use ; if it asks "how many ways to choose" use .
Exam-Style Problems
Problem 1. A debating team of 4 is to be selected from 6 boys and 5 girls. The team must include at least 1 boy and at least 1 girl. In how many ways can this be done?
Solution
Total teams of 4 from 11 people: .
All-boy teams: . All-girl teams: .
Problem 2. How many 5-digit numbers greater than can be formed from if no digit is repeated?
Solution
The first digit must be , , , or : choices.
The remaining 4 positions are filled from the remaining digits without repetition: .
Problem 3. Find the coefficient of in the expansion of .
Solution
General term: .
For : .
Problem 4. In how many ways can 3 boys and 3 girls sit around a circular table if no two boys sit next to each other?
Solution
First, seat the 3 girls around the circular table: ways.
This creates gaps between the girls. Place the boys into these gaps: ways.
Problem 5. A shelf holds 6 different maths books and 4 different physics books. In how many ways can the books be arranged if all books of the same subject must stay together?
Solution
Treat each subject group as a block: blocks, arranged in ways.
Within the maths block: ways.
Within the physics block: ways.
Problem 6. Find the number of ways to place 8 distinguishable balls into 3 distinguishable boxes such that no box is empty.
Solution
Use inclusion-exclusion.
Total placements: .
Placements with at least one box empty:
- Exactly 1 specific box empty: . For boxes: .
- Exactly 2 specific boxes empty: . For pairs: .
Problem 7. How many ways can 6 people be divided into 3 groups of 2?
Solution
Choose 2 from 6: . Choose 2 from remaining 4: . The last 2 are fixed: .
Since the 3 groups are indistinguishable (no labelling), divide by :
Alternatively: . Correct.
Problem 8. How many distinct arrangements of the letters in "SUCCESS" have the two C's separated?
Solution
Total arrangements of "SUCCESS": .
Arrangements with the two C's adjacent: treat "CC" as one unit. We have 6 units: S(), "CC"(), U(), E().
Cross-References
- Probability: Counting techniques form the foundation of probability calculations. See the probability notes.
- Binomial Theorem: The connection between Pascal's triangle and binomial coefficients extends to the binomial expansion and the binomial distribution.
- Quadratics: Factorials and combinatorial expressions sometimes simplify to quadratic forms. See quadratics.md).
DSE Exam Technique
Showing Working
In DSE Maths Paper 2 (MC) you select the answer; in Paper 1 you must show full working. For counting problems, examiners expect:
- State whether order matters (permutation vs combination).
- For casework, clearly label each case and sum at the end.
- For complementary counting, explicitly state the total and the complement.
- Write the formula before substituting values, e.g., .
Significant Figures
Final numerical answers should typically be given to 3 significant figures unless the question specifies otherwise. Intermediate combinatorial values (factorials, binomial coefficients) are exact integers and must not be rounded.
Common DSE Question Types
- Arrangement with restrictions (gaps, adjacency, specific positions).
- Selection with group constraints (at least from a group, at most from another).
- Binomial expansion (coefficient of a specific term, constant term, middle term).
- Distributing objects into boxes (stars and bars, inclusion-exclusion).
- Division into groups (equal groups, indistinguishable groups).
Additional Worked Examples
Worked Example 15: Arrangements with vowel adjacency
In how many ways can the letters of the word "EQUATION" be arranged so that all three vowels (E, U, A, I, O -- five vowels) appear together?
Solution
The word "EQUATION" has 8 distinct letters. The vowels are E, U, A, I, O (5 letters) and the consonants are Q, T, N (3 letters).
Treat the 5 vowels as a single block. We have 4 units to arrange: \\{VOWELS\\}, Q, T, N.
Within the vowel block, the 5 vowels can be arranged in ways.
Worked Example 16: Selection with identical objects
A box contains 4 red balls and 6 blue balls. In how many ways can 5 balls be selected if at least 3 are red?
Solution
| Red | Blue | Ways |
|---|---|---|
| 3 | 2 | |
| 4 | 1 |
Total: .
Note: we cannot select 5 red balls since only 4 red balls exist.
Worked Example 17: Circular arrangement with gender alternation
In how many ways can 4 men and 4 women sit around a round table if men and women must alternate?
Solution
First, seat the 4 men around the table: ways (circular permutation).
This creates 4 gaps between the men. Place the 4 women into these 4 gaps: ways.
Worked Example 18: Number of divisors
Find the number of positive divisors of .
Solution
A divisor of has the form where , , .
Number of choices for : (i.e., ).
Number of choices for : (i.e., ).
Number of choices for : (i.e., ).
Worked Example 19: Binomial expansion with fractional index
Find the first three terms in the expansion of in ascending powers of .
Solution
Using the generalised binomial theorem:
Therefore:
Worked Example 20: Derangement
In how many ways can 5 letters be placed into 5 addressed envelopes so that no letter goes into the correct envelope?
Solution
This is a derangement problem. The number of derangements of objects is:
For :
DSE Exam-Style Questions
DSE Practice 1. A committee of 5 is to be chosen from 7 men and 5 women. Find the number of ways to select the committee if it must contain exactly 2 women and the committee must include either Mr. A or Mr. B (or both).
Solution
Total ways with exactly 2 women: .
Subtract committees with neither Mr. A nor Mr. B: .
DSE Practice 2. Find the coefficient of in the expansion of .
Solution
First expand up to :
Multiply by :
The coefficient of is .
DSE Practice 3. 6 boys and 4 girls are to be seated in a row of 10 chairs. In how many ways can they be arranged if no two girls sit next to each other and the two youngest boys must sit at the two ends?
Solution
The two youngest boys must sit at the ends: ways.
The remaining 4 boys sit in the middle 8 positions: we choose 4 of the remaining 8 positions and arrange the 4 boys: .
The 4 boys in the middle create 5 gaps (including the gap between the two end boys and the first middle boy, etc.). We need to choose 4 of these 5 gaps for the girls: .
Arrange the 4 girls: .
DSE Practice 4. Find the term independent of in the expansion of .
Solution
First factor: . General term: .
For the power of to be : .
- :
- :
- : (constant)
- :
Second factor: . General term: .
We need the total power of to be 0. From the first factor, take ; from the second, take . Total power: , i.e., .
Since :
- : (reject, )
- : : coefficient
- : : coefficient
Term independent of : .
DSE Practice 5. Prove that the sum of all binomial coefficients .
Solution
Consider . By the binomial theorem:
Therefore:
DSE Practice 6. A password consists of 4 characters. Each character is a letter (A to Z) or a digit (0 to 9). How many passwords contain at least one digit and at least one letter, if characters may be repeated?
Solution
Total passwords (with repetition): .
All-letter passwords: .
All-digit passwords: .
Passwords with at least one digit and at least one letter:
DSE Practice 7. In how many ways can 12 students be divided into 3 groups of 4 to work on 3 different projects?
Solution
Choose 4 from 12 for Project 1: .
Choose 4 from remaining 8 for Project 2: .
The last 4 go to Project 3: .
Note: we do NOT divide by here because the projects are distinct (labelled), unlike the case of indistinguishable groups.