Skip to content
IB Diploma ProgrammeSL & HL

Counting and extended binomial

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Counting and extended binomial notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Counting and extended binomial notes as text: skim, search, and jump between subtopics.

~12 min read

1. The multiplication and addition principles

If a task has several stages, and stage 1 can be done in m ways and stage 2 in n ways, the multiplication principle says the whole task can be done in m × n ways. Use it when the choices are made one after the other: this stage and that stage.

If a task can be done in one way or another, and the two cannot happen together, the addition principle says you add the counts. Use it when the cases are separate: this case or that case.

Decide first whether the choices are joined by 'and' or by 'or'. Then multiply or add.

stage 1 and stage 2: m × n

case 1 or case 2: m + n

Worked example 13 marks

A café has 4 starters, 6 main courses and 3 desserts. A set meal is either a starter and a main course, or a main course and a dessert. Calculate the number of different set meals.

  1. 1

    each type of meal uses the multiplication principle: 4 × 6 and 6 × 3 (M1) [1]

  2. 2

    the two types cannot happen together, so add: 4× 6 + 6 × 3 (M1) [1]

  3. 3

    24 + 18 = 42 (A1) [1]

2. Permutations: order matters

A permutation is an arrangement in which order matters. The number of ways to arrange n different objects in a line is n!.

The number of ways to choose and arrange r objects from n different objects is ⁿP_r. Think of filling r places in turn: n choices for the first place, n-1 for the second, and so on.

Use ⁿP_r when swapping two chosen objects gives a different outcome, such as first, second and third place in a race. Permutations of objects where some are identical are not required.

n! = n(n-1)(n-2)⋯ 2 × 1

ⁿP_r = (n!)/((n-r)!) = n(n-1)⋯(n-r+1)

Worked example 14 marks

Eight runners, including Asha, take part in a race. There are no ties.

(a) Calculate the number of ways in which gold, silver and bronze medals can be awarded.

(b) Find the number of ways in which the medals can be awarded if Asha wins gold.

  1. 1

    (a) use of ⁸P₃ or 8 × 7 × 6 (M1) [1]

  2. 2

    336 (A1) [1]

  3. 3

    (b) gold is fixed, so silver and bronze come from the other 7 runners: 7 × 6 (M1) [1]

  4. 4

    42 (A1) [1]

3. Combinations: order does not matter

A combination is a selection in which order does not matter. The number of ways to choose r objects from n different objects is ⁿC_r, also written binomnr.

Each selection of r objects can be arranged in r! ways, so ⁿC_r = ⁿP_r/(r!). Choosing r objects to take is the same as choosing n-r to leave, so ⁿC_r = ⁿC_n-r.

When a selection is made from two groups, find the choices from each group and multiply. Use ⁿC_r for a committee, a team or a hand of cards.

ⁿC_r = binomnr = (n!)/(r! (n-r)!)

ⁿC_r = ⁿC_n-r

Worked example 14 marks

A club has 7 boys and 5 girls. A committee of 4 members is chosen from the 12 people.

(a) Calculate the number of different committees.

(b) Find the number of committees that have exactly 2 girls.

  1. 1

    (a) use of ¹²C₄ (M1) [1]

  2. 2

    495 (A1) [1]

  3. 3

    (b) 2 girls from 5 and 2 boys from 7: ⁵C₂ × ⁷C₂ (M1) [1]

  4. 4

    10 × 21 = 210 (A1) [1]

4. Counting with conditions

Some arrangements have a condition. Two methods cover most of them.

Objects that must be together. Treat them as one block. Arrange the block with the other objects, then multiply by the ways to order the objects inside the block.

Objects that must not be together, or 'at least' conditions. Count all arrangements, then subtract the ones that break the condition. For 'at least one', subtract the case with none.

not together = all arrangements - arrangements together

at least one = total - none

Worked example 13 marks

Six people stand in a line. Ben and Cara are two of the six. Find the number of arrangements in which Ben and Cara do not stand next to each other.

  1. 1

    all arrangements: 6! = 720 (M1) [1]

  2. 2

    Ben and Cara together: treat them as one object, 5! arrangements, and 2 orders inside the block, so 2 × 5! = 240 (M1) [1]

  3. 3

    720 - 240 = 480 (A1) [1]

5. The binomial expansion for any rational index

For a positive integer n the expansion of (1+x)ⁿ stops after the xⁿ term. The theorem extends to any rational index n, including negative and fractional values.

When n is not a positive integer, the expansion is an infinite series. It is valid only for |x|<1, that is -1<x<1. Outside that range the series does not converge to (1+x)ⁿ.

Write out each coefficient from n(n-1)⋯ with care for the signs. A negative n gives alternating signs when x is positive. Proof of the theorem is not required.

(1+x)ⁿ = 1 + nx + (n(n-1))/(2!)x² + (n(n-1)(n-2))/(3!)x³ + ⋯

n ∈ Q, |x|<1

Worked example 15 marks

Expand (1+x)⁻² in ascending powers of x, up to and including the term in x³. State the values of x for which the expansion is valid.

  1. 1

    use of the extended binomial theorem with n=-2 (M1) [1]

  2. 2

    -2x (A1) [1]

  3. 3

    ((-2)(-3))/(2!)x² = 3x² (A1) [1]

  4. 4

    ((-2)(-3)(-4))/(3!)x³ = -4x³, so (1+x)⁻² = 1 - 2x + 3x² - 4x³ + ⋯ (A1) [1]

  5. 5

    valid for |x|<1 (A1) [1]

6. Expanding (a + b)ⁿ by taking out aⁿ

The extended theorem needs the form (1+u)ⁿ. To expand (a+b)ⁿ, take out the first term:

(a+b)ⁿ = (a(1+b/a))ⁿ = aⁿ(1+b/a)ⁿ.

Then use u = b/a in the series. Do not forget the factor aⁿ: it multiplies every term. The expansion is valid when |b/a|<1. For (2+3x)ⁿ that gives |3x/2|<1, so |x|<2/3.

(a+b)ⁿ = aⁿ(1+b/a)ⁿ, n ∈ Q

valid when |b/a|<1

Worked example 15 marks

Find the expansion of (4+x)^(1/2) in ascending powers of x, up to and including the term in x². State the values of x for which the expansion is valid.

  1. 1

    (4+x)^(1/2) = 4^(1/2)(1+x/4)^(1/2) = 2(1+x/4)^(1/2) (M1) [1]

  2. 2

    use of the expansion of (1+u)^(1/2) with u = x/4: 1 + 1/2·x/4 + (1/2(-1/2))/2·x²/16 (M1) [1]

  3. 3

    1 + x/8 - x²/128 (A1) [1]

  4. 4

    multiply by 2: 2 + x/4 - x²/64 (A1) [1]

  5. 5

    valid for |x/4|<1, so |x|<4 (A1) [1]

7. Finding a coefficient and approximating a value

To find a coefficient in a product such as (2+x)(1-2x)⁻³, expand the bracket with the negative index first. Then multiply by the other factor, and collect the terms in the power you need.

The series can also approximate a number. Choose a value of x that makes the bracket equal to that number. The value must lie inside the range of validity, otherwise the series gives a wrong answer.

Small values of x give the best approximation, because the higher powers are tiny.

(1+u)⁻³ = 1 - 3u + 6u² - 10u³ + ⋯, |u|<1

Worked example 15 marks

(a) Expand (1-2x)⁻³ in ascending powers of x, up to and including the term in x².

(b) Hence find the coefficient of x² in the expansion of (2+x)(1-2x)⁻³.

  1. 1

    (a) use of the expansion with n=-3 and u=-2x (M1) [1]

  2. 2

    1 + 6x (A1) [1]

  3. 3

    + 24x², since 6×(-2x)² = 24x² (A1) [1]

  4. 4

    (b) multiply out and collect x² terms: 2× 24x² + x × 6x (M1) [1]

  5. 5

    48 + 6 = 54 (A1) [1]

Recap

  • Choices made one after another are multiplied. Separate cases are added.
  • Order matters: ⁿP_r = (n!)/((n-r)!). Order does not matter: ⁿC_r = (n!)/(r!(n-r)!).
  • For a selection from two groups, multiply the combinations from each group.
  • Together: treat the objects as one block, then multiply by the orders inside. Not together or 'at least': subtract from the total.
  • For n ∈ Q, (1+x)ⁿ = 1 + nx + (n(n-1))/(2!)x² + ⋯ is infinite unless n is a positive integer, and valid for |x|<1.
  • (a+b)ⁿ = aⁿ(1+b/a)ⁿ: keep the factor aⁿ, and the range is |b/a|<1.
  • To approximate with the series, check the value of x is inside the range of validity.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Do not use a calculator. Write down the value of binom72.1 mark
    Answer
    1. (7×6)/2 = 21 (A1).

    Trap: ⁷P₂ = 42 counts each pair twice. Combinations divide by 2!.

  2. Do not use a calculator. A café offers 3 sandwiches, 4 drinks and 2 cakes. A meal is one of each. Calculate the number of different meals.2 marks
    Answer
    1. stages are joined by 'and', so multiply (M1).
    2. 3×4×2 = 24 (A1).

    Trap: Adding gives 3+4+2=9. Choices made together are multiplied.

  3. A team of 3 players is chosen from 10 players. Which expression gives the number of different teams? A. ¹⁰P₃ B. ¹⁰C₃ C. 10³ D. 3!1 mark
    Answer
    1. B: a team has no order, so use ¹⁰C₃.
    2. A counts arrangements. C allows the same player more than once. D is only the ways to arrange 3 players.

    Trap: A team is a selection, not an arrangement. Order does not matter.

  4. Do not use a calculator. Six runners take part in a race with no ties. Calculate the number of ways in which gold, silver and bronze medals can be awarded.2 marks
    Answer
    1. order matters, so use ⁶P₃ or 6×5×4 (M1).
    2. 120 (A1).

    Trap: ⁶C₃ = 20 ignores that gold, silver and bronze are different.

  5. A school council of 4 students is chosen from 6 students in Year 11 and 4 students in Year 12. Calculate the number of councils that have exactly 2 students from each year.3 marks
    Answer
    1. choices from each year: ⁶C₂ and ⁴C₂ (M1).
    2. 15 and 6 (A1).
    3. 15× 6 = 90 (A1).

    Trap: Adding 15+6=21 treats the two choices as separate cases. Both are made, so multiply.

  6. Do not use a calculator. Five people stand in a line. Two of them, Dev and Eli, must stand next to each other. Find the number of arrangements.3 marks
    Answer
    1. treat Dev and Eli as one object: 4! arrangements (M1).
    2. 2 orders inside the block (M1).
    3. 2× 4! = 48 (A1).

    Trap: 4! = 24 forgets that Dev and Eli can swap places.

  7. Do not use a calculator. Expand (1+x)^(1/2) in ascending powers of x, up to and including the term in x². State the values of x for which the expansion is valid.4 marks
    Answer
    1. use of the extended binomial theorem with n=1/2 (M1).
    2. 1/2 x (A1).
    3. (1/2(-1/2))/2x² = -1/8x² (A1).
    4. valid for |x|<1 (A1).

    Trap: The x² coefficient is negative, because n-1 = -1/2. A positive 1/8 comes from dropping that sign.

  8. Do not use a calculator. Find the expansion of (2+x)⁻² in ascending powers of x, up to and including the term in x². State the values of x for which the expansion is valid.5 marks
    Answer
    1. (2+x)⁻² = 2⁻²(1+x/2)⁻² (M1).
    2. use of the expansion of (1+u)⁻² = 1-2u+3u² with u=x/2 (M1).
    3. 1 - x + 3x²/4 (A1).
    4. multiply by 1/4: 1/4 - x/4 + 3x²/16 (A1).
    5. valid for |x/2|<1, so |x|<2 (A1).

    Trap: Leaving out the factor 1/4 gives 1 - x + 3/4x². Stating |x|<1 ignores the 2 in the bracket.

  9. A team of 5 players is chosen from 8 men and 6 women. The team must contain at least 2 women. Two of the men, Raj and Sam, refuse to play in the same team. Determine the number of possible teams.6 marks
    Answer
    1. teams with at least 2 women: total minus no women minus exactly 1 woman, ¹⁴C₅ - ⁸C₅ - 6×⁸C₄ (M1).
    2. 2002 - 56 - 420 (A1).
    3. = 1526 (A1).
    4. teams with Raj and Sam and at least 2 women: the other 3 players from 6 men and 6 women, with 2 or 3 women: ⁶C₂× 6 + ⁶C₃ (M1).
    5. 90 + 20 = 110 (A1).
    6. 1526 - 110 = 1416 (A1).

    Trap: Subtracting only the teams with no women answers 'at least 1 woman'; subtracting ¹²C₃ = 220 for Raj and Sam removes teams already excluded for having too few women.

  10. (a) Expand (1+4x)^(1/2) in ascending powers of x, up to and including the term in x². (b) State the values of x for which the expansion is valid. (c) Show that √(1.04) = (√26)/5. (d) Hence find an approximate value for √26. Give your answer to four significant figures.7 marks
    Answer
    1. (a) use of the expansion of (1+u)^(1/2) = 1 + u/2 - u²/8 with u=4x (M1).
    2. 1 + 2x (A1).
    3. - 2x², since -((4x)²)/8 = -2x² (A1).
    4. (b) |4x|<1, so |x|<1/4 (A1).
    5. (c) √(1.04) = √(104/100) = (√(4× 26))/10 = (2√26)/10 = (√26)/5 (M1)(AG).
    6. (d) 1+4x = 1.04 gives x = 0.01, which is inside |x|<1/4, so √26 = 5√(1.04) ≈ 5(1 + 0.02 - 0.0002) (M1).
    7. 5× 1.0198 = 5.099 to 4 significant figures (A1).

    Trap: Putting 1+4x = 26 gives x = 6.25, far outside |x|<1/4, so the series gives nonsense; and forgetting the factor 5 gives 1.020.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Order matters, so use ⁿC_rOrder matters, so use ⁿP_r. Use ⁿC_r when order does not matter
The expansion of (2+3x)⁻¹ is valid for |x|<1The expansion is valid for |3x/2|<1, so |x|<2/3
(4+x)^(1/2) = 1 + x/8 - x²/128, with the factor 2 dropped(4+x)^(1/2) = 2(1+x/4)^(1/2), so every term is multiplied by aⁿ
The expansion of (1+x)⁻² stops after three termsFor n not a positive integer the series is infinite

Frequently asked questions

When do I multiply and when do I add when counting choices?
Choices made one after another, this stage and that stage, are multiplied: m × n. Separate cases that cannot happen together, this case or that case, are added: m + n. Decide first whether the choices are joined by 'and' or by 'or'. For 4 starters, 6 main courses and 3 desserts, a set meal from a starter and a main course, or a main course and a dessert, gives 4 × 6 + 6 × 3 = 42.
What is the difference between a permutation and a combination?
A permutation is an arrangement in which order matters, counted by ⁿP_r = (n!)/((n-r)!). A combination is a selection in which order does not matter, counted by ⁿC_r = (n!)/(r!(n-r)!). Use ⁿP_r for places such as gold, silver and bronze, and ⁿC_r for a committee or a team.
How do I count arrangements in which two people must stand together?
Treat the two people as one block and arrange the block with the other objects. Then multiply by the ways to order the two people inside the block. For six people in a line, 6! = 720 arrangements. With Ben and Cara together there are 2 × 5! = 240, so 720 - 240 = 480 arrangements have them not next to each other.
How do I find one coefficient in a product of a bracket with a negative index and another factor?
Expand the bracket with the negative index first, up to the power you need. For (1-2x)⁻³ this gives 1 + 6x + 24x². Then multiply by the other factor and collect the terms in x²: 2 × 24x² + x × 6x gives 48 + 6 = 54. So the coefficient of x² is 54.
Why is the expansion of (1+x)⁻² valid only for some values of x?
For n not a positive integer the expansion is an infinite series. It is valid only for |x|<1, that is -1<x<1, and outside that range the series does not converge to (1+x)ⁿ. For (2+3x)⁻¹ the expansion is valid for |3x/2|<1, so |x|<2/3.
Why is my expansion of (4+x)^(1/2) wrong when I leave out a factor?
Take out aⁿ first: (4+x)^(1/2) = 2(1+x/4)^(1/2). The factor aⁿ multiplies every term, so the expansion is 2 + x/4 - x²/64. Dropping the factor 2 gives 1 + x/8 - x²/128, which is not the expansion.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters