Skip to content
Marlbridge

Study Guides

AQA A-Level Mathematics: I: Numerical methods (7357)

Study guide to AQA A-Level Maths Section I: change of sign, iteration, cobweb diagrams, Newton-Raphson and the trapezium rule, with worked examples.

Subject
Mathematics
Level
A LEVELS
Topic
I: Numerical methods
Updated

Aligned to AQA A Level Mathematics (7357), For first teaching 2017. Official specification .

Syllabus topics and points this page is mapped to

7357

  • 10 I: Numerical methods (topic-level mapping)

"Topic-level mapping" means this page belongs to that topic; it does not claim to cover every point in it.

Found an error? Report a correction.

This guide teaches Section I: Numerical methods (content references I1 to I4) of the AQA A-level Mathematics (7357) specification, version 1.3, for A-level exams from June 2018 onwards. Section I is listed under Paper 1 in the specification, and Papers 2 and 3 can each assess any Paper 1 content as well. A calculator is required in every 7357 paper, and the specification says it must have an iterative function, so the methods here are always done with a calculator to hand.

Use it with the Numerical methods revision notes and the Numerical methods practice questions. The 7357 course hub lists every topic, the printable checklist lets you tick off outcomes, and the free 10-minute diagnostics show where to start.

What Section I covers

A method-selection map contrasts root bracketing, fixed-point iteration, Newton–Raphson and trapezium estimates with assumptions and common failure modes.
A method-selection map contrasts root bracketing, fixed-point iteration, Newton–Raphson and trapezium estimates with assumptions and common failure modes. Select the image to enlarge it.
Ref What you must be able to do
I1 Locate roots of f(x) = 0 by a change of sign of f(x) over an interval where f is sufficiently well-behaved; understand how change of sign methods can fail
I2 Solve equations approximately with simple iterative methods; draw cobweb and staircase diagrams; use Newton-Raphson and other recurrence relations x_(n+1) = g(x_n); understand how these methods can fail
I3 Understand and use numerical integration, including the trapezium rule, estimating the area under a curve and the limits it must lie between
I4 Use numerical methods to solve problems in context

Why bother? Many equations, such as e^(−x) = x or ln x + x = 3, cannot be solved with algebra. The overarching theme OT2.4 says you should understand that numerical methods give a solution to a required level of accuracy instead. OT2.5 adds that you should judge how accurate such a solution is. The overarching themes guide covers those themes across the course.

I1: Change of sign

If f is continuous on the interval [a, b], and f(a) and f(b) have opposite signs, the graph must cross the x-axis somewhere between a and b. So there is at least one root of f(x) = 0 in (a, b).

Worked example 1

Show that x³ − 4x − 2 = 0 has a root α between 2.2 and 2.3, then show that α = 2.21 to 2 decimal places.

f(x) = x³ − 4x − 2
f(2.2) = 10.648 − 8.8 − 2 = −0.152    (negative)
f(2.3) = 12.167 − 9.2 − 2 =  0.967    (positive)

f is a polynomial, so it is continuous. There is a change of sign, so 2.2 < α < 2.3.

To show α = 2.21 to 2 d.p., test the bounds of that rounding interval, 2.205 and 2.215:

f(2.205) = −0.0992   (negative)
f(2.215) =  0.0073   (positive)

The change of sign means 2.205 < α < 2.215, so α rounds to 2.21. Always finish with a conclusion sentence of this kind.

How change of sign can fail

  • Discontinuity. f(x) = 1/(x − 2) is negative at x = 1 and positive at x = 3, but there is no root. The graph jumps across an asymptote at x = 2. This is why the function must be well-behaved (continuous) on the interval.
  • Repeated root or touching. f(x) = (x − 1)² has a root at x = 1, but f is positive on both sides, so no sign change shows it.
  • Two roots close together. If the interval holds two roots, f(a) and f(b) can have the same sign. No change of sign does not prove there is no root.
  • Interval too wide. A wide interval can hide several roots, or roots that cancel in sign. Use narrow intervals and a sketch.
f(x)=x^3+2x^2-5 is below the axis at x=1 (f=-2) and above at x=2 (f=11), so the continuous curve crosses between them near 1.2419. A zoom on 1.235 to 1.245 shows f negative then positive, so the root is 1.24 to 2 d.p.
A change of sign of a continuous function proves a root, and testing both ends of the rounding interval fixes the decimal places.
Three graphs: 1/(x-2) on 1 to 3 changes sign across an asymptote with no root; (2x-3)^2 on 1 to 2 touches the axis with equal signs at the ends; (x-1)(x-2)(x+3) on 0.5 to 2.5 has two roots but positive ends.
A sign change proves a root only if the function is continuous, and no sign change proves nothing.

I2: Iteration x_(n+1) = g(x_n)

Rearrange f(x) = 0 into the form x = g(x). A root α satisfies α = g(α). Start with a value x₁ (or x₀) and feed each output back in. If the sequence converges, its limit is a root.

Worked example 2

The same equation x³ − 4x − 2 = 0 can be written x³ = 4x + 2, so x = ∛(4x + 2). Use x_(n+1) = ∛(4x_n + 2) with x₀ = 2.

x₁ = ∛(10)       = 2.15443
x₂ = ∛(10.6177)  = 2.19791
x₃ = 2.20985
x₄ = 2.21310
x₅ = 2.21399

On a calculator, type 2, press =, then enter ∛(4 × Ans + 2) and press = repeatedly. Write down each value the question asks for. The sequence climbs steadily towards 2.214.

Staircase and cobweb diagrams

Draw y = x and y = g(x) on the same axes. The root is where they meet. From x₁, go vertically to the curve y = g(x), then horizontally to y = x, then vertically to the curve again.

  • If the iterates approach the root from one side, the path looks like a staircase. This happens when 0 < g′(x) < 1 near the root. In example 2, g′(2.214) ≈ 0.27.
  • If the iterates alternate either side of the root, the path spirals in like a cobweb. This happens when −1 < g′(x) < 0 near the root.

Example of a cobweb: x = e^(−x) with x₀ = 0.5 gives 0.6065, 0.5452, 0.5797, 0.5601, 0.5712, … above and below the root 0.5671 in turn. Here g′(x) = −e^(−x) ≈ −0.57 near the root.

Four cobweb diagrams with g-prime at the root 0.358 (staircase in), -0.215 (cobweb in), 2.795 (staircase out) and -1.217 (cobweb out). The iteration converges when |g-prime| < 1.
Where the curve y = g(x) meets y = x is the root; the path converges when the curve is flatter than the line there.

How iteration can fail

When |g′(x)| > 1 near the root, the iterates move away from it. Try the other rearrangement of example 2, x = (x³ − 2)/4, with x₀ = 2:

x₁ = 1.5,  x₂ = 0.34375,  x₃ = −0.48985,  x₄ = −0.52938,  x₅ = −0.53709

Near 2.214, g′(x) = 3x²/4 ≈ 3.7, so the sequence leaves that root. It settles on a different root, −0.539. The same equation can give a useful or a useless iteration depending on the rearrangement. Check your answer against the root you were asked for.

I2: Newton-Raphson

Newton-Raphson follows the tangent at x_n down to the x-axis and uses that crossing as the next approximation:

x_(n+1) = x_n − f(x_n) / f′(x_n)

It needs f′, so you must differentiate first (see Section G: Differentiation).

Worked example 3

Use Newton-Raphson with x₁ = 2 to find a root of ln x + x − 3 = 0 to 4 decimal places.

f(x)  = ln x + x − 3
f′(x) = 1/x + 1

f(2)  = ln 2 − 1 = −0.30685
f′(2) = 1.5
x₂ = 2 − (−0.30685)/1.5 = 2.204569
x₃ = 2.207939
x₄ = 2.207940

x₃ and x₄ agree to 4 d.p., so the root is 2.2079 (4 d.p.). A change of sign check on f(2.20785) and f(2.20795) would confirm it.

How Newton-Raphson can fail

  • f′(x_n) = 0. The tangent is horizontal and never meets the x-axis, so the formula divides by zero. For f(x) = x³ − 3x + 1, f′(1) = 0, so x₁ = 1 cannot be used.
  • Starting near a turning point. f′ is small, so the step f/f′ is huge. For the same f, x₁ = 0.9 gives f(0.9) = −0.971 and f′(0.9) = −0.57, so x₂ = 0.9 − 1.7035 = −0.8035. The sequence then runs to the root 1.532, not the nearer root 0.347.
  • Poor starting value or discontinuity. The iterates may jump to another root, cycle, or diverge.
On y = x^3+2x-9 the tangent at x1 = 1.5 meets the axis at x2 = 1.8, the tangent there meets it at x3 = 1.7631, and x4 = 1.7625.
Each step replaces the curve by its tangent and moves to where the tangent meets the x-axis.
On y = x^3-12x+7 a start at x=2 has a flat tangent, x=2.1 throws the next value to 9.37, and x=3 converges to 3.1240.
Starting at or near a stationary point sends Newton-Raphson away from the root you want.

I3: The trapezium rule

Split [a, b] into n strips of equal width h = (b − a)/n. Join the tops of the ordinates y₀, y₁, …, y_n with straight lines and add the trapezium areas:

∫ from a to b of y dx ≈ (h/2) [ y₀ + y_n + 2(y₁ + y₂ + ... + y_(n−1)) ]

There are n strips but n + 1 ordinates.

Worked example 4

Estimate ∫ from 0 to 1 of e^(x²) dx using 4 strips. Say whether it is an over- or underestimate, and find limits the integral must lie between.

h = 0.25.

x 0 0.25 0.5 0.75 1
y = e^(x²) 1 1.0645 1.2840 1.7551 2.7183
T = 0.125 × [1 + 2.7183 + 2(1.0645 + 1.2840 + 1.7551)]
  = 0.125 × 11.9255
  = 1.4907 (4 d.p.)

Over or under? f″(x) = (2 + 4x²)e^(x²) > 0, so the curve is convex (bends upwards). Each straight chord lies above the curve, so the trapezium rule gives an overestimate. For a concave curve (f″ < 0) it gives an underestimate.

Limits. f is increasing on [0, 1], so rectangles using the left-hand heights sit under the curve and rectangles using the right-hand heights sit over it:

Lower sum = 0.25 × (1 + 1.0645 + 1.2840 + 1.7551) = 1.2759
Upper sum = 0.25 × (1.0645 + 1.2840 + 1.7551 + 2.7183) = 1.7055

So 1.2759 < I < 1.7055. Because the trapezium value is an overestimate, the tighter statement is 1.2759 < I < 1.4907. (A calculator’s numerical integration gives 1.4627, which agrees.) More strips narrow the gap.

ln x on 1 to 3 with 4 strips gives 1.2821 against the exact 1.2958. A magnified first strip shows the chord below the curve, so the rule under-estimates a concave curve.
For a concave curve the chords lie below it so the trapezium rule under-estimates; for a convex curve it over-estimates.
Left-hand rectangles under the increasing curve ln x sum to 1.0075 and right-hand rectangles over it sum to 1.5568, so 1.0075 < I < 1.5568; the trapezium value 1.2821 is their mean.
For an increasing function left-hand rectangles give a lower bound and right-hand rectangles an upper bound.
y = 1/x on 1 to 3 with 2 strips: midpoint heights 0.667 and 0.4 give 1.0667, below ln 3 = 1.0986, because tangents at the midpoints lie below the convex curve.
Each mid-ordinate rectangle equals the trapezium under the tangent at the midpoint, so a convex curve is under-estimated.
A parabola through the ordinates 1, 1/2, 1/3 of 1/x gives Simpson 1.1111 for 2 strips, compared with mid-ordinate 1.0667 and exact 1.0986.
Simpson's rule integrates the parabola through three ordinates, weights 1, 4, 1, and needs an even number of strips.

I4: Numerical methods in context

A drug’s concentration is modelled by C = 12t e^(−0.4t) mg per litre, t hours after a dose. It is effective while C ≥ 8. Find when it stops being effective.

C peaks at t = 2.5 (C ≈ 11.04), so the second crossing of C = 8 is after that. Solve f(t) = 12t e^(−0.4t) − 8 = 0, which has no algebraic solution.

f′(t) = 12e^(−0.4t)(1 − 0.4t)
t₁ = 6:  f(6) = −1.46831,  f′(6) = −1.52406
t₂ = 6 − (−1.46831)/(−1.52406) = 5.0366
t₃ = 5.0740

Check to 2 d.p.: f(5.065) = 0.0146 > 0 and f(5.075) = −0.0017 < 0, so t = 5.07. The drug stops being effective about 5.07 hours (about 5 hours 4 minutes) after the dose.

Interpret the answer: the model ignores differences between patients, so a precision of seconds would be meaningless. State an answer to a sensible accuracy and note the model’s limits. The trapezium rule appears in context too, for example estimating distance from a table of velocity readings.

Common errors

  • Showing a change of sign but giving no conclusion, or not saying f is continuous.
  • Testing 2.21 and 2.22 to “show α = 2.21 to 2 d.p.”. Test 2.205 and 2.215.
  • Calculator in degrees for an equation involving sin or cos. Use radians.
  • Writing only the final iterate when the question asks for x₂, x₃ and x₄.
  • Using n + 1 as the number of strips, or the wrong h.
  • Calling a trapezium estimate an overestimate without a reason based on the curve’s shape.
  • Rounding iterates early, which drifts the final answer.

Frequently asked questions

Why are numerical methods needed in AQA A-level Maths? Many equations, such as e^(−x) = x or ln x + x = 3, cannot be solved with algebra. Numerical methods give a solution to a required level of accuracy instead, as overarching theme OT2.4 describes.

Does every rearrangement of an equation give a useful iteration? No. Different rearrangements of the same equation can behave differently: one may converge to the root you want, while another moves away from it or settles on a different root.

What calculator feature does AQA 7357 require? The specification says the calculator used in every 7357 paper must have an iterative function, so you can enter x₁ and repeat a formula using the Ans key.

How do you find the limits an integral must lie between? Use rectangle sums: for an increasing function, left-hand heights give a lower sum and right-hand heights give an upper sum. A trapezium estimate known to be an overestimate can replace the upper bound for a tighter interval.

How accurate should an answer from a numerical method be in context? Give a sensible accuracy for the situation and units, and note the model’s limits, rather than quoting every decimal place.

Official syllabus

AQA A-level Mathematics (7357) specification, version 1.3 (31 January 2018), for A-level exams June 2018 onwards, published by AQA. Section 3.10, I: Numerical methods.

Related resources

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.