AP® CALCULUS AB & BC · UNIT 6

Approximating Areas with Riemann Sums

Estimate signed area from a graph, formula, or table. Compare left, right, midpoint, and trapezoidal sums, then explain which estimates are too high or too low.

Topic 6.2 study notes5 worked examples · 6 practice questionsUpdated 11 November 2026
Calculus notebook with limit and integral symbols, a compass and pencil on an olive and cream study desk

1. What Topic 6.2 asks you to do

For each subinterval, multiply a signed height by its width, then add the contributions. This estimates the definite integral. When the graph is above the axis, the integral is ordinary area; below the axis, the contributions are negative.

AP Calculus AB & BC · Topic 6.2. Use geometry for exact areas when the graph gives known shapes. Otherwise, estimate from a graph, table, formula, or description. Justify whether the estimate is high or low using the shape of the function.

2. Partition, sample, and multiply by width

Let the partition points be a=x0<x1<⋯<xn=b. The ith interval is [xi−1,xi]. Count gaps: n+1 endpoints make n subintervals.

Δxi=xi−xi−1

Only when the gaps are equal can you use the same width throughout. In that case:

Δx=b−an

A rectangular Riemann sum takes one sample xi* in each interval. The function value gives the height, which can be negative:

∑i=1nf(xi*)Δxi

In a rate problem, multiply the units of the rate by the input units. For example, gallons per minute times minutes gives gallons. With signed velocity, the estimate gives displacement; for total distance, use speed |v(t)|.

3. The four approximation methods

Left and right endpoints

Use xi−1 on the left or xi on the right. A left sum skips the very last partition point; a right sum skips the very first.

Ln=∑i=1nf(xi−1)Δxi
Rn=∑i=1nf(xi)Δxi

Midpoints

Average the two inputs, then evaluate the function there. Averaging the two heights instead gives the trapezoidal height. If a table does not give the midpoint heights, it cannot directly give the midpoint sum for that partition.

mi=xi−1+xi2
Mn=∑i=1nf(mi)Δxi

Trapezoids

Join the two endpoints by a straight segment. The signed contribution is the average of the endpoint heights times the width. This remains valid when the segment crosses the horizontal axis.

Tn=∑i=1nf(xi−1)+f(xi)2Δxi

For a fixed partition, Tn=Ln+Rn2, even with unequal widths. Only for equal widths can you factor out Δx2 and count each interior height twice with the same weight. A trapezoidal sum uses line segments rather than one sampled height per interval.

4. Tell whether the estimate is high or low

What the graph’s shape tells you
Condition on the intervalBelow the integralAbove the integral
IncreasingLeftRight
DecreasingRightLeft
Concave upMidpointTrapezoidal
Concave downTrapezoidalMidpoint

For left and right sums, compare each endpoint height with the function values throughout that subinterval. For trapezoids, compare the endpoint chord with the curve. For a concave-up function, the average of the values at two points equally spaced about the midpoint is at least the midpoint value; this is why the midpoint sum is low. Reverse both comparisons when the graph is concave down.

“Above” and “below” compare signed numbers. A negative estimate can be too high. Equality is possible: constant intervals give equal left and right values, and midpoint and trapezoidal sums are exact on intervals where the graph is a line.

Use a condition given in the problem or justified by the function or graph. A few rising table entries do not prove the function is increasing between them. When shape changes, reason subinterval by subinterval or explain why the error direction is undetermined.

5. Interactive Riemann Sum Calculator

Choose a function and compare how different methods estimate the same signed integral. This tool uses equal subintervals. The worked table example below shows how to handle unequal spacing.

Choose a method and calculate to see the estimate.

6. Worked examples with graphs and tables

Example 1: Compare all four methods on one interval

Estimate ∫15x2dx with four equal subintervals.

1 · Mark the partition

The endpoints are 1,2,3,4,5. Each of the four gaps has width:

Δx=5−14=1

2 · Choose left or right heights

For the left sum, use 1,2,3,4. For the right sum, use 2,3,4,5. Square each input to get its height.

L4=1(1+4+9+16)
L4=30
R4=1(4+9+16+25)
R4=54

3 · Evaluate at the midpoints

Square 1.5,2.5,3.5,4.5, the centers of the four intervals. The resulting heights are 2.25,6.25,12.25,20.25.

Pair the first two heights and the last two heights, then add:

M4=1(8.5+32.5)=41

4 · Use the endpoint averages

Average the left and right sums for this same partition.

T4=30+542=42

5 · Compare with the exact value

The graph is increasing and concave up here, so the left and midpoint sums are low, and the right and trapezoidal sums are high. The exact integral is 1243≈41.33; the midpoint estimate is closest in this example.

Left: L4=30

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 1 2 3 4 5 x 0 5 10 15 20 25 f x ( )
Each rectangle touches the curve at its left edge.

Right: R4=54

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 1 2 3 4 5 x 0 5 10 15 20 25 f x ( )
Each rectangle touches the curve at its right edge.

Midpoint: M4=41

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 1 2 3 4 5 x 0 5 10 15 20 25 f x ( )
Each rectangle touches the curve at its midpoint.

Trapezoidal: T4=42

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 1 2 3 4 5 x 0 5 10 15 20 25 f x ( )
Each slanted top joins two sampled points.

Example 2: Use a table with equal widths

Estimate ∫08f(x)dx with four trapezoids from the table.

1 · Read the endpoints

Equal spacing
Input xHeight f(x)
03
27
411
69
85

Each gap has width 2. Every interior height belongs to two trapezoids.

2 · Weight and add

The interior heights sum to 7+11+9=27.

T4=22[3+2(27)+5]
T4=3+54+5=62

The estimated signed area is 62. Without information about the graph between entries, the table alone does not give the error direction.

Example 3: Read unequal widths in a rate table

A pump adds water at rate r(t). Estimate the volume added over the first six minutes using the right and trapezoidal sums.

1 · Find each gap separately

Pump measurements
Time (min)Rate (galmin)
04
16
38
62

The intervals [0,1], [1,3], and [3,6] have widths 1,2,3 minutes.

2 · Use the right heights

R3=1(6)+2(8)+3(2)
R3=28

The estimate is 28gal. The first rate is not a right endpoint.

3 · Use a separate average for each interval

The endpoint averages are 4+62=5, 6+82=7, and 8+22=5, in gallons per minute.

T3=1(5)+2(7)+3(5)
T3=34

About 34gal of water was added by the trapezoidal estimate. Taking out a single width would change the estimate.

Example 4: Write a finite sum with sigma notation

Write the right sum for ∫210(3x+1)dx with four equal intervals, then evaluate.

1 · Identify the right endpoints

Δx=10−24=2

For i=1,2,3,4, xi=2+2i, giving 4,6,8,10.

2 · Substitute into the height formula

With f(x)=3x+1, the height at xi is 7+6i.

R4=2∑i=14(7+6i)
R4=2(13+19+25+31)
R4=176

Example 5: Use exact geometry on a signed graph

The graph joins (0,2) and (4,−2) with a line segment. Find the signed integral and the total geometric area between the graph and the axis.

1 · Split at the axis crossing

The segment is y=2−x. It crosses the axis at x=2. Each triangle has base 2 and height 2.

A=12(2)(2)=2

2 · Give each area the correct sign

∫04(2−x)dx=2−2=0
∫04|2−x|dx=4

The signed trapezoidal sum also gives 0 because the chord is the actual line. The two physical regions still have positive area.

Signed area from a graph

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0 1 2 3 4 x −2 −1 0 1 2 f x ( )
Solid edge above the axis: add the triangle. Dashed edge below the axis: subtract the triangle for net area.

7. AP free-response setup and common errors

  1. State the requested method and write down the partition. Use the stated intervals even if their widths differ.
  2. Match each width to the correct sampled height or endpoint average. Show the product terms before simplifying.
  3. Use ≈ when connecting your estimate to an unknown integral. Keep enough precision in intermediate steps and round the final value as requested.
  4. Write a sentence giving the quantity and units. If asked whether the estimate is high or low, identify the property of the graph and explain how the samples or chords compare with the curve.

Watch for: confusing the number of data points with the number of gaps, using endpoint averages for midpoint heights, changing the partition without being asked, and discarding negative contributions to net change.

8. Practice with step-by-step solutions

Problem 1

Approximate ∫04x3dx with a left sum and n=4.

Show solution 1

Solution

The width is 1. Use 0,1,2,3, skipping the final endpoint.

L4=1(0+1+8+27)
L4=36

Problem 2

Approximate ∫131xdx with a right sum and n=4.

Show solution 2

Solution

The width is 12. Use 1.5,2,2.5,3.

R4=12(23+12+25+13)
R4=1920=0.95

Problem 3

Approximate ∫03(x2+1)dx with a midpoint sum and n=3.

Show solution 3

Solution

The width is 1. Use 0.5,1.5,2.5 and square each before adding 1. The heights are 1.25,3.25,7.25.

M3=1(4.5+7.25)
M3=11.75

Problem 4

The inputs 0,3,6,9 have respective heights 2,5,7,4. Find the trapezoidal estimate.

Show solution 4

Solution

There are three gaps of width 3. The interior heights sum to 5+7=12 and each appears twice.

T3=32[2+2(12)+4]
T3=32(30)=45

Problem 5

If f is increasing on [a,b], how does the left sum compare with the integral?

Show solution 5

Solution

It is at most the integral, and is lower for a strictly increasing continuous function. The left height on each subinterval is no larger than the function values to its right. Multiply by the positive width and add the inequalities.

Problem 6

On [0,2], is the one-interval midpoint estimate for f(x)=4−x2 high or low? Justify using concavity.

Show solution 6

Solution

The graph is concave down because f″(x)=−2. So the midpoint sum is high. With one interval the midpoint is 1 and the width is 2.

M1=2f(1)=6

9. Frequently asked questions

What is a Riemann sum?

A sum of signed rectangle contributions: evaluate the function at one sample point per interval and multiply by that interval’s width.

How do you find each width?

Subtract the left input from the right input in each subinterval. When spacing is uniform, divide the full interval width by the number of subintervals.

How do left and right sums differ?

A left sum uses the first point in each interval; a right sum uses the last.

Can I estimate a midpoint height by averaging endpoint heights?

That average gives the trapezoidal height. A midpoint sum needs the function value at the midpoint input.

Is a trapezoidal sum a rectangle sum?

It uses endpoint chords rather than rectangles. It equals the average of the left and right sums on the same partition.

When are the left or right sums too low?

An increasing function makes the left sum low; a decreasing function makes the right sum low. The corresponding estimates can be exact on constant intervals.

How does a finite sum lead to an integral?

For an integrable function, as equal subintervals get arbitrarily narrow, the rectangular sums approach the definite integral. More rectangles do not guarantee that every individual refinement improves an arbitrary finite estimate.

10. Continue Unit 6

Topic 6.1 builds the connection between area and accumulated change. Topic 6.3 turns the finite estimates you used here into the limit that defines a definite integral.