Skip to main content
EnglandMathsSyllabus dot point

How do you locate and approximate the roots of an equation when an exact solution is not available?

Locating roots by change of sign, iterative methods of the form x equals g of x, the Newton-Raphson method, and the conditions under which these numerical methods fail.

A focused answer to the OCR A-Level Mathematics A numerical methods content, covering locating roots by a change of sign, fixed-point iteration of the form x equals g of x with staircase and cobweb diagrams, the Newton-Raphson method, and the situations in which each method fails.

Generated by Claude Opus 4.811 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

OCR wants you to locate a root of an equation by showing a change of sign over an interval, solve an equation by a fixed-point iteration xn+1=g(xn)x_{n+1} = g(x_n) (and illustrate convergence with a staircase or cobweb diagram), use the Newton-Raphson method, and explain when each method fails (for example a sign change missed because two roots lie close together, an iteration that diverges, or Newton-Raphson at a turning point).

The answer

Locating a root by change of sign

If ff is continuous and f(a)f(a) and f(b)f(b) have opposite signs, then ff has at least one root between aa and bb. You must state continuity for the argument to be valid.

Fixed-point iteration

Rearrange f(x)=0f(x) = 0 into the form x=g(x)x = g(x), then iterate xn+1=g(xn)x_{n+1} = g(x_n) from a starting value. If the iteration converges, the limit is a root. Different rearrangements converge at different speeds, and some diverge.

A staircase diagram (when gβ€²(x)>0g'(x) > 0) or a cobweb diagram (when gβ€²(x)<0g'(x) < 0) drawn between y=g(x)y = g(x) and y=xy = x shows the successive iterates closing in on, or spiralling away from, the root.

The Newton-Raphson method

Newton-Raphson uses the tangent at the current estimate to leap to a better one. Geometrically, you follow the tangent line at xnx_n down to the xx-axis, and that crossing is the next estimate. When it works it roughly doubles the number of correct digits each step, so it usually converges very fast from a good starting value.

Examples in context

Using an iteration to a required accuracy

To show a root is correct to a number of decimal places, find a sign change of ff over an interval whose endpoints round to that value (for example [1.8595,1.8605][1.8595, 1.8605] for 1.8601.860 to three decimal places).

Establishing an error bound

Once an iteration appears to have settled, you confirm the accuracy by bracketing: evaluate ff at the two ends of a small interval centred on the rounded value. A sign change over that interval, with continuity, proves the true root lies inside it, so the rounded value is correct to the stated accuracy. This sign-change check is the standard way to justify a final answer to a required number of decimal places.

When the methods fail

Each method has a failure mode you may be asked to explain. A change-of-sign search misses a repeated root or two close roots where ff does not change sign. An iteration diverges when ∣gβ€²(x)∣>1|g'(x)| > 1 near the root, spiralling or staircasing away. Newton-Raphson fails or jumps far away if fβ€²(xn)f'(x_n) is zero or very small (a turning point near the estimate), or if the starting value is poor.

Try this

Q1. Show that x3+xβˆ’5=0x^3 + x - 5 = 0 has a root between 11 and 22. [2 marks]

  • Cue. f(1)=βˆ’3<0f(1) = -3 < 0, f(2)=5>0f(2) = 5 > 0, and ff is continuous, so a root lies in (1,2)(1, 2).

Q2. With f(x)=x2βˆ’5f(x) = x^2 - 5 and x0=2x_0 = 2, apply Newton-Raphson once. [3 marks]

  • Cue. fβ€²(x)=2xf'(x) = 2x, so x1=2βˆ’4βˆ’54=2+0.25=2.25x_1 = 2 - \dfrac{4 - 5}{4} = 2 + 0.25 = 2.25.

Exam-style practice questions

Practice questions written in the style of OCR exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

OCR 20196 marksf(x)=x3βˆ’4x+1f(x) = x^3 - 4x + 1. Show that f(x)=0f(x) = 0 has a root Ξ±\alpha in the interval [1,2][1, 2], and use the iteration xn+1=4xnβˆ’13x_{n+1} = \sqrt[3]{4x_n - 1} with x0=1.8x_0 = 1.8 to find x1x_1, x2x_2 and x3x_3 to four decimal places.
Show worked answer β†’

Evaluate at the ends (M1): f(1)=1βˆ’4+1=βˆ’2f(1) = 1 - 4 + 1 = -2 and f(2)=8βˆ’8+1=1f(2) = 8 - 8 + 1 = 1. Since f(1)<0f(1) < 0, f(2)>0f(2) > 0 and ff is continuous, a root lies in [1,2][1, 2] (A1).

Apply the iteration (M1): x1=4(1.8)βˆ’13=6.23β‰ˆ1.8373x_1 = \sqrt[3]{4(1.8) - 1} = \sqrt[3]{6.2} \approx 1.8373 (A1).

x2=4(1.8373)βˆ’13=6.34923β‰ˆ1.8519x_2 = \sqrt[3]{4(1.8373) - 1} = \sqrt[3]{6.3492} \approx 1.8519 (A1). x3=4(1.8519)βˆ’13=6.40763β‰ˆ1.8576x_3 = \sqrt[3]{4(1.8519) - 1} = \sqrt[3]{6.4076} \approx 1.8576 (A1).

Markers reward the sign-change argument with continuity stated, and the three iterates to four decimal places.

OCR 20215 marksf(x)=x3+2xβˆ’4f(x) = x^3 + 2x - 4. Using x0=1.2x_0 = 1.2, apply the Newton-Raphson method once to find an improved approximation to the root, giving your answer to four decimal places.
Show worked answer β†’

Differentiate: fβ€²(x)=3x2+2f'(x) = 3x^2 + 2 (M1).

Evaluate at x0=1.2x_0 = 1.2: f(1.2)=1.728+2.4βˆ’4=0.128f(1.2) = 1.728 + 2.4 - 4 = 0.128 and fβ€²(1.2)=3(1.44)+2=6.32f'(1.2) = 3(1.44) + 2 = 6.32 (A1, A1).

Apply x1=x0βˆ’f(x0)fβ€²(x0)x_1 = x_0 - \dfrac{f(x_0)}{f'(x_0)} (M1): x1=1.2βˆ’0.1286.32=1.2βˆ’0.02025β‰ˆ1.1798x_1 = 1.2 - \dfrac{0.128}{6.32} = 1.2 - 0.02025 \approx 1.1798 (A1).

Markers reward the derivative, the values of ff and fβ€²f' at x0x_0, the Newton-Raphson formula, and the improved root.

Related dot points

Sources & how we know this