Educerie

This whole subtopic is higher level. Nothing in it is on an SL paper.

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 1.10 · HL only

Counting principles and the extended binomial theorem

How many ways can something happen, without listing them all, and what does (1+x)n(1 + x)^{n} look like when nn is negative or a fraction?

What you will learn

  • HL Understand the multiplication and addition principles as the basis of every count.
  • HL Know when to use n!, nPr or nCr, and how to handle restrictions, cases and complements.
  • HL Understand the extended binomial expansion for negative and fractional powers and why it needs |b ÷ a| < 1.
  • HL Know how to use the first few terms of an expansion to approximate a value.

You must be able to

  1. HL Expand (a + bx)^n for a negative or fractional n up to a given power and state where it is valid.
  2. HL Calculate the number of arrangements or selections under restrictions such as together, apart or at least.
  3. HL Explain whether order matters and choose between permutations and combinations accordingly.
  4. HL Solve an equation involving nPr or nCr for n, rejecting impossible roots.
  5. HL Find an unknown constant in a bracket from a given coefficient of an extended expansion.
  6. HL Use an expansion, alone or combined with partial fractions, to approximate a value or a function.

In the exam. Paper 1 (no calculator): a counting question (4 to 7 marks), and an expansion such as (1−2x)1/2(1 - 2x)^{1/2} up to x3x^{3} with its interval of validity (5 to 7 marks). Paper 2: counting with large numbers, often inside a probability question. Paper 3 uses 1.10 more often than either other paper: counting arguments and the extended expansion appear inside longer investigations, as a count to set up and then generalise, or an expansion used to approximate a value or to spot a pattern in coefficients. Most questions are "Find" questions: the work is the method, so every line of it earns marks.

1The two counting principles

The multiplication principle

  • The multiplication principle = if one choice has mm ways and, for each of those, a second has nn ways, the two together have m×nm \times n ways.
  • Listen for and: a sandwich and a drink, a first digit and a second digit.

The addition principle

  • The addition principle = if a choice has mm ways or nn different ways, with no overlap between the lists, it has m+nm + n ways.
  • Listen for or: by bus or by train.

Figure 1 draws both. A tree has 3 branches that each split 2 ways. Two lists give one item to pick.

Figure 1 · "And" multiplies, "or" adds (a) a sandwich AND a drink (b) by bus OR by train cheese water 1 juice 2 egg water 3 juice 4 tuna water 5 juice 6 3 × 2 = 6 different lunches bus routes bus 1 bus 2 bus 3 train routes train 1 train 2 3 + 2 = 5 ways to make the journey Left: every sandwich pairs with every drink, so 3 × 2 = 6 lunches. Right: one route or the other, so 3 + 2 = 5.
Figure 1 · "And" multiplies, "or" adds
  • When repetition is allowed, the options do not shrink.
    • Example: a locker code has one letter from P to T, then two digits, then one of the vowels A, E, U. It has 5×10×10×3=5 \times 10 \times 10 \times 3 = 15001500 possibilities.

When the two lists overlap, "or" needs a correction

  • An outcome in both lists is counted twice if you just add.
  • Example: how many whole numbers from 1 to 100 are divisible by 4 or by 6? There are 25 multiples of 4 and 16 multiples of 6. The 8 multiples of 12 (100÷12100 \div 12 rounded down) are in both lists.
25+16−8=3325 + 16 - 8 = 33

2Arranging everything: n factorial

Now take away repetition. Six friends sit in a row of six cinema seats. The first seat takes any of the 6. The second has 5 people left, the third 4, and so on down to 1.

6×5×4×3×2×1=7206 \times 5 \times 4 \times 3 \times 2 \times 1 = 720

That product is 6!6!, read "six factorial". In general, nn different objects can be arranged in a row in n!n! ways. Remember 0!=10! = 1: there is exactly one way to arrange nothing.

Figure 2 shows the idea behind every count here: fill the places one at a time, and multiply the choices at each place. It also points ahead. Stopping after three places gives 9×8×79 \times 8 \times 7, not 9!9!.

Figure 2 · Filling places one at a time 1st place 9 9 runners left × 2nd place 8 8 runners left × 3rd place 7 7 runners left = 504 Fill all nine places and the product runs down to 1: 9 × 8 × … × 1 = 9! = 362 880 Each place filled leaves one fewer choice for the next. Three places from nine runners: 9 × 8 × 7 = 504 = ⁹P₃.
Figure 2 · Filling places one at a time

Simplifying factorials. Cancel the shared tail: 10!8!=90\dfrac{10!}{8!} = 90 and (n+1)!(n−1)!=(n+1) n\dfrac{(n+1)!}{(n-1)!} = (n+1)\,n.

Most questions add a restriction. A few moves handle almost all of them.

Deal with the restricted positions first

  • Seven different books stand on a shelf. One particular book must be at either end.
  • It takes one of the 2 end places. The other 6 books fill the remaining 6 places in 6!6! ways. Total 2×6!=2 \times 6! = 14401440.

Glue together things that must be together

  • If Ana and Ben must sit next to each other, tie them into one block (Figure 3).
  • Now there are 5 units to arrange: the block and the other four people. That is 5!5! ways. Inside the block, Ana and Ben can sit in 2!2! orders.
Figure 3 · Two people who must sit together A B C D E F 5 units to arrange: 5! = 120 A B B A or 2! = 2 orders inside Tie A and B into one block: arrange 5 units (5! ways), then arrange A and B inside the block (2! ways). 5! × 2! = 240.
Figure 3 · Two people who must sit together
5!×2!=120×2=2405! \times 2! = 120 \times 2 = 240
  • The block can be bigger. Six pupils line up and three named pupils must stand side by side. That is 4 units in 4!4! orders, and 3!3! orders inside the block, so 4!×3!=1444! \times 3! = 144.
  • There can also be several blocks. Four different poetry books and three different novels go on a shelf, each kind kept together. The two blocks stand in 2!2! orders. Then each block is arranged inside, so 2!×4!×3!=2! \times 4! \times 3! = 288288.

Subtract from the total for "not". "Ana and Ben must not sit together" means everything except the arrangements where they do.

6!−5!×2!=720−240=4806! - 5! \times 2! = 720 - 240 = 480

Keep someone out of the ends

  • By filling the ends from everybody else. If Ana must not sit at either end, the end seats take 2 of the other 5 people in 5×45 \times 4 ways. The middle is filled in 4!4! ways.
  • That gives 5×4×4!=5 \times 4 \times 4! = 480480. It is also 6!−2×5!6! - 2 \times 5!, the total minus the rows with Ana at an end.

Keep apart: place the others first, then use the gaps

  • Arrange the objects with no condition. Then slot the awkward ones into the gaps between them, at most one to a gap. kk objects in a row leave k+1k + 1 gaps, counting both ends.
  • Use this when three or more must all be kept apart. "Total minus all together" still leaves the arrangements where just two of them touch.

Worked example 1 (gaps). A concert has 5 different poems and 4 different songs. In how many running orders are no two songs back to back?

poems first: 5!=120\text{poems first: } 5! = 120gaps: 6; the songs go into 4 of them, in order: 6P4=6×5×4×3=360\text{gaps: } 6 \text{; the songs go into 4 of them, in order: } {}^{6}P_{4} = 6 \times 5 \times 4 \times 3 = 360total=120×360=43 200\text{total} = 120 \times 360 = 43\,200

A fixed order between two people

  • If Ana must be somewhere before Ben, swapping their seats turns each such arrangement into one with Ben before Ana.
  • So exactly half of all arrangements qualify: 12×6!=\tfrac{1}{2} \times 6! = 360360.

3Permutations: choosing some, in order

Permutation

  • A permutation = an ordered selection.
  • Example: nine runners race for gold, silver and bronze. Gold can go to any of 9. Silver goes to any of the 8 left. Bronze goes to any of 7. There are 9×8×7=9 \times 8 \times 7 = 504504 possible podiums, as Figure 2 shows.
    • That is 9!9! with the unwanted tail 6!6! divided away, the form the formula booklet uses.

nPr=n!(n−r)!{}^{n}P_{r} = \dfrac{n!}{(n-r)!} is the number of ways of choosing rr objects from nn different objects in order.

So 9P3=9!6!=504{}^{9}P_{3} = \dfrac{9!}{6!} = 504. In practice you never write the factorials out. nPr{}^{n}P_{r} is rr numbers multiplied together, counting down from nn. On Paper 2 the GDC has an nPr function.

More places than objects

  • Three cars park in a row of 7 empty bays. That is 7P3=210{}^{7}P_{3} = 210 ways: 7 bays for the first car, 6 for the second, 5 for the third.
  • If the three must use neighbouring bays, the block of three can start at bay 1 up to bay 5. That is 5 positions. The cars order themselves inside it in 3!3! ways: 5×6=5 \times 6 = 3030.

Worked example 2. Paper 1. How many four-digit numbers can be made from the digits 1 to 9, with no digit repeated, if the number must be greater than 7000 and even?

Two places carry conditions. The first digit must be 7, 8 or 9. The last must be 2, 4, 6 or 8. They compete for the digit 8, so split on the first digit.

first digit 8: last digit 2, 4 or 6  →  1×3=3\text{first digit 8: last digit 2, 4 or 6} \;\to\; 1 \times 3 = 3first digit 7 or 9: last digit 2, 4, 6 or 8  →  2×4=8\text{first digit 7 or 9: last digit 2, 4, 6 or 8} \;\to\; 2 \times 4 = 8middle two digits: any 2 of the 7 left, in order  →  7P2=42\text{middle two digits: any 2 of the 7 left, in order} \;\to\; {}^{7}P_{2} = 42total=(3+8)×42=462\text{total} = (3 + 8) \times 42 = 462

Restricted places go first. When they share an option, split into cases. Start from a free place and you cannot know what the restricted ones have left.

A place that cannot be 0. How many four-digit odd numbers can be made from the digits 0 to 9 with no digit repeated?

  • The last digit is odd: 5 choices.
  • The first digit is neither 0 nor the digit used at the end: 8 choices.
  • The middle two places take any of the 8 digits left, in order.

That gives 5×8×8P2=22405 \times 8 \times {}^{8}P_{2} = 2240. Without the odd condition the count is 9×9P3=45369 \times {}^{9}P_{3} = 4536. 10P4=5040{}^{10}P_{4} = 5040 is wrong, because it includes the 9P3=504{}^{9}P_{3} = 504 lists that begin with 0.

Letters of a word

  • PLANET has six different letters, so 6!=7206! = 720 arrangements.
  • To start with a consonant and end with a vowel, the first place has 4 choices (P, L, N, T). The last has 2 (A, E). The four letters left fill the middle in 4!4! ways: 4×2×24=4 \times 2 \times 24 = 192192.

Words with repeated letters, and arrangements round a circle, are not on the syllabus.

4Combinations: choosing some, order ignored

Combination

  • A combination = a selection where order does not matter.
  • Example: a committee of three chosen from nine people is the same committee whichever of them you name first.

Figure 4 links the two counts. Choosing 3 letters from A, B, C, D in order gives 4P3=24{}^{4}P_{3} = 24 ordered lists.

They come in groups of 3!=63! = 6 with the same three letters. If order does not matter, each group counts once. So there are 246=4\dfrac{24}{6} = 4 selections.

Figure 4 · Why ⁿCᵣ = ⁿPᵣ ÷ r! {A, B, C} ABC ACB BAC BCA CAB CBA {A, B, D} ABD ADB BAD BDA DAB DBA {A, C, D} ACD ADC CAD CDA DAC DCA {B, C, D} BCD BDC CBD CDB DBC DCB 4 sets × 6 orders each = 24 ordered lists Choosing 3 letters from A, B, C, D in order gives ⁴P₃ = 24 lists. Each set of 3 appears in 3! = 6 orders, so there are 24 ÷ 6 = 4 different sets: ⁴C₃ = 4.
Figure 4 · Why ⁿCᵣ = ⁿPᵣ ÷ r!

nCr=nPrr!=n!r! (n−r)!{}^{n}C_{r} = \dfrac{{}^{n}P_{r}}{r!} = \dfrac{n!}{r!\,(n-r)!} is the number of ways of choosing rr objects from nn different objects when order does not matter.

This is the nCr{}^{n}C_{r} of 1.9, where it counted the ways of choosing which rr brackets supply the bb. The committee of three from nine: 9C3=9P33!=5046={}^{9}C_{3} = \dfrac{{}^{9}P_{3}}{3!} = \dfrac{504}{6} = 8484.

Every counting question turns on one decision, and Figure 5 puts it first. Ask: "if I swapped two of the chosen items, would I have something different?"

  • A podium, a code, a queue: yes, so use nPr{}^{n}P_{r}.
  • A committee, a team, a set of lottery numbers: no, so use nCr{}^{n}C_{r}.
Figure 5 · Choosing the right count Choose r items from n different ones Does order matter? yes: a permutation ⁿPᵣ = n! ÷ (n − r)! no: a combination ⁿCᵣ = n! ÷ (r!(n − r)!) yes no Two special cases of an ordered count: all n arranged in a row: n! repeats allowed, r places: n × n × … × n = nʳ Ask whether order matters before anything else. Most wrong answers come from skipping that question.
Figure 5 · Choosing the right count

Two facts to use on sight

  • Symmetry. Choosing which rr objects to take is the same as choosing which n−rn - r to leave behind. So nCr=nCn−r{}^{n}C_{r} = {}^{n}C_{n-r}, and nC0=nCn=1{}^{n}C_{0} = {}^{n}C_{n} = 1.
  • Neighbouring entries. Neighbouring entries of Pascal's triangle add up: nCr+nCr+1=n+1Cr+1{}^{n}C_{r} + {}^{n}C_{r+1} = {}^{n+1}C_{r+1}. For example 9C3+9C4=84+126=210=10C4{}^{9}C_{3} + {}^{9}C_{4} = 84 + 126 = 210 = {}^{10}C_{4}.

The triangle is named after Pascal, but it was known in China centuries earlier through Yang Hui.

Choose, then arrange

  • Rearranged, the link reads nCr×r!=nPr{}^{n}C_{r} \times r! = {}^{n}P_{r}: choose which rr objects, then put them in order.
    • Example: picking 3 of 8 volunteers and then giving them three different jobs is 8C3×3!=56×6=336=8P3{}^{8}C_{3} \times 3! = 56 \times 6 = 336 = {}^{8}P_{3}.
  • When only one order is allowed, the arrangement step contributes a factor of 1. You just count the sets.
    • Example: four rings are taken from 9 rings of different sizes and stacked, each smaller than the one below. Every set of four can be stacked in exactly one way. So there are 9C4={}^{9}C_{4} = 126126 stacks.

Groups without names

  • Splitting 8 players into two teams of 4 looks like 8C4=70{}^{8}C_{4} = 70. But choosing a team also fixes the other one, so each split is counted twice. There are 702=35\dfrac{70}{2} = 35 splits.
  • If the teams are labelled (Red and Blue), the 70 stands. In general, divide by k!k! when kk groups of the same size have no labels.

How big these numbers get

  • A lottery that picks 6 numbers from 1 to 49 has 49C6={}^{49}C_{6} = 13 983 81613\,983\,816 possible tickets.
  • Two tickets a week would take, on average, about 134 000 years to win. The guide asks whether it is ethical to sell such tickets to people who cannot picture numbers that large.

5Harder selections: cases, complements and conditions

Split into cases for exactly or at least when the cases are few.

  • Cases are joined by or, so add them.
  • Within a case, choices from different groups are joined by and, so multiply.

Worked example 3. Paper 1. An expedition crew of 5 is chosen from 5 medics and 9 climbers. In how many ways can this be done if the crew must contain at least 2 medics?

"At least 2 medics" means 2, 3, 4 or 5 of them, with the rest climbers.

2 medics, 3 climbers: 5C2×9C3=10×84=840\text{2 medics, 3 climbers: } {}^{5}C_{2} \times {}^{9}C_{3} = 10 \times 84 = 8403 medics, 2 climbers: 5C3×9C2=10×36=360\text{3 medics, 2 climbers: } {}^{5}C_{3} \times {}^{9}C_{2} = 10 \times 36 = 3604 medics, 1 climber: 5C4×9C1=5×9=45\text{4 medics, 1 climber: } {}^{5}C_{4} \times {}^{9}C_{1} = 5 \times 9 = 455 medics, 0 climbers: 5C5×9C0=1×1=1\text{5 medics, 0 climbers: } {}^{5}C_{5} \times {}^{9}C_{0} = 1 \times 1 = 1total=840+360+45+1=1246\text{total} = 840 + 360 + 45 + 1 = 1246

Subtract from the total when the unwanted part is smaller than the wanted part. Here the unwanted crews are those with 0 or 1 medic.

all crews: 14C5=2002\text{all crews: } {}^{14}C_{5} = 2002no medic: 9C5=126one medic: 5×9C4=5×126=630\text{no medic: } {}^{9}C_{5} = 126 \qquad \text{one medic: } 5 \times {}^{9}C_{4} = 5 \times 126 = 630at least 2 medics: 2002−126−630=1246\text{at least 2 medics: } 2002 - 126 - 630 = 1246

Both routes agree. For "at least one climber" the complement is a single crew: 2002−5C5=20012002 - {}^{5}C_{5} = 2001.

A named person must be in, or out

  • In. Put one particular climber in the crew and choose the other 4 from the remaining 13: 13C4=715{}^{13}C_{4} = 715.
  • Out. Leave him out and choose all 5 from the other 13: 13C5=1287{}^{13}C_{5} = 1287.
  • Check. The two add to 14C5=2002{}^{14}C_{5} = 2002, as they must.

If two particular climbers refuse to go together, take away the crews that contain both of them (choose the other 3 from 12): 2002−12C3=2002−220=17822002 - {}^{12}C_{3} = 2002 - 220 = 1782.

Counting inside a probability question

  • Probability is favourable outcomes over all outcomes. Count both the same way.
  • Example: eight friends sit in a random order in a row. The chance that two named friends are side by side is 7!×2!8!=28=14\dfrac{7! \times 2!}{8!} = \dfrac{2}{8} = \dfrac{1}{4}.

Choosing points

  • A handshake, a line or a diagonal is decided by a pair of points. A triangle is decided by three. So they are counted with nC2{}^{n}C_{2} and nC3{}^{n}C_{3}.
  • Example: a 12-sided polygon has 12C2=66{}^{12}C_{2} = 66 pairs of vertices. 12 of those pairs are sides, so it has 66−12=5466 - 12 = 54 diagonals.
    • Three points on one straight line make no triangle, so take those away. With 10 points, 6 of them on one line and no other three in line, there are 10C3−6C3=120−20={}^{10}C_{3} - {}^{6}C_{3} = 120 - 20 = 100100 triangles.

Solving for nn

  • Once rr is fixed, nPr{}^{n}P_{r} and nCr{}^{n}C_{r} are polynomials in nn.
  • Example: everyone at a gathering shakes hands once with everyone else, and there are 91 handshakes. Then nC2=91{}^{n}C_{2} = 91, so n(n−1)=182n(n-1) = 182 and n=14n = 14. The root −13-13 is rejected.
    • Reject any root that is negative or too small for the selection to make sense.

Worked example 4. Paper 1. Given that nP3=20×nC2{}^{n}P_{3} = 20 \times {}^{n}C_{2}, where n≥3n \geq 3, find nn.

n(n−1)(n−2)=20×n(n−1)2=10 n(n−1)n(n-1)(n-2) = 20 \times \frac{n(n-1)}{2} = 10\,n(n-1)since n≥3,  n(n−1)≠0, so divide: n−2=10\text{since } n \geq 3, \; n(n-1) \neq 0, \text{ so divide: } n - 2 = 10n=12n = 12

Say why you may divide by a common factor such as n(n−1)n(n-1): it is not zero, because n≥3n \geq 3. Use nCr=nCn−r{}^{n}C_{r} = {}^{n}C_{n-r} to shorten the algebra. An awkward n+1Cn−1{}^{n+1}C_{n-1} is just n+1C2=(n+1)n2{}^{n+1}C_{2} = \dfrac{(n+1)n}{2}.

6The binomial theorem when n is not a whole number

In 1.9 the expansion of (1+x)n(1 + x)^{n}, for nn a positive integer, could be written without nCr{}^{n}C_{r} at all:

(1+x)n=1+nx+n(n−1)2!x2+n(n−1)(n−2)3!x3+⋯(1 + x)^{n} = 1 + nx + \frac{n(n-1)}{2!}x^{2} + \frac{n(n-1)(n-2)}{3!}x^{3} + \cdots
  • Each coefficient is nCr{}^{n}C_{r} written out. This form never asks you to choose rr things from nn, so nothing stops you putting in n=−1n = -1 or n=12n = \tfrac{1}{2}.
  • Each coefficient comes from the one before by multiplying by n−r+1r\dfrac{n - r + 1}{r}. That is a quick way to check a run of them.
  • The formula booklet gives the extended version, but not the validity condition. You must know that.

(a+b)n=an(1+n(ba)+n(n−1)2!(ba)2+⋯ ), n∈Q(a + b)^{n} = a^{n}\left(1 + n\left(\dfrac{b}{a}\right) + \dfrac{n(n-1)}{2!}\left(\dfrac{b}{a}\right)^{2} + \cdots\right),\ n \in \mathbb{Q}. When nn is not a positive integer the series is infinite, and it is valid only for ∣ba∣<1\left\lvert \dfrac{b}{a}\right\rvert < 1.

Two things change when nn stops being a positive whole number. Figure 6 shows the first.

Figure 6 · Coefficients of (1 + x)ⁿ for three values of n 1 x x2 x3 x4 x5 n = 3 1 3 3 1 0 0 stops n = −1 1 −1 1 −1 1 −1 never stops n = ½ 1 1/2 −1/8 1/16 −5/128 7/256 never stops For n = 3 the factor (n − 3) is zero, so every coefficient from x⁴ on is zero and the series stops. For n = −1 or n = ½ no factor is ever zero, so the terms go on for ever.
Figure 6 · Coefficients of (1 + x)ⁿ for three values of n

The expansion never ends

  • For n=3n = 3, every coefficient from x4x^{4} on contains the factor (n−3)=0(n - 3) = 0.
  • For n=−1n = -1 or n=12n = \tfrac{1}{2} the factors never reach zero. The series goes on for ever, and you are asked for the first few terms, "up to and including the term in x3x^{3}".

The expansion is only valid for small xx

An infinite series can only equal a finite number if its terms shrink fast enough. Take n=−1n = -1:

(1+x)−1=1−x+x2−x3+x4−⋯(1 + x)^{-1} = 1 - x + x^{2} - x^{3} + x^{4} - \cdots
  • That is a geometric series with first term 1 and common ratio −x-x. From 1.8 it converges only when ∣−x∣<1\lvert -x\rvert < 1. Then its sum is 11−(−x)=11+x\dfrac{1}{1 - (-x)} = \dfrac{1}{1 + x}, exactly what it should be.
  • Put x=2x = 2 in. The right-hand side is 1−2+4−8+⋯1 - 2 + 4 - 8 + \cdots, which never settles on a value. The left-hand side is 13\tfrac{1}{3}.
  • Figure 7 shows the same thing on a graph. Inside −1<x<1-1 < x < 1, more terms bring the polynomial closer to the curve. Outside it, more terms make things worse.
Figure 7 · 1/(1 + x) and the first few terms of its expansion x y 2 3 4 −1 1 valid for |x| < 1 (0, 1) y = 1/(1 + x) 1 − x + x2 (three terms) 1 − x + x2 − x3 + x4 (five terms) Inside −1 < x < 1 (shaded) each extra term brings the polynomial closer to the curve. Outside it the polynomials swing further away: the expansion is not valid there.
Figure 7 · 1 ÷ 1 + x and the first few terms of its expansion
  • So whenever nn is negative or a fraction, the condition for (1+x)n(1 + x)^{n} is ∣x∣<1\lvert x\rvert < 1, whatever nn is. If xx is replaced by something else, the condition applies to that something.

Worked example 5. Paper 1. Expand (1+2x3)−3\left(1 + \dfrac{2x}{3}\right)^{-3} in ascending powers of xx up to and including the term in x3x^{3}, and state the values of xx for which the expansion is valid.

Here n=−3n = -3 and the "xx" of the formula is 2x3\dfrac{2x}{3}. Put it in brackets every time.

(1+2x3)−3=1+(−3)(2x3)+(−3)(−4)2!(2x3)2+(−3)(−4)(−5)3!(2x3)3+⋯=1−2x+6(4x29)−10(8x327)+⋯=1−2x+8x23−80x327+⋯\begin{aligned}\left(1 + \frac{2x}{3}\right)^{-3} &= 1 + (-3)\left(\frac{2x}{3}\right) + \frac{(-3)(-4)}{2!}\left(\frac{2x}{3}\right)^{2} + \frac{(-3)(-4)(-5)}{3!}\left(\frac{2x}{3}\right)^{3} + \cdots \\[6pt] &= 1 - 2x + 6\left(\frac{4x^{2}}{9}\right) - 10\left(\frac{8x^{3}}{27}\right) + \cdots \\[6pt] &= 1 - 2x + \frac{8x^{2}}{3} - \frac{80x^{3}}{27} + \cdots\end{aligned}valid for ∣2x3∣<1, so ∣x∣<32\text{valid for } \left\lvert\frac{2x}{3}\right\rvert < 1, \text{ so } \lvert x\rvert < \tfrac{3}{2}

Worked example 6. Paper 1. Find the expansion of (1−6x)1/3(1 - 6x)^{1/3} in ascending powers of xx up to the term in x3x^{3}, and state where it is valid.

The formula's "xx" is −6x-6x, so the factor that carries a sign is raised to each power.

(1−6x)1/3=1+13(−6x)+13(−23)2!(−6x)2+13(−23)(−53)3!(−6x)3+⋯=1−2x+(−19)(36x2)+581(−216x3)+⋯13(−23)2=−19 and 13(−23)(−53)6=10162=581=1−2x−4x2−403x3−⋯\begin{aligned}(1 - 6x)^{1/3} &= 1 + \tfrac{1}{3}(-6x) + \frac{\tfrac{1}{3}\left(-\tfrac{2}{3}\right)}{2!}(-6x)^{2} + \frac{\tfrac{1}{3}\left(-\tfrac{2}{3}\right)\left(-\tfrac{5}{3}\right)}{3!}(-6x)^{3} + \cdots \\[6pt] &= 1 - 2x + \left(-\tfrac{1}{9}\right)(36x^{2}) + \tfrac{5}{81}(-216x^{3}) + \cdots && \textcolor{#838c91}{\dfrac{\tfrac{1}{3}\left(-\tfrac{2}{3}\right)}{2} = -\tfrac{1}{9}\text{ and }\dfrac{\tfrac{1}{3}\left(-\tfrac{2}{3}\right)\left(-\tfrac{5}{3}\right)}{6} = \tfrac{10}{162} = \tfrac{5}{81}} \\[6pt] &= 1 - 2x - 4x^{2} - \tfrac{40}{3}x^{3} - \cdots\end{aligned}valid for ∣−6x∣<1, so ∣x∣<16\text{valid for } \lvert -6x\rvert < 1, \text{ so } \lvert x\rvert < \tfrac{1}{6}

The errors to avoid are the ones from 1.9: not raising the −6-6 to the power, and losing a minus sign.

When the bracket does not start with 1. Take out the first term as a factor, raised to the power nn. The guide writes this step as (a+b)n=an(1+ba)n(a + b)^{n} = a^{n}\left(1 + \frac{b}{a}\right)^{n}.

Worked example 7. Paper 1. Find the first three terms in the expansion of (27+9x)2/3(27 + 9x)^{2/3}, and state the values of xx for which it is valid.

(27+9x)2/3=272/3(1+9x27)2/3=9(1+x3)2/3=9[1+23(x3)+23(−13)2!(x3)2+⋯ ]=9[1+2x9−19(x29)+⋯ ]=9+2x−x29+⋯\begin{aligned}(27 + 9x)^{2/3} &= 27^{2/3}\left(1 + \frac{9x}{27}\right)^{2/3} = 9\left(1 + \frac{x}{3}\right)^{2/3} \\[6pt] &= 9\left[1 + \tfrac{2}{3}\left(\frac{x}{3}\right) + \frac{\tfrac{2}{3}\left(-\tfrac{1}{3}\right)}{2!}\left(\frac{x}{3}\right)^{2} + \cdots\right] \\[6pt] &= 9\left[1 + \frac{2x}{9} - \tfrac{1}{9}\left(\frac{x^{2}}{9}\right) + \cdots\right] \\[6pt] &= 9 + 2x - \frac{x^{2}}{9} + \cdots\end{aligned}valid for ∣x3∣<1, so ∣x∣<3\text{valid for } \left\lvert\frac{x}{3}\right\rvert < 1, \text{ so } \lvert x\rvert < 3

Two slips live in the first line.

  • The 27 must come out as 272/3=927^{2/3} = 9, not 27.
  • The 9x9x inside must be divided by 27.

A multiple of xx in the bracket. The same step works when the second term is bxbx. The "xx" of the formula is bxa\dfrac{bx}{a}. Then solve ∣bxa∣<1\left\lvert\dfrac{bx}{a}\right\rvert < 1 for xx. For (4−5x)−1/2(4 - 5x)^{-1/2}:

(4−5x)−1/2=4−1/2(1−5x4)−1/2=12[1+(−12)(−5x4)+(−12)(−32)2!(−5x4)2+⋯ ]=12[1+5x8+38(25x216)+⋯ ]=12+5x16+75x2256+⋯\begin{aligned}(4 - 5x)^{-1/2} &= 4^{-1/2}\left(1 - \frac{5x}{4}\right)^{-1/2} = \tfrac{1}{2}\left[1 + \left(-\tfrac{1}{2}\right)\left(-\frac{5x}{4}\right) + \frac{\left(-\tfrac{1}{2}\right)\left(-\tfrac{3}{2}\right)}{2!}\left(-\frac{5x}{4}\right)^{2} + \cdots\right] \\[6pt] &= \tfrac{1}{2}\left[1 + \frac{5x}{8} + \tfrac{3}{8}\left(\frac{25x^{2}}{16}\right) + \cdots\right] \\[6pt] &= \tfrac{1}{2} + \frac{5x}{16} + \frac{75x^{2}}{256} + \cdots\end{aligned}valid for ∣5x4∣<1, so ∣x∣<45\text{valid for } \left\lvert\frac{5x}{4}\right\rvert < 1, \text{ so } \lvert x\rvert < \tfrac{4}{5}

To explain why an expansion cannot be used at a particular xx, show that the value breaks the condition. The expansion above is not valid at x=1x = 1, because ∣5×14∣=54≥1\left\lvert\frac{5 \times 1}{4}\right\rvert = \frac{5}{4} \geq 1.

Finding an unknown from a coefficient. Build the coefficient of a chosen term from the formula and set it equal to the given number.

Worked example 8. Paper 1. The coefficient of x2x^{2} in the expansion of (1+kx)−4(1 + kx)^{-4}, where k>0k > 0, is 90. Find kk, and then the coefficient of xx.

(−4)(−5)2!(kx)2=10k2x2\frac{(-4)(-5)}{2!}(kx)^{2} = 10k^{2}x^{2}10k2=90  ⇒  k2=9  ⇒  k=3(k>0)10k^{2} = 90 \;\Rightarrow\; k^{2} = 9 \;\Rightarrow\; k = 3 \quad (k > 0)coefficient of x:  (−4)(3)=−12\text{coefficient of } x: \; (-4)(3) = -12

Without the condition k>0k > 0, both k=3k = 3 and k=−3k = -3 work. A question that does not restrict kk wants both values.

7Products, sums and approximations

Worked example 9. Paper 1. Expand (2+5x)(1−2x)−1/2(2 + 5x)(1 - 2x)^{-1/2} in ascending powers of xx up to and including the term in x2x^{2}, and state the values of xx for which the expansion is valid.

Expand the bracket with the power. Then multiply out, keeping only terms up to x2x^{2}.

(1−2x)−1/2=1+(−12)(−2x)+(−12)(−32)2!(−2x)2+⋯=1+x+32x2+⋯(1 - 2x)^{-1/2} = 1 + \left(-\tfrac{1}{2}\right)(-2x) + \frac{\left(-\tfrac{1}{2}\right)\left(-\tfrac{3}{2}\right)}{2!}(-2x)^{2} + \cdots = 1 + x + \tfrac{3}{2}x^{2} + \cdots(2+5x)(1+x+32x2)=2+2x+3x2+5x+5x2+⋯=2+7x+8x2+⋯(2 + 5x)\left(1 + x + \tfrac{3}{2}x^{2}\right) = 2 + 2x + 3x^{2} + 5x + 5x^{2} + \cdots = 2 + 7x + 8x^{2} + \cdotsvalid for ∣−2x∣<1, so ∣x∣<12\text{valid for } \lvert -2x\rvert < 1, \text{ so } \lvert x\rvert < \tfrac{1}{2}

The factor 2+5x2 + 5x is a polynomial, so it adds no restriction of its own.

Worked example 10. Paper 1. Express 6(1−x)(1+2x)\dfrac{6}{(1 - x)(1 + 2x)} in partial fractions, and hence find its expansion up to and including the term in x3x^{3}, stating the values of xx for which it is valid.

Partial fractions (1.11) turn one awkward fraction into two expansions you already know.

Write 6(1−x)(1+2x)≡A1−x+B1+2x\dfrac{6}{(1 - x)(1 + 2x)} \equiv \dfrac{A}{1 - x} + \dfrac{B}{1 + 2x}, so 6≡A(1+2x)+B(1−x)6 \equiv A(1 + 2x) + B(1 - x). Putting x=1x = 1 gives 6=3A6 = 3A, so A=2A = 2. Putting x=−12x = -\tfrac{1}{2} gives 6=32B6 = \tfrac{3}{2}B, so B=4B = 4.

21−x=2(1+x+x2+x3+⋯ )(1−x)−1, valid for ∣x∣<1\frac{2}{1 - x} = 2\left(1 + x + x^{2} + x^{3} + \cdots\right) \qquad \textcolor{#838c91}{(1 - x)^{-1}\text{, valid for }\lvert x\rvert < 1}41+2x=4(1−2x+4x2−8x3+⋯ )(1+2x)−1, valid for ∣x∣<12\frac{4}{1 + 2x} = 4\left(1 - 2x + 4x^{2} - 8x^{3} + \cdots\right) \qquad \textcolor{#838c91}{(1 + 2x)^{-1}\text{, valid for }\lvert x\rvert < \tfrac{1}{2}}sum=6−6x+18x2−30x3+⋯\text{sum} = 6 - 6x + 18x^{2} - 30x^{3} + \cdots

When several expansions are combined by adding or multiplying, the result is valid only where every piece is valid. Take the narrower condition. Here ∣x∣<1\lvert x\rvert < 1 and ∣x∣<12\lvert x\rvert < \tfrac{1}{2} together give ∣x∣<12\lvert x\rvert < \tfrac{1}{2}.

Near x=0x = 0 the first few terms of a series are an excellent approximation to the function. Each extra term is a higher power of a small number. The guide names approximating 2\sqrt{2}, and this is how a surd is approximated.

Worked example 11. Paper 1. (a) Find the first three terms of the expansion of 49+x\sqrt{49 + x}. (b) By choosing a suitable value of xx, use your answer to find an approximation to 2\sqrt{2}.

49+x=491/2(1+x49)1/2=7[1+12(x49)+12(−12)2!(x49)2+⋯ ]=7[1+x98−x219 208+⋯ ]=7+x14−x22744+⋯valid for ∣x∣<49\begin{aligned}\sqrt{49 + x} &= 49^{1/2}\left(1 + \frac{x}{49}\right)^{1/2} = 7\left[1 + \tfrac{1}{2}\left(\frac{x}{49}\right) + \frac{\tfrac{1}{2}\left(-\tfrac{1}{2}\right)}{2!}\left(\frac{x}{49}\right)^{2} + \cdots\right] \\[6pt] &= 7\left[1 + \frac{x}{98} - \frac{x^{2}}{19\,208} + \cdots\right] = 7 + \frac{x}{14} - \frac{x^{2}}{2744} + \cdots && \textcolor{#838c91}{\text{valid for }\lvert x\rvert < 49}\end{aligned}x=1:50=52≈7+114−12744=19 4032744x = 1: \quad \sqrt{50} = 5\sqrt{2} \approx 7 + \tfrac{1}{14} - \tfrac{1}{2744} = \tfrac{19\,403}{2744}2≈19 4035×2744=19 40313 720≈1.414213\sqrt{2} \approx \tfrac{19\,403}{5 \times 2744} = \tfrac{19\,403}{13\,720} \approx 1.414213

The true value is 1.4142141.414214 to six decimal places, so three terms are correct to five. Two choices made it work.

  • A small xx. x=1x = 1 is small next to 49, so the terms shrink fast.
  • A square factor. 50=25×250 = 25 \times 2 leads back from 50\sqrt{50} to 2\sqrt{2}.

The idea returns in AHL 5.19. There, Maclaurin series expand exe^{x} and ln⁡(1+x)\ln(1 + x) as power series in the same way.

You cannot substitute just any xx

  • To approximate 50\sqrt{50} straight from (1+x)1/2(1 + x)^{1/2} you would need x=49x = 49. That is far outside ∣x∣<1\lvert x\rvert < 1, and the terms would grow instead of shrinking. Pull out a perfect square instead, as above.
  • The boundary is no better. 2=(1+1)1/2\sqrt{2} = (1 + 1)^{1/2} has ∣x∣=1\lvert x\rvert = 1, which the condition excludes. The terms shrink so slowly that four of them give 1+0.5−0.125+0.0625=1.43751 + 0.5 - 0.125 + 0.0625 = 1.4375, a poor match for 1.4142…1.4142\ldots.

Practice questions

43 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.