Study Guide

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

πŸ“˜ Definition

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.

πŸ“ Worked Example

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. 1

    Identify the number of independent options for each choice:

  2. 2
    4 (sizes)Γ—8 (beans)Γ—3 (sweeteners)4 \text{ (sizes)} \times 8 \text{ (beans)} \times 3 \text{ (sweeteners)}
  3. 3

    Calculate the product to get the total number of combinations:

  4. 4
    4Γ—8Γ—3=964 \times 8 \times 3 = 96

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

πŸ“˜ Definition

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.

P(n,r)=n!(nβˆ’r)!P(n,r) = \frac{n!}{(n-r)!}
πŸ“ Worked Example

How many ways can 5 different paintings be arranged in a row on a wall?

  1. 1

    We arrange all 5 distinct items, so , :

  2. 2
    P(5,5)=5!(5βˆ’5)!=1200!P(5,5) = \frac{5!}{(5-5)!} = \frac{120}{0!}
  3. 3

    Recall that by definition, so:

  4. 4
    P(5,5)=120P(5,5) = 120
βœ“ Quick check

Test your understanding: How many 3-letter code words can be made from A,B,C,D,E with no repetition?

  1. 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

πŸ“˜ Definition

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.

Total distinct permutations=n!n1!Γ—n2!Γ—...Γ—nk!\text{Total distinct permutations} = \frac{n!}{n_1! \times n_2! \times ... \times n_k!}
[Block type renderer not yet implemented Β· content will appear once shipped]
πŸ“ Worked Example

How many distinct arrangements of the letters in the word "BANANA" are there?

  1. 1

    Count total letters: . Count repeated letters: A = 3, N = 2, B = 1:

  2. 2
    Total arrangements=6!3!Γ—2!Γ—1!\text{Total arrangements} = \frac{6!}{3! \times 2! \times 1!}
  3. 3

    Simplify the expression:

  4. 4
    7206Γ—2Γ—1=60\frac{720}{6 \times 2 \times 1} = 60

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

πŸ“˜ Definition

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.

(nr)=n!r!(nβˆ’r)!=P(n,r)r!\binom{n}{r} = \frac{n!}{r! (n-r)!} = \frac{P(n,r)}{r!}
πŸ“ Worked Example

A class of 12 students selects a 3-person committee. How many different possible committees are there?

  1. 1

    Order does not matter (no distinct roles), so , :

  2. 2
    (123)=12!3!Γ—9!=12Γ—11Γ—103Γ—2Γ—1\binom{12}{3} = \frac{12!}{3! \times 9!} = \frac{12 \times 11 \times 10}{3 \times 2 \times 1}
  3. 3

    Calculate the result:

  4. 4
    2Γ—11Γ—10=2202 \times 11 \times 10 = 220

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.