A sensor records the rate at which water flows into a reservoir, in gallons per hour, at a few moments in time:
t (hours) | 0 | 2 | 5 |
|---|---|---|---|
R(t) (gal/hr) | 30 | 38 | 56 |
Estimate the total amount of water that entered the reservoir between
t = 0andt = 5hours. You are not given a formula forR(t)— only these three readings.
Take a minute before reading on.
The total water is ∫₀⁵ R(t) dt — the accumulation of the rate over the time interval. But with no formula, you cannot use the Fundamental Theorem of Calculus; there is no antiderivative to evaluate. All you have is discrete data. So you do the only sensible thing: connect the dots and find the area underneath. If you join (0, 30), (2, 38), (5, 56) with straight segments, you get two trapezoids, and their combined area estimates the integral. Notice the widths are not equal — 2 hours, then 3 hours. That single fact is at the heart of nearly every AP table problem, and it is what this lesson is built around.
Sometimes a definite integral cannot be evaluated exactly. Either the function has no elementary antiderivative, or — far more common on the AP exam — you are never given a formula at all, only a table of measured values or a graph. In those situations you estimate ∫ₐᵇ f(x) dx by adding up the areas of simple shapes (rectangles or trapezoids) built on the data you do have. This is the same Riemann-sum idea from Lesson 27, but now the subinterval widths are dictated by the table and are usually unequal.
A Riemann sum approximates ∫ₐᵇ f(x) dx by partitioning [a, b] into subintervals and summing (height) × (width) over each one. The methods differ only in which height they use on each subinterval.
Partition [a, b] at the table's x-values x₀ < x₁ < ⋯ < xₙ. On the subinterval [xᵢ, xᵢ₊₁] the width is Δxᵢ = xᵢ₊₁ − xᵢ.
`
L = Σ f(xᵢ)·Δxᵢ = f(x₀)Δx₀ + f(x₁)Δx₁ + ⋯ + f(xₙ₋₁)Δxₙ₋₁
`
`
R = Σ f(xᵢ₊₁)·Δxᵢ = f(x₁)Δx₀ + f(x₂)Δx₁ + ⋯ + f(xₙ)Δxₙ₋₁
`
Crucial bookkeeping with unequal widths: each height is multiplied by that subinterval's own width, not by a single common Δx. Pairing the wrong width with a height is the most common table error there is.
A midpoint Riemann sum uses the function value at the midpoint of each subinterval as the height. You can only use it when the table actually supplies a value at each midpoint. If the table gives values only at the partition endpoints, the midpoint sum is not available — don't invent values by averaging.
Instead of a flat rectangle on each subinterval, the trapezoidal rule connects consecutive data points with a straight segment, forming a trapezoid whose parallel sides are the two function values. The area of one trapezoid on [xᵢ, xᵢ₊₁] is
Area = ½ · (Δxᵢ) · [f(xᵢ) + f(xᵢ₊₁)]
— one-half the width times the sum of the two heights. The trapezoidal approximation is the total of all these trapezoids:
T = Σ ½·(Δxᵢ)·[f(xᵢ) + f(xᵢ₊₁)]
There is one beautiful shortcut worth knowing: on each subinterval the trapezoid area equals the average of the left and right rectangles, so T = ½(L + R). But on the AP exam, build the trapezoids directly — it is faster and less error-prone with unequal widths.
The trapezoidal rule does NOT require equal widths. Because you compute each trapezoid separately and add, unequal spacing is handled automatically. This is exactly why AP tables can space their times however they like.
Worked trapezoidal approximation (unequal widths). Suppose a function f is recorded as:
x | 0 | 2 | 5 | 10 |
|---|---|---|---|---|
f(x) | 3 | 5 | 8 | 10 |
The three subintervals have widths Δx = 2, 3, 5. Build a trapezoid on each:
[0, 2]: ½(2)(3 + 5) = ½(2)(8) = 8
[2, 5]: ½(3)(5 + 8) = ½(3)(13) = 19.5
[5, 10]: ½(5)(8 + 10) = ½(5)(18) = 45
Add them: T = 8 + 19.5 + 45 = 72.5. So ∫₀¹⁰ f(x) dx ≈ 72.5. Notice each height-pair was multiplied by its own width — using a single Δx here would be wrong.
Run all three methods on the table above:
Left L = 3(2) + 5(3) + 8(5) = 6 + 15 + 40 = 61
Right R = 5(2) + 8(3) + 10(5) = 10 + 24 + 50 = 84
Trap T = 72.5 (and indeed ½(61 + 84) = 72.5 ✓)
This data is increasing, and the ordering L = 61 < T = 72.5 < R = 84 is no accident. It reflects a general rule.
For left/right sums — look at increasing/decreasing:
f is increasing on the interval, then on each subinterval the left endpoint is the lowest point and the right endpoint is the highest. So the left sum underestimates and the right sum overestimates.f is decreasing, it is reversed: the left sum overestimates and the right sum underestimates.f is... | Left sum | Right sum |
|---|---|---|
| Increasing | Underestimate | Overestimate |
| Decreasing | Overestimate | Underestimate |
For the trapezoidal rule — look at concavity:
f is concave up on the interval, each straight chord lies above the curve, so each trapezoid contains extra area. The trapezoidal rule overestimates.f is concave down, each chord lies below the curve, so the trapezoidal rule underestimates.f is... | Trapezoidal rule |
|---|---|
| Concave up | Overestimate |
| Concave down | Underestimate |
How do you judge concavity from a table? Look at the secant slopes between consecutive points: [f(xᵢ₊₁) − f(xᵢ)]/Δxᵢ. If these slopes are increasing as you move right, the data is concave up; if decreasing, concave down. (This is the discrete shadow of "f'' controls concavity.")
When f(x) is a rate of change, the definite integral ∫ₐᵇ f(x) dx is the net accumulated amount over [a, b]. Its units are the units of f multiplied by the units of x:
[rate] × [time] = [amount]
If R(t) is in gallons per hour and t is in hours, then ∫₀⁵ R(t) dt is in (gal/hr)·(hr) = gallons — the total gallons that flowed in over the 5 hours. Stating the units and a context sentence is exactly what earns the interpretation point on an AP rubric.
On a [CALC] problem these approximations are still done by hand from the table — the calculator only does the arithmetic. There is no built-in "trapezoidal rule from a table" button. (fnInt( integrates a formula exactly; it cannot read your table.) Use the calculator to add ½(2)(3+5) + ½(3)(5+8) + ½(5)(8+10), nothing more.
Problem. Water flows into a tank at rate R(t), in gallons per hour, where t is in hours. Selected values:
t | 0 | 1 | 3 | 6 | 10 |
|---|---|---|---|---|---|
R(t) | 20 | 24 | 30 | 33 | 36 |
Use a trapezoidal sum with the four subintervals indicated by the table to approximate ∫₀¹⁰ R(t) dt.
Strategy. Four data gaps means four trapezoids, with widths 1, 2, 3, 4. Apply ½(Δt)(R_left + R_right) to each and add.
Solution.
[0, 1]: ½(1)(20 + 24) = ½(1)(44) = 22
[1, 3]: ½(2)(24 + 30) = ½(2)(54) = 54
[3, 6]: ½(3)(30 + 33) = ½(3)(63) = 94.5
[6, 10]: ½(4)(33 + 36) = ½(4)(69) = 138
∫₀¹⁰ R(t) dt ≈ 22 + 54 + 94.5 + 138 = 308.5 gallons
Justification of representation. Each height-pair is multiplied by its own width (1, 2, 3, 4); there is no single Δt. The result, 308.5, carries units (gal/hr)(hr) = gallons — the approximate total volume of water that entered the tank over the 10 hours.
Problem. A car decelerates. Its speed v(t), in feet per second, is recorded with t in seconds:
t | 0 | 3 | 7 | 12 |
|---|---|---|---|---|
v(t) | 60 | 52 | 40 | 25 |
(i) Find the left and right Riemann sums for ∫₀¹² v(t) dt. (ii) Which is an overestimate of the true integral? Justify.
Strategy. Widths are 3, 4, 5. The left sum uses values at t = 0, 3, 7; the right sum uses values at t = 3, 7, 12. Then use the increasing/decreasing rule.
Solution.
Left: 60(3) + 52(4) + 40(5) = 180 + 208 + 200 = 588
Right: 52(3) + 40(4) + 25(5) = 156 + 160 + 125 = 441
(ii) The table values decrease as t increases, so v is decreasing on [0, 12]. For a decreasing function the left endpoint is the highest point on each subinterval, so every left rectangle pokes above the curve. Therefore the left sum, 588, is an overestimate. (Correspondingly the right sum, 441, is an underestimate, and the true integral lies between them.)
Problem. Using the data of Example 2, ∫₀¹² v(t) dt ≈ 514.5 (the trapezoidal estimate). Using correct units, explain what this integral represents in the context of the car.
Strategy. v(t) is a rate (distance per time), so its integral accumulates distance. Identify units and write a context sentence.
Solution. The units are (ft/sec)·(sec) = feet. Since v(t) is the car's speed, ∫₀¹² v(t) dt is the total distance, in feet, that the car travels from t = 0 to t = 12 seconds. The value ≈ 514.5 means the car travels approximately 514.5 feet over those 12 seconds. (Speed is non-negative here, so distance traveled and displacement coincide.)
Problem. For the increasing data below, a student computes the left sum, the right sum, and the trapezoidal sum for ∫₀¹⁰ R(t) dt. Without re-deriving every number, order the three approximations from smallest to largest, and explain.
t | 0 | 1 | 3 | 6 | 10 |
|---|---|---|---|---|---|
R(t) | 20 | 24 | 30 | 33 | 36 |
Strategy. Use the structural rules, not raw arithmetic. The data increases, and the trapezoid is the average of left and right.
Solution. The values increase, so R is increasing on [0, 10]. Hence the left sum underestimates and the right sum overestimates the true integral. Because the trapezoidal sum is the average of the two, T = ½(L + R), it lies strictly between them. Therefore:
Left sum < Trapezoidal sum < Right sum
Justification. For an increasing function the left endpoints give the smallest heights and the right endpoints give the largest, so L < R; the trapezoid, being their average, falls in the middle. (Numerically, L = 290, T = 308.5, R = 327 — consistent with the ordering, though the reasoning alone is enough to answer.)
Using a single Δx when the widths are unequal. Students see a table and reflexively factor out one common width — e.g., writing T = ½(2)[f(x₀) + 2f(x₁) + 2f(x₂) + f(x₃)] for data spaced 2, 3, 5. That compact formula is only valid for equal widths. Fix: with unequal spacing, build each trapezoid separately, ½(Δxᵢ)(f_left + f_right), using that subinterval's own width, and add.
Getting the over/underestimate direction backward. Two different rules govern direction, and students cross them up. Fix: keep them separate. Left/right depends on increasing vs. decreasing; trapezoid depends on concave up vs. concave down. A trapezoid on a concave-up curve overestimates (the chord sits above the curve) — picture the chord lying above a smiling curve.
Confusing the approximation with the exact value. A trapezoidal sum is an estimate of ∫ₐᵇ f(x) dx, not the integral itself. Writing ∫ₐᵇ f(x) dx = 308.5 (with an equals sign) is wrong; it should be ∫ₐᵇ f(x) dx ≈ 308.5. Fix: use ≈ for every table/graph approximation, and never claim the exact value of an integral you only estimated.
Forgetting the ½ in the trapezoid. Dropping the one-half turns each trapezoid into (Δx)(f_left + f_right), doubling every term and the whole answer. Fix: the trapezoid area is ½ · base · (sum of the two parallel sides); the ½ is not optional. (Sanity check: a trapezoid should be between the left and right rectangles, never larger than both.)
Pairing a height with the wrong width. When the spacing is irregular, students multiply, say, the value at t = 3 by the width of the next gap instead of its own. Fix: write the subintervals out explicitly — [0,1], [1,3], [3,6], [6,10] — and read each width directly off the bracket before multiplying.
Use this table for problems 1–4 (function f recorded at equally spaced x):
| x | 0 | 2 | 4 | 6 |
|---|---|---|---|---|
| f(x) | 1 | 4 | 9 | 16 |
∫₀⁶ f(x) dx using the three subintervals is∫₀⁶ f(x) dx using the three subintervals is∫₀⁶ f(x) dx using the three subintervals is4 (justification). [NO CALC] The data above is increasing and concave up (the secant slopes 1.5, 2.5, 3.5 increase). State, with reasons, whether the left sum and the trapezoidal sum each over- or underestimate ∫₀⁶ f(x) dx.
g has the values below. The trapezoidal approximation of ∫₁⁸ g(x) dx using the three subintervals is | x | 1 | 3 | 4 | 8 | |---|---|---|---|---| | g(x) | 5 | 9 | 12 | 20 |r(t) liters per minute, with t in minutes. Which expression gives the units and meaning of ∫₀³⁰ r(t) dt?h, midpoint values on four equal subintervals of [0, 8] (width 2) are: | midpoint x | 1 | 3 | 5 | 7 | |---|---|---|---|---| | h(x) | 2 | 5 | 7 | 10 | The midpoint Riemann sum approximating ∫₀⁸ h(x) dx isv(t) (m/s) is recorded with t in seconds: | t | 0 | 3 | 8 | 10 | |---|---|---|---|---| | v(t) | 10 | 16 | 22 | 28 | Using a trapezoidal sum, the average velocity over [0, 10], i.e. (1/10)∫₀¹⁰ v(t) dt, is approximately∫₀⁶ f(x) dx is | x | 0 | 1 | 4 | 6 | |---|---|---|---|---| | f(x) | 8 | 10 | 14 | 20 |f is decreasing on [a, b]. The right Riemann sum of ∫ₐᵇ f(x) dx isf is differentiable, increasing, and concave down on [a, b]. Which approximation of ∫ₐᵇ f(x) dx is guaranteed to be an underestimate?12 (short answer). [NO CALC] For the table below, approximate ∫₀⁷ f(x) dx with a trapezoidal sum over the three subintervals. Show each trapezoid.
x | 0 | 2 | 3 | 7 |
|---|---|---|---|---|
f(x) | 12 | 20 | 26 | 40 |
13 (short answer, justification). [NO CALC] Using the same table as #12, find the left and right Riemann sums. The data is increasing — state which of your two sums is the overestimate and justify why.
14 (short answer, justification). [NO CALC] A student approximates ∫₀⁴ f(x) dx for a function known to be concave up, getting a trapezoidal sum of 30. They write ∫₀⁴ f(x) dx = 30. Identify two things wrong with that statement and correct them.
15 (short answer, interpretation). [NO CALC] At a gas station, fuel is pumped at rate P(t) gallons per minute, t in minutes. A trapezoidal estimate gives ∫₀⁵ P(t) dt ≈ 9.4. State the units of this value and write one sentence interpreting it in context.
This is a calculator-permitted free-response question (AP Section II, Part A style) — the classic rate table FRQ. Budget about 15 minutes. Show the setup for every approximation; the calculator is only for arithmetic.
FRQ. Water is pumped into a reservoir. The rate at which water enters is modeled by a differentiable function
G(t), measured in gallons per hour, wheretis measured in hours,0 ≤ t ≤ 8. Selected values ofG(t)are given in the table below.|
t(hours) | 0 | 2 | 5 | 8 ||---|---|---|---|---|
|
G(t)(gal/hr) | 30 | 38 | 56 | 86 |(a) Using a trapezoidal sum with the three subintervals indicated by the table, approximate
∫₀⁸ G(t) dt. Show the computation. (3 points)(b) Using correct units, interpret the meaning of
∫₀⁸ G(t) dtin the context of this problem. (2 points)(c) The secant slopes of
Gbetween consecutive data points are4,6, and10gal/hr per hour. Based on this, is your trapezoidal approximation in part (a) an overestimate or an underestimate of∫₀⁸ G(t) dt? Give a reason for your answer. (2 points)(d) The total amount of water in the reservoir at time
tisW(t), andW(0) = 500gallons. Use your answer from part (a) to approximateW(8). Explain the relationship you used. (2 points)Total: 9 points
(a) Three subintervals, widths Δt = 2, 3, 3:
[0, 2]: ½(2)(30 + 38) = ½(2)(68) = 68
[2, 5]: ½(3)(38 + 56) = ½(3)(94) = 141
[5, 8]: ½(3)(56 + 86) = ½(3)(142) = 213
∫₀⁸ G(t) dt ≈ 68 + 141 + 213 = 422 gallons
(b) The units are (gal/hr)·(hr) = gallons. ∫₀⁸ G(t) dt represents the total amount of water, in gallons, that is pumped into the reservoir from time t = 0 to t = 8 hours. Its approximate value is 422 gallons.
(c) The secant slopes 4, 6, 10 are increasing, which indicates that G is concave up on [0, 8]. For a concave-up function, each chord used by the trapezoidal rule lies above the graph of G, so every trapezoid overstates the area beneath the curve. Therefore the trapezoidal approximation is an overestimate of ∫₀⁸ G(t) dt.
(d) Since G(t) = W'(t) is the rate at which water enters, by the net-change interpretation ∫₀⁸ G(t) dt = W(8) − W(0) — the integral of the rate gives the total change in the amount. Therefore
W(8) = W(0) + ∫₀⁸ G(t) dt ≈ 500 + 422 = 922 gallons.
So the reservoir holds approximately 922 gallons at t = 8 hours.
2, 3, 3, 1 for the answer 422. Trap: collapsing to a single trapezoid ½(8)(30 + 86) = 464, or factoring out one Δt — both lose the width point. Dropping the ½ (giving 844) loses points too.[0, 8]. Trap: describing it as a rate (gal/hr) or as an average — the integral of a rate is an accumulated amount, not a rate.W(8) = W(0) + ∫₀⁸ G(t) dt, 1 for ≈ 922. Trap: reporting 422 (forgetting to add the initial 500), or trying to "find an antiderivative of G" — there is no formula, so the accumulation must come from part (a).1. (B) 43. Widths are all 2. Trapezoids: ½(2)(1+4) = 5, ½(2)(4+9) = 13, ½(2)(9+16) = 25; sum = 43. Check: ½(L+R) = ½(28+58) = 43. ✓ (A) drops a trapezoid or mis-adds. (C) is the right sum, not the trapezoid. (D) forgot the ½, doubling the answer.
2. (A) 28. Left sum uses heights at x = 0, 2, 4: 1(2) + 4(2) + 9(2) = 2 + 8 + 18 = 28. (B) is the trapezoidal sum. (C) is the right sum (used the wrong endpoints). (D) is an arithmetic slip.
3. (C) 58. Right sum uses heights at x = 2, 4, 6: 4(2) + 9(2) + 16(2) = 8 + 18 + 32 = 58. (A) is the left sum. (B) is the trapezoid. (D) is the right sum without the width factor / doubled.
4 (justification). The data is increasing, so the left sum underestimates ∫₀⁶ f(x) dx: on each subinterval the left endpoint is the lowest value, so every left rectangle lies below the curve. The data is concave up (secant slopes 1.5, 2.5, 3.5 increase), so the trapezoidal sum overestimates: each chord lies above the curve, so every trapezoid includes extra area above the graph. (Numerically L = 28 < ∫ < T = 43.)
5. (B) 88.5. Widths 2, 1, 4: ½(2)(5+9) = 14, ½(1)(9+12) = 10.5, ½(4)(12+20) = 64; sum = 88.5. (A) used a single common width. (C) is the trapezoid done with a wrong middle width. (D) = 177 forgot the ½ (doubled).
6. (D) liters — the total amount of rainwater collected in 30 minutes. The integral of a rate (liters/min) over time (min) yields an amount: (L/min)(min) = L. (C) keeps the rate units; integrating changes the units. (A) reverses the relationship. (B) describes a derivative, not an integral.
7. (C) 48. Midpoint sum with width 2: 2(2 + 5 + 7 + 10) = 2(24) = 48. (A) is the sum of heights without the width. (B) sums only some terms. (D) = 96 used width 4, not 2.
8. (D) 18.4 m/s. Trapezoid ∫₀¹⁰ v dt ≈ ½(3)(10+16) + ½(5)(16+22) + ½(2)(22+28) = 39 + 95 + 50 = 184; average velocity = 184/10 = 18.4. (C) divides a wrong integral. (A) approximates by a single mid value. (B) 184 is the integral itself, not the average (forgot to divide by 10).
9. (B) 79. Widths 1, 3, 2: ½(1)(8+10) = 9, ½(3)(10+14) = 36, ½(2)(14+20) = 34; sum = 79. (A) used a single width. (C) is the right sum. (D) = 158 forgot the ½ (doubled).
10. (A) always an underestimate. For a decreasing function the right endpoint is the lowest point on each subinterval, so every right rectangle lies below the curve. (D) is the rule for increasing functions. (C) only equal for a constant function. (B) left and right sums differ unless f(a) = f(b).
11. (A) the trapezoidal sum. Concave down ⇒ each chord lies below the curve ⇒ the trapezoid underestimates. The right sum, for an increasing function, overestimates — so (D) and (B) are wrong. (C) is contradicted by (A).
12. Widths 2, 1, 4:
[0, 2]: ½(2)(12 + 20) = ½(2)(32) = 32
[2, 3]: ½(1)(20 + 26) = ½(1)(46) = 23
[3, 7]: ½(4)(26 + 40) = ½(4)(66) = 132
∫₀⁷ f(x) dx ≈ 32 + 23 + 132 = 187. (Note each trapezoid uses its own width; do not factor out a common Δx.)
13. Left sum (heights at x = 0, 2, 3, widths 2, 1, 4): 12(2) + 20(1) + 26(4) = 24 + 20 + 104 = 148. Right sum (heights at x = 2, 3, 7): 20(2) + 26(1) + 40(4) = 40 + 26 + 160 = 226. Because the data is increasing, on each subinterval the right endpoint is the largest value, so every right rectangle lies above the curve; the right sum, 226, is the overestimate (and the left sum, 148, is the underestimate, with the true integral between them).
14. Two errors. (1) The trapezoidal sum is an approximation, not the exact value, so the equals sign is wrong — it should be ∫₀⁴ f(x) dx ≈ 30. (2) Since f is concave up, the trapezoidal rule overestimates, so the true integral is actually less than 30: ∫₀⁴ f(x) dx < 30. Corrected statement: ∫₀⁴ f(x) dx ≈ 30, and because f is concave up this approximation is an overestimate, so the exact value is somewhat below 30.
15. Units: (gal/min)·(min) = gallons. Interpretation: ∫₀⁵ P(t) dt ≈ 9.4 means that approximately 9.4 gallons of fuel are pumped during the first 5 minutes (from t = 0 to t = 5).
| Part | Points | Earned for |
|---|---|---|
| (a) | 3 | Trapezoidal setup over the three given subintervals (1); correct unequal widths 2, 3, 3 applied (1); answer ≈ 422 gallons (1) |
| (b) | 2 | Correct units, gallons (1); interpretation as total water pumped in over 0 ≤ t ≤ 8 (1) |
| (c) | 2 | States overestimate (1); reason: increasing secant slopes ⇒ concave up ⇒ chords lie above the curve (1) |
| (d) | 2 | Uses W(8) = W(0) + ∫₀⁸ G(t) dt (net change) (1); ≈ 500 + 422 = 922 gallons (1) |
Most common point losses: (1) using a single Δt or a single [0,8] trapezoid in (a); (2) calling the integral a rate in (b) instead of an accumulated amount; (3) in (c), justifying with increasing/decreasing instead of concavity (that earns the direction but not the reason); (4) in (d), forgetting to add W(0) = 500, or attempting to antidifferentiate a function given only by a table.
CalcIQ · Lesson 32 of 35 · Unit 6: Integration and Accumulation of Change · Approximating Definite Integrals
This lesson is independent study material for AP Calculus AB exam preparation and is not endorsed by or affiliated with the College Board. "AP" and "Advanced Placement" are registered trademarks of the College Board.
Accuracy review: Every trapezoidal, left, right, and midpoint sum in this lesson was recomputed independently in Python, including all unequal-width cases. Over/underestimate directions were verified against the governing rules — increasing/decreasing for left/right sums (Examples 2, 4; Practice 4, 10, 13), concavity via increasing secant slopes for the trapezoidal rule (Core, Practice 4, 11, 14; FRQ part c). The FRQ trapezoidal total (422 gal, widths 2, 3, 3), the concave-up overestimate justification (secant slopes 4, 6, 10), and the net-change accumulation W(8) ≈ 922 were each confirmed. All MCQ keyed letters were checked against the computed values. Reviewed by Isaac (retired actuary).