Calculus

The Fundamental Theorem

Sweep a point across a curve and watch the area behind it grow into a new function, whose slope at every point is the height of the curve.

f > 0: A climbsf < 0: A fallsheight f(x) = slope of AA(b) − A(a)

Drag across either plot to move x

—
—

Values
f(x)—
A(x)—
∫ab f = A(b) − A(a)—
Riemann sum—
error of the sum—
leftrightmidtrap

What to observe

  1. Sweep x: A climbs fastest where f is tallest. The amber bar (the height f(x)) and the amber tangent on A (its slope) are the same number.
  2. On x³ − x the slivers below the axis count as negative, so A runs downhill there, and A is flat exactly where f crosses zero.
  3. Move the start a: A drops by a constant C but keeps its shape, so both curves rise by the same amount from a to b. Any antiderivative F gives ∫ₐᵇ f = F(b) − F(a).
  4. With Left pieces, doubling n only halves the error, while Midpoint quarters it: in the log–log plot Left and Right fall with slope −1, Midpoint and Trapezoid with slope −2.

Shortcuts:space animate · f fullscreen