Counting principles, permutations and combinations
IB Mathematics: Applications and Interpretation HLΒ· Unit 1: Number and Algebra, Topic 7Β· 15 min read
1. The Fundamental Counting Principleβ βββββ± 4 min
β Calculator OK
Fundamental Counting Principle
If there are ways to complete the first task, ways to complete the second, and so on for independent tasks, the total number of ways to complete all tasks is the product .
Example:
A 3-digit PIN with independent digits has total possible outcomes.
A coffee shop offers 4 drink sizes, 8 coffee bean types, and 3 sweetener options. How many unique combinations of one size, one bean, and one sweetener are possible?
- 1
Identify the number of independent options for each choice:
- 2
- 3
Calculate the product to get the total number of combinations:
- 4
Exam tip:
Always confirm choices are independent before multiplying. For dependent selection (without replacement), adjust the number of options for each subsequent step.
2. Permutations of Distinct Itemsβ β ββββ± 5 min
β Calculator OK
Permutation (distinct items)
or
An ordered arrangement of items selected from distinct items, where no repetition is allowed. Order matters, so swapping two items creates a new permutation.
Example:
3-letter codes from 5 distinct letters are permutations, since ABC is different from CBA.
How many ways can 5 different paintings be arranged in a row on a wall?
- 1
We arrange all 5 distinct items, so , :
- 2
- 3
Recall that by definition, so:
- 4
Test your understanding: How many 3-letter code words can be made from A,B,C,D,E with no repetition?
How many total codes are possible?
20
60
10
120
Reveal answer
60 β. Correct, since order matters for code words.
3. Permutations with Repeated Elementsβ β β βββ± 6 min
β Calculator OK
Permutations of a multiset
When arranging total items with repeated identical elements, we divide by the factorial of the count of each repeated element to avoid counting identical arrangements multiple times.
Example:
Arranging the letters of "BOOK" requires dividing by for the two identical O's.
renderer not yet implemented Β· content will appear once shipped]How many distinct arrangements of the letters in the word "BANANA" are there?
- 1
Count total letters: . Count repeated letters: A = 3, N = 2, B = 1:
- 2
- 3
Simplify the expression:
- 4
Exam tip:
Do not forget to divide by the factorial of every repeated element, not just one repeated group.
4. Combinations for Unordered Selectionsβ β β βββ± 7 min
β Calculator OK
Combination
or
An unordered selection of items from distinct items. Order does not matter, so swapping two items does not create a new combination.
Example:
Selecting a 3-person committee from 12 people is a combination, since all roles are identical.
A class of 12 students selects a 3-person committee. How many different possible committees are there?
- 1
Order does not matter (no distinct roles), so , :
- 2
- 3
Calculate the result:
- 4
5. Common Pitfalls
Wrong move:
Treating permutations as combinations (or vice versa)
Why:
Forgetting that order changes the count for arrangements, leading to wrong final values
Correct move:
Ask: does swapping two items create a new outcome? If yes, use permutations; if no, use combinations
Wrong move:
Forgetting that
Why:
Leads to undefined or incorrect results when permuting all items ()
Correct move:
Always remember is defined as 1, not 0, by convention
Wrong move:
Not dividing by factorials for repeated elements in permutations
Why:
Counts identical arrangements as distinct, leading to an overestimate of the total number of outcomes
Correct move:
For every group of identical repeated items, divide by the factorial of the size of the group
Wrong move:
Adding instead of multiplying for the fundamental counting principle
Why:
Confuses "and" (complete all tasks) with "or" (choose one option from mutually exclusive groups)
Correct move:
Multiply for "and" scenarios, add for mutually exclusive "or" scenarios
Wrong move:
Using fundamental counting principle without adjusting for dependent selection
Why:
Keeps the original number of options for every step even when items are removed after selection
Correct move:
Reduce the number of available options by 1 for each subsequent step when selection is without replacement
6. Quick Reference Cheatsheet
Rule | Formula | When to use |
|---|---|---|
Fundamental Counting Principle | Independent sequential choices | |
Permutation (distinct, no repetition) | Ordered selection from distinct items | |
Permutation (repeated items) | Arrangements with identical repeated items | |
Combination (unordered) | Unordered selection from distinct items |
7. Frequently Asked
Do I need to memorize formulas for permutations and combinations?
While your GDC can calculate values, you must recognize when to use which formula, so memorizing the difference between the two is critical for exam success.
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2021 Β· 1
Counting seating arrangements
- 2022 Β· 1
Combinations for team selection
- 2023 Β· 2
Permutations with repeated elements
Going deeper
What's Next
Counting principles are the foundational building block for calculating probabilities of discrete events, which you will use extensively across all statistics topics in IB AI HL. You will apply these rules to calculate probabilities for binomial distributions, expected value, and combinatorial hypothesis testing. Permutations and combinations problems appear regularly in both Paper 1 and Paper 2, often worth 5-8 marks per question. Mastering the distinction between permutations and combinations is the most critical skill from this topic to carry forward.
