Trapezoidal sums (College Board AP® Calculus BC): Revision Note

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Trapezoidal sums

What is a trapezoidal sum?

  • A trapezoidal sum is another method for approximating the exact value of an accumulation of change

    • Equivalently, it is a method for approximating the exact value of a definite integral

    • Or the exact area between a curve and the x-axis

  • The approximation is made by adding up the areas of a number of trapezoids

How do I calculate a trapezoidal sum?

  • To calculate the trapezoidal sum of a function f between x=a and x=b (where a<b):

    • Divide the interval into n subintervals by choosing values x0, x1, ..., xn such that a=x0<x1<<xn=b

      • The intervals do not need to be the same size

    • Let this define n trapezoids

      • The ith trapezoid has a width of (xixi1)

        • This is the distance from the left-hand side of the trapezoid to the right-hand side

      • The parallel sides of the ith trapezoid have heights of f(xi1) and f(xi)

        • These are the values of the function at the left-hand side and right-hand side of the trapezoid

      • The area of the ith trapezoid is  (xixi1)· f(xi1)+f(xi)2

    • The trapezoidal sum is the sum of the areas of these n trapezoids

      • (x1x0)·f(x0)+f(x1)2+(x2x1)·f(x1)+f(x2)2++(xnxn1)·f(xn1)+f(xn)2

An example of the graph of a curve, showing the trapezoids used to calculate a trapezoidal sum
An example of a trapezoidal sum with n=5
  • In general, increasing the number of trapezoids, n, gives a more accurate approximation

  • On the exam you may just be given values of the function in a table, rather than being given the function explicitly

    • See the Worked Example

Examiner Tips and Tricks

The trapezoidal sum is the average of the left and right Riemann sums. You can use this fact to reduce the number of formulas you need to remember.

What if all the intervals in a trapezoidal sum have the same size?

  • If the intervals used for a trapezoidal sum all have the same size then the formula can be simplified slightly

  • The width of each trapezoid will be ban

  • So the trapezoidal sum will become

    • ban·f(x0)+f(x1)2+ban·f(x1)+f(x2)2++ban·f(xn1)+f(xn)2

  • By collecting terms and simplifying, this can be rearranged as

    • ban·[f(x0)+f(xn)2+f(x1)++f(xn1)]

    • or  ba2n·[f(x0)+f(xn)+2(f(x1)++f(xn1))]

  • It may be easier for you to understand how the trapezoidal sum is calculated

    • than to try and remember that formula

How can I tell if a trapezoidal sum is an underestimate or an overestimate?

  • If a function is concave up over the interval for which a trapezoidal sum is being calculated

    • then the trapezoidal sum will be an overestimate

  • If a function is concave down over the interval for which a trapezoidal sum is being calculated

    • then the trapezoidal sum will be an underestimate

Two graphs with the trapezoids used to calculate a trapezoidal sum, showing that a trapezoidal sum will give an overestimate for a function that is concave up, and an underestimate for a function that is concave down
  • If a function has portions that are both concave up and concave down, then it is not immediately obvious whether a trapezoidal sum will be an underestimate or an overestimate

Worked Example

A social sciences researcher is using a function m to model the total mass of all the garden gnomes appearing on lawns in a particular neighborhood at time t. The function m is twice-differentiable, with m(t) measured in kilograms and t measured in days.

The table below gives selected values of m'(t), the rate of change of the mass, over the time interval 0t12. At time t=0, m(0)=24.9 kilograms.

t

(days)

0

3

7

10

12

m'(t)

(kilograms per day)

2.6

4.8

12.2

0.7

-1.3

Use a trapezoidal sum with the four subintervals indicated in the table to find an estimate for the total mass of the garden gnomes at t=12.

Answer:

The trapezoidal sum will be based on four trapezoids

  • The first trapezoid will have a width of (3-0) and parallel sides of height m'(0) and m'(3)

  • The second trapezoid will have a width of (7-3) and parallel sides of height m'(3) and m'(7)

  • The third trapezoid will have a width of (10-7) and parallel sides of height m'(7) and m'(10)

  • The fourth trapezoid will have a width of (12-10) and parallel sides of height m'(10) and m'(12)

(30)·2.6+4.82+(73)·4.8+12.22+(107)·12.2+0.72+(1210)·0.7+(1.3)2=63.85

This has units of kilograms, because each term is the product of a 'kg/day' quantity and a 'days' quantity

However that answer only approximates the change in mass

To find the estimate for the total final mass, add the initial mass of 24.9 kilograms

63.85+24.9=88.75

The total mass of garden gnomes at t=12 is approximately 88.75 kg

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.