The area under a curve has been defined as a limit of sums, and computing even the simplest case took a closed form for the sum of squares, so the definition needs to be rescued by a theorem.
The rescue is the result that gives this course its shape: the two problems of the first lesson, the slope and the area, are inverse operations. Everything needed for the proof is already available, namely the Mean Value Theorem for integrals from the previous lesson and the corollary from the lesson before it that two functions with the same derivative differ by a constant.
The area so far
Fix a function , continuous on , and define a new function by letting the upper limit vary:
This is the area accumulated from the fixed left end up to the movable point . The variable of integration is written rather than deliberately, because is now doing a different job as the endpoint; using the same letter for both is a common source of confusion and no more than that, since the variable of integration means nothing outside the integral.
is a perfectly ordinary function. For and , the calculation of the previous lesson generalises to give : the same Riemann sum with in place of produces times the same limit. Differentiate that and you get , which is again. That is not a coincidence, and it is not special to this function.
The first half
Fundamental Theorem, part one. If is continuous on , then is differentiable and for every in the interval.
The proof takes four lines. The difference is , which by additivity is : the area of the thin sliver between and . So the difference quotient is
and the right side is exactly the average value of over the sliver. By the Mean Value Theorem for integrals there is a point between and where equals that average. As the point is squeezed toward , and since is continuous, . Therefore .
Read as a sentence, it says the rate at which area accumulates is the height of the curve, which is obvious once heard: widen the region by a sliver of width and you gain about of area. Continuity is what makes "about" into "exactly in the limit".
The immediate consequence is an existence theorem that nothing else supplies: every continuous function has an antiderivative, namely its own area function. Whether that antiderivative can be written in terms of familiar functions is a separate question, and often the answer is no.
The second half
Fundamental Theorem, part two. If is continuous on and is any function with there, then
The proof is where the Mean Value Theorem pays for itself. By part one, is an antiderivative of . So and have the same derivative on the interval, and by the corollary proved two lessons ago they differ by a constant: . Now evaluate at both ends and subtract. Since , we get , which is .
The word any in the statement is what the corollary buys. There are infinitely many antiderivatives, differing by a constant, and every one of them gives the same answer because the constant cancels in the subtraction. Without the theorem that they differ only by a constant, there would be no reason to expect that.
A function with is called an antiderivative of , and the whole family is written with the indefinite integral sign,
The is not decoration. Omitting it makes no difference in a definite integral, and it is the entire content of the answer in a differential equation, where the constant is fixed by an initial condition.
What this actually means
Two problems that look unrelated, the slope of a curve and the area under one, have turned out to be inverse operations. Differentiating an area function returns the integrand; integrating a derivative returns the original function up to a constant.
That is the discovery Newton and Leibniz are credited with, and it is worth being precise about the credit. Tangents had been drawn by Fermat and Descartes, and areas computed by Cavalieri, Wallis and others, before either of them was born. What neither predecessor had was the theorem connecting the two, which converts an intractable limit of sums into a search for an antiderivative, and it is the connection that turned a collection of clever special cases into a subject with an algorithm.
Practically, the theorem hands over a table of integrals for free: every differentiation rule, read backwards, is an antiderivative. From the power rule, for every except , where the formula would divide by zero and where the answer is instead , the gap in the power rule noticed in the transcendental lesson. From the trigonometric derivatives, and . From the exponential, . From the inverse functions, and .
Example. Evaluate and .
An antiderivative of is , so the first integral is evaluated from to , which is . An antiderivative of is , positive throughout , so the second is . Compare that with the previous lesson, where four midpoint rectangles gave after a paragraph of arithmetic: the theorem produces a better answer in one line.
Now you. Evaluate .
Answer
An antiderivative is , so the value is .
Net change
Part two, read in the other direction, is the statement that most applications actually use. If is any quantity and its rate of change, then
the total change in the quantity over the interval. Integrating a rate recovers the amount. That single sentence covers a velocity integrating to a displacement, a flow rate integrating to a volume, a power integrating to an energy, a current integrating to a charge, and a marginal cost integrating to a total cost.
Example. Water flows into a tank at litres per minute. How much enters during the first ten minutes?
The amount is . An antiderivative is , so the value is litres. The check is available because the rate is linear: it runs from to litres per minute, averaging , and .
Now you. A particle has velocity metres per second. Find its displacement over the first three seconds, and the distance it travels.
Answer
The antiderivative is , so the displacement is metres: it ends up three metres behind where it started. For the distance, note that until and positive after. Over the first stretch the position falls by metres, and the second contributes metres, so the distance travelled is metres.
Where part two goes wrong
The hypothesis that is continuous on the whole interval is not a formality, and skipping it produces answers that are visibly absurd.
Consider . An antiderivative of is , and evaluating gives . That is impossible: the integrand is positive everywhere it is defined, so any sensible notion of area cannot be negative. The error is that the integrand is unbounded at , which is inside the interval, so it is not continuous there and the theorem does not apply. The integral is in fact divergent, in the sense made precise in a later lesson.
The lesson generalises. Before quoting an antiderivative across an interval, check that both the function and the antiderivative behave throughout it. Integrands with a vertical asymptote inside the range, and antiderivatives such as that jump at a point of the range, are where confident nonsense comes from.
Part one with a chain rule
Part one is used less often for computing and more often for differentiating a function that is defined as an integral, which happens whenever an antiderivative cannot be written down.
If the upper limit is a function of rather than itself, the chain rule applies. Writing as a composition of the area function with , part one gives and so
Example. Differentiate and evaluate at .
Here and , so . At that is . No antiderivative of was needed, and none was used.
Now you. Differentiate and evaluate at .
Answer
With , the rule gives , which at is .
Functions defined this way are not exotic. The error function of statistics is , defined as a multiple of , and the sine integral of optics is . Neither integrand has an antiderivative expressible in elementary terms, so the integral is the definition, and part one is what says these functions are differentiable and gives their derivatives.
The new difficulty
The theorem has moved the problem rather than removing it. Every definite integral is now as easy as recognising the integrand as somebody's derivative, and that recognition is the hard part.
Differentiation is an algorithm: apply the rules from the outside in and an answer always comes out. Antidifferentiation is a search. There is no rule that inverts the product rule directly, no rule that inverts the chain rule directly, and no procedure guaranteed to terminate. What exists instead is a set of techniques that convert unfamiliar integrands into familiar ones, and a large body of integrals that no technique will ever crack because their antiderivatives are not elementary functions at all.
The next lesson covers the techniques, and is honest about where they stop.