Access this content offline
Omniguides
Skip to the reading

Trapezoidal Method

This original textbook reading covers part of the AP topic. Follow the AP course outline for complete topic instruction and practice.

This reading includes verified answer corrections and explicitly stated clarifications.

The problem of consistent accuracy

For y =x² on[0,1], midpoint accuracy improves as we use more equal subintervals. We can compare it with trapezoids by calculating both estimates and their errors. The reason I keep using this curve is that:

  1. It is relatively challenging to calculate.
  2. It illustrates general trends
  3. We know that its actual area is 13 , or approximately 0.33. This allows us to compare the accuracy of each method and general trends.

For this curve, midpoint estimates with n = 1,2,3 are 1/4,5/16,35/108. Their errors decrease as n increases. Trapezoids are another useful method, but they are not automatically more accurate: with n = 3, the trapezoidal estimate is 19/54, while the midpoint estimate is 35/108. The exact value is 1/3.

A review of the mathematics of a Trapezoid

Recall that the area of a trapezoid is height multiplied by the average of its two bases. To better estimate the area under the curve of a function, we are rotating our trapezoids by 90º so our bases are on the sides, and our height is dx.

You have seen pictures of the trapezoidal method in Galleries 6.4.1 and 6.4.2, though, so I am sure you can imagine what it looks like. The best way to work out the mathematics behind it is through an example problem.

Example Problem 7.3.1

Using the trapezoidal method and n = 3, find the area under the curve y=x2 from x = 0 to x = 1

The unique thing about this method is that it uses every iteration starting from f(xinitial) to f(xfinal) , so we are going to be using f(0) as well as f(1) , unlike the corner point methods. Unlike the midpoint method, we do not have to worry about starting in the middle. We start at the beginning of our interval, end at the end, and go up by dx each time.

Similar to an example problem we have done before, this time our interval is 13 because we have three trapezoids over 1 unit of x-values. We start with our first trapezoid which has one base of f(0) and another base of f(0.33). Its “height,” or dx , is 13.

Since all trapezoids will have the same “height,” we can factor out the 13, similar to other approximation methods, and then just worry about the bases. Following this method, our area looks something like this

Area=h⋅(b1+b22+b2+b32+b3+b42)​
Area=13⋅(f(0)+f(0.33)2+f(0.33)+f(0.66)2

+f(0.66)+f(1)2)

Area=13⋅(0+192+19+492+49+12)

You will find that it is actually easier to keep track of things in terms of fractions rather than decimals, but it is up to personal preference.

Area=13⋅(118+118+418+418+918)

Area=1954

Feel free to convert that answer into decimal form on your calculator and prepare to be amazed! That answer is within 6% of the real value!!! Not only that, if we were to increase the number of trapezoids, its accuracy will just get sharper and sharper. On the next page is an interactive image explaining the concept visually.

Interactive 7.3.1 Example Problem 7.3.1

Interactive 7.3.1 Example Problem 7.3.1
Read all original figure notes

Compare the actual errors

For x² on [0,1] with three equal subintervals, the trapezoidal sum is T₃ = 19/54, an overestimate of 1/3 by 1/54. The midpoint sum is M₃ = 35/108, an underestimate by 1/108, so midpoint is closer in this example. A concave-down function gives a trapezoidal underestimate; concave up gives an overestimate.

The height

Remember that since we have rotated our trapezoid by 90 degrees, the height is now measured in the x-direction, as you can see here.

The base

Each vertical line represents a base of some trapezoid. Notice that b1 of one trapezoid is equal to b2 of another trapezoid since they are adjacent to each other.

Pop Quiz 7.3.1 Trapezoidal Approximation

Question 1 of 5 · 0 correct

Estimate the area under the curve of y=x2 from x=1 to x=2 , using just one trapezoid.

Select one answer.
Glossary and deeper reading · 1 refreshers

These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.

  • Trapezoidal rule

    The trapezoidal rule approximates a definite integral using a straight segment between each pair of adjacent endpoint values. Each piece contributes its width times the average of its two endpoint heights. For example, one trapezoid for x² on [0,2] has width 2 and heights 0 and 4, giving 4. For a concave-up function the trapezoidal sum overestimates the integral, while for a concave-down function it underestimates it.

    Read more: 6.2 · Trapezoidal rule →

Search lessons, terms and problems