Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Calculus · Unit 6 · Step-Through Animation

Approximating Areas with Riemann Sums

Cover It in Rectangles, Then Ask Which Way They Lean

You'll learnto build a Riemann sum with the right width, the right sample points and the right number of terms, and to decide whether an approximation comes out high or low from the feature that actually settles it — direction for rectangles, curvature for trapezoids.

There is no formula for the area under a curved graph, so we cover it with shapes that do have one. Two things then go wrong, and they go wrong independently. The setup uses the wrong width, the wrong sample points, or one rectangle too many. And the direction of the error gets memorised as a fact about the word left, when it is a fact about the function — and half the time about a different feature of the function than the one being looked at. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · THE PICTURE COMPUTES EVERY VERDICT, NOTHING IS ASSERTED · v2

direction decides rectangles · curvature decides trapezoids
Before you start
What you're looking at
One curve, with the exact area under it shaded in blue. Wherever a shape sticks out past the blue it has added area that is not there; wherever blue shows above a shape, it has missed some.
The question
Does an approximation come out too high or too low — and which feature of the function decides it? The colors are computed, never chosen: pink falls short, violet overshoots.
Step 1 / 12

Read all 12 steps as text
Step 1

A shape with no formula

There is a formula for the area of a rectangle and none at all for the area under a curved graph. So we cover the region with shapes that do have one and add them up.

Step 2

Cut it into equal strips

Cut \([a, b]\) into \(n\) pieces of the same width and stand one rectangle on each. Every rectangle then has the same width, which is why the sum can be written as one \(\Delta x\) times a total of heights.

\(\Delta x = \dfrac{b - a}{n}, \qquad x_0 = a, \quad x_1 = a + \Delta x, \quad \ldots, \quad x_n = b.\)
Step 3

Count what you cut

Four strips took five marks, and almost every setup error in this topic is an off-by-one between those two numbers. There are \(n\) subintervals, \(n + 1\) grid points, and \(n\) terms in the sum.

Step 4

Which point gives the height

Each rectangle takes its height from one sample point inside its own strip, and which point that is, is the whole difference between the three rules. Watch the strips stay put while the dots move.

Step 5

On a rising stretch

Where \(f\) increases, the left end of a strip is its low side and the right end is its high side, so left rectangles fit under the curve and right ones poke above it. The colors are measured, not chosen.

Step 6

The same two rules, moved

Move to \([2, 4]\), where the same function falls. Neither rule changed, but the left end is now the high side, so both colors swap and both verdicts do too.

Step 7

A turn inside the interval

Both verdicts need \(f\) to keep one direction across the whole interval. Run the left sum on \([1, 5]\), where it turns at \(x = 2\): one strip leans low, three lean high, and only the arithmetic settles the total.

Step 8

Slope the top instead

Join the two endpoint heights with a straight segment and the shape becomes a trapezoid, which hugs the curve far more closely than a flat top can. Its area is the average of the two heights times the width.

\(T_n = \dfrac{\Delta x}{2}\big[f(x_0) + 2f(x_1) + \cdots + 2f(x_{n-1}) + f(x_n)\big] = \dfrac{L_n + R_n}{2}.\)
Step 9

Where the chord sits

A chord lies below a curve that bulges up over it and above one that sags away, and that is exactly what concave down and concave up mean. Both stretches here fall, and the two trapezoids still lean opposite ways.

Step 10

Sampling in the middle

A midpoint rectangle misses a corner on one side of its strip and covers extra on the other. On a concave-up stretch the miss is the larger of the two, so the midpoint sum comes out low.

Step 11

Caught between the two

On a concave-up stretch \(M_n\) is low and \(T_n\) is high, so the exact value is trapped between them — with no antiderivative, no limit and no knowledge of the area at all.

\(f \text{ concave up} \implies M_n \le \text{area} \le T_n.\)
Step 12

Two questions, two features

One falling curve, one rectangle and one trapezoid on each side of the inflection. The rectangles agree because \(f\) falls on both stretches; the trapezoids disagree because the bend turns between them.

When the widths are not equal there is no single \(\Delta x\) — each term carries its own. Readings at \(t = 0, 2, 5, 6, 10\) give widths \(2, 3, 1\) and \(4\), which must add to \(10\); never compute one \(\frac{b-a}{n}\) for them. Next, Topic 6.3 writes all of these sums in sigma notation and lets \(n \to \infty\).