A-level Maths

Iteration and Newton-Raphson

Simple iterative methods; cobweb/staircase diagrams; Newton-Raphson method; understanding failure cases.

A-level Maths · Numerical Methods · A-level only

What it covers

Try these

Three of the 10 practice questions on this topic in the app, from easier to harder. Answer each one and check it, or show its answer and worked solution.

Question 1

Newton-Raphson is being used to solve f(x)=0\displaystyle f(x) = 0.

Which iteration is it?

  1. xn+1=xn−f(xn)f′(xn)\displaystyle x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}
  2. xn+1=xn−f′(xn)f(xn)\displaystyle x_{n+1} = x_n - \dfrac{f'(x_n)}{f(x_n)}
  3. xn+1=xn+f(xn)f′(xn)\displaystyle x_{n+1} = x_n + \dfrac{f(x_n)}{f'(x_n)}
  4. xn+1=f(xn)f′(xn)\displaystyle x_{n+1} = \dfrac{f(x_n)}{f'(x_n)}
Worked solution

Step by step

  1. The tangent at (xn,f(xn))\displaystyle \big(x_n, f(x_n)\big) has gradient f′(xn)\displaystyle f'(x_n).
  2. It meets the x\displaystyle x-axis after a horizontal run of f(xn)f′(xn)\displaystyle \frac{f(x_n)}{f'(x_n)}.
  3. Moving back along the axis by that much gives the next estimate.
  4. xn+1=xn−f(xn)f′(xn)\displaystyle x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}.

The answer is A.

Mark scheme 1 mark

WorkingMarks
The tangent at (xn,f(xn))\displaystyle \big(x_n, f(x_n)\big) has gradient f′(xn)\displaystyle f'(x_n).
It meets the x\displaystyle x-axis after a horizontal run of f(xn)f′(xn)\displaystyle \frac{f(x_n)}{f'(x_n)}.
Moving back along the axis by that much gives the next estimate.
xn+1=xn−f(xn)f′(xn)\displaystyle x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}.
B1 for the Newton-Raphson iteration xn+1=xn−f(xn)f′(xn)\displaystyle x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}
B1
Answer xn+1=xn−f(xn)f′(xn)\displaystyle x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}1
What does B mean?
  • B a mark on its own, for a right answer or reason.

Question 2

A voltage regulator settles to a steady output modelled byxn+1=14(xn2+3)x_{n+1} = \frac{1}{4}\left(x_n^{2} + 3\right)started at x0=0.5\displaystyle x_0 = 0.5. The diagram shows the path of the iteration closing in on the point where the two graphs cross.

Work out the exact value of the steady output.

A gently curving graph and a straight line through the origin, on a grid numbered 0 to 2 across and 0 to 2 up, with a stepped path starting on the axis and climbing between them towards the one crossing point the grid shows, at 1 across and 1 up.
Worked solution

Step by step

  1. At the crossing point the two graphs are equal: x=14(x2+3)\displaystyle x = \frac{1}{4}(x^{2}+3).
  2. Multiply by 4\displaystyle 4: 4x=x2+3\displaystyle 4x = x^{2} + 3.
  3. Rearrange: x2−4x+3=0\displaystyle x^{2} - 4x + 3 = 0.
  4. Factorise: (x−1)(x−3)=0\displaystyle (x-1)(x-3) = 0.
  5. The diagram shows the path converging on the crossing at x=1\displaystyle x = 1, the only one the grid reaches, so the output is 1\displaystyle 1.

Answer: 1\displaystyle 1

Mark scheme 2 marks

WorkingMarks
At the crossing point the two graphs are equal: x=14(x2+3)\displaystyle x = \frac{1}{4}(x^{2}+3).
Multiply by 4\displaystyle 4: 4x=x2+3\displaystyle 4x = x^{2} + 3.
Rearrange: x2−4x+3=0\displaystyle x^{2} - 4x + 3 = 0.
Factorise: (x−1)(x−3)=0\displaystyle (x-1)(x-3) = 0.
M1 for setting x=14(x2+3)\displaystyle x = \frac{1}{4}(x^{2}+3) and solving it
Solving x2−4x+3=0\displaystyle x^{2} - 4x + 3 = 0 with the quadratic formula is fine too.
M1
The diagram shows the path converging on the crossing at x=1\displaystyle x = 1, the only one the grid reaches, so the output is 1\displaystyle 1.
A1 for the answer, 1\displaystyle 1
x=3\displaystyle x = 3 solves it too, but the path closes in on 1\displaystyle 1, so giving 3\displaystyle 3, or both, does not get the mark.
A1
Answer 1\displaystyle 12
What do M and A mean?
  • M method mark: for the right method, even if a number goes wrong later.
  • A accuracy mark: for the right answer, once you have the method mark.

Question 3

To hunt for a root, f(x)=x2−4x+3\displaystyle f(x) = x^{2} - 4x + 3 is evaluated at the ends of the interval from 0\displaystyle 0 to 4\displaystyle 4, giving f(0)=3\displaystyle f(0) = 3 and f(4)=3\displaystyle f(4) = 3. The conclusion drawn is that f(x)=0\displaystyle f(x) = 0 has no solution between 0\displaystyle 0 and 4\displaystyle 4.

What is wrong with this?

  1. The function is not continuous between 0\displaystyle 0 and 4\displaystyle 4
  2. The two values should have been multiplied rather than compared
  3. The interval is too wide for the sign test to be allowed
  4. There are two roots inside the interval, so the sign changes twice and ends up the same at both ends
Worked solution

Step by step

  1. Factorise: x2−4x+3=(x−1)(x−3)\displaystyle x^{2} - 4x + 3 = (x-1)(x-3).
  2. The roots are x=1\displaystyle x = 1 and x=3\displaystyle x = 3, both between 0\displaystyle 0 and 4\displaystyle 4.
  3. f\displaystyle f is negative between them: f(2)=−1\displaystyle f(2) = -1.
  4. So the sign changes twice and returns to positive by x=4\displaystyle x = 4.
  5. Equal signs at the two ends therefore rule nothing out.

The answer is D.

Mark scheme 3 marks

WorkingMarks
Factorise: x2−4x+3=(x−1)(x−3)\displaystyle x^{2} - 4x + 3 = (x-1)(x-3).
The roots are x=1\displaystyle x = 1 and x=3\displaystyle x = 3, both between 0\displaystyle 0 and 4\displaystyle 4.
B1 for saying there are two roots inside the interval
B1
f\displaystyle f is negative between them: f(2)=−1\displaystyle f(2) = -1.
So the sign changes twice and returns to positive by x=4\displaystyle x = 4.
B1 for saying the sign changes twice
B1
Equal signs at the two ends therefore rule nothing out.
B1 for saying the sign ends up the same at both ends
B1
Answer There are two roots inside the interval, so the sign changes twice and ends up the same at both ends3
What does B mean?
  • B a mark on its own, for a right answer or reason.

In the app

Start practising today

Free to start, with no ads and no account. Pay once for a course's exam papers, if you want them.

Get it on Google Play for Android phones & tablets
Get it on the App Store for iPhone & iPad