All articles
Mathematics
calculus-integration

Mastering the Trapezium Rule for A-Level Maths

Learn how to use the trapezium rule to estimate definite integrals when analytical methods fail. This guide covers the formula, step-by-step examples, and common pitfalls.

Math Instructor AI 22 September 2026 8 min read

Mastering the Trapezium Rule for A-Level Maths

In your A-Level maths journey, you have likely mastered the fundamental theorem of calculus, allowing you to integrate functions like $x^n$ or $\sin(x)$ with ease. However, in the real world and in advanced mathematics, many functions cannot be integrated using standard analytical techniques. When you encounter an integral that defies symbolic integration, you need a numerical approach.

The trapezium rule is a powerful tool for numerical integration. It allows you to estimate the area under a curve by dividing the region into a series of trapeziums. Understanding this method is essential for your exams, as it tests your ability to apply numerical methods to solve problems where exact solutions are inaccessible.

Understanding the Concept

The core idea behind the trapezium rule is to approximate the area under a curve $y = f(x)$ between two limits, $a$ and $b$, by replacing the curve with a series of straight-line segments. By connecting the points on the curve with straight lines, you create a set of trapeziums. The area of each individual trapezium is calculated using the formula $\text{Area} = \frac{h}{2}(y_i + y_{i+1})$, where $h$ is the width of the strip and $y_i, y_{i+1}$ are the heights at the boundaries.

By summing these areas, we arrive at the composite trapezium rule formula: $$\int_{a}^{b} f(x) dx \approx \frac{h}{2} \left[ (y_0 + y_n) + 2(y_1 + y_2 + \dots + y_{n-1}) \right]$$ Here, $h = \frac{b-a}{n}$, where $n$ is the number of strips. The term $(y_0 + y_n)$ represents the first and last ordinates, while the sum of the intermediate ordinates is multiplied by two.

Step-by-Step Worked Example 1

Let us estimate the integral $\int_{0}^{2} x^2 dx$ using 4 strips.

  1. Identify the parameters: $a=0, b=2, n=4$.
  2. Calculate strip width $h$: $h = \frac{2-0}{4} = 0.5$.
  3. Create the table of values:
    • $x_0 = 0, y_0 = 0^2 = 0$
    • $x_1 = 0.5, y_1 = 0.5^2 = 0.25$
    • $x_2 = 1.0, y_2 = 1.0^2 = 1$
    • $x_3 = 1.5, y_3 = 1.5^2 = 2.25$
    • $x_4 = 2.0, y_4 = 2.0^2 = 4$
  4. Apply the formula: $$\text{Area} \approx \frac{0.5}{2} \left[ (0 + 4) + 2(0.25 + 1 + 2.25) \right]$$ $$\text{Area} \approx 0.25 \left[ 4 + 2(3.5) \right] = 0.25 \left[ 4 + 7 \right] = 0.25 \times 11 = 2.75$$

Step-by-Step Worked Example 2

Estimate $\int_{1}^{3} \frac{1}{x} dx$ using 4 strips.

  1. Identify parameters: $a=1, b=3, n=4, h = \frac{3-1}{4} = 0.5$.
  2. Table of values:
    • $x_0=1, y_0=1$
    • $x_1=1.5, y_1=0.6667$
    • $x_2=2, y_2=0.5$
    • $x_3=2.5, y_3=0.4$
    • $x_4=3, y_4=0.3333$
  3. Apply the formula: $$\text{Area} \approx \frac{0.5}{2} \left[ (1 + 0.3333) + 2(0.6667 + 0.5 + 0.4) \right]$$ $$\text{Area} \approx 0.25 \left[ 1.3333 + 2(1.5667) \right] = 0.25 \left[ 1.3333 + 3.1334 \right] = 0.25 \times 4.4667 = 1.1167$$

Overestimates and Underestimates

The accuracy of the trapezium rule depends on the curvature of the function. If the curve is concave up (the second derivative $f''(x) > 0$), the straight lines connecting the points will lie above the curve, resulting in an overestimate. Conversely, if the curve is concave down ($f''(x) < 0$), the rule will produce an underestimate. Visualising the graph is a great way to predict whether your result is likely to be higher or lower than the true value.

Common Mistakes

  • Incorrect $h$ calculation: Always ensure $h = \frac{b-a}{n}$. Students often miscount the number of strips versus the number of ordinates.
  • Forgetting the multiplier: The most common error is failing to multiply the intermediate ordinates by 2. Remember the mnemonic: First + Last + 2(The Rest).
  • Rounding errors: Do not round your intermediate $y$-values too early. Keep as many decimal places as possible in your calculator memory to ensure the final answer is accurate to the required degree.

Frequently Asked Questions

Does the trapezium rule give an exact answer? No, it is an approximation. It only becomes exact if the function is linear, as the area of a trapezium perfectly matches the area under a straight line.

How can I make the approximation more accurate? Increasing the number of strips ($n$) reduces the width of each trapezium, making the straight-line segments follow the curve more closely, thereby reducing the error.

What if the function crosses the x-axis? The trapezium rule calculates the area based on the $y$-values. If the curve goes below the $x$-axis, the $y$-values will be negative, and the rule will calculate the net signed area.

Conclusion

The trapezium rule is a fundamental numerical method that bridges the gap between theoretical calculus and practical application. By mastering the formula and being mindful of the curvature of your functions, you can confidently tackle any numerical integration question in your A-Level exams. To see these concepts in action with interactive visualisations, head over to MathInstructor AI and generate a free animated lesson on the trapezium rule today.

Topics

trapezium rule
numerical integration
A-Level maths
calculus-integration
approximation
definite integrals
area under a curve
numerical methods

Want this explained out loud?

Turn any question into a narrated, animated lesson in seconds.

Try the Studio free