# Trapezium rule – approximating integrals

Throughout this page we use methods such as the trapezium rule to approximate the area beneath a curve. This serves as an alternative to definite integrals and we will see below that the approximations can be overestimates or underestimates. Recall that the expression finds the area between the curve of , the -axis and the limits and (see definite integrals). Up until now, we found integrals using integration, that is, we find the area analytically (using algebra etc). However, if we cannot integrate like this we must adopt a numerical method. For example, we could fit rectangles over the area and sum their individual areas.

## Approximating Integrals

In this diagram, we use 4 rectangles. Each of these rectangles has a width of (meaning change in ) which we can find from when the full width is and there are 4 rectangles spanning it. The height of each rectangle is dependent on the y-coordinate of the point on the curve which is at the centre of the top of each rectangle. Hence, the area of the th triangle is . It follows that we can approximate the area in this diagram as (see sigma notation). The more rectangles we use the better the approximation to the integral. In general, if the number of rectangles we use is then:

In which case, and can be thought of the discrete version of . Similarly, we can think of as the continuous infinitesimal version of and as the continuous infinitesimal version of . So, for large finite , we can say . However, if we take , then we can say:

where .

## Trapezium Rule

In this diagram, instead of fitting 4 rectangles, we use 4 trapezia to approximate the area. In general, this is a more accurate approximation to the area. Conventionally, we use (instead of ) to describe the width of each trapezium. We also use y-coordinates to describe heights instead of the function notation. Notice that we require 5 points instead of 4 since we need the lengths of the parallel sides when computing the area of a trapezium. The area of each trapezium is ‘half the sum of the parallel sides multiplied by the distance between them‘. Hence, the area of the second trapezium here, for example, is . It follows that we can approximate the full area with the trapezium rule as:

where . Note that,  in general, the trapezium rule for trapezia is given by

where . This formula is given in the Edexcel Formula Booklet. See Examples 1 and 2 for a demonstration of the trapezium rule in use.

### Overestimate or Underestimate?

The trapezium rule will only ever give the exact area if the graph has the same shape as the trapezia. In general, the trapezium rule will give an overestimate or an overestimate. Which one of these it is will depend on the shape of the curve.  Recall the difference between a concave and a convex function. The trapezium rule applied to parts of the graph where it is concave will give an underestimate. Conversely, the trapezium rule applied to parts of the graph where it is convex will give an overestimate.

It is harder to tell what kind of estimate we get using rectangles instead. This is because, the rectangle don’t tend to follow the line of the graph as closely as the trapezia do.

## Examples

The following shows the graph of the function and the dashed line :

1. Complete the following table of values, giving 3 decimal places where appropriate:

2. Using the trapezium rule with 5 trapezia, estimate the area bounded by the curve, the -axis, the -axis and the line .

3. Is the estimate an overestimate or an underestimate? Explain why increasing the number of trapezia improves the approximation.

Solution:

1.

2. For 5 trapezia, the formula is: . Setting the trapezium width and using the y-values from the table above we have: . Hence, the area is approximately 1.3446 square units.

3. On this interval, the curve is mostly convex and so the estimate is likely to be an overestimate. Increasing the number of trapezia will improve the estimate as the closer you zoom, the more the curve begins to look like a straight line. In this case, the top of each trapezium will match more closely to the curve.

The following shows the graph of and the dashed line :

1. Use the trapezium rule with 5 trapezia to approximate the area between the curve, the -axis, the y-axis and the line . Is this approximation an overestimate or an underestimate?
2. Use integration to find the exact area.
3. What is the percentage error in the approximation?

Solution:

1. We can organise the x and y values in a table:

For 5 trapezia, the formula is: . Setting the trapezium width and using the -values from the table above we have: . Hence, the area is approximately 6.2486 square units. The curve is concave and so this will be an underestimate.

2. We can find the exact area by integrating:

See more on definite integrals. Note that and so the approximation from part 1 is a good estimate.

3. The percentage error is given by to 2 decimal places.

## Extra Resources

### Questions by Topic

A2TrapeziumRuleExamQuestions