The fundamental theorem

See why integrals and derivatives undo each other, and use that to get exact answers.

B. CalculusAbout 40 minutes

Adding up thin strips looks nothing like finding a slope. And yet they're the same operation in reverse. This is the most important result in calculus, and you can see it with your own eyes.

The top shows the area filling up. The bottom plots that area so far. The white line on the bottom graph is its slope.
  • Press Sweep. Watch how fast the lower curve is rising against how tall the top curve is.
  • Stop where the top curve crosses zero. What's the lower curve doing there?
  • Choose "Constant 1". Area grows at a steady rate, so what shape must the lower graph be?

Why it's true

Let \(A(x)\) be the area under \(f\) so far. Move \(x\) on by a tiny step \(dx\). The area grows by one more thin strip, with height \(f(x)\) and width \(dx\):

\[ dA = f(x)\,dx \quad\Rightarrow\quad \frac{dA}{dx} = f(x) \]

So the slope of the area is the height of the curve. That's the theorem. And it gives us a shortcut: to integrate \(f\), find a function \(F\) whose derivative is \(f\).

\[ \int_a^b f(x)\,dx = F(b) - F(a) \qquad\text{where } F' = f \]

Worked example

Find the exact area under \(x^2\) from 0 to 3, with no strips at all.

\[ \int_0^3 x^2\,dx \]

Which function has derivative \(x^2\)? Run the power rule backwards.

\[ F(x) = \frac{x^3}{3} \]

Take the value at the top, minus the value at the bottom.

\[ F(3) - F(0) = \frac{27}{3} - 0 = 9 \]

Set the Riemann visualisation in the previous lesson to \(x^2\) with a range of 0 to 3 and lots of strips, and you'll approach this.

To run the power rule backwards in general (except for \(n = -1\), where you get \(\ln x\)):

\[ \int x^n\,dx = \frac{x^{n+1}}{n+1} + C \]

The \(C\) appears because a constant has zero derivative, so you can't tell if one was there. It cancels when you subtract \(F(b) - F(a)\).

This is why you can go both ways with motion: differentiate position to get velocity, or integrate velocity to get position. The \(C\) is the starting position, which the velocity alone can't tell you.

Problems

Work out \(\int_0^{\pi} \sin x\,dx\).

Answer

\(F = -\cos x\), so \(-\cos\pi + \cos 0 = 1 + 1 = 2\).

Work out \(\int_1^2 (3x^2 + 1)\,dx\).

Answer

\(\left[x^3 + x\right]_1^2 = (8 + 2) - (1 + 1) = 8\)

Work out \(\int_1^{e} \frac{1}{x}\,dx\).

Answer

\(\ln e - \ln 1 = 1\)

A particle has velocity \(v = 3t^2 + 2\). How far does it go from \(t = 0\) to \(t = 2\)?

Answer

\(\left[t^3 + 2t\right]_0^2 = 8 + 4 = 12\)

Learn more

An unhandled error has occurred. Reload ๐Ÿ—™