Fundamental theorem of calculus in this visualization
The fundamental theorem of calculus connects the derivative and the integral. Its first part says that if is continuous on an interval containing , the area function (also called the accumulation function, or an integral with a variable upper limit)
is also written . Its second part follows: if is any antiderivative of , then has derivative 0, so it is constant, and
The upper graph is ; the shaded region runs from the lower limit to the upper limit x. The lower graph is A, drawn on the same horizontal axis. At , the blue segment above is the height f(x). Where is continuous at , the blue tangent below has exactly that slope: its rise over one unit is the same blue segment, because both graphs use the same scale. Where jumps, there is no tangent; the two one-sided slopes are drawn dashed. Over the thin strip of width Δx beside , the area grows by , so : the readout bar shows this quotient, and below, the strip's secant on , whose slope it is, turns into the tangent as . Where jumps, a strip on each side keeps its own height however thin it gets.
Reading it correctly
- The area is signed. Where the region counts negative, so falls; where the integral runs backward and every sign flips. A zero of where it changes sign is a peak or a valley of ; a zero without a sign change is not.
- The theorem needs to be continuous at . Where jumps, stays continuous but has a corner: the one-sided slopes are the one-sided limits of , and does not exist. For the step function here, is integrated piece by piece; no single antiderivative works across the jump.
- Changing adds a constant: . When is continuous, every area function is an antiderivative, but not every antiderivative is an area function: for , is never , because that would need .
- The letter is only the variable of integration; is where the area stops. The values on this page come from formulas for the area — , piece by piece for the step function — not from numerical sums. For the formula uses the error function .
Where it is used
- Evaluating definite integrals: find any antiderivative and subtract, instead of taking a limit of Riemann sums.
- Accumulation: displacement is the integral of velocity, and its rate of change is the velocity itself. (Distance travelled is the integral of the speed .)
- Defining new functions: , and , which has no formula in elementary functions — the theorem still gives its derivative, .
Controls
- Drag across either graph to move , and the mark on the upper axis to move the lower limit; under Limits each has a wheel for fine steps and keys for its usual values, which land exactly (π stays π).
- Under Thin strip, a logarithmic fader sets the width from 1 down to 0.0001 (type it down to 0.000001), and a lever puts the strip right of , left of it, or on both sides. Δx → 0 makes the strip ten times narrower at each step, pausing at each, and stays at the end; pressed there, it starts again from 0.5.
- Presentation mode opens a full-screen view for projectors (Space runs Δx → 0, ↑ ↓ make the strip ten times wider or narrower, ← → move , H hides the faint rest of , its tangent and its slope).