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.
- 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\):
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\).
Worked example
Find the exact area under \(x^2\) from 0 to 3, with no strips at all.
Which function has derivative \(x^2\)? Run the power rule backwards.
Take the value at the top, minus the value at the bottom.
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\)):
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\)