You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers Numerical Methods as required by the A-Level Mathematics Pure 1 specification. Numerical methods are techniques for finding approximate solutions to equations that cannot be solved algebraically. These methods are particularly useful for equations where no exact analytical solution exists.
If f(x) is a continuous function and f(a) and f(b) have opposite signs (i.e., f(a) × f(b) < 0), then there is at least one root of f(x) = 0 in the interval (a, b).
This is a consequence of the Intermediate Value Theorem.
Example: Show that f(x) = x³ − 3x − 1 has a root between x = 1 and x = 2.
f(1) = 1 − 3 − 1 = −3 (negative)
f(2) = 8 − 6 − 1 = 1 (positive)
Since f(1) < 0 and f(2) > 0, and f(x) is continuous, there is a root in the interval (1, 2) by the change of sign rule. ∎
Exam Tip: When using change of sign, you must: (1) evaluate f(x) at both endpoints, (2) state that one is positive and one is negative, and (3) conclude using "change of sign, therefore a root exists." You must also state (or it must be obvious) that the function is continuous.
The change of sign method can fail in certain situations:
| Situation | Problem |
|---|---|
| Even number of roots in the interval | Signs are the same at both endpoints |
| Root at the endpoint | f(a) = 0 or f(b) = 0 |
| Discontinuity in the interval | The function is not continuous |
| Interval too large | Multiple roots are missed |
To solve f(x) = 0, rearrange into the form x = g(x). Then use the iterative formula:
xₙ₊₁ = g(xₙ)
Starting from an initial estimate x₀, repeatedly substitute to generate x₁, x₂, x₃, ...
If the sequence converges, it approaches a root of f(x) = 0.
Example: Use the iteration xₙ₊₁ = (xₙ³ + 1)/3 with x₀ = 1 to find a root of 3x − x³ = 1.
x₀ = 1
x₁ = (1 + 1)/3 = 0.6667
x₂ = (0.2963 + 1)/3 = 0.4321
x₃ = (0.0807 + 1)/3 = 0.3602
x₄ = (0.0468 + 1)/3 = 0.3489
x₅ = (0.0425 + 1)/3 = 0.3475
The values are converging. The root is approximately x ≈ 0.347.
An iteration xₙ₊₁ = g(xₙ) will converge to a root if |g'(x)| < 1 near the root:
| Condition | Behaviour |
|---|---|
| g'(x) | |
| g'(x) |
If an iteration diverges, you need to rearrange f(x) = 0 into a different form x = g(x) and try again.
Iterative sequences can be illustrated graphically by plotting y = g(x) and y = x on the same axes:
The root is where these two curves intersect.
The Newton-Raphson method is a more sophisticated iterative technique:
xₙ₊₁ = xₙ − f(xₙ) / f'(xₙ)
This method uses the tangent to the curve at each iteration to find a better approximation to the root. It generally converges much faster than fixed-point iteration.
Example: Use Newton-Raphson to find a root of f(x) = x² − 3 starting from x₀ = 2.
f(x) = x² − 3, f'(x) = 2x
x₀ = 2
x₁ = 2 − (4 − 3)/(4) = 2 − 0.25 = 1.75
x₂ = 1.75 − (3.0625 − 3)/(3.5) = 1.75 − 0.01786 = 1.73214
x₃ = 1.73205 (converges rapidly to √3)
The method can fail if:
When an integral cannot be evaluated analytically, the trapezium rule provides an approximation:
∫(from a to b) f(x) dx ≈ h/2 × [y₀ + yₙ + 2(y₁ + y₂ + ... + yₙ₋₁)]
where h = (b − a)/n is the strip width, and y₀, y₁, ..., yₙ are the function values at the equally spaced x-values.
Example: Use 4 strips to approximate ∫₀² √(1 + x²) dx.
h = (2 − 0)/4 = 0.5
x: 0 0.5 1.0 1.5 2.0
y: 1 1.1180 1.4142 1.8028 2.2361
Area ≈ 0.5/2 × [1 + 2.2361 + 2(1.1180 + 1.4142 + 1.8028)]
= 0.25 × [3.2361 + 2(4.3350)]
= 0.25 × [3.2361 + 8.6700]
= 0.25 × 11.9061
≈ 2.977
Exam Tip: When using iterative methods, show all iterations clearly with at least 4 decimal places. When using the trapezium rule, set up a clear table of x and y values. State the strip width h explicitly. Always give your final answer to the required degree of accuracy, and where possible, comment on whether your approximation is an overestimate or underestimate.
AQA 7357 specification, Paper 1 — Pure Mathematics, Section L: Numerical methods. This section covers the location of roots of f(x)=0 by considering changes of sign, the use of iteration of the form xn+1=g(xn) to find approximations to roots, and the trapezium rule for numerical integration. (The Newton–Raphson method formally sits in Pure 2 / Section M for AQA 7357 and is examined in Paper 2.) Numerical methods is intrinsically synoptic: every question reaches into Section H (integration) via the trapezium rule, into Section J (differentiation) for analysing convergence, and into Section D (functions / graphs) for sketching cobweb diagrams. The AQA formula booklet provides the trapezium rule statement; the iteration formula xn+1=g(xn) is given case-by-case within each question.
Question (8 marks):
(a) Show that the equation x3−4x+1=0 has a root α in the interval [1,2]. (2)
(b) Show that this equation can be rearranged into the form x=34x−1, and use the iteration xn+1=34xn−1 with x0=2 to find x1, x2, x3 to four decimal places. (4)
(c) State, with justification, the value of α to two decimal places. (2)
Solution with mark scheme:
(a) Step 1 — evaluate at the endpoints.
Let f(x)=x3−4x+1. Then f(1)=1−4+1=−2 and f(2)=8−8+1=1.
M1 — evaluating f at both endpoints. A common slip is computing only one value and asserting "sign change" without showing both.
A1 — f(1)<0 and f(2)>0, with the conclusion stated explicitly: "since f is a polynomial it is continuous on [1,2], and f(1) and f(2) have opposite signs, so by the change-of-sign criterion there exists α∈(1,2) with f(α)=0." The continuity statement is essential — without it the sign-change argument is incomplete.
(b) Step 1 — derive the rearrangement.
x3−4x+1=0⟹x3=4x−1⟹x=34x−1.
B1 — correct rearrangement, shown algebraically.
Step 2 — iterate.
Using x0=2:
x1=34(2)−1=37=1.9129... x2=34(1.9129)−1=36.6516=1.8806... x3=34(1.8806)−1=36.5224=1.8684...
M1 — substituting x0 correctly into the iteration formula. A1 — x1=1.9129, x2=1.8806, x3=1.8684 all to 4 d.p. A1 — at least three iterates correct (allow recoverable rounding throughout).
(c) Continuing the iteration: x4≈1.8638, x5≈1.8620, x6≈1.8614. The iterates appear to converge to about 1.86.
M1 — taking enough further iterates (or by sign-change refinement on [1.855,1.865]) to justify two-decimal-place accuracy. To confirm, evaluate f(1.855)≈−0.0397 and f(1.865)≈0.0507 — opposite signs, so α∈(1.855,1.865) and hence α=1.86 to 2 d.p.
A1 — α=1.86 (2 d.p.) with the sign-change confirmation explicitly written.
Total: 8 marks (M3 A4 B1).
Question (6 marks): The curve y=ln(1+x2) is to be integrated numerically over [0,2].
(a) Use the trapezium rule with four strips (five ordinates) to estimate ∫02ln(1+x2)dx, giving your answer to three decimal places. (4)
(b) State, with a reason referring to the concavity of the integrand, whether the trapezium-rule estimate is an over-estimate or an under-estimate of the true value of the integral. (2)
Mark scheme decomposition by AO:
(a)
(b)
Total: 6 marks split AO1 = 4, AO2 = 2. Part (a) is procedural; part (b) tests genuine reasoning about geometry of the trapezium error.
Section H — Integration: the trapezium rule is an explicit numerical alternative to the antiderivative method. When ∫e−x2dx has no elementary closed form, trapezium estimates are how A-Level students access the integral. The link runs both ways: numerical estimates can be checked against an antiderivative when one exists, building confidence in the algorithm.
Section J — Differentiation: convergence of fixed-point iteration xn+1=g(xn) near a root α is governed by ∣g′(α)∣<1. This is a direct application of the chain rule and the mean-value theorem — the iteration shrinks errors by a factor of approximately ∣g′(α)∣ each step.
Section D — Graphs and functions: cobweb (and staircase) diagrams sketched on the lines y=x and y=g(x) are visual proofs of convergence or divergence. Drawing them requires fluent transformation between Cartesian curves — pure Section D content.
Section F — Sequences and series: the iterates x0,x1,x2,… form a recursively defined sequence. The language of "monotonic", "bounded", "convergent" from Section F applies directly, and the formal idea of a limit is the fixed point.
Section M — Newton–Raphson (Pure 2): Newton–Raphson is fixed-point iteration with the specific choice g(x)=x−f(x)/f′(x). The ∣g′(α)∣<1 convergence criterion specialises (since g′(α)=0 when f(α)=0, f′(α)=0) to give the famous quadratic convergence of Newton's method.
Numerical-methods questions on AQA 7357 split AO marks roughly as follows:
| AO | Typical share | Earned by |
|---|---|---|
| AO1 (knowledge / procedure) | 55–65% | Computing function values, applying the trapezium rule formula, performing iteration steps, recording iterates to specified accuracy |
| AO2 (reasoning / interpretation) | 25–35% | Justifying the change-of-sign argument with a continuity statement, reasoning about over- versus under-estimates from concavity, justifying convergence to a stated number of decimal places |
| AO3 (problem-solving) | 5–15% | Selecting an appropriate rearrangement x=g(x), choosing a sensible x0, deciding when the iteration has been carried far enough |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.