Numerical methods
Numerical methods produce controlled approximations when an exact answer is unavailable, unnecessary or too difficult to obtain. At A-level, you use them to:
- locate and approximate roots of equations;
- understand when an iterative process converges or fails;
- approximate a definite integral using the trapezium rule.
An approximation is not a guess. A complete numerical solution identifies the method, shows enough working, controls rounding and justifies the stated accuracy.
Prerequisites
Section titled “Prerequisites”You should be able to:
- evaluate functions and rearrange equations;
- interpret graphs, roots and intersections;
- differentiate standard functions;
- evaluate definite integrals;
- round to decimal places and significant figures.
Review functions, function graphs, differentiation basics or definite integrals and areas if any of these are uncertain.
The central principle: approximation with evidence
Section titled “The central principle: approximation with evidence”Suppose the equation
has no convenient exact solution. Define
There are several different questions you might ask.
- Does a root exist in a given interval? Use continuity and a change of sign.
- What is the root approximately? Use bisection, fixed point iteration or Newton Raphson iteration.
- Will the chosen iteration work? Examine the iteration function, its derivative and the starting value.
- How accurate is the result? Give a bracket, test rounding boundaries or apply an appropriate stopping criterion.
These questions are related, but they are not interchangeable. A calculator display such as does not by itself prove that a root exists, that it is unique or that the displayed digits are correct.
Locating a root by a change of sign
Section titled “Locating a root by a change of sign”If is continuous on and
then and have opposite signs. The graph must cross the -axis at least once, so there is a root in .
Worked example: establish a bracket
Section titled “Worked example: establish a bracket”Show that has a root between and .
The function is a polynomial, so it is continuous. Also,
and
Thus
By continuity, at least one root lies in .
Notice the careful conclusion: a sign change proves at least one root, not exactly one. Here,
so is strictly increasing and the root is unique. Learn how to halve a bracket repeatedly in locating roots using a change of sign.
Fixed point iteration
Section titled “Fixed point iteration”Rearrange an equation into the form
choose , then generate
If converges to a limit and is continuous there, then
so is a fixed point and hence a solution of the rearranged equation.
Worked example: carry out an iteration
Section titled “Worked example: carry out an iteration”Use
to find three further approximations to the root of .
Substitute each value into the formula and retain full calculator precision:
The values alternate around the root. That is expected because . Near a fixed point , errors approximately obey
Thus usually makes nearby errors shrink, while usually makes them grow. The rearrangement matters: algebraically equivalent formulae can have completely different numerical behaviour. Study fixed point iteration before when numerical iteration fails.
Newton Raphson iteration
Section titled “Newton Raphson iteration”Newton Raphson uses the tangent to at . The tangent meets the -axis at the next approximation:
It is often much faster than bisection or simple fixed point iteration when the starting value is suitable and is not close to zero.
Worked example: one Newton Raphson step
Section titled “Worked example: one Newton Raphson step”For , take . Since
the next approximation is
A second step gives , already close to the root. Fast convergence is not a guarantee: a poor starting value, a nearly horizontal tangent or a complicated graph can send the sequence away from the intended root. Continue with the Newton Raphson method.
Proving accuracy
Section titled “Proving accuracy”Do not confuse successive approximations agreeing with a proof of accuracy. A robust way to prove a rounded root is to test its rounding boundaries.
To show that a root is correct to three decimal places, test
For ,
The continuous function changes sign between the rounding boundaries, so the unique root lies in and therefore rounds to
to three decimal places.
The trapezium rule
Section titled “The trapezium rule”Numerical methods also approximate integrals. Divide into equal strips of width
If , the trapezium rule is
The end ordinates occur once and every interior ordinate occurs twice.
Worked example: approximate an integral
Section titled “Worked example: approximate an integral”Use four strips to approximate
Here , , , so
The ordinates are:
Therefore
The exact antiderivative is not an elementary A-level function, but the numerical rule still gives a useful estimate. Smaller strip widths usually improve the approximation. Whether the rule overestimates or underestimates depends on the curve’s concavity. Study the trapezium rule for unequal data presentation, error interpretation and exam technique.
Choosing a method
Section titled “Choosing a method”| Task | Natural method | Main strength | Main caution |
|---|---|---|---|
| Prove a continuous function has a root in an interval | Change of sign | Reliable existence test | Does not prove uniqueness |
| Narrow a known sign changing bracket | Bisection | Guaranteed to retain a bracket | Converges relatively slowly |
| Generate roots from | Fixed point iteration | Simple and often calculator friendly | Choice of rearrangement controls convergence |
| Find a root rapidly using and | Newton Raphson | Usually fast near a simple root | Can fail or approach another root |
| Approximate a definite integral | Trapezium rule | Works from tabulated values | It is an approximation, not exact integration |
Common misconceptions
Section titled “Common misconceptions”- “Opposite signs mean exactly one root.” They prove at least one root, assuming continuity.
- “No sign change means no root.” A graph can touch the axis and turn around, as does at .
- “Every rearrangement converges.” The condition identifies fixed points, but does not ensure iteration reaches one.
- “Matching decimal displays prove accuracy.” Agreement can be misleading, especially for slowly converging or cyclic sequences.
- “Newton Raphson always finds the nearest root.” Its tangent steps depend on the shape of the whole graph and the initial value.
- “The trapezium rule formula uses every ordinate twice.” Only interior ordinates have coefficient .
- “Round at every step.” Keep full precision during calculations and round only the final answer unless instructed otherwise.
Diagnostic self-check
Section titled “Diagnostic self-check”1. Interpret a sign change
Section titled “1. Interpret a sign change”A continuous function satisfies and . What can you conclude?
Answer
There is at least one root in . You cannot conclude that there is exactly one without further information, such as strict monotonicity.
2. Generate an iterate
Section titled “2. Generate an iterate”Given
find and to four decimal places.
Answer
then, using the unrounded value,
3. Diagnose convergence
Section titled “3. Diagnose convergence”An iteration has a fixed point with . What local behaviour do you expect?
Answer
Since , nearby values should converge. The negative sign means successive errors tend to have opposite signs, so the approximations alternate across the fixed point.
4. Set up a trapezium rule calculation
Section titled “4. Set up a trapezium rule calculation”Five equally spaced ordinates cover the interval . Find and , and state the coefficient pattern.
Answer
Five ordinates define four strips, so
The coefficients are
Recommended learning pathway
Section titled “Recommended learning pathway”- Start with locating roots using a change of sign to understand continuity, brackets and justified rounding.
- Learn fixed point iteration and connect algebraic rearrangements with graphical fixed points.
- Study the Newton Raphson method for tangent based iteration and rapid root finding.
- Consolidate convergence, divergence, cycles and unsuitable starting values in when numerical iteration fails.
- Learn the trapezium rule after definite integration, since it approximates area and accumulation rather than solving equations.
For mixed questions, practise choosing a method and checking answers.