Two operations have been built so far. The derivative
turns a position into a velocity; the
integral turns a velocity back into a change of
position. The goal of this lesson is to prove that they undo
each other, and to cash that in: an integral that needed a thousand slices can
then be computed in one line, from a function whose derivative you already
know. You need the previous lesson's slice sums and the derivatives of the
lesson on the rules of differentiation, among them that the
slope of sine is
cosine and the slope of the
exponential function eᵗ is eᵗ.
The area as a moving quantity
Go back to the falling apple, whose speed t seconds after letting go is
v(t) = 9.8 × t. The previous lesson found the distance it falls in the first
second, 4.9 m. Now let the end of the interval move. Write A(x) for the area
under the speed from 0 up to x: the distance fallen by time x. This is the
accumulation function of v, the running
total of everything v has added since the start.
For the apple the area under the line up to x is a triangle with base x and
height 9.8x, so A(x) = ½ × x × 9.8x = 4.9x². (Here 9.8x is short for 9.8 × x,
and x², "x squared", for x × x.) Set its values beside the speed:
x (s)
Distance A(x) (m)
Speed v(x) (m/s)
0.5
1.225
4.9
1
4.9
9.8
2
19.6
19.6
Now ask the derivative's question of A: how fast is it growing at x = 1? Take
small steps h and compute the
average rate of change of A over
each step, which is (A(1 + h) − A(1)) ÷ h:
h = 0.1 gives 10.29;
h = 0.01 gives 9.849;
h = 0.001 gives 9.8049.
The slopes settle on 9.8, which is v(1), the speed at that moment. The rate at
which the area grows is the height of the curve. That is not a coincidence of
this example; it is the theorem.
Why the slope of the area is the height
Let f be any function with no jumps (a
continuous function, in the language of
the lesson Limits of functions and continuity), a starting point, called a, and A(x) the area under f from a to x. Here
is why the slope of A at x is f(x). The argument takes a step forward, h > 0; a
step backward, h < 0, goes the same way with the strip on the other side.
Step 1 / 4 — 1 · Move on by a small step
Move x on to x + h. The area grows by A(x + h) − A(x): exactly the thin strip under the graph between x and x + h, of width h.
So differentiating the accumulation function gives back the function you
accumulated. A function whose derivative is f has a name: it is an
antiderivative of f. What we have just shown is
that A is an antiderivative of f. For the apple, A(x) = 4.9x² and its
derivative is 9.8x, the speed.
Every antiderivative will do
An antiderivative is never unique. The derivative of 4.9x² is 9.8x, and so is
the derivative of 4.9x² + 3, or 4.9x² − 100: adding a constant (a fixed number) moves a graph up
or down without changing its slope anywhere. The converse — the statement read the other way
round — also holds: if two
functions have the same derivative everywhere, their difference has slope 0
everywhere, so it never changes, and they differ by a constant. That a slope of
0 everywhere means "never changes" is stated here without proof; the box below
says what its proof needs.
That is all the theorem still needs. Take any antiderivative F of f. It differs
from A by some constant C, so F(x) = A(x) + C, and
F(b) − F(a) = (A(b) + C) − (A(a) + C) = A(b) − A(a) = A(b),
If F is an antiderivative of f, then ∫ₐᵇ f(t) dt = F(b) − F(a).
In words: accumulating a rate gives back the change. Add up a speed and you
get the change in position; add up any rate of change and you get the total
change of the quantity it is the rate of. The constant C cancels, which is why
any antiderivative gives the same answer.
Why a zero slope everywhere means constant
This step is stated rather than proved here. It feels obvious, a car
whose speedometer reads 0 the whole time does not move, but its proof needs the
mean value theorem, which says that over
any interval some point has a slope equal to the average slope. If every slope
is 0, every average slope is 0, and the function takes the same value at both
ends of every interval. The mean value theorem itself is stated here without
proof.
Integrals without slicing
Reading the rules of differentiation backwards (the
power rule, and the slopes of sin, cos and eᵗ) gives
a table of antiderivatives. Here tᵏ is t to the power k: t⁰ = 1, t¹ = t,
t² = t × t, and so on. Each line says: the derivative of the right-hand column is the
left-hand one.
f(t)
An antiderivative F(t)
tᵏ (k = 0, 1, 2, …)
tᵏ⁺¹ ÷ (k + 1)
cos t
sin t
sin t
−cos t
eᵗ
eᵗ
The area under one arch of the sine curve, from 0 to π, by the theorem:
∫₀^π sin t dt = (−cos π) − (−cos 0) = 1 + 1 = 2
An exact answer, in one line. The slices agree, as the theorem says they must:
import math
n = 1000
h = math.pi / n
left = sum(math.sin(k * h) for k in range(n)) * h
print(left) # 1.9999983550656624
print(-math.cos(math.pi) + math.cos(0)) # 2.0
The exponential gives ∫₀¹ eᵗ dt = e¹ − e⁰ = e − 1 ≈ 1.71828, with e
Euler's number. With 10 slices
the left and right sums are 1.6338 and 1.8056; with 1000 they are 1.7174 and
1.7191, closing in on the number the theorem gave at once.
Compute to see, prove to know
The slices let you see the area; the theorem tells you what it is. A thousand
slices agree with 2 to five decimal places and never reach it, and no number of them
could prove that the answer is exactly 2. The four steps above do. Physics and
Astronomy use the theorem in both directions: a velocity is accumulated into a
change of position, and a force along a path into the
work it does.
This lesson completes the mathematics that Physics and Astronomy lean on:
angles, vectors, derivatives and integrals. Physics' next lessons pick them up:
motion in the plane, projectiles, frames of reference; Mathematics itself goes on to divisibility, the primes and
the complex numbers.
Check yourself
Fill each gap. Each one says why after you check.
Loading the exercise...
Ask the mentor about this module
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Images, PDF or text. Kept on this device only.
Keeping your files on this device
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Ctrl/Cmd + Enter to send
🎓 Practice ladder
3 graded rungs · ~30 min
Two coding rungs in your browser, in a little Python
(Beginner Python teaches it), then the theorem's argument in
your own words, graded against the steps it must contain.
Rung 1 — the slope of the area is the height
Loading exercise…
Rung 2 — antiderivatives of polynomials, and the area they give
Loading exercise…
Rung 3 — why the fundamental theorem works, in your own words
Loading exercise…
My notes on this module
Loading your notes...
The fundamental theorem of calculus — TransformerLab