Unit 6The Trapezoidal Rule Formula for Approximating Area
Concept 4.96Built for May 2027 AP Exam

The Trapezoidal Rule Formula for Approximating Area

Reviewed by ACEpath AP Math Editorial Team

Last Updated: September 2026

30-second summary

The trapezoidal rule has one general form and one shortcut form. In general, each strip contributes half its width times the sum of its two end heights, and the widths may all differ. On a uniform partition the halves combine into a single factor of Δx2\frac{\Delta x}{2}, the two end heights are counted once, and every interior height is counted twice. That weighting is not a convention to memorize; it falls out of adding the left and right sums and dividing by two, which is also why the trapezoidal sum is exactly the average of those two sums. The formula earns its keep on tables with uneven spacing, where the closed form does not apply and the general one still does.

On the AP Exam

AP Calculus AB tests this skill through the representations and reasoning described below.

What you’ll see
A table with three or four gaps, a request for a trapezoidal approximation, and usually a second request that reuses the result, either as an average or as part of a comparison with another method.
What you’ll do
Write the general sum with one term per gap, factor out the halves only when the widths match, and keep the units straight. If the stem asks which of two approximations is closer, reason from concavity rather than from arithmetic.
Memory hook
Ends once, middles twice, halve the width. That single line reproduces the closed form under pressure.
Use it on the exam
For MCQs: When the partition is uniform, use the closed form and count the doubling carefully. When the spacing is uneven, abandon the closed form immediately and write the terms out. For FRQs: Show the widths as a list even when they are equal. The list is the evidence that the formula was applied to this table rather than to a remembered template.

Concept Review

The Formula in Its Two Forms

Figure 1 — On a uniform partition the half-width factor is shared, so each interior height is used by two neighbouring strips and therefore appears twice in the combined formula.

For a partition with possibly unequal widths, the trapezoidal sum is a sum of strips:

T=∑i=1nΔxi2[f(xi−1)+f(xi)]T = \sum_{i=1}^{n}\frac{\Delta x_i}{2}\left[f(x_{i-1}) + f(x_i)\right]

When every width equals Δx=b−an\Delta x = \frac{b-a}{n}, the factor Δx2\frac{\Delta x}{2} comes out of the sum and the interior terms pair up:

Tn=Δx2[f(x0)+2f(x1)+2f(x2)+⋯+2f(xn−1)+f(xn)]T_n = \frac{\Delta x}{2}\left[f(x_0) + 2f(x_1) + 2f(x_2) + \dots + 2f(x_{n-1}) + f(x_n)\right]

FormWhen to useFailure mode
general sumthe table has unequal gapsforgetting to halve each gap separately
closed formthe partition is uniformusing it on unequal gaps
average of LL and RRyou already computed bothcomputing both when only one is needed
On a uniform partition the half-width factor is shared, so each interior height is used by two neighbouring strips and therefore appears twice in the combined formula.

Why the Ends Count Once and the Middles Twice

Add the left sum and the right sum term by term on a uniform partition. Every interior height appears in both sums, once as a right endpoint of one strip and once as a left endpoint of the next. The two end heights appear in only one sum each. Dividing the total by two therefore halves the interior contributions to a single count and the end contributions to a half count, which is exactly the closed form:

Tn=Ln+Rn2=Δx2[f(x0)+2f(x1)+⋯+2f(xn−1)+f(xn)]T_n = \frac{L_n + R_n}{2} = \frac{\Delta x}{2}\left[f(x_0) + 2f(x_1) + \dots + 2f(x_{n-1}) + f(x_n)\right]

That derivation is worth being able to reproduce, because it converts a formula you might misremember into a fact you can rebuild in two lines.

The Formula on Uneven Data

The exam's tables are rarely uniform, and the closed form does not survive the change. For t=0,2,6,7t = 0, 2, 6, 7 with values 4,9,5,34, 9, 5, 3, the widths are 22, 44, and 11:

T=22(4+9)+42(9+5)+12(5+3)=13+28+4=45T = \frac{2}{2}(4+9) + \frac{4}{2}(9+5) + \frac{1}{2}(5+3) = 13 + 28 + 4 = 45

No single Δx\Delta x exists here, so writing one would be an invention. The general sum needs nothing more than the gaps that the table already shows.

Accuracy and the Effect of Doubling $n$

Halving the width reduces the trapezoidal error by roughly a factor of four on a smooth function, because the error per strip shrinks with the cube of the width while the number of strips doubles. That is why the trapezoidal rule converges quickly in practice, and why doubling nn is a reasonable way to check an approximation: the two values should agree to within about a quarter of the first error, and a wild disagreement signals an arithmetic slip rather than slow convergence.

MethodError sign on concave upError size as nn doubles
left or right sumdepends on slopehalves
midpointunderestimatequarters
trapezoidaloverestimatequarters

Choosing Between Trapezoid and Midpoint

Both are second-order methods, so the choice is usually dictated by the data rather than by accuracy. A table that gives the endpoints of each gap invites the trapezoidal sum, since those are the numbers supplied. A table that gives the middle of each gap, or a graph with marked midpoints, invites the midpoint sum. When a stem supplies both, the trapezoidal sum is the arithmetic mean of the endpoint sums and the midpoint sum is a separate computation, so the availability of data decides.

Common Misconception Check

  • Myth 1: “The formula is Δx2\frac{\Delta x}{2} times the sum of all the heights.” Truth: The interior heights carry a factor of two. Dropping it halves the answer.
  • Myth 2: “The closed form works on any table.” Truth: It requires equal widths. On uneven data it silently computes a different quantity.
  • Myth 3: “Doubling nn halves the error, like the endpoint sums.” Truth: It quarters it. The trapezoidal rule converges one order faster than a one-sided sum.

Topic-Specific Study Method

Build the Sum From the Gaps

Borrowed idea: Start from the gaps rather than from the formula. List them, halve each one, and multiply by the two heights that straddle it. When the gaps turn out to be equal, collapse the work into the closed form. Then count the interior heights twice, because each one is shared by two neighbouring strips. The order matters here, since the formula rewards a pattern you have already spotted and cannot substitute for looking at the data at all.

Exam disguiseWhat you see on the pageWhat your brain must translateRequired execution
“The three subintervals indicated”named or implied gapsone term per gaphalve each gap separately
Equal gaps and four stripsa regular tableclosed form availableends once, middles twice
“Approximate the average value”a total is not the answerdivide by the windowtotal first, divisor last
Two methods offereda comparison requestedconcavity decides closenessreason, do not compute both
A graph with marked pointsno table at allread heights off the gridstrip by strip

① Write the gaps as a list before choosing a formula. The list decides whether the closed form is available, and that decision is worth more than any amount of arithmetic speed.

② When using the closed form, mark the doubled entries as you write them. The commonest error is a single dropped factor of two in the middle of a long list, and it is invisible in the total.

③ Sanity-check against the left and right sums. The trapezoidal value must lie between them, and a value outside that range means the arithmetic has broken somewhere.


Training & Error Diagnosis

Core Archetype (Simplest Form): Approximate ∫04f(x) dx\int_0^{4} f(x)\,dx by the trapezoidal rule with n=4n = 4 equal subintervals, given f(0)=2f(0) = 2, f(1)=3f(1) = 3, f(2)=5f(2) = 5, f(3)=4f(3) = 4, f(4)=1f(4) = 1.

Standard Execution:

  1. Width. Δx=1\Delta x = 1 and there are four strips.
  2. Closed form. T4=12[2+2(3)+2(5)+2(4)+1]T_4 = \frac{1}{2}\left[2 + 2(3) + 2(5) + 2(4) + 1\right].
  3. Inside the bracket. 2+6+10+8+1=272 + 6 + 10 + 8 + 1 = 27.
  4. Answer. T4=13.5T_4 = 13.5.
  5. Check. L4=2+3+5+4=14L_4 = 2 + 3 + 5 + 4 = 14 and R4=3+5+4+1=13R_4 = 3 + 5 + 4 + 1 = 13, and 14+132=13.5\frac{14 + 13}{2} = 13.5.

Exam Variation (Context / Parameter Shift): A reservoir's inflow rate is recorded at t=0,1,5,6t = 0, 1, 5, 6 hours as 20,26,14,1020, 26, 14, 10 thousand liters per hour. Use the trapezoidal rule to approximate the total inflow over the six hours, and state whether the approximation is likely to be an overestimate given that the rate is concave down on the interval.

Solution: The gaps are 11, 44, and 11, so the general form is required. The strips are 12(20+26)=23\frac{1}{2}(20+26) = 23, 42(26+14)=80\frac{4}{2}(26+14) = 80, and 12(14+10)=12\frac{1}{2}(14+10) = 12, totalling 115115 thousand liters. Because the rate is concave down, each chord lies below the graph, so the approximation is an underestimate. Two scoring elements sit in that answer beyond the number: the gaps are used one at a time rather than averaged, and the direction statement names concavity rather than the fall in the data.

Common Traps & Failure Signals:

  1. Closed form on uneven gaps (Signal: a single Δx\Delta x quoted for a table with different spacings): the general sum is the only valid route.
  2. Interior heights counted once (Signal: TT smaller than both LL and RR): the factor of two is missing.
  3. Direction from slope (Signal: “underestimate because the data decrease”): concavity sets the trapezoidal error, not slope.

6D Cognitive Error Diagnosis (Where Your Thinking Broke):

  • Formula First: List the gaps before choosing.
  • Doubling Dropped: You wrote the interior heights once, which produces a total smaller than both one-sided sums, and that symptom is easy to check for and almost never checked.
  • Uniform Assumed: You computed b−an\frac{b-a}{n} for a table whose gaps differ, so the sum is a trapezoidal approximation of a different problem, and nothing in the arithmetic reveals the substitution.

Past 10-Year AP Exam Appearance

Testing Frequency
Rare in FRQs
Three of the nine released exams since 2017 contain a part that requires the trapezoidal formula on a table, and all three tables have unequal gaps, so the general sum is the form actually executed
10-Year Total Count
3 of 9 Exams · 3 FRQ Parts
These are the same three parts that carry the trapezoidal-sum page, since the site splits this course description topic across two pages
FRQ Years Appeared
2018 (Q4c), 2019 (Q2b), 2025 (Q3C) ---

Practice Examples

MCQ 1

The Closed Form

Using the trapezoidal rule with n=4n = 4 equal subintervals on [0,4][0,4], with f(0)=1f(0) = 1, f(1)=2f(1) = 2, f(2)=4f(2) = 4, f(3)=3f(3) = 3, and f(4)=2f(4) = 2, the approximation is

MCQ 2

Unequal Gaps

Values of a rate at t=0,3,4,8t = 0, 3, 4, 8 are 66, 1010, 77, and 33. The trapezoidal approximation of the total over [0,8][0,8] is

MCQ 3

Which Is Closer

A function is concave up on [0,6][0,6]. Comparing the trapezoidal sum TT and the midpoint sum MM with the same number of equal subintervals, and the exact integral II,

FRQ 4

Formula, Average, and a Comparison

The temperature of a room, in degrees Celsius, is recorded at t=0,2,5,6t = 0, 2, 5, 6 hours as 1818, 2222, 2626, 2424.

(a) Use the trapezoidal rule with the three subintervals indicated to approximate ∫06T(t) dt\int_0^{6} T(t)\,dt. Show the work that leads to your answer and indicate units.

(b) Use part (a) to approximate the average temperature over the six hours.

(c) A student proposes using n=3n = 3 equal subintervals with the same data and claims the two answers must agree because the data are unchanged. Explain why the two answers can differ.

Cheatsheet

Core Reference

ExpressionReminder
general sum∑Δxi2[f(xi−1)+f(xi)]\sum \frac{\Delta x_i}{2}\left[f(x_{i-1})+f(x_i)\right]one term per gap
uniform closed formΔx2[f0+2f1+⋯+2fn−1+fn]\frac{\Delta x}{2}\left[f_0 + 2f_1 + \dots + 2f_{n-1} + f_n\right]ends once, middles twice
identityTn=Ln+Rn2T_n = \frac{L_n + R_n}{2}free arithmetic check
error on concave upoverestimatechord above the curve
error scalingquarters when nn doublesone order better than a one-sided sum

Sentences That Score

TOPIC REVIEW • NEXT STEP IN YOUR LEARNING LOOP

Ready to check your understanding?

Strengthen this topic with AP-style practice, or continue to next topic.