5.7 The Fundamental Theorem of Calculus
In Example 5.6.7 we computed the area function
by cutting one triangle out of another. Differentiating gave , so the derivative of the area function was the function we started with. This was not a coincidence peculiar to straight lines. It happens in general.
Observation. If is defined as the integral of from to ,
then .
As a slogan: differentiation and integration are inverses of each other. This lecture makes the slogan precise, proves it, and shows how it turns the difficult limits of Riemann sums into one-line computations.
5.7.1 Statement
-
(i)
Let be a continuous function on . Then is the derivative of some differentiable function. In fact, for every ,
-
(ii)
Let be any function with a continuous derivative on . Then
Part (i) is about accumulation. As the upper limit moves forward by a small amount , the area grows by a thin strip of height about and width . So the rate at which area accumulates is the height of the graph. This is the heuristic from Section 5.6.2.
Part (ii) is about net change. Take to be the position of a car and its velocity. Then (ii) reads
In Definition 5.2.2 we wrote this relation as a definition, before we knew what an integral was. Now each side has its own meaning. The left side is a limit of Riemann sums, that is, of “velocity small time” added up over the trip, as in Section 5.4. The right side is the difference between where you ended and where you started. Part (ii) says that adding up all the small displacements gives the total displacement, and now it is a theorem.
5.7.2 The Mean Value Theorem for integrals
The proof of (i) rests on a lemma that makes the bounds of Corollary 5.6.4 sharp. In Section 5.6.1 we saw that the average value of lies between its smallest and largest values. If is continuous, the average is actually attained.
Let . If is a continuous function on , then there exists such that
We use three facts about a continuous function on a closed, bounded interval. First, it is integrable. Second, by the Extreme Value Theorem, it attains a minimum value and a maximum value at some points . Third, by the Intermediate Value Theorem, it takes every value between and .
Since on , Corollary 5.6.4 (i) gives
Dividing by , we see that the average value
satisfies . By the Intermediate Value Theorem, applied to on the closed interval with endpoints and , there is a point between and , hence in , with . Multiplying by gives the claim. ∎
Geometrically, Lemma 5.7.2 says that we can level off the region under the graph, filling the valleys with the hills, so that it becomes a rectangle of the same area. The height of that rectangle is a value that the function actually takes (Figure 5.10).
5.7.3 Proof of the Fundamental Theorem
The ideas of the proof can be illustrated in Figure 5.11. Here is how we translate geometry to formal proof:
-
(i)
Define
Fix and let be such that . By Corollary 5.6.3, applied to the points , and , we have
We now apply Lemma 5.7.2 to the small interval between and .
-
•
If , the lemma on gives a point with .
-
•
If , the lemma on , together with Definition 5.6.1 (ii), gives a point with .
In both cases, lies between and , and
Since , the squeeze theorem gives as . Since is continuous at , this implies . Therefore
At the endpoints and , only or only is allowed, so we obtain the appropriate one-sided derivative. That is exactly what differentiability on the closed interval means. We have shown that
-
•
-
(ii)
Since is continuous on , part (i) applies to . So the function
satisfies on . Hence the difference satisfies
A function with zero derivative on an interval is constant. Indeed, for any , the Mean Value Theorem of differential calculus, applied to on , gives some with . Thus
where is a constant. To find , choose . By Definition 5.6.1 (i), , so
Consequently,
Finally, choose . This gives , which says
The proof uses two theorems that are both called “the MVT”. Part (i) uses the Mean Value Theorem for integrals (Lemma 5.7.2), which produces a point where equals its average value. Part (ii) uses the Mean Value Theorem of differential calculus, which produces a point where the derivative equals the slope of a secant line. Here it is used for the fact that a zero derivative forces a function to be constant. The next remark shows that the two theorems are closely related.
Part (i) can fail if is not continuous. Consider the step function
It is integrable on , and equals for and for . So , which has a corner at and is not differentiable there. The area function is still continuous, but it is only as smooth as allows.
Let have a continuous derivative on . The Mean Value Theorem of differential calculus gives a point with
where the second equality is Theorem 5.7.1 (ii). Read from right to left, this is Lemma 5.7.2 for the function . With and , it says that at some instant your velocity equals your average velocity. If you drove miles in hours, then at some moment your speedometer read exactly . Compare this with the speedometer estimate in Section 5.6.1.
The slogan “differentiation and integration are inverses” has two halves. Part (i): integrate, then differentiate, and you get back exactly. Part (ii): differentiate, then integrate, and you get back up to a constant, namely . The constant is lost because differentiation cannot see vertical shifts.
5.7.4 Application: antiderivatives and integral evaluation
Let be defined on an interval . A function is an antiderivative of on if is differentiable on and for all .
-
•
We write
-
•
We use
to denote the family of all antiderivatives of , called the indefinite integral. On an interval, any two antiderivatives differ by a constant. So if is one antiderivative of , we write , where is an arbitrary constant.
The claim that antiderivatives differ by a constant is proved exactly as in part (ii) of the proof above. If on an interval, then there, so is constant.
Two warnings about this notation.
-
•
The definite integral is a number. The indefinite integral is a family of functions. Despite the shared symbol, they are different kinds of object, and Theorem 5.7.1 is precisely what connects them.
-
•
“Differ by a constant” requires an interval. On , both and are antiderivatives of , but their difference jumps from to and is not constant. The zero-derivative argument breaks down because there is no interval joining to inside the domain.
In this language, Theorem 5.7.1 (ii) becomes the workhorse of integral calculus.
Let be continuous on , and let be any antiderivative of on . Then
Since is continuous on , Theorem 5.7.1 (ii) gives . ∎
The choice of antiderivative does not matter. Replacing by changes both and by , and the difference is unchanged.
Let on . Find .
Let . Then . By the Fundamental Theorem of Calculus,
This agrees with Example 5.6.7, but we did not need any geometry.
Let and on . With as before,
Geometrically, the triangle below the axis on cancels the congruent triangle above the axis on . In the language of Section 5.2, take as a velocity. The car moves backward while slowing down, stops at , and then moves forward while speeding up, retracing its path exactly. Its net displacement is zero.
What made this work is symmetry, not the particular function, see Figure 5.12. Recall that a function on is function odd if , and function even if , for all .
Let and let be continuous on .
-
(i)
If is odd, then .
-
(ii)
If is even, then .
By Theorem 5.7.1 (i), the function is an antiderivative of on . Let . By the chain rule,
-
(i)
If is odd, then , so on . As in the proof of Theorem 5.7.1 (ii), is constant. Evaluating at shows that the constant is . Hence , and by Corollary 5.7.6,
-
(ii)
If is even, then , so on . Hence is constant, and evaluating at shows that the constant is . Hence , and by Corollary 5.7.6 (used once on and once on ),
The graph of an odd function looks the same after a half-turn about the origin. Every patch of positive area on the right therefore has a matching patch of negative area on the left. The graph of an even function is a mirror image of itself across the vertical axis, so the left half contributes exactly as much as the right half. Spotting a symmetry before integrating can save a whole computation.
Both hypotheses in Proposition 5.7.9 are essential. The interval must be symmetric: . The function must also be integrable. The function is odd, but “” is meaningless, because is unbounded near and is not Riemann integrable on .
Let on .
-
•
Directly. Observe that satisfies . By the Fundamental Theorem of Calculus,
-
•
By symmetry. Since is even, Proposition 5.7.9 (ii) gives
The second computation contains the value . In Remark 5.4.6 we obtained the same number the hard way. We wrote down right and left Riemann sums on subintervals, evaluated them with the sum-of-squares formula from Theorem 5.3.5, and let . The Fundamental Theorem replaces that whole computation with a single antiderivative, . The two answers must agree, and they do: both methods compute the same limit of Riemann sums.
Newton and Leibniz both knew that integration reverses differentiation, and they built calculus on that insight. For them, however, the integral was an intuitive “sum of infinitely many infinitesimal pieces”, and the theorem was more a principle than a proof. In his 1823 Résumé des leçons sur le calcul infinitésimal, given at the École Polytechnique, Augustin-Louis Cauchy defined the integral of a continuous function as a limit of sums. He then proved part (i) using a mean value property of the integral, essentially the argument given above. With that, a principle passed down for 150 years became a theorem.
Corollary 5.7.6 reduces computing to a single question.
Given a function , can we find a function such that ?
Here are 3 partial answers:
-
•
In principle, yes, if is continuous. Theorem 5.7.1 (i) supplies one explicitly: . For computing , however, this is circular.
-
•
Not always in closed form. The function , the bell curve of probability theory, is continuous, so it has an antiderivative. Joseph Liouville’s work in the 1830s showed that no antiderivative of it can be written in terms of elementary functions (polynomials, roots, exponentials, logarithms, trigonometric functions, and their compositions). This is why statisticians use tables, or software, for the normal distribution.
-
•
Not at all, for some discontinuous . Derivatives satisfy an intermediate value property (Darboux’s theorem22 2 See https://en.wikipedia.org/wiki/Darboux%27s_theorem_(analysis).), even when they are not continuous. So the step function in the caveat “Continuity matters” above has no antiderivative on , although it is integrable.
Finding antiderivatives in closed form, when they exist, is the art of integration that occupies the coming lectures.
-
(i)
Use Corollary 5.7.6 to compute . Then check your answer by computing the limit of right Riemann sums on regular partitions, using Theorem 5.3.5 (iv).
-
(ii)
Let be continuous on . Use Theorem 5.7.1 (i), Definition 5.6.1 and the chain rule to compute
-
(iii)
Find all values of guaranteed by Lemma 5.7.2 for on .
-
(iv)
Use Proposition 5.7.9 to evaluate with as little computation as possible.
A Catalogue of Standard Antiderivatives
Because finding an antiderivative is differentiation performed in reverse, every differentiation rule produces a corresponding indefinite integral formula.
On any open interval where the respective integrands are defined, the following indefinite integral identities hold:
-
(i)
Power rule (): For any real constant ,
-
(ii)
Reciprocal rule (): On any interval not containing the origin,
-
(iii)
Natural exponential: For any non-zero constant ,
-
(iv)
Trigonometric functions: For any non-zero constant ,
By Definition 5.7.4, verifying each formula requires only differentiating the right-hand side.
-
(i)
For , the power rule for derivatives yields
-
(ii)
If , then and . If , then , and the chain rule gives
Thus, on both and .
-
(iii)
By the chain rule,
-
(iv)
Differentiating the trigonometric candidates:
Computing derivatives is an algorithmic procedure: given any combination of elementary functions, mechanical application of the product, quotient, and chain rules always yields a derivative.
Antidifferentiation is inverse pattern recognition. There is no automatic formula for the antiderivative of an arbitrary product or composition. One inspects the integrand to recognize which function’s derivative would produce it.
The power rule formula breaks down algebraically when due to division by zero. This is not a pathology of calculus, but the exact geometric point where the algebraic powers transition into transcendental functions:
The natural logarithm is the unique antiderivative of that vanishes at .
Evaluate the definite integral
Solution. We first determine an antiderivative for each term separately using Proposition 5.7.13:
By linearity of the integral, an antiderivative of the full integrand on is
Applying Corollary 5.7.6 with evaluation brackets:
Do not confuse definite and indefinite integrals in multi-step problems. Find an antiderivative cleanly first, check it by differentiating, and only then insert the boundary limits .
5.7.5 Application: paying the debt of transcendental functions
It is the mark of an educated mind to rest unsatisfied with a definition until its logical existence is beyond dispute.
Felix Klein
In our initial exposure to differential calculus, we defined the exponential function through an uneasy compromise. We declared as the mysterious base who satisfies the celebrated Euler identity , accepted the algebraic exponent laws for arbitrary irrational powers by hand-waving limits, and subsequently defined the natural logarithm as an afterthought by inverting .
To a working mathematician or physicist, this ordering incurs serious technical debt. Where does truly come from? Why does such a base exist, and why is differentiable for irrational ?
The Fundamental Theorem of Calculus (Theorem 5.7.1) provides the machinery required to pay off this debt in full. By running the developmental sequence in reverse—first defining the logarithm as an accumulation of area under the hyperbola , establishing its core algebraic properties via differential identities, and then constructing the exponential function as its unique inverse—the entire theory becomes self-contained, transparent, and completely free of circular reasoning.
Differentiating Integrals: The Chain Rule Engine
Before rebuilding our library of transcendental functions, let us review the first part of the Fundamental Theorem of Calculus:
In practice, the variable of differentiation rarely sits in the upper limit as a bare, solitary . It often hides in the lower limit, or governs a non-linear upper bound. Handling these cases requires combining the FTC with oriented interval rules and the chain rule.
Simplify each of the following expressions using the Fundamental Theorem of Calculus.
-
(i)
.
Solution. The integrand is continuous on , and the variable appears as the isolated upper limit with a constant lower limit. Applying Part 1 of the Fundamental Theorem directly gives
-
(ii)
.
Solution. To apply the Fundamental Theorem, the variable of differentiation must sit at the upper limit. By the orientation convention (Definition 5.6.1 (ii)), . Differentiating then yields
-
(iii)
.
Solution. Here the upper limit is not , but a non-linear function . We recognize this expression as a composition of an area function with an inner polynomial map. Define
By the chain rule, . Part 1 of the Fundamental Theorem guarantees that
Because , substituting yields
More generally, if and are differentiable functions and is continuous, splitting the integral at an arbitrary basepoint gives
Differentiating with respect to via the chain rule immediately produces the master formula:
The Natural Logarithm Redefined
Recall the classical power rule for integration: for any integer ,
The sole exponent where this algebraic formula encounters a division by zero is . Geometrically, however, the curve is smooth, continuous, and strictly positive on ; the area under it across any interval is well-defined. We turn this singular exception into the definition of the logarithm.
For any real number , we define the logarithm natural by
By Part 1 of the Fundamental Theorem of Calculus, because is continuous on , the function is differentiable on with
The function satisfies:
-
(i)
Normalization: ;
-
(ii)
Monotonicity: is strictly increasing on ;
-
(iii)
Homomorphism property: For all ,
-
(i)
By Definition 5.6.1 (i), an integral over a degenerate interval vanishes:
-
(ii)
By (5.7), for all . Because its derivative is strictly positive, is strictly increasing.
-
(iii)
Fix a constant , and consider the composite function defined on . Differentiating via the chain rule gives
Thus, and share the exact same derivative on the connected interval :
As established in the proof of Theorem 5.7.1 (ii), any function whose derivative vanishes identically on an interval is constant. Therefore, there exists a constant such that
To determine , evaluate this identity at :
Substituting yields .∎
For any and any integer :
-
(i)
;
-
(ii)
;
-
(iii)
.
Applying Theorem 5.7.18 (c) to gives . Since , we find . Part (ii) follows from . Part (iii) follows by induction for , and extends to negative integers via (i). ∎
The Exponential Function and the Number
To invert , we examine its range.
The range of is the entire real line:
Observe that . On the interval , we have , so by comparison (Corollary 5.6.4 (i)),
By Corollary 5.7.19 (iii), for any positive integer , . Since is strictly increasing, letting forces . Similarly, as , which implies . By the Intermediate Value Theorem, maps bijectively onto . ∎
Because is strictly increasing and bijective, it admits a well-defined, strictly increasing inverse function.
We define the exponential function, denoted , as the unique inverse of the natural logarithm:
We define the mathematical constant e as the unique real number satisfying
We write .
The exponential function satisfies:
-
(i)
Normalization: ;
-
(ii)
Eigen-differential property: ;
-
(iii)
Additive group homomorphism: For all ,
-
(i)
Because by Theorem 5.7.18 (a), inverting gives .
-
(ii)
Since is differentiable with non-vanishing continuous derivative on , the Inverse Function Theorem guarantees that its inverse is differentiable on . Differentiating the defining identity via the chain rule yields
Multiplying both sides by confirms that
-
(iii)
Fix an arbitrary constant , and consider the quotient function
Applying the quotient rule together with the chain rule and part (b):
Because its derivative vanishes everywhere on the connected interval , is constant:
To determine the constant , evaluate at :
Therefore, , which rearranges to .∎
By defining , all the familiar algebraic properties of logarithms and exponentials cease to be axiomatic assertions; they become elementary consequences of the Fundamental Theorem of Calculus coupled with the fact that functions with zero derivative are constant.
Trigonometric Functions Redefined Without Triangles
The strategy deployed above is not unique to logarithms. In elementary geometry, the trigonometric functions are defined via right-angled triangles or circular arc lengths. Both geometric approaches rely on unproved spatial intuitions about angles and winding paths.
Using the Fundamental Theorem of Calculus, we can liberate trigonometry entirely from geometric diagrams by defining the inverse sine function as an integral, and subsequently defining the sine function as its inverse.
For , consider the area function
Because the integrand is continuous on , Part 1 of the Fundamental Theorem guarantees that is differentiable on , with
Because , the function is strictly increasing and therefore invertible.
Let . We define the sine function, denoted , on the interval as the unique inverse of the function :
We define the geometric number analytically by setting .
Differentiating the identity using the chain rule yields
which proves analytically that without drawing a single triangle!
-
(i)
Compute for .
-
(ii)
Let with . Define the general power function by . Use the chain rule to prove that .
-
(iii)
Let . Prove that is an odd function on by using a change of variables in the integral, and deduce that .