Skip to topic
    ← Back to course topics

    Numerical methods — Edexcel A-Level Mathematics

    Test yourself on Numerical methods with PEARSON EDEXCEL A-Level practice questions.

    Start free

    7 days Premium · Then free forever · No card, no charge

    Numerical methods explained

    If a continuous function f takes values of opposite sign at two points a and b, then f(x) = 0 has at least one root between them.

    Read the full explanation

    To locate a root, evaluate f at successive x-values and look for a sign change, then narrow the interval by bisection until it is as small as required. The method relies on continuity and a genuine crossing: a sign change may also occur at a discontinuity, such as f(x) = 1/x near x = 0, where no root exists. An even number of roots in an interval can produce no sign change, and a repeated root touches the axis without crossing, so the test can miss roots.

    9.2 Solve equations approximately using simple iterative methods; be able to draw associated cobweb and staircase diagrams.

    An equation f(x) = 0 can be rearranged into the form x = g(x), and then iterated: choose a starting value x₀, compute x₁ = g(x₀), x₂ = g(x₁), and continue. If the sequence converges, its limit is a root of the original equation. Convergence depends on the gradient of g near the root: roughly, the iteration converges when |g′(x)| < 1 there and diverges when |g′(x)| > 1. A cobweb diagram plots the iteration against the line y = x, spiralling inwards for an oscillating convergence; a staircase diagram shows a monotonic approach, stepping in one direction towards the intersection.

    9.3 Solve equations using the Newton-Raphson method and other recurrence relations of the form xₙ₊₁ = g(xₙ). Understand how such methods can fail.

    Newton-Raphson uses the tangent to the curve: from an estimate xₙ, the next value is xₙ₊₁ = xₙ − f(xₙ)/f′(xₙ). Repeated application usually converges quickly to a root of f(x) = 0 when the starting value is close enough and f′(xₙ) is not zero. Other recurrence relations xₙ₊₁ = g(xₙ) work similarly, converging when the iteration is stable near the root. Failures include a starting value near a stationary point, where f′(xₙ) is zero or tiny and the next value is undefined or shoots far away; a cycle that never settles; and divergence away from the root.

    9.4 Understand and use numerical integration of functions, including the use of the trapezium rule and estimating the approximate area under a curve and limits that it must lie between.

    Numerical integration estimates a definite integral when an antiderivative is unavailable or inconvenient. The trapezium rule replaces the area under y = f(x) between x = a and x = b with n strips of equal width h = (b − a) ÷ n. Each strip is a trapezium, so the total is h/2 × [y₀ + yₙ + 2(y₁ + y₂ + … + yₙ₋₁)]. For example, with h = 0.5, y₀ = 1, y₁ = 2, y₂ = 5, the estimate is 0.5/2 × [1 + 5 + 2(2)] = 2.5. A curve that is concave up lies below its chords, so the rule overestimates; concave down gives an underestimate. The true area therefore lies between the trapezium estimate and a bound obtained by considering the curve's curvature, and increasing n generally tightens that interval.

    9.5 Use numerical methods to solve problems in context.

    Numerical methods solve equations and estimate quantities when exact algebra is impractical. In context, you translate a real situation into a mathematical model, choose a suitable method such as sign-change location, iteration, Newton–Raphson or the trapezium rule, and interpret the output with correct units. For example, a population model P(t) = 200e^(0.3t) − 50t may require solving P(t) = 500; evaluating P at successive integer t values to locate a sign change gives an interval containing the root, and further iteration refines it. You must justify convergence, state accuracy to the required degree, and relate the numerical answer back to the original problem, checking that it is physically sensible.

    Your focus

    1. Use sign changes of f(x) to show that a root lies in a given interval.
    2. Apply repeated bisection to approximate a root to a stated accuracy.
    3. Explain circumstances in which a change of sign does not indicate a root or misses one.
    Show all 15 objectives
    1. Rearrange an equation into iterative form and use it to approximate a root.
    2. Distinguish convergent from divergent iterations using the behaviour of g near the root.
    3. Sketch cobweb and staircase diagrams that represent the iteration accurately.
    4. Use the Newton-Raphson formula to approximate a root of an equation.
    5. Apply other recurrence relations to generate successive approximations of a root.
    6. Explain how Newton-Raphson and similar methods can fail and how to respond.
    7. Apply the trapezium rule with a stated number of strips or ordinates to estimate a definite integral.
    8. Explain why the trapezium rule gives an approximation and identify whether it overestimates or underestimates for a given curve.
    9. State limits between which the true area under a curve must lie and justify them using the estimate and curvature.
    10. Select and apply a numerical method to solve a contextual equation or estimate to a required accuracy.
    11. Demonstrate convergence or a sign change and refine a solution to a stated tolerance.
    12. Interpret a numerical result in context, with correct units and a judgement about its reasonableness.

    Numerical methods exam tips

    Quick Revision Summary (Key Takeaway)

    Numerical methods in Pearson Edexcel A-Level Mathematics provide iterative algebraic and geometric techniques to find approximations for roots of non-linear equations and values of definite integrals. Mastering these methods requires applying change of sign, the Newton-Raphson process, fixed-point iteration, and the trapezium rule while understanding their analytical limitations.

    Topic Overview

    Numerical methods provide practical, algorithmic alternatives for solving equations and calculating definite integrals when analytical methods like direct algebraic factorisation or standard symbolic integration cannot be used. In the Edexcel A-Level specification, students examine root-finding through sign-change checks, simple iterative recurrences x_{n+1} = g(x_n), and the Newton-Raphson method, alongside numerical integration using the trapezium rule.

    This topic builds a bridge between pure calculus and computational mathematics, demanding both theoretical understanding of curves and disciplined execution of multi-step arithmetic. Students must not only calculate approximations accurately using calculators, but also evaluate convergence, interpret cobweb or staircase diagrams, and identify structural cases where numerical algorithms break down.

    Key Concepts
    • →Locating roots via sign changes: If f(x) is continuous on [a, b] and f(a) and f(b) have opposite signs, there is at least one root in (a, b).
    • →Fixed-point iteration x_{n+1} = g(x_n): Rearranging f(x) = 0 into x = g(x) to generate sequences that converge to a root alpha, geometrically visualised as staircase or cobweb diagrams depending on the gradient g'(alpha).
    • →The Newton-Raphson method: Using tangents to iteratively converge on a root via x_{n+1} = x_n - f(x_n)/f'(x_n), which fails if f'(x_n) = 0 or if the sequence diverges.
    • →Trapezium rule approximations: Estimating definite integrals by summing linear strip areas, where whether the rule gives an under- or overestimate depends strictly on curve concavity (f''(x) > 0 or f''(x) < 0).
    Marking Points
    • Evaluate f at the endpoints of an interval and compare signs to detect a possible root.
    • State that a sign change plus continuity guarantees at least one root in the interval.
    • Narrow the interval by repeated bisection, evaluating the midpoint and keeping the half with the sign change.
    • Recognise failure cases: discontinuities, an even number of roots, and repeated roots that touch without crossing.
    • Report the root to a required accuracy by continuing until the interval width is small enough.
    • Rearrange f(x) = 0 into an iterative form x = g(x) and choose a suitable starting value.
    • Carry out the iteration accurately, recording successive values to the required precision.
    • Recognise convergence or divergence of the sequence and relate it to the gradient of g near the root.
    • Draw a cobweb diagram for oscillating convergence and a staircase diagram for monotonic convergence, using the line y = x.
    • Interpret the intersection of y = g(x) and y = x as the root being approximated.
    • Apply the Newton-Raphson formula xₙ₊₁ = xₙ − f(xₙ)/f′(xₙ) with correct differentiation and substitution.
    • Use other recurrence relations of the form xₙ₊₁ = g(xₙ) to generate successive approximations.
    • Continue iterating until successive values agree to the required accuracy and state the root.
    • Explain failure: division by a zero or near-zero derivative, oscillation between values, or divergence from the root.
    • Choose a starting value sensibly, using a sign change or a sketch to justify it.
    • States the trapezium rule correctly as h/2 × [y₀ + yₙ + 2(y₁ + y₂ + … + yₙ₋₁)] with h = (b − a) ÷ n and uses it to estimate a definite integral.
    • Computes strip width h accurately from the limits and number of strips, then tabulates ordinates y₀ to yₙ at x = a, a + h, …, b, showing sufficient working.
    • Explains that the estimate is approximate because straight chords replace the curve, and links the direction of error to whether the curve is concave up or concave down over the interval.
    • Determines limits between which the true area must lie, for example by comparing the trapezium estimate with an inscribed or circumscribed bound, and interprets the result in context.
    • Uses increased n or decreased h to improve the estimate and comments on convergence towards the true area, recognising that the rule is exact for linear functions.
    • Formulates a contextual problem as an equation, function or integral and selects an appropriate numerical method for the required accuracy.
    • Uses sign changes, iteration or Newton–Raphson correctly, showing successive values and demonstrating that the sequence converges to the required root.
    • Carries out the trapezium rule or other numerical integration in context, choosing a sensible strip width and interpreting the result with correct units.
    • Interprets the numerical solution in the original context, states the accuracy achieved and comments on whether the answer is reasonable.
    Examiner Tips
    • 💡Show the values f(a) and f(b) with their signs explicitly, then state the conclusion about the root.
    • 💡When asked why a method fails, name the specific cause, such as a discontinuity or a repeated root, rather than saying the method is inaccurate.
    • 💡Keep a clear table of interval endpoints, midpoints and signs so the bisection sequence is easy to follow.
    • 💡Show at least the first few iterations with full working so the method is visible, then state the converged value.
    • 💡When sketching, mark the starting value, the first vertical step to the curve, and the horizontal step to y = x.
    • 💡If the iteration diverges, say so and suggest a different rearrangement or starting value rather than forcing a root.
    • 💡Write the formula, then show each substitution so the examiner can follow the arithmetic.
    • 💡Give values to the accuracy requested and state clearly when successive values agree.
    • 💡When explaining failure, refer to the specific feature, such as a stationary point or a cycle, rather than saying the method does not work.
    • 💡Write down h, the ordinate values and the bracket sum separately before evaluating, so arithmetic slips are easy to spot and method is visible.
    • 💡When asked for limits, give a lower and an upper value with a brief justification based on curvature rather than quoting the estimate alone.
    • 💡Check whether the question specifies the number of ordinates or strips; if ordinates are given, n is one less than the number of ordinates.
    • 💡Show each iteration or evaluation to the required number of decimal places so the examiner can follow the convergence.
    • 💡State the interval or tolerance explicitly when locating a root, for example that the root lies between two consecutive values.
    • 💡Finish with a sentence interpreting the result in the context of the question, including units and any sensible rounding.
    • 💡Always store unrounded intermediate values using the calculator 'Ans' function or memory stores (A, B, C) to ensure that final answers remain accurate to the requested degree of precision.
    • 💡For 'show that the root is alpha = k correct to n decimal places', always evaluate f(x) at the lower bound k - 0.5 * 10^(-n) and the upper bound k + 0.5 * 10^(-n) before writing your final conclusion.
    • 💡When explaining why an iteration diverges or fails, explicitly reference the gradient condition |g'(alpha)| > 1 or identify stationary points where f'(x) = 0.
    Common Mistakes
    • Assuming every sign change proves a root; the correction is to check continuity on the interval, since a vertical asymptote can also change sign.
    • Concluding there is no root when f(a) and f(b) have the same sign; the correction is to remember that an even number of roots can lie between them.
    • Stopping after one sign change without narrowing the interval; the correction is to bisect repeatedly until the required accuracy is reached.
    • Using too few iterations and quoting an unconverged value; the correction is to continue until successive values agree to the required accuracy.
    • Drawing the diagram without the line y = x; the correction is to include it, since the cobweb or staircase is constructed by reflecting between the curve and that line.
    • Assuming any rearrangement converges; the correction is to check the gradient of g near the root, as a steep gradient can cause divergence.
    • Differentiating incorrectly or substituting into the wrong part of the formula; the correction is to write f(x) and f′(x) separately before substituting.
    • Rounding intermediate values too heavily, which can prevent convergence; the correction is to keep full calculator precision until the final answer.
    • Ignoring a zero derivative at the estimate; the correction is to recognise that the method fails there and choose a different starting value.
    • Doubling the first and last ordinates instead of only the interior ordinates; correct this by applying the factor 2 solely to y₁ through yₙ₋₁.
    • Using h = b − a rather than h = (b − a) ÷ n; correct this by dividing the interval width by the number of strips before substituting.
    • Assuming the trapezium rule always underestimates; correct this by checking concavity, since concave-up curves give overestimates and concave-down curves give underestimates.
    • Stopping at the first sign change without refining to the required accuracy; correct this by continuing the iteration or narrowing the interval until the specified tolerance is met.
    • Using an iteration that diverges because the starting value is unsuitable; correct this by choosing a start near the root or checking that successive values approach a limit.
    • Giving a numerical answer without units or contextual meaning; correct this by restating what the number represents, such as time in years or cost in pounds.
    • Assuming a change of sign guarantees an odd number of roots without verifying that f(x) is continuous (e.g., vertical asymptotes in y = 1/x can produce sign changes without roots).
    • Believing that an overestimate in the trapezium rule occurs because the function is increasing; over- or under-estimation depends solely on whether the curve is convex (bending upward) or concave (bending downward).
    • Clearing the calculator memory between iterations rather than using the 'Ans' button, introducing catastrophic compound rounding errors into successive approximations.
    Revision Plan
    1. 1Day 1-2: Master sign-change interval testing, ensuring complete written conclusions with explicit references to continuity and boundary inequalities.
    2. 2Day 3-4: Practice rearranging f(x) = 0 into various x = g(x) forms, generating iterations, and sketching corresponding cobweb and staircase diagrams.
    3. 3Day 5-6: Practise the Newton-Raphson method, focusing on accurate differentiation, efficient calculator usage with the Ans key, and articulating the exact geometric causes of failure.
    4. 4Day 7-8: Revise the trapezium rule, write structured tables for ordinates, and master justifying over- and under-estimates using sketches of secants versus convex/concave curves.
    Exam Question Types
    • 📋Root location and verification: Evaluating f(x) at interval endpoints to prove a root exists to a specified degree of accuracy, requiring formal concluding sentences.
    • 📋Iteration and diagram generation: Rearranging equations into x = g(x), calculating terms x_1, x_2, x_3, and drawing staircase or cobweb paths showing convergence or divergence.
    • 📋Newton-Raphson calculations: Differentiating a given function, setting up the recurrence formula, calculating successive approximations, and evaluating failure conditions.
    • 📋Trapezium rule and estimation commentary: Applying the numerical integration formula with equal strips and determining whether the result is an over- or under-estimate.
    Command Word Expectations (PEARSON EDEXCEL)
    Show that

    Requires a complete, unbroken algebraic or numerical argument where every step is clearly shown, including boundary evaluations and verbal conclusions for sign changes.

    Hence

    You must use the result or expression found in the immediately preceding part of the question to complete the next step.

    Explain

    Provide clear geometric or mathematical reasoning with appropriate terminology (e.g., 'f'(x) = 0 so the tangent does not intersect the x-axis', or 'curve is convex so trapezia lie above the curve').

    How Students Lose Marks (Examiner Pitfalls)
    Pitfall: Omitting the explicit statement of continuity and failing to state the exact interval when confirming a root to a given degree of accuracy using change of sign.
    ❌ Weak Answer (Loses Marks):f(1.445) is negative and f(1.455) is positive so the root is 1.45.
    Example improved answer:f(1.445) = -0.0124... < 0 and f(1.455) = 0.0211... > 0. There is a change of sign and f(x) is continuous in the interval [1.445, 1.455], therefore alpha = 1.45 to 2 decimal places.
    Examiner Tip: Always write down the values of f(x) evaluated at the upper and lower bounds of the rounding interval, state 'change of sign', reference that 'f(x) is continuous', and state the concluding interval.
    Pitfall: Vague explanations for why the Newton-Raphson method fails for a chosen starting point.
    ❌ Weak Answer (Loses Marks):It fails because the gradient is zero and you cannot divide by zero.
    Example improved answer:The derivative f'(x_0) = 0 at the turning point, meaning the tangent is horizontal (parallel to the x-axis) and never intersects the x-axis to produce the next iteration x_1.
    Examiner Tip: Link the algebraic failure (division by zero in x_{n+1} = x_n - f(x_n)/f'(x_n)) directly to the geometric interpretation: the tangent to the curve is horizontal and does not meet the x-axis.
    Step-by-Step Worked Solutions

    Question: The equation f(x) = 0, where f(x) = 2x^3 - 9x^2 + 12x - 5, has a root alpha in the interval [2.1, 2.5]. Taking x_0 = 2.4 as a first approximation to alpha, apply the Newton-Raphson procedure once to obtain a second approximation x_1, giving your answer to 3 decimal places.

    1. 1.Step 1: Differentiate f(x) with respect to x to find f'(x). f'(x) = 6x^2 - 18x + 12.
    2. 2.Step 2: Evaluate f(x_0) and f'(x_0) at x_0 = 2.4. f(2.4) = 2(2.4)^3 - 9(2.4)^2 + 12(2.4) - 5 = 2(13.824) - 9(5.76) + 28.8 - 5 = 27.648 - 51.84 + 28.8 - 5 = -0.392. f'(2.4) = 6(2.4)^2 - 18(2.4) + 12 = 6(5.76) - 43.2 + 12 = 34.56 - 43.2 + 12 = 3.36.
    3. 3.Step 3: Substitute the calculated values into the Newton-Raphson formula: x_1 = x_0 - f(x_0)/f'(x_0). x_1 = 2.4 - (-0.392 / 3.36) = 2.4 + 0.116666... = 2.516666...
    4. 4.Step 4: Round the resulting value to the required precision of 3 decimal places.
    Final Answer: x_1 = 2.517 (to 3 d.p.)

    Question: Figure 1 shows a sketch of part of the curve with equation y = ln(x^2 + 2). Use the trapezium rule with 4 intervals (5 ordinates) of equal width to find an approximate value for the integral of ln(x^2 + 2) dx between x = 1 and x = 3, giving your answer to 3 decimal places.

    1. 1.Step 1: Determine the step size h using h = (b - a)/n with a = 1, b = 3, and n = 4 strips. h = (3 - 1)/4 = 0.5.
    2. 2.Step 2: Calculate the x-ordinates: x_0 = 1.0, x_1 = 1.5, x_2 = 2.0, x_3 = 2.5, x_4 = 3.0.
    3. 3.Step 3: Evaluate the corresponding y-values: y_0 = ln(1^2 + 2) = ln(3) = 1.09861; y_1 = ln(1.5^2 + 2) = ln(4.25) = 1.44692; y_2 = ln(2^2 + 2) = ln(6) = 1.79176; y_3 = ln(2.5^2 + 2) = ln(8.25) = 2.11021; y_4 = ln(3^2 + 2) = ln(11) = 2.39790.
    4. 4.Step 4: Apply the trapezium rule formula: Area approx = 0.5 * h * [y_0 + y_4 + 2(y_1 + y_2 + y_3)]. Area approx = 0.5 * 0.5 * [1.09861 + 2.39790 + 2(1.44692 + 1.79176 + 2.11021)] = 0.25 * [3.49651 + 2(5.34889)] = 0.25 * [3.49651 + 10.69778] = 0.25 * 14.19429 = 3.54857...
    5. 5.Step 5: Round the final value to 3 decimal places.
    Final Answer: 3.549 (to 3 d.p.)
    Active Recall Memory Test
    What two conditions must be stated in a conclusion to prove that a root exists in an interval [a, b] using the sign-change method?
    Key Fact: There must be a change of sign between f(a) and f(b), and f(x) must be continuous on the closed interval [a, b].
    What is the general formula for the Newton-Raphson method?
    Key Fact: x_{n+1} = x_n - f(x_n) / f'(x_n).
    Under what condition does the trapezium rule produce an overestimate of the true area under a curve?
    Key Fact: When the curve is convex (concave up, f''(x) > 0) over the interval, because the straight chord chords of each trapezium lie above the curve.
    What geometric pattern is formed on an iteration diagram when the gradient g'(alpha) at the root is negative and between -1 and 0?
    Key Fact: A convergent cobweb diagram.
    Frequently Asked Questions
    Why does a change of sign sometimes fail to find a root?
    A change of sign can fail if the function is discontinuous within the interval, such as across a vertical asymptote where values flip signs without crossing zero. It can also fail if the curve touches the axis at a turning point (a root of even multiplicity) without crossing it, meaning f(x) never changes sign despite a root being present. Lastly, if the chosen interval is too wide, an even number of roots could exist within it, causing the signs at the endpoints to remain identical.
    How do I choose the bounds when verifying a root to a specific number of decimal places?
    To verify that a root alpha equals a given number k to n decimal places, find the lower and upper bounds of the rounding range. Calculate the half-unit value of the next decimal place (0.5 * 10^(-n)), subtract it from k for the lower bound, and add it to k for the upper bound. For example, to verify alpha = 2.34 to 2 decimal places, evaluate f(2.335) and f(2.345) to demonstrate a sign change across that precise interval.
    When does the Newton-Raphson iteration fail to converge?
    The Newton-Raphson method fails if an iterate lands on a stationary point where f'(x_n) = 0, causing division by zero and producing a tangent line parallel to the x-axis. It can also fail if the sequence oscillates indefinitely between two or more values, or if the starting value x_0 leads the iterations to diverge away from the target root toward infinity or toward an entirely different root.
    What is the difference between a staircase diagram and a cobweb diagram?
    Both diagrams geometrically trace iterations of x_{n+1} = g(x_n) using the curves y = g(x) and y = x. A staircase diagram occurs when the gradient of g(x) near the root is positive (0 < g'(alpha) < 1), causing the iterations to approach the intersection monotonically from one side. A cobweb diagram occurs when the gradient is negative (-1 < g'(alpha) < 0), causing successive approximations to alternate above and below the root in an inward-spiralling square path.
    Can I use degrees instead of radians in numerical methods questions?
    No. In A-Level Mathematics, whenever calculus is involved—such as differentiating trigonometric functions for the Newton-Raphson method or integrating using the trapezium rule—your calculator must be set to radians. Using degrees invalidates standard differentiation rules (like d/dx[sin(x)] = cos(x)), resulting in incorrect numerical evaluations and losing all accuracy marks.