1 exam-style question plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes and Full packs are open to everyone. Practice needs a free account.
Or take a quick quiz: 10 questions on this subtopic in A level Maths (Edexcel), marked as you tap.
To solve \(\mathrm{f}(x) = 0\) numerically, you can rearrange it into the form \(x = \mathrm{g}(x)\) and use the iteration \(x_{n+1} = \mathrm{g}(x_n)\). The values may converge to a root, shown by a staircase or cobweb diagram, or they may diverge. Questions typically ask you to show a rearrangement, calculate iterates, then confirm a root or explain what the iteration does.
Key facts
Iteration: \(x_{n+1} = \mathrm{g}(x_n)\)
Roots of \(\mathrm{f}(x) = 0\) are where \(y = x\) meets \(y = \mathrm{g}(x)\)
Diagram: vertically to the curve, horizontally to \(y = x\)
Staircase: approaches the root from one side
Cobweb: alternates either side of the root
Grade A or above only Converges near \(\alpha\) if \(|\mathrm{g}'(\alpha)| \lt 1\); moves away if \(|\mathrm{g}'(\alpha)| \gt 1\)
Keep full accuracy with the ANS key
Notes
Rearranging
For any rearrangement \(x = \mathrm{g}(x)\) of \(\mathrm{f}(x) = 0\), the roots are where the graphs of \(y = x\) and \(y = \mathrm{g}(x)\) meet.
There are many possible rearrangements. \(x^3 - 4x - 2 = 0\) can become \(x = \sqrt{4 + \dfrac{2}{x}}\), \(x = \dfrac{x^3 - 2}{4}\) or \(x = \sqrt[3]{4x + 2}\). Some converge to a particular root and some do not.
Iterating
Start with \(x_0\), then \(x_1 = \mathrm{g}(x_0)\),\(x_2 = \mathrm{g}(x_1)\), and so on.
On a calculator: type \(x_0\) and press =, type the formula with ANS in place of \(x\), then press = repeatedly. This keeps full accuracy; round only the values you write down.
If the values settle down to a limit, that limit is a root of the equation.
Staircase and cobweb diagrams
diagram
Draw \(y = \mathrm{g}(x)\) and \(y = x\). From \(x_0\) on the \(x\)-axis go vertically to the curve, then horizontally to the line \(y = x\); you are now directly above \(x_1\). Repeat.
Staircase: the values approach the root from one side. Cobweb: they alternate from one side of the root to the other, spiralling in.
Staircase: \(x_{n+1} = \sqrt[3]{4x_n + 2}\) from \(x_0 = 0\) climbs towards the root from one side (\(0 \lt \mathrm{g}'(\alpha) \lt 1\)).
Cobweb: \(x_{n+1} = 2 - \ln x_n\) from \(x_0 = 1\) jumps from side to side of the root, closing in (\(-1 \lt \mathrm{g}'(\alpha) \lt 0\)).
Near the root \(\alpha\): if \(0 \lt \mathrm{g}'(\alpha) \lt 1\) you get a converging staircase; if \(-1 \lt \mathrm{g}'(\alpha) \lt 0\), a converging cobweb; if \(|\mathrm{g}'(\alpha)| \gt 1\), the values move away from \(\alpha\) Grade A or above only
How iteration fails
The values can diverge, or converge to a different root from the one you want.
A starting value far from the root can lead to another root, or to a value outside the domain of \(\mathrm{g}\) (e.g. the square root of a negative number).
How to answer each type of question
M = method mark, A = answer mark, B = a mark on its own, A1* = the solution must be fully correct, with every step shown.
Show that an equation can be rearranged
2 marksGrade D
Start from the given equation and aim for the form in the question.
Show every step, including any division or square root.
State any condition used, such as \(x \gt 0\) when taking the positive square root.
Example. Show that the equation \(x^3 - 4x - 2 = 0\) can be written in the form \(x = \sqrt{4 + \dfrac{2}{x}}\), for \(x \gt 0\)
\(x = \sqrt{4 + \dfrac{2}{x}}\), taking the positive root as \(x \gt 0\)
A1*
Use an iteration formula, then confirm the root
5 marksGrade C
Substitute \(x_0\) and use ANS for each following iterate.
Write each value to the accuracy asked.
To show a root to a given accuracy, use a change of sign on \(\mathrm{f}(x)\) at the rounding bounds.
Example. Use the iteration formula \(x_{n+1} = \sqrt{4 + \dfrac{2}{x_n}}\) with \(x_0 = 2\) to find \(x_1\), \(x_2\) and \(x_3\), giving each to 4 decimal places. Hence show that the positive root of \(x^3 - 4x - 2 = 0\) is 2.214 correct to 3 decimal places.
Show the model answerHide the model answer
\(x_1 = \sqrt{4 + 1} = 2.2361\)
M1 A1
\(x_2 = 2.2123\), \(x_3 = 2.2145\)
A1
Let \(\mathrm{f}(x) = x^3 - 4x - 2\): \(\mathrm{f}(2.2135) = -0.0088\ldots \lt 0\) and \(\mathrm{f}(2.2145) = 0.0019\ldots \gt 0\)
M1
Change of sign and \(\mathrm{f}\) continuous, so the root is 2.214 (3 d.p.)
A1
Explain why an iteration does not find the root
3 marksGrade B
Work out the first few iterates.
Describe what they do: moving away from the root, or heading to a different root.
Give the reason in terms of the graph: near the root, \(y = \mathrm{g}(x)\) is steeper than \(y = x\)
Example. A student uses \(x_{n+1} = \dfrac{x_n^3 - 2}{4}\) with \(x_0 = 2\), hoping to find the root of \(x^3 - 4x - 2 = 0\) near 2.214. Find \(x_1\) and \(x_2\), and explain why this iteration does not find that root.
The values move away from 2.214 (they go on to converge to a different, negative root), because near 2.214 the curve \(y = \dfrac{x^3 - 2}{4}\) is steeper than the line \(y = x\): its gradient there is about 3.7
B1
Predict a staircase or a cobweb
2 marksGrade A
Differentiate \(\mathrm{g}(x)\) and evaluate the gradient near the root.
Between 0 and 1: converging staircase. Between \(-1\) and 0: converging cobweb. Size greater than 1: moves away.
Example. The iteration \(x_{n+1} = 2 - \ln x_n\) converges to the root \(\alpha \approx 1.557\) of \(x + \ln x = 2\). Explain whether the iteration gives a staircase or a cobweb diagram.
Show the model answerHide the model answer
\(\mathrm{g}(x) = 2 - \ln x\), so \(\mathrm{g}'(x) = -\dfrac{1}{x}\) and \(\mathrm{g}'(1.557) \approx -0.64\)
M1
This is between \(-1\) and 0, so the values converge while alternating either side of \(\alpha\): a cobweb diagram
A1
Don’t lose marks
Rounding each iterate before using it in the next step.
Giving iterates to the wrong number of decimal places.
Drawing the diagram from the line first instead of the curve, or joining points with sloping lines.
Claiming a root is correct to 3 d.p. from iterates alone, without the change of sign when it is asked for.
Forgetting that a rearrangement may converge to a different root from the one wanted.
More tips
Memory tricks
The ANS key keeps every digit, so your iterates match the mark scheme.
Staircase or cobweb? Look at the sign of the gradient of \(y = \mathrm{g}(x)\) near the root: positive gives a staircase, negative a cobweb.
Sense check: substitute your final value into \(\mathrm{f}(x)\); the result should be close to 0.
In diagrams, always 'up to the curve, across to the line'.
Exam technique
For 'show that' rearrangements, write every step and state any condition used.
Write each iterate on its own, labelled \(x_1\),\(x_2\), …, to the accuracy asked.
On a diagram, mark \(x_0\),\(x_1\), \(x_2\) on the \(x\)-axis and draw arrows to show the direction.
An iteration alone never proves accuracy: to show a root to a given number of decimal places, use a change of sign.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade E
Calculate iterates from a formulaSubstitute \(x_0\) to get \(x_1\), then \(x_1\) to get \(x_2\), and so on, using the ANS key.
Grade D
Rearrange f(x) = 0 into x = g(x)Use algebra to isolate an \(x\) on one side, e.g. \(x^3 - 4x - 2 = 0 \Rightarrow x = \sqrt{4 + \dfrac{2}{x}}\)
Grade C
Draw staircase and cobweb diagramsGo vertically to the curve \(y = \mathrm{g}(x)\), then horizontally to the line \(y = x\), and repeat.
Grade C
Confirm a root with a sign changeAfter iterating, use a change of sign in \(\mathrm{f}(x)\) to show the root to the accuracy required.
Grade B
Explain convergence or divergence from iteratesSay whether the values approach a limit, and whether it is the root you want.
Grade A
Use the gradient of g to predict behaviourNear the root, \(|\mathrm{g}'(x)| \lt 1\) gives convergence: a staircase if \(\mathrm{g}'\) is positive, a cobweb if it is negative.
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy5 marks
The equation \(x - \ln x - 9 = 0\) has a root \(\alpha\). The iterative formula \(x_{n+1} = 9 + \ln x_n\) can be used to find \(\alpha\).
(a) Using the iterative formula \(x_{n+1} = 9 + \ln x_n\) with \(x_1 = 11\), find the values of \(x_2\), \(x_3\) and \(x_4\), giving each answer to 4 decimal places.
[3]
(b) Given that the sequence \(x_1, x_2, x_3, \ldots\) converges to \(\alpha\), find the value of \(\alpha\) correct to 3 decimal places.
M1 for continuing the iteration until successive values agree to 3 decimal places
A1 for \(\alpha = 11.437\)
Worked solution: Continuing the iteration: \(x_{5} = 11.4368, \ x_{6} = 11.4368\). The values have settled to 3 decimal places, so \(\alpha = 11.437\).
Question 2Medium7 marks
The equation \(x^{3} - 3x^{2} - 4 = 0\) has a root \(\alpha\).
(a) Show that the equation \(x^{3} - 3x^{2} - 4 = 0\) can be written in the form \(x = 3 + \frac{4}{x^{2}}\).
[2]
(b) Using the iterative formula \(x_{n+1} = 3 + \frac{4}{x_n^{2}}\) with \(x_1 = 4\), find the values of \(x_2\), \(x_3\) and \(x_4\), giving each answer to 4 decimal places.
[3]
(c) By choosing a suitable interval, show that \(\alpha = 3.355\) correct to 3 decimal places.
[2]
Show the answer and mark scheme
(a)Answer: Shown
M1 for \(x^{3} = 3x^{2} + 4\) and dividing by \(x^{2}\)
A1* for \(x = 3 + \frac{4}{x^{2}}\) (cso)
Worked solution:\(x^{3} = 3x^{2} + 4\), and dividing by \(x^{2}\) (\(x \ne 0\)) gives \(x = 3 + \frac{4}{x^{2}}\).
(c)Answer: Shown: sign change on \([3.3545, 3.3555]\)
M1 for choosing the interval \([3.3545, 3.3555]\) (or a tighter interval) and evaluating \(x^{3} - 3x^{2} - 4\) at both ends
A1 for both values correct (\(-0.0109\) and \(0.00271\)), a change of sign, continuity and the conclusion
Worked solution: Let \(f(x) = x^{3} - 3x^{2} - 4\). \(f(3.3545) = -0.0109 \lt 0\) and \(f(3.3555) = 0.00271 \gt 0\). There is a change of sign and \(f\) is continuous, so \(3.3545 \lt \alpha \lt 3.3555\), and therefore \(\alpha = 3.355\) to 3 decimal places.
Question 3Hard9 marks
The equation \(x^3 - 2x - 5 = 0\) has a single real root, \(\alpha\), where \(\alpha \approx 2.09\).
(a) Show that the equation can be rearranged into each of the forms (i) \(x = \dfrac{x^3 - 5}{2}\) (ii) \(x = \sqrt[3]{2x + 5}\)
[2]
(b) Starting with \(x_1 = 2\), find \(x_2\), \(x_3\) and \(x_4\) using each of the iteration formulae (i) \(x_{n + 1} = \dfrac{x_n^3 - 5}{2}\) (ii) \(x_{n + 1} = \sqrt[3]{2x_n + 5}\) giving your answers to 4 decimal places where appropriate.
[3]
(c) By considering the gradients of \(y = \dfrac{x^3 - 5}{2}\) and \(y = \sqrt[3]{2x + 5}\) near \(x = \alpha\), explain why one iteration converges to \(\alpha\) and the other does not.
[3]
(d) State whether the convergent iteration gives a staircase diagram or a cobweb diagram, giving a reason.
[1]
Show the answer and mark scheme
(a)Answer: (i) \(2x = x^3 - 5\); (ii) \(x^3 = 2x + 5\), take cube roots.
B1 for (i): \(2x = x^3 - 5 \Rightarrow x = \frac{x^3 - 5}{2}\)
B1 for (ii): \(x^3 = 2x + 5 \Rightarrow x = \sqrt[3]{2x + 5}\)
Worked solution: (i) \(x^3 - 2x - 5 = 0 \Rightarrow 2x = x^3 - 5 \Rightarrow x = \frac{x^3 - 5}{2}\). (ii) \(x^3 = 2x + 5 \Rightarrow x = \sqrt[3]{2x + 5}\).
(b)Answer: (i) 1.5, −0.8125, −2.7682; (ii) 2.0801, 2.0924, 2.0942
M1 for using either formula correctly at least twice
(c)Answer: \(\frac{\mathrm{d}}{\mathrm{d}x}\left(\frac{x^3 - 5}{2}\right) = \frac{3x^2}{2} \approx 6.6\) near \(\alpha\) (greater than 1, diverges); \(\frac{\mathrm{d}}{\mathrm{d}x}(2x + 5)^{\frac{1}{3}} = \frac{2}{3}(2x + 5)^{-\frac{2}{3}} \approx 0.15\) (between −1 and 1, converges).
M1 for the gradient of \(\frac{x^3 - 5}{2}\) at or near \(\alpha\): \(\frac{3x^2}{2} \approx 6.6\)
M1 for the gradient of \(\sqrt[3]{2x + 5}\): \(\frac{2}{3}(2x + 5)^{-\frac{2}{3}} \approx 0.15\)
A1 for concluding: an iteration \(x_{n + 1} = \mathrm{g}(x_n)\) converges when \(|\mathrm{g}'(\alpha)| \lt 1\) and moves away from \(\alpha\) when \(|\mathrm{g}'(\alpha)| \gt 1\)
Worked solution: For \(\mathrm{g}_1(x) = \frac{x^3 - 5}{2}\),\(\mathrm{g}_1'(x) = \frac{3x^2}{2}\), which is about 6.6 near \(\alpha\). As \(|\mathrm{g}_1'| \gt 1\), the distance from \(\alpha\) grows at each step, so (i) diverges. For \(\mathrm{g}_2(x) = (2x + 5)^{\frac{1}{3}}\),\(\mathrm{g}_2'(x) = \frac{2}{3}(2x + 5)^{-\frac{2}{3}}\), about 0.15 near \(\alpha\). As \(|\mathrm{g}_2'| \lt 1\), the distance shrinks, so (ii) converges.
(d)Answer: A staircase, because the gradient of \(y = \sqrt[3]{2x + 5}\) near \(\alpha\) is positive (between 0 and 1); the iterates increase steadily towards \(\alpha\).
B1 for staircase, because \(0 \lt \mathrm{g}'(\alpha) \lt 1\) (the iterates approach \(\alpha\) from one side)
Worked solution: The gradient of \(y = \sqrt[3]{2x + 5}\) near \(\alpha\) is positive (about 0.15), so the iterates approach \(\alpha\) from one side: a staircase diagram.