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.
The Newton–Raphson method finds roots of \(\mathrm{f}(x) = 0\) with the iteration \(x_{n+1} = x_n - \dfrac{\mathrm{f}(x_n)}{\mathrm{f}'(x_n)}\) (in the formula booklet), where each step follows the tangent at \(x_n\) down to the \(x\)-axis. It usually converges quickly, but it fails when \(\mathrm{f}'(x_n)\) is zero or close to zero. Questions are 3 to 5 marks: apply the method, or explain why it fails.
Tangent at \(x_n\): \(y - \mathrm{f}(x_n) = \mathrm{f}'(x_n)(x - x_n)\)
\(x_{n+1}\) is where the tangent at \(x_n\) meets the \(x\)-axis
Fails if \(\mathrm{f}'(x_n) = 0\) (horizontal tangent)
Unreliable near a stationary point (\(\mathrm{f}'(x_n)\) close to 0)
Radians for trigonometric functions
Notes
The formula
\(x_{n+1} = x_n - \dfrac{\mathrm{f}(x_n)}{\mathrm{f}'(x_n)}\). The equation must be in the form \(\mathrm{f}(x) = 0\) first.
The formula is in the booklet, but you must differentiate \(\mathrm{f}\) yourself.
Why it works
diagram
The tangent at \((x_n, \mathrm{f}(x_n))\) has equation \(y - \mathrm{f}(x_n) = \mathrm{f}'(x_n)(x - x_n)\)
Setting \(y = 0\) gives \(x = x_n - \dfrac{\mathrm{f}(x_n)}{\mathrm{f}'(x_n)}\): the next approximation is where the tangent meets the \(x\)-axis.
Each new approximation is where the tangent at the previous one meets the x-axis: \(3 \to 1.833 \to 1.462 \to\) the root \(\sqrt{2} = 1.414\)
Close to a root the tangent is a good fit to the curve, so the approximations improve very quickly.
Using it
Calculator: enter \(x_0\), then type ANS \(- \dfrac{\mathrm{f}(\text{ANS})}{\mathrm{f}'(\text{ANS})}\) and press = repeatedly.
Trigonometric functions must be in radians: the derivatives of \(\sin x\) and \(\cos x\) only hold in radians.
When it fails
diagram
If \(\mathrm{f}'(x_n) = 0\), the formula divides by zero: the tangent is horizontal and never crosses the \(x\)-axis.
If \(x_n\) is near a stationary point, \(\mathrm{f}'(x_n)\) is small, so the tangent is shallow and \(x_{n+1}\) lands far away. It may then converge to a different root, or leave the domain (e.g. a negative value in \(\ln x\)).
Near a stationary point the tangent is shallow: from \(x_0 = 0.9\) it lands at \(x_1 \approx -0.80\), far from the nearest root.
How to answer each type of question
M = method mark, A = answer mark, B = a mark on its own.
Apply Newton–Raphson once
3 marksGrade C
Differentiate \(\mathrm{f}(x)\)
Work out \(\mathrm{f}(x_0)\) and \(\mathrm{f}'(x_0)\) and substitute into the formula, showing the numbers.
Give \(x_1\) to the accuracy asked.
Example.\(\mathrm{f}(x) = 2x^3 - 5x + 1\). The equation \(\mathrm{f}(x) = 0\) has a root near \(x = 1.5\). Taking \(x_0 = 1.5\) as a first approximation, apply the Newton–Raphson method once to find a second approximation, giving your answer to 3 decimal places.
Show the model answerHide the model answer
\(\mathrm{f}'(x) = 6x^2 - 5\)
B1
\(\mathrm{f}(1.5) = 0.25\) and \(\mathrm{f}'(1.5) = 8.5\), so \(x_1 = 1.5 - \dfrac{0.25}{8.5}\)
M1
\(x_1 = 1.471\) (3 d.p.)
A1
Iterate with a trigonometric function
5 marksGrade B
Set the calculator to radians and differentiate.
Apply the formula with \(x_0\), then again with the unrounded \(x_1\)
Round only the values you write down.
Example.\(\mathrm{f}(x) = 2\sin x - x\), where \(x\) is in radians. The equation \(\mathrm{f}(x) = 0\) has a root near \(x = 2\). Use the Newton–Raphson method with \(x_0 = 2\) to find \(x_1\) and \(x_2\), giving your answers to 4 decimal places.
\(x_2 = x_1 - \dfrac{\mathrm{f}(x_1)}{\mathrm{f}'(x_1)}\), using the unrounded \(x_1\)
M1
\(x_2 = 1.8955\)
A1
Explain why a starting value is unsuitable
2 marksGrade A
Work out \(\mathrm{f}'(x_0)\)
If it is zero (or very small), explain in terms of the tangent: horizontal (or nearly), so it does not meet the \(x\)-axis (or meets it far away).
Example.\(\mathrm{g}(x) = x^3 - 3x + 1\). Explain why \(x_0 = 1\) cannot be used as a starting value for the Newton–Raphson method to solve \(\mathrm{g}(x) = 0\)
Show the model answerHide the model answer
\(\mathrm{g}'(x) = 3x^2 - 3\), so \(\mathrm{g}'(1) = 0\)
M1
The formula would divide by zero: \(x = 1\) is a stationary point, so the tangent there is horizontal and never meets the \(x\)-axis
A1
Don’t lose marks
Differentiating wrongly, especially trigonometric, exponential or log terms.
Using degrees mode.
Rounding \(x_1\) before working out \(x_2\)
Dropping brackets when \(\mathrm{f}(x_n)\) or \(\mathrm{f}'(x_n)\) is negative, which flips a sign.
Writing only 'the method fails' without the reason: \(\mathrm{f}'(x_0) = 0\), so the tangent is parallel to the \(x\)-axis.
More tips
Memory tricks
'Tangent to the axis': follow the tangent at \(x_n\) down to the \(x\)-axis to get \(x_{n+1}\)
Use ANS in the calculator so each step uses the full, unrounded value.
Once it is close to a root, the method roughly doubles the number of correct decimal places each step, so two or three steps are usually enough.
Check your derivative before iterating: one wrong sign spoils every value.
Exam technique
Show the substitution with numbers (e.g. \(1.5 - \dfrac{0.25}{8.5}\)) before the answer: it earns the method mark even if you press a wrong key.
Write \(\mathrm{f}'(x)\) on its own line; it is often a mark by itself.
When asked to explain a failure, refer to the tangent and the stationary point, not just 'division by zero'.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade D
Differentiate f(x) accuratelyA correct \(\mathrm{f}'(x)\) is the first mark; use the chain, product or quotient rule where needed.
Grade C
Apply one Newton–Raphson stepSubstitute \(x_0\) into \(x_0 - \dfrac{\mathrm{f}(x_0)}{\mathrm{f}'(x_0)}\), showing the values of \(\mathrm{f}(x_0)\) and \(\mathrm{f}'(x_0)\)
Grade B
Iterate to the accuracy requiredRepeat using ANS until the values agree to the accuracy asked.
Grade B
Explain the method using tangents\(x_{n+1}\) is where the tangent to the curve at \(x = x_n\) crosses the \(x\)-axis.
Grade A
Explain why a starting value failsIf \(\mathrm{f}'(x_0) = 0\) the tangent is horizontal and never meets the axis; near a stationary point, \(x_1\) can land far away.
Grade A*
Derive the formula from the tangentWrite the tangent \(y - \mathrm{f}(x_n) = \mathrm{f}'(x_n)(x - x_n)\), put \(y = 0\) and solve for \(x\)
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy4 marks
\(g(x) = x^{3} - x^{2} - 6\). The equation \(g(x) = 0\) has a root \(\alpha\) close to \(x = 2\). You are given that \(g'(x) = 3x^{2} - 2x\).
(a) Taking \(x_0 = 2\) as a first approximation to \(\alpha\), apply the Newton–Raphson method once to \(g(x)\) to find a second approximation to \(\alpha\). Give your answer to 3 decimal places.
[2]
(b) Apply the Newton–Raphson method a second time to find \(x_2\), giving your answer to 4 decimal places.
[2]
Show the answer and mark scheme
(a)Answer: \(x_1 = 2.250\)
M1 for \(x_1 = 2 - \frac{g(2)}{g'(2)}\) with their values
A1 for \(x_1 = 2.250\) (awrt)
Worked solution: \(g(2) = -2\) and \(g'(2) = 8\), so \(x_1 = 2 - \frac{-2}{8} = 2.25 = 2.250\) (3 d.p.).
(b)Answer: \(x_2 = 2.2193\)
M1 for \(x_2 = x_1 - \frac{g(x_1)}{g'(x_1)}\) using their unrounded \(x_1\)
A1 for \(x_2 = 2.2193\) (awrt)
Worked solution:\(g(x_1) = 0.328125\),\(g'(x_1) = 10.6875\), so \(x_2 = 2.25 - \frac{0.328125}{10.6875} = 2.219298\ldots = 2.2193\) (4 d.p.).
Question 2Medium6 marks
(a) Show that applying the Newton–Raphson method to \(\mathrm{f}(x) = x^2 - 7\) gives the iteration \[x_{n + 1} = \frac{1}{2}\left(x_n + \frac{7}{x_n}\right)\]
[2]
(b) Starting with \(x_1 = 3\), find \(x_2\) and \(x_3\), giving each as an exact fraction.
[2]
(c) Explain why \(x_1 = 0\) cannot be used as a starting value.
[1]
(d) A student starts with \(x_1 = -3\) and says that the iteration will again converge to \(\sqrt{7}\). Explain whether the student is correct.
(c)Answer:\(\mathrm{f}'(0) = 0\): the tangent at \(x = 0\) is horizontal and never meets the \(x\)-axis (division by zero).
B1 for \(\mathrm{f}'(0) = 0\) (the tangent is horizontal), so the formula divides by zero
Worked solution:\(\mathrm{f}'(0) = 0\), so the tangent at \(x = 0\) is horizontal and does not cross the \(x\)-axis; the formula would require dividing by zero.
(d)Answer: No: if \(x_n \lt 0\) then \(x_{n + 1} \lt 0\) (e.g. \(x_2 = -\frac{8}{3}\)), so the iteration converges to \(-\sqrt{7}\).
B1 for not correct: the iterates stay negative (\(x_2 = -\frac{8}{3}\), …) and converge to \(-\sqrt{7}\)
Worked solution: If \(x_n\) is negative, then \(x_n + \frac{7}{x_n}\) is negative, so every iterate is negative: \(x_2 = -\frac{8}{3}\),\(x_3 = -\frac{127}{48}\), … The iteration converges to the other root, \(-\sqrt{7}\), so the student is wrong.
Question 3Hard8 marks
\(f(x) = x^{3} - 20x\). The equation \(f(x) = 0\) has a positive root \(\beta\).
(a) Show that, when the Newton–Raphson method is applied to \(f(x)\) with \(x_0 = 2\), the next approximation is \(x_1 = -2\).
[3]
(b) Explain what happens if the Newton–Raphson method is continued from this starting value.
[2]
(c) Using \(x_0 = 5\), apply the Newton–Raphson method twice to find an approximation to \(\beta\), giving your answer to 4 decimal places.
[3]
Show the answer and mark scheme
(a)Answer: Shown
B1 for \(f'(x) = 3x^{2} - 20\)
M1 for \(x_1 = 2 - \frac{f(2)}{f'(2)}\) with \(f(2) = -32\) and \(f'(2) = -8\)
A1* for \(x_1 = -2\)
Worked solution: \(f(2) = -32\) and \(f'(2) = -8\), so \(x_1 = 2 - \frac{-32}{-8} = 2 - 4 = -2\).
(b)Answer: The approximations alternate between \(2\) and \(-2\) for ever
M1 for using the symmetry of \(f\) (an odd function, so \(f(-x) = -f(x)\) and \(f'(-x) = f'(x)\)) or calculating \(x_2 = 2\)
A1 for concluding that the approximations cycle between \(2\) and \(-2\) and never converge to a root
Worked solution: Since \(f(-2) = 32\) and \(f'(-2) = -8\),\(x_2 = -2 - \frac{32}{-8} = 2\). The values alternate \(2, -2, 2, -2, \ldots\) for ever, so the method never converges.
(c)Answer: \(x_2 = 4.4739\)
M1 for a correct first application: \(x_1 = 5 - \frac{25}{55}\)
A1 for \(x_1 = 4.5455\) (awrt)
A1 for \(x_2 = 4.4739\) (awrt)
Worked solution:\(x_1 = 5 - \frac{25}{55} = 4.545455\ldots\); \(x_2 = x_1 - \frac{f(x_1)}{f'(x_1)} = 4.473873\ldots = 4.4739\). (The root is \(\beta = \sqrt{20} = 4.4721\ldots\).)