An integral is a limit of sums. Watching the rectangles converge is the fastest way to believe that, and to see which rule converges fastest.
By the end of this chapter you can
Express an area as a Riemann sum and then as an integral
Compare left, right, midpoint and trapezoid approximations
Say which rules over- and under-estimate, and why
Interpret a definite integral as accumulated change
The derivative was a limit of slopes. The integral is a limit of sums, and the
parallel is exact: both take a quantity you can compute for a finite step, and
ask what it approaches as the step shrinks to nothing.
Slice the region under a curve into n rectangles of width
Δx=nb−a, add their areas, and let n grow:
∫abf(x)dx=n→∞limi=1∑nf(xi)Δx
That is the definition. Everything else in this unit is a way of avoiding
having to use it.
Three things are worth doing with that before reading on.
Drag n up on the left rule. The error shrinks, and roughly halves each
time you double n. Slow, steady, predictable.
Switch to right. On this increasing function the left rule undershoots and
the right rule overshoots, so the true value is trapped between them. At n=4
they give 1.75 and 3.75 — and their average, 2.75, is exactly what the
trapezoid rule gives. That is not a resemblance: averaging the two rules is
algebraically identical to averaging each strip’s two edges.
Switch to midpoint and trapezoid at the same n. Both are dramatically
better. At n=4 the left rule is out by 0.92, the trapezoid by 0.083, and
the midpoint by 0.042 — a factor of twenty for no extra work.
∫x2dx=3x3
38=38
checked by the build
The exact value is 38, and the widget’s error readout is measured
against exactly that.
Which rules over- and under-estimate
This is a standard exam question, and it is decided by two properties of the
function, not by memorising four cases.
increasing f
decreasing f
left rule
under
over
right rule
over
under
For left and right it is about monotonicity: on an increasing function, the
left edge of each strip is the lowest point in it, so every rectangle sits below
the curve.
concave up
concave down
trapezoid
over
under
midpoint
under
over
For trapezoid and midpoint it is about concavity: a chord across a
concave-up curve lies above it, so the trapezoid overshoots. The midpoint
rectangle’s error is subtler — the bit it misses on one side is more than made
up on the other — and it lands on the opposite side, which is why midpoint and
trapezoid errors have opposite signs.
It is not only area
Area is the picture, but it is not the meaning. A definite integral is
accumulated change, and the units come from the product f(x)dx:
f is
x is
the integral is
velocity (m/s)
time (s)
displacement (m)
rate of flow (L/s)
time (s)
volume (L)
force (N)
distance (m)
work (J)
density (kg/m)
length (m)
mass (kg)
This is why the integral sign turns up throughout physics, and why the units
question — “what does this integral represent?” — is answered by multiplying the
units of the integrand by the units of the variable.
Signed area. Where f is negative the product f(x)Δx is negative,
so the integral subtracts. A velocity that goes negative contributes backwards
displacement, exactly as it should.
∫xdx=2x2
∫sin(x)dx=−cos(x)
∫exdx=ex
∫x1dx=log(x)
checked by the build{
"question": "You approximate ∫₀² x² dx with 4 left rectangles and get 1.75, while the exact value is 8/3 ≈ 2.667. Why is the estimate low?",
"options": [
{
"text": "x² is increasing on [0,2], so each rectangle's left edge is the lowest point of its strip",
"correct": true,
"why": "Exactly. On an increasing function the left endpoint gives the smallest value in each subinterval, so every rectangle fits under the curve and the total is an underestimate."
},
{
"text": "Because 4 rectangles is too few — the left rule is exact in the limit",
"correct": false,
"why": "True but not an explanation of the direction. More rectangles shrink the error, yet the left rule stays below the true value at every n here. The sign of the error comes from monotonicity, not from n."
},
{
"text": "Because x² is concave up, and concavity decides left-rule error",
"correct": false,
"why": "Concavity decides the trapezoid and midpoint errors. For left and right rules it is whether the function increases or decreases that matters."
},
{
"text": "Because part of the region lies below the axis and subtracts",
"correct": false,
"why": "x² is non-negative on [0,2], so nothing subtracts. Signed area matters when the integrand changes sign, which it does not here."
}
]
}