All revision notes topics

Newton-Raphson methodEdexcel A-Level Maths: Revision notes

Section 1

The Newton-Raphson formula

The Newton-Raphson method improves an estimate xnx_n of a root of f(x)=0f(x)=0: xn+1=xn−f(xn)f′(xn).x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}. Example: f(x)=x3−2x−5f(x)=x^3-2x-5, f′(x)=3x2−2f'(x)=3x^2-2, and x0=2x_0=2. Then f(2)=−1f(2)=-1, f′(2)=10f'(2)=10, so x1=2+0.1=2.1x_1=2+0.1=2.1. Next f(2.1)=0.061f(2.1)=0.061 and f′(2.1)=11.23f'(2.1)=11.23, so x2=2.0946x_2=2.0946. You must be able to find f′f', substitute carefully and keep full calculator accuracy until the end. The formula is in the formulae booklet.

Key termsNewton-Raphsonderivative
Common mistake

Using the wrong sign: the correction is subtracted. When f(xn)<0f(x_n)<0 and f′(xn)>0f'(x_n)>0, the estimate increases.

Exam tip

Store xnx_n in the calculator memory (Ans\text{Ans}) to avoid rounding errors.

Section 2

Worked examples with different functions

For f(x)=ex−3xf(x)=\mathrm{e}^x-3x, f′(x)=ex−3f'(x)=\mathrm{e}^x-3, and x0=0.5x_0=0.5 gives x1=0.6101x_1=0.6101 and x2=0.6190x_2=0.6190. For f(x)=x2−7f(x)=x^2-7, f′(x)=2xf'(x)=2x, so xn+1=xn−xn2−72xn=12(xn+7xn)x_{n+1}=x_n-\frac{x_n^2-7}{2x_n}=\frac12\left(x_n+\frac{7}{x_n}\right). From x0=3x_0=3: x1=83x_1=\frac83. Newton-Raphson is a special recurrence relation xn+1=g(xn)x_{n+1}=g(x_n) with g(x)=x−f(x)f′(x)g(x)=x-\frac{f(x)}{f'(x)}, and it usually converges faster than a simple rearrangement.

Key termsrecurrence relation
Common mistake

Differentiating wrongly. For ex−3x\mathrm{e}^x-3x, the derivative is ex−3\mathrm{e}^x-3, not ex\mathrm{e}^x.

Section 3

Geometry: tangents

The tangent to y=f(x)y=f(x) at xnx_n has equation y−f(xn)=f′(xn)(x−xn)y-f(x_n)=f'(x_n)(x-x_n). It meets the xx-axis where x=xn−f(xn)f′(xn)=xn+1x=x_n-\frac{f(x_n)}{f'(x_n)}=x_{n+1}. So xn+1x_{n+1} is the xx-intercept of the tangent at xnx_n. Example: for y=x2−7y=x^2-7 at x=3x=3, the tangent is y=6x−16y=6x-16, which meets the axis at x=83=x1x=\frac83=x_1. If the curve stays close to its tangent between xnx_n and the root, xn+1x_{n+1} is much closer to the root.

Key termstangentx-intercept
Exam tip

In an explanation, say: tangent at xnx_n, meets the xx-axis at xn+1x_{n+1}.

Section 4

When the method fails

The method fails or is unreliable when f′(xn)f'(x_n) is zero or small.

  • f′(xn)=0f'(x_n)=0: the tangent is horizontal and never meets the axis. For f(x)=ex−3xf(x)=\mathrm{e}^x-3x, f′(ln⁡3)=0f'(\ln3)=0, so x0=ln⁡3x_0=\ln3 gives no x1x_1.
  • f′(xn)f'(x_n) small: the tangent meets the axis far away. For f(x)=x3−2x+2f(x)=x^3-2x+2, f′(0.8)=−0.08f'(0.8)=-0.08 gives x1=12.2x_1=12.2.
  • Cycling: for the same ff, x0=0x_0=0 gives x1=1x_1=1, x2=0x_2=0, and so on, never converging.
  • Converging to a different root, if the start is nearer another root. Before using the method, locate the root by a sign change and choose x0x_0 close to it, away from stationary points.
Key termsstationary pointcycle
Common mistake

Saying the method fails 'because the root is close to the start'. It fails because of a zero or small gradient.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Newton-Raphson method

  1. The equation f(x)=0f(x)=0, where f(x)=x3−2x−5f(x)=x^3-2x-5, has a root α\alpha near x=2x=2. The Newton-Raphson method is used with x0=2x_0=2.
    Find x2x_2, giving your answer to 4 decimal places.2 marks
  2. Let f(x)=ex−3xf(x)=\mathrm{e}^x-3x. The equation f(x)=0f(x)=0 has a root α\alpha close to 0.60.6, and the Newton-Raphson method is used with x0=0.5x_0=0.5.
    Given that x1=0.610060…x_1=0.610060\ldots, find x2x_2 to 4 decimal places.2 marks
  3. The Newton-Raphson method is used to find 7\sqrt7, as the positive root of x2−7=0x^2-7=0, starting from x0=3x_0=3.
    Show that the Newton-Raphson formula for this equation simplifies to xn+1=12(xn+7xn)x_{n+1}=\frac12\left(x_n+\frac{7}{x_n}\right), and find x1x_1 as an exact fraction.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).