A-level Mathematics

9.2 Simple iterative methods, cobweb and staircase diagrams — Practise with help

Work each question closed book first. Carry the full value in your calculator and write down four decimal places.

Warm-up: remember

  1. Differentiate g(x)=2x+14g(x) = \dfrac{2x + 1}{4}.
  2. Make xx the subject of 4x+1=94x + 1 = 9.
Answers
  1. g′(x)=24=12g'(x) = \dfrac{2}{4} = \dfrac{1}{2}.
  2. Subtract 11: 4x=84x = 8. Divide by 44: x=2x = 2.

If the first part was hard, revise differentiating a linear expression in Section 7.3. If the second was hard, revise rearranging a formula in Section 2.5.

Practise with help

1. Rearrange x2+x−3=0x^2 + x - 3 = 0 into the form x=3−xx = \sqrt{3 - x}.

Hint

Move the x2x^2 term to the other side first. That leaves xx alone on the left.

Next step

From x2+x−3=0x^2 + x - 3 = 0 you get x2=3−xx^2 = 3 - x. Take the positive square root of both sides.

Full working x2+x−3=0⟹x2=3−x⟹x=3−x.x^2 + x - 3 = 0 \quad\Longrightarrow\quad x^2 = 3 - x \quad\Longrightarrow\quad x = \sqrt{3 - x}.

The positive root is the one that matches the solution near 1.31.3. The recurrence is xn+1=3−xnx_{n+1} = \sqrt{3 - x_n}.

2. Use xn+1=3−xnx_{n+1} = \sqrt{3 - x_n} with x0=1x_0 = 1 to find x1x_1, x2x_2 and x3x_3 to four decimal places.

Hint

Substitute the previous value under the square root each time. Keep the full answer in the calculator.

Next step

x1=3−1=2x_1 = \sqrt{3 - 1} = \sqrt{2}. Then substitute 1.41421.4142 to get x2x_2.

Full working x1=3−1=2=1.4142,x_1 = \sqrt{3 - 1} = \sqrt{2} = 1.4142, x2=3−1.4142=1.5858=1.2593,x3=3−1.2593=1.7407=1.3194.x_2 = \sqrt{3 - 1.4142} = \sqrt{1.5858} = 1.2593, \qquad x_3 = \sqrt{3 - 1.2593} = \sqrt{1.7407} = 1.3194.

The values close in on the root x=1.3028x = 1.3028, which is 13−12\dfrac{\sqrt{13} - 1}{2}.

3. Rearrange x3−2x−5=0x^3 - 2x - 5 = 0 into the form x=(2x+5)1/3x = (2x + 5)^{1/3}.

Hint

Move the term −2x-2x to the right of the equals sign, then take the cube root of both sides.

Next step

From x3=2x+5x^3 = 2x + 5 you get x=2x+53x = \sqrt[3]{2x + 5}, which is the same as (2x+5)1/3(2x + 5)^{1/3}.

Full working x3−2x−5=0⟹x3=2x+5⟹x=2x+53.x^3 - 2x - 5 = 0 \quad\Longrightarrow\quad x^3 = 2x + 5 \quad\Longrightarrow\quad x = \sqrt[3]{2x + 5}.

The recurrence is xn+1=(2xn+5)1/3x_{n+1} = (2x_n + 5)^{1/3}.

4. Use xn+1=(2xn+5)1/3x_{n+1} = (2x_n + 5)^{1/3} with x0=2x_0 = 2 to find x1x_1, x2x_2 and x3x_3 to four decimal places.

Hint

Work out 2x0+52x_0 + 5 first, then take the cube root. That value is the next input.

Next step

x1=2(2)+53=93x_1 = \sqrt[3]{2(2) + 5} = \sqrt[3]{9}. Use the cube-root key on your calculator.

Full working x1=93=2.0801,x2=2(2.0801)+53=9.16023=2.0924,x_1 = \sqrt[3]{9} = 2.0801, \qquad x_2 = \sqrt[3]{2(2.0801) + 5} = \sqrt[3]{9.1602} = 2.0924, x3=2(2.0924)+53=9.18483=2.0942.x_3 = \sqrt[3]{2(2.0924) + 5} = \sqrt[3]{9.1848} = 2.0942.

The root is 2.09462.0946 to four decimal places. The values are closing on it.

5. For g(x)=x+34g(x) = \dfrac{x + 3}{4}, work out g′(x)g'(x). Explain why the recurrence xn+1=g(xn)x_{n+1} = g(x_n) converges, and say whether the diagram is a staircase or a cobweb.

Hint

Differentiate the expression. The fixed point is where x=x+34x = \dfrac{x + 3}{4}.

Next step

g′(x)=14g'(x) = \dfrac{1}{4}, which is positive and less than 11. A positive gradient gives a staircase.

Full working

Differentiating gives

g′(x)=14.g'(x) = \frac{1}{4}.

The fixed point solves 4x=x+34x = x + 3, so x=1x = 1. At that point ∣g′(1)∣=14<1|g'(1)| = \dfrac{1}{4} < 1, so the iteration converges to 11. The gradient is positive, so the path steps towards the fixed point from one side: a staircase.

6. The recurrence xn+1=4xn−3x_{n+1} = 4x_n - 3 has the fixed point x=1x = 1. Take x0=0x_0 = 0 and work out x1x_1, x2x_2 and x3x_3. Find g′(x)g'(x) and explain why the iteration diverges.

Hint

Substitute each value into 4x−34x - 3. Compare the size of the numbers with the starting value 00.

Next step

x1=4(0)−3=−3x_1 = 4(0) - 3 = -3, then x2=4(−3)−3=−15x_2 = 4(-3) - 3 = -15. The values are growing in size, not settling.

Full working x1=−3,x2=4(−3)−3=−15,x3=4(−15)−3=−63.x_1 = -3, \qquad x_2 = 4(-3) - 3 = -15, \qquad x_3 = 4(-15) - 3 = -63.

Here g(x)=4x−3g(x) = 4x - 3, so g′(x)=4g'(x) = 4. At the fixed point ∣g′(1)∣=4>1|g'(1)| = 4 > 1, which is the condition for divergence. Each step multiplies the distance from the fixed point by about 44, so the values run away.

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.