5.7 The Fundamental Theorem of Calculus

In Example 5.6.7 we computed the area function

A⁢(b)=∫1bt⁢dt=12⁢(b2−1)A(b)=\int_{1}^{b}t\,\mathrm{d}t=\frac{1}{2}\bigl{(}b^{2}-1\bigr{)}

by cutting one triangle out of another. Differentiating gave A′⁢(b)=b=f⁢(b)A^{\prime}(b)=b=f(b), 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 F⁢(x)F(x) is defined as the integral of ff from aa to xx,

F⁢(x)≔∫axf⁢(t)⁢dt,F(x)\coloneqq\int_{a}^{x}f(t)\,\mathrm{d}t,

then F′⁢(x)=f⁢(x)F^{\prime}(x)=f(x).

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

Theorem 5.7.1 (The Fundamental Theorem of Calculus).
  1. (i)
    ​

    Let ff be a continuous function on [a,b][a,b]. Then ff is the derivative of some differentiable function. In fact, for every x∈[a,b]x\in[a,b],

    dd⁢x⁢(∫axf⁢(t)⁢dt)=f⁢(x).\frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}\int_{a}^{x}f(t)\,\mathrm{d}t\Bigr{)}=f(% x).
  2. (ii)
    ​

    Let FF be any function with a continuous derivative on [a,b][a,b]. Then

    F⁢(b)−F⁢(a)=∫abF′⁢(t)⁢dt.F(b)-F(a)=\int_{a}^{b}F^{\prime}(t)\,\mathrm{d}t.
Intuition (Two readings of one theorem).

Part (i) is about accumulation. As the upper limit moves forward by a small amount hh, the area grows by a thin strip of height about f⁢(x)f(x) and width hh. 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 F=sF=s to be the position of a car and F′=vF^{\prime}=v its velocity. Then (ii) reads

∫abv⁢(t)⁢dt=s⁢(b)−s⁢(a).\int_{a}^{b}v(t)\,\mathrm{d}t=s(b)-s(a).

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 ×\times 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 ff lies between its smallest and largest values. If ff is continuous, the average is actually attained.

Lemma 5.7.2 (The Mean Value Theorem for integrals).

Let a<ba<b. If ff is a continuous function on [a,b][a,b], then there exists c∈[a,b]c\in[a,b] such that

∫abf⁢(t)⁢dt=f⁢(c)⁢(b−a).\int_{a}^{b}f(t)\,\mathrm{d}t=f(c)\,(b-a).
Proof.

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 m=f⁢(xm)m=f(x_{m}) and a maximum value M=f⁢(xM)M=f(x_{M}) at some points xm,xM∈[a,b]x_{m},x_{M}\in[a,b]. Third, by the Intermediate Value Theorem, it takes every value between mm and MM.

Since m≤f⁢(t)≤Mm\leq f(t)\leq M on [a,b][a,b], Corollary 5.6.4 (i) gives

m⁢(b−a)≤∫abf⁢(t)⁢dt≤M⁢(b−a).m\,(b-a)\leq\int_{a}^{b}f(t)\,\mathrm{d}t\leq M\,(b-a).

Dividing by b−a>0b-a>0, we see that the average value

μ≔1b−a⁢∫abf⁢(t)⁢dt\mu\coloneqq\frac{1}{b-a}\int_{a}^{b}f(t)\,\mathrm{d}t

satisfies m≤μ≤Mm\leq\mu\leq M. By the Intermediate Value Theorem, applied to ff on the closed interval with endpoints xmx_{m} and xMx_{M}, there is a point cc between xmx_{m} and xMx_{M}, hence in [a,b][a,b], with f⁢(c)=μf(c)=\mu. Multiplying by b−ab-a gives the claim. ∎

A precise Cartesian coordinate graph illustrating the Mean Value Theorem for Integrals. A blue curve representing the function y = f(x) is plotted on the interval [a, b] above the horizontal axis. The region under the curve is shaded light orange. A horizontal red line representing the average value height c cuts through the curve. A black rectangle of width (b - a) and height c is drawn. According to the theorem, the area of this rectangle is exactly equal to the shaded area under the curve.
Figure 5.10: Geometric representation of the Mean Value Theorem for Integrals, where the shaded area under the curve f⁢(x)f(x) is equal to the area of the rectangle of height cc and width b−ab-a.

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 f⁢(c)f(c) 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:

Proof of Theorem 5.7.1.
  1. (i)
    ​

    Define

    G⁢(x)≔∫axf⁢(t)⁢dt,x∈[a,b].G(x)\coloneqq\int_{a}^{x}f(t)\,\mathrm{d}t,\qquad x\in[a,b].

    Fix x∈[a,b]x\in[a,b] and let h≠0h\neq 0 be such that x+h∈[a,b]x+h\in[a,b]. By Corollary 5.6.3, applied to the points aa, xx and x+hx+h, we have

    1h⁢(G⁢(x+h)−G⁢(x))=1h⁢(∫ax+hf⁢(t)⁢dt−∫axf⁢(t)⁢dt)=1h⁢∫xx+hf⁢(t)⁢dt.\frac{1}{h}\bigl{(}G(x+h)-G(x)\bigr{)}=\frac{1}{h}\Bigl{(}\int_{a}^{x+h}f(t)\,% \mathrm{d}t-\int_{a}^{x}f(t)\,\mathrm{d}t\Bigr{)}=\frac{1}{h}\int_{x}^{x+h}f(t% )\,\mathrm{d}t.

    We now apply Lemma 5.7.2 to the small interval between xx and x+hx+h.

    • •
      ​

      If h>0h>0, the lemma on [x,x+h][x,x+h] gives a point ch∈[x,x+h]c_{h}\in[x,x+h] with ∫xx+hf⁢(t)⁢dt=f⁢(ch)⁢((x+h)−x)=h⁢f⁢(ch)\int_{x}^{x+h}f(t)\,\mathrm{d}t=f(c_{h})\bigl{(}(x+h)-x\bigr{)}=h\,f(c_{h}).

    • •
      ​

      If h<0h<0, the lemma on [x+h,x][x+h,x], together with Definition 5.6.1 (ii), gives a point ch∈[x+h,x]c_{h}\in[x+h,x] with ∫xx+hf⁢(t)⁢dt=−∫x+hxf⁢(t)⁢dt=−f⁢(ch)⁢(x−(x+h))=h⁢f⁢(ch)\int_{x}^{x+h}f(t)\,\mathrm{d}t=-\int_{x+h}^{x}f(t)\,\mathrm{d}t=-f(c_{h})% \bigl{(}x-(x+h)\bigr{)}=h\,f(c_{h}).

    In both cases, chc_{h} lies between xx and x+hx+h, and

    1h⁢(G⁢(x+h)−G⁢(x))=1h⁢h⁢f⁢(ch)=f⁢(ch).\frac{1}{h}\bigl{(}G(x+h)-G(x)\bigr{)}=\frac{1}{h}\,h\,f(c_{h})=f(c_{h}).

    Since |ch−x|≤|h|\left\lvert c_{h}-x\right\rvert\leq\left\lvert h\right\rvert, the squeeze theorem gives ch→xc_{h}\to x as h→0h\to 0. Since ff is continuous at xx, this implies f⁢(ch)→f⁢(x)f(c_{h})\to f(x). Therefore

    G′⁢(x)=limh→01h⁢(G⁢(x+h)−G⁢(x))=limh→0f⁢(ch)=f⁢(limh→0ch)=f⁢(x).G^{\prime}(x)=\lim_{h\to 0}\frac{1}{h}\bigl{(}G(x+h)-G(x)\bigr{)}=\lim_{h\to 0% }f(c_{h})=f\Bigl{(}\lim_{h\to 0}c_{h}\Bigr{)}=f(x).

    At the endpoints x=ax=a and x=bx=b, only h>0h>0 or only h<0h<0 is allowed, so we obtain the appropriate one-sided derivative. That is exactly what differentiability on the closed interval [a,b][a,b] means. We have shown that

    dd⁢x⁢(∫axf⁢(t)⁢dt)=f⁢(x).\frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}\int_{a}^{x}f(t)\,\mathrm{d}t\Bigr{)}=f(% x).
  2. (ii)
    ​

    Since F′F^{\prime} is continuous on [a,b][a,b], part (i) applies to F′F^{\prime}. So the function

    Fa⁢(x)≔∫axF′⁢(t)⁢dt,a≤x≤b,F_{a}(x)\coloneqq\int_{a}^{x}F^{\prime}(t)\,\mathrm{d}t,\qquad a\leq x\leq b,

    satisfies dd⁢x⁢Fa⁢(x)=F′⁢(x)\frac{\mathrm{d}}{\mathrm{d}x}F_{a}(x)=F^{\prime}(x) on [a,b][a,b]. Hence the difference φ≔Fa−F\varphi\coloneqq F_{a}-F satisfies

    φ′⁢(x)=dd⁢x⁢(Fa⁢(x)−F⁢(x))=0on ⁢[a,b].\varphi^{\prime}(x)=\frac{\mathrm{d}}{\mathrm{d}x}\bigl{(}F_{a}(x)-F(x)\bigr{)% }=0\qquad\text{on }[a,b].

    A function with zero derivative on an interval is constant. Indeed, for any x∈(a,b]x\in(a,b], the Mean Value Theorem of differential calculus, applied to φ\varphi on [a,x][a,x], gives some ξ∈(a,x)\xi\in(a,x) with φ⁢(x)−φ⁢(a)=φ′⁢(ξ)⁢(x−a)=0\varphi(x)-\varphi(a)=\varphi^{\prime}(\xi)(x-a)=0. Thus

    Fa⁢(x)−F⁢(x)=Cfor all ⁢x∈[a,b],F_{a}(x)-F(x)=C\qquad\text{for all }x\in[a,b],

    where CC is a constant. To find CC, choose x=ax=a. By Definition 5.6.1 (i), Fa⁢(a)=∫aaF′⁢(t)⁢dt=0F_{a}(a)=\int_{a}^{a}F^{\prime}(t)\,\mathrm{d}t=0, so

    C=Fa⁢(a)−F⁢(a)=−F⁢(a).C=F_{a}(a)-F(a)=-F(a).

    Consequently,

    Fa⁢(x)−F⁢(x)=−F⁢(a),that is,Fa⁢(x)=F⁢(x)−F⁢(a)on ⁢[a,b].F_{a}(x)-F(x)=-F(a),\qquad\text{that is,}\qquad F_{a}(x)=F(x)-F(a)\quad\text{% on }[a,b].

    Finally, choose x=bx=b. This gives Fa⁢(b)=F⁢(b)−F⁢(a)F_{a}(b)=F(b)-F(a), which says

    ∫abF′⁢(t)⁢dt=F⁢(b)−F⁢(a).∎\int_{a}^{b}F^{\prime}(t)\,\mathrm{d}t=F(b)-F(a).\qed
Caveat (Two different Mean Value Theorems).

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 ff 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.

A graph illustrating the key step in the proof of the Fundamental Theorem of Calculus for a general continuous function. A smooth blue curve y = f(t) lies above the t-axis. It rises to a peak, dips to a valley, and rises again. The region under the curve from t = a to t = x is shaded light orange and labeled F(x), the area function. Its right edge at t = x is a red vertical segment of height f(x). Just to the right, a thin strip of width h runs from x to x + h, marked by a double-headed arrow below the axis. A dashed horizontal line at height f(x) splits the strip into a light blue rectangle of height f(x), labeled f(x) times h, and a thin curved light magenta cap between that height and the curve, labeled E(h). Below the graph, equations state that F(x + h) minus F(x) equals the integral of f from x to x + h, which is f(x) h plus E(h). The cap satisfies the absolute value of E(h) at most h times the largest value of the absolute value of f(t) minus f(x) on [x, x + h]. Therefore the difference quotient of F equals f(x) plus E(h) over h, which tends to f(x).
Figure 5.11: The key step in the Fundamental Theorem of Calculus. For continuous ff and F⁢(x)=∫axf⁢(t)⁢dtF(x)=\int_{a}^{x}f(t)\,\mathrm{d}t, the increment F⁢(x+h)−F⁢(x)F(x+h)-F(x) is a rectangle f⁢(x)⁢hf(x)\,h plus a cap E⁢(h)E(h) with |E⁢(h)|≤h⁢max[x,x+h]⁡|f⁢(t)−f⁢(x)|\left\lvert E(h)\right\rvert\leq h\max_{[x,x+h]}\left\lvert f(t)-f(x)\right\rvert. By continuity, E⁢(h)/h→0E(h)/h\to 0, so F′⁢(x)=f⁢(x)F^{\prime}(x)=f(x).
Caveat (Continuity matters).

Part (i) can fail if ff is not continuous. Consider the step function

f⁢(t)={0,−1≤t≤0,1,0<t≤1.f(t)=\begin{cases}0,&-1\leq t\leq 0,\\ 1,&0<t\leq 1.\end{cases}

It is integrable on [−1,1][-1,1], and G⁢(x)=∫−1xf⁢(t)⁢dtG(x)=\int_{-1}^{x}f(t)\,\mathrm{d}t equals 0 for x≤0x\leq 0 and xx for x>0x>0. So G⁢(x)=max⁡{x,0}G(x)=\max\{x,0\}, which has a corner at x=0x=0 and is not differentiable there. The area function is still continuous, but it is only as smooth as ff allows.

Remark 5.7.3 (Combining the two Mean Value Theorems).

Let FF have a continuous derivative on [a,b][a,b]. The Mean Value Theorem of differential calculus gives a point c∈(a,b)c\in(a,b) with

F′⁢(c)=F⁢(b)−F⁢(a)b−a=1b−a⁢∫abF′⁢(t)⁢dt,F^{\prime}(c)=\frac{F(b)-F(a)}{b-a}=\frac{1}{b-a}\int_{a}^{b}F^{\prime}(t)\,% \mathrm{d}t,

where the second equality is Theorem 5.7.1 (ii). Read from right to left, this is Lemma 5.7.2 for the function f=F′f=F^{\prime}. With F=sF=s and F′=vF^{\prime}=v, it says that at some instant your velocity equals your average velocity. If you drove 120120 miles in 22 hours, then at some moment your speedometer read exactly 6060. Compare this with the speedometer estimate in Section 5.6.1.

Moral.

The slogan “differentiation and integration are inverses” has two halves. Part (i): integrate, then differentiate, and you get back ff exactly. Part (ii): differentiate, then integrate, and you get back FF up to a constant, namely ∫axF′⁢(t)⁢dt=F⁢(x)−F⁢(a)\int_{a}^{x}F^{\prime}(t)\,\mathrm{d}t=F(x)-F(a). The constant is lost because differentiation cannot see vertical shifts.

5.7.4 Application: antiderivatives and integral evaluation

Definition 5.7.4 (Antiderivative).

Let ff be defined on an interval II. A function FF is an antiderivative of ff on II if FF is differentiable on II and F′⁢(x)=f⁢(x)F^{\prime}(x)=f(x) for all x∈Ix\in I.

Notation 5.7.5 (Evaluation brackets and indefinite integrals).
  • •
    ​

    We write

    F(b)−F(a)≕[F(x)]ab≕.F(x)|ab.F(b)-F(a)\eqqcolon\bigl{[}F(x)\bigr{]}_{a}^{b}\eqqcolon\Bigl{.}F(x)\Bigr{|}_{a% }^{b}.
  • •
    ​

    We use

    ∫f⁢(x)⁢dx\int f(x)\,\mathrm{d}x

    to denote the family of all antiderivatives of ff, called the indefinite integral. On an interval, any two antiderivatives differ by a constant. So if FF is one antiderivative of ff, we write ∫f⁢(x)⁢dx=F⁢(x)+C\int f(x)\,\mathrm{d}x=F(x)+C, where CC is an arbitrary constant.

The claim that antiderivatives differ by a constant is proved exactly as in part (ii) of the proof above. If F′=G′=fF^{\prime}=G^{\prime}=f on an interval, then (F−G)′=0(F-G)^{\prime}=0 there, so F−GF-G is constant.

Caveat (Intervals, and numbers versus families).

Two warnings about this notation.

  • •
    ​

    The definite integral ∫abf⁢(x)⁢dx\int_{a}^{b}f(x)\,\mathrm{d}x is a number. The indefinite integral ∫f⁢(x)⁢dx\int f(x)\,\mathrm{d}x 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 ℝ∖{0}\mathbb{R}\setminus\{0\}, both log⁡|x|\log\left\lvert x\right\rvert and log⁡|x|+𝟙(0,∞)⁢(x)\log\left\lvert x\right\rvert+\mathds{1}_{(0,\infty)}(x) are antiderivatives of 1/x1/x, but their difference jumps from 0 to 11 and is not constant. The zero-derivative argument breaks down because there is no interval joining −1-1 to 11 inside the domain.

In this language, Theorem 5.7.1 (ii) becomes the workhorse of integral calculus.

Corollary 5.7.6 (Evaluating integrals by antiderivatives).

Let ff be continuous on [a,b][a,b], and let FF be any antiderivative of ff on [a,b][a,b]. Then

∫abf⁢(x)⁢dx=[F⁢(x)]ab=F⁢(b)−F⁢(a).\int_{a}^{b}f(x)\,\mathrm{d}x=\bigl{[}F(x)\bigr{]}_{a}^{b}=F(b)-F(a).
Proof.

Since F′=fF^{\prime}=f is continuous on [a,b][a,b], Theorem 5.7.1 (ii) gives ∫abf⁢(x)⁢dx=∫abF′⁢(x)⁢dx=F⁢(b)−F⁢(a)\int_{a}^{b}f(x)\,\mathrm{d}x=\int_{a}^{b}F^{\prime}(x)\,\mathrm{d}x=F(b)-F(a). ∎

The choice of antiderivative does not matter. Replacing FF by F+CF+C changes both F⁢(b)F(b) and F⁢(a)F(a) by CC, and the difference is unchanged.

Example 5.7.7 (Triangles no longer needed).

Let f⁢(t)=tf(t)=t on [1,b][1,b]. Find ∫1bf⁢(t)⁢dt\displaystyle\int_{1}^{b}f(t)\,\mathrm{d}t.

Let F⁢(t)=12⁢t2F(t)=\frac{1}{2}t^{2}. Then F′⁢(t)=(12⁢t2)′=t=f⁢(t)F^{\prime}(t)=\bigl{(}\frac{1}{2}t^{2}\bigr{)}^{\prime}=t=f(t). By the Fundamental Theorem of Calculus,

∫1bf⁢(t)⁢dt=∫1bF′⁢(t)⁢dt⁢=FTC⁢F⁢(b)−F⁢(1)=12⁢b2−12⋅12=12⁢(b2−1).\int_{1}^{b}f(t)\,\mathrm{d}t=\int_{1}^{b}F^{\prime}(t)\,\mathrm{d}t\overset{% \text{FTC}}{=}F(b)-F(1)=\frac{1}{2}b^{2}-\frac{1}{2}\cdot 1^{2}=\frac{1}{2}% \bigl{(}b^{2}-1\bigr{)}.

This agrees with Example 5.6.7, but we did not need any geometry.

Example 5.7.8 (Cancellation of signed area).

Let b>0b>0 and f⁢(t)=tf(t)=t on [−b,b][-b,b]. With F⁢(t)=12⁢t2F(t)=\frac{1}{2}t^{2} as before,

∫−bbf⁢(t)⁢dt=∫−bbF′⁢(t)⁢dt⁢=FTC⁢F⁢(b)−F⁢(−b)=12⁢b2−12⁢(−b)2=0.\int_{-b}^{b}f(t)\,\mathrm{d}t=\int_{-b}^{b}F^{\prime}(t)\,\mathrm{d}t\overset% {\text{FTC}}{=}F(b)-F(-b)=\frac{1}{2}b^{2}-\frac{1}{2}(-b)^{2}=0.

Geometrically, the triangle below the axis on [−b,0][-b,0] cancels the congruent triangle above the axis on [0,b][0,b]. In the language of Section 5.2, take v⁢(t)=tv(t)=t as a velocity. The car moves backward while slowing down, stops at t=0t=0, and then moves forward while speeding up, retracing its path exactly. Its net displacement is zero.

Two side-by-side Cartesian coordinate graphs illustrating the integration of even and odd functions over a symmetric interval [-b, b]. The left panel shows an even function f(x) where the curve is symmetric with respect to the y-axis; the regions under the curve on both sides of the y-axis are shaded light blue and marked with plus signs, illustrating that the total integral equals twice the integral from 0 to b. The right panel shows an odd function g(x) where the curve is symmetric with respect to the origin; the region on the left is below the x-axis, shaded light red and marked with a minus sign, while the region on the right is above the x-axis, shaded light blue and marked with a plus sign, illustrating that the positive and negative regions cancel out to give a total integral of 0.
Figure 5.12: Integrals of symmetric functions over [−b,b][-b,b]. Left: Even function symmetry doubling the area. Right: Odd function symmetry resulting in complete cancellation.

What made this work is symmetry, not the particular function, see Figure 5.12. Recall that a function ff on [−b,b][-b,b] is function odd if f⁢(−t)=−f⁢(t)f(-t)=-f(t), and function even if f⁢(−t)=f⁢(t)f(-t)=f(t), for all t∈[−b,b]t\in[-b,b].

Proposition 5.7.9 (Integrals of odd and even functions).

Let b>0b>0 and let ff be continuous on [−b,b][-b,b].

  1. (i)
    ​

    If ff is odd, then ∫−bbf⁢(t)⁢dt=0\displaystyle\int_{-b}^{b}f(t)\,\mathrm{d}t=0.

  2. (ii)
    ​

    If ff is even, then ∫−bbf⁢(t)⁢dt=2⁢∫0bf⁢(t)⁢dt\displaystyle\int_{-b}^{b}f(t)\,\mathrm{d}t=2\int_{0}^{b}f(t)\,\mathrm{d}t.

Proof.

By Theorem 5.7.1 (i), the function F⁢(x)≔∫−bxf⁢(t)⁢dtF(x)\coloneqq\int_{-b}^{x}f(t)\,\mathrm{d}t is an antiderivative of ff on [−b,b][-b,b]. Let H⁢(x)≔F⁢(−x)H(x)\coloneqq F(-x). By the chain rule,

H′⁢(x)=−F′⁢(−x)=−f⁢(−x),x∈[−b,b].H^{\prime}(x)=-F^{\prime}(-x)=-f(-x),\qquad x\in[-b,b].
  1. (i)
    ​

    If ff is odd, then H′⁢(x)=f⁢(x)=F′⁢(x)H^{\prime}(x)=f(x)=F^{\prime}(x), so (H−F)′=0(H-F)^{\prime}=0 on [−b,b][-b,b]. As in the proof of Theorem 5.7.1 (ii), H−FH-F is constant. Evaluating at x=0x=0 shows that the constant is H⁢(0)−F⁢(0)=0H(0)-F(0)=0. Hence F⁢(−x)=F⁢(x)F(-x)=F(x), and by Corollary 5.7.6,

    ∫−bbf⁢(t)⁢dt=F⁢(b)−F⁢(−b)=0.\int_{-b}^{b}f(t)\,\mathrm{d}t=F(b)-F(-b)=0.
  2. (ii)
    ​

    If ff is even, then H′⁢(x)=−f⁢(x)=−F′⁢(x)H^{\prime}(x)=-f(x)=-F^{\prime}(x), so (H+F)′=0(H+F)^{\prime}=0 on [−b,b][-b,b]. Hence H+FH+F is constant, and evaluating at x=0x=0 shows that the constant is 2⁢F⁢(0)2F(0). Hence F⁢(−b)=2⁢F⁢(0)−F⁢(b)F(-b)=2F(0)-F(b), and by Corollary 5.7.6 (used once on [−b,b][-b,b] and once on [0,b][0,b]),

    ∫−bbf⁢(t)⁢dt=F⁢(b)−F⁢(−b)=2⁢(F⁢(b)−F⁢(0))=2⁢∫0bf⁢(t)⁢dt.∎\int_{-b}^{b}f(t)\,\mathrm{d}t=F(b)-F(-b)=2\bigl{(}F(b)-F(0)\bigr{)}=2\int_{0}% ^{b}f(t)\,\mathrm{d}t.\qed
Intuition (Symmetry does the work).

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.

Caveat (Symmetric interval, integrable function).

Both hypotheses in Proposition 5.7.9 are essential. The interval must be symmetric: ∫−12t⁢dt=12⁢(4−1)=32≠0\int_{-1}^{2}t\,\mathrm{d}t=\frac{1}{2}(4-1)=\frac{3}{2}\neq 0. The function must also be integrable. The function 1/t1/t is odd, but “∫−11d⁢tt=0\int_{-1}^{1}\frac{\mathrm{d}t}{t}=0” is meaningless, because 1/t1/t is unbounded near 0 and is not Riemann integrable on [−1,1][-1,1].

Example 5.7.10 (Two routes to the same answer).

Let f⁢(x)=x2f(x)=x^{2} on [−3,3][-3,3].

  • •
    ​

    Directly. Observe that F⁢(x)=13⁢x3F(x)=\frac{1}{3}x^{3} satisfies F′⁢(x)=(13⁢x3)′=x2=f⁢(x)F^{\prime}(x)=\bigl{(}\frac{1}{3}x^{3}\bigr{)}^{\prime}=x^{2}=f(x). By the Fundamental Theorem of Calculus,

    ∫−33f⁢(x)⁢dx=∫−33F′⁢(x)⁢dx=F⁢(3)−F⁢(−3)=13⁢(3)3−13⁢(−3)3=9+9=18.\int_{-3}^{3}f(x)\,\mathrm{d}x=\int_{-3}^{3}F^{\prime}(x)\,\mathrm{d}x=F(3)-F(% -3)=\frac{1}{3}(3)^{3}-\frac{1}{3}(-3)^{3}=9+9=18.
  • •
    ​

    By symmetry. Since ff is even, Proposition 5.7.9 (ii) gives

    ∫−33f⁢(x)⁢dx⁢=even⁢2⁢∫03f⁢(x)⁢dx=2⁢(13⁢ 33−13⁢ 03)=18.\int_{-3}^{3}f(x)\,\mathrm{d}x\overset{\text{even}}{=}2\int_{0}^{3}f(x)\,% \mathrm{d}x=2\Bigl{(}\frac{1}{3}\,3^{3}-\frac{1}{3}\,0^{3}\Bigr{)}=18.
Remark 5.7.11 (What the Fundamental Theorem saves us).

The second computation contains the value ∫03x2⁢dx=9\int_{0}^{3}x^{2}\,\mathrm{d}x=9. In Remark 5.4.6 we obtained the same number the hard way. We wrote down right and left Riemann sums on nn subintervals, evaluated them with the sum-of-squares formula from Theorem 5.3.5, and let n→∞n\to\infty. The Fundamental Theorem replaces that whole computation with a single antiderivative, 13⁢x3\frac{1}{3}x^{3}. The two answers must agree, and they do: both methods compute the same limit of Riemann sums.

Story (Cauchy’s proof).

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 ∫abf⁢(x)⁢dx\int_{a}^{b}f(x)\,\mathrm{d}x to a single question.

Problem 1 (The antiderivative problem).

Given a function ff, can we find a function FF such that F′⁢(t)=f⁢(t)F^{\prime}(t)=f(t)?

Here are 3 partial answers:

  • •
    ​

    In principle, yes, if ff is continuous. Theorem 5.7.1 (i) supplies one explicitly: F⁢(x)=∫axf⁢(t)⁢dtF(x)=\int_{a}^{x}f(t)\,\mathrm{d}t. For computing ∫abf\int_{a}^{b}f, however, this is circular.

  • •
    ​

    Not always in closed form. The function e−t2\mathrm{e}^{-t^{2}}, 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 ff. 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 [−1,1][-1,1], although it is integrable.

Finding antiderivatives in closed form, when they exist, is the art of integration that occupies the coming lectures.

Exercise 5.7.12.
  1. (i)
    ​

    Use Corollary 5.7.6 to compute ∫01x3⁢dx\int_{0}^{1}x^{3}\,\mathrm{d}x. Then check your answer by computing the limit of right Riemann sums on regular partitions, using Theorem 5.3.5 (iv).

  2. (ii)
    ​

    Let ff be continuous on ℝ\mathbb{R}. Use Theorem 5.7.1 (i), Definition 5.6.1 and the chain rule to compute

    dd⁢x⁢∫xbf⁢(t)⁢dtanddd⁢x⁢∫ax2f⁢(t)⁢dt.\frac{\mathrm{d}}{\mathrm{d}x}\int_{x}^{b}f(t)\,\mathrm{d}t\qquad\text{and}% \qquad\frac{\mathrm{d}}{\mathrm{d}x}\int_{a}^{x^{2}}f(t)\,\mathrm{d}t.
  3. (iii)
    ​

    Find all values of cc guaranteed by Lemma 5.7.2 for f⁢(x)=x2f(x)=x^{2} on [0,3][0,3].

  4. (iv)
    ​

    Use Proposition 5.7.9 to evaluate ∫−22(x5−3⁢x3+x2)⁢dx\int_{-2}^{2}\bigl{(}x^{5}-3x^{3}+x^{2}\bigr{)}\,\mathrm{d}x 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.

Proposition 5.7.13 (Standard antiderivatives).

On any open interval where the respective integrands are defined, the following indefinite integral identities hold:

  1. (i)
    ​

    Power rule (r≠−1r\neq-1): For any real constant r≠−1r\neq-1,

    ∫xr⁢dx=xr+1r+1+C.\int x^{r}\,\mathrm{d}x=\frac{x^{r+1}}{r+1}+C.
  2. (ii)
    ​

    Reciprocal rule (r=−1r=-1): On any interval not containing the origin,

    ∫1x⁢dx=log⁡|x|+C.\int\frac{1}{x}\,\mathrm{d}x=\log\left\lvert x\right\rvert+C.
  3. (iii)
    ​

    Natural exponential: For any non-zero constant k∈ℝ∖{0}k\in\mathbb{R}\setminus\{0\},

    ∫ek⁢x⁢dx=1k⁢ek⁢x+C.\int\mathrm{e}^{kx}\,\mathrm{d}x=\frac{1}{k}\mathrm{e}^{kx}+C.
  4. (iv)
    ​

    Trigonometric functions: For any non-zero constant k∈ℝ∖{0}k\in\mathbb{R}\setminus\{0\},

    ∫cos⁡(k⁢x)⁢dx=1k⁢sin⁡(k⁢x)+C,∫sin⁡(k⁢x)⁢dx=−1k⁢cos⁡(k⁢x)+C,∫sec2⁡(k⁢x)⁢dx=1k⁢tan⁡(k⁢x)+C.\begin{split}\int\cos(kx)\,\mathrm{d}x&{}=\frac{1}{k}\sin(kx)+C,\\ \int\sin(kx)\,\mathrm{d}x&{}=-\frac{1}{k}\cos(kx)+C,\\ \int\sec^{2}(kx)\,\mathrm{d}x&{}=\frac{1}{k}\tan(kx)+C.\end{split}
Proof.

By Definition 5.7.4, verifying each formula requires only differentiating the right-hand side.

  1. (i)
    ​

    For r≠−1r\neq-1, the power rule for derivatives yields

    dd⁢x⁢(xr+1r+1+C)=(r+1)⁢xrr+1+0=xr.\frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}\frac{x^{r+1}}{r+1}+C\Bigr{)}=\frac{(r+1% )x^{r}}{r+1}+0=x^{r}.
  2. (ii)
    ​

    If x>0x>0, then |x|=x\left\lvert x\right\rvert=x and dd⁢x⁢(log⁡x+C)=1x\frac{\mathrm{d}}{\mathrm{d}x}(\log x+C)=\frac{1}{x}. If x<0x<0, then |x|=−x\left\lvert x\right\rvert=-x, and the chain rule gives

    dd⁢x⁢(log⁡(−x)+C)=1−x⋅(−1)=1x.\frac{\mathrm{d}}{\mathrm{d}x}\bigl{(}\log(-x)+C\bigr{)}=\frac{1}{-x}\cdot(-1)% =\frac{1}{x}.

    Thus, dd⁢x⁢(log⁡|x|+C)=1x\frac{\mathrm{d}}{\mathrm{d}x}(\log\left\lvert x\right\rvert+C)=\frac{1}{x} on both (−∞,0)(-\infty,0) and (0,∞)(0,\infty).

  3. (iii)
    ​

    By the chain rule,

    dd⁢x⁢(1k⁢ek⁢x+C)=1k⋅k⁢ek⁢x=ek⁢x.\frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}\frac{1}{k}\mathrm{e}^{kx}+C\Bigr{)}=% \frac{1}{k}\cdot k\,\mathrm{e}^{kx}=\mathrm{e}^{kx}.
  4. (iv)
    ​

    Differentiating the trigonometric candidates:

    dd⁢x⁢(1k⁢sin⁡(k⁢x))=1k⋅k⁢cos⁡(k⁢x)=cos⁡(k⁢x),dd⁢x⁢(−1k⁢cos⁡(k⁢x))=−1k⋅(−k⁢sin⁡(k⁢x))=sin⁡(k⁢x),dd⁢x⁢(1k⁢tan⁡(k⁢x))=1k⋅k⁢sec2⁡(k⁢x)=sec2⁡(k⁢x).∎\begin{split}\frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}\frac{1}{k}\sin(kx)\Bigr{)}% &{}=\frac{1}{k}\cdot k\cos(kx)=\cos(kx),\\ \frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}-\frac{1}{k}\cos(kx)\Bigr{)}&{}=-\frac{1% }{k}\cdot\bigl{(}-k\sin(kx)\bigr{)}=\sin(kx),\\ \frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}\frac{1}{k}\tan(kx)\Bigr{)}&{}=\frac{1}{% k}\cdot k\sec^{2}(kx)=\sec^{2}(kx).\qed\end{split}
Intuition (Reading the derivative dictionary backwards).

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.

Caveat (The singularity at r=−1r=-1).

The power rule formula xr+1r+1\frac{x^{r+1}}{r+1} breaks down algebraically when r=−1r=-1 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:

limr→−1xr+1−1r+1=log⁡xfor ⁢x>0.\lim_{r\to-1}\frac{x^{r+1}-1}{r+1}=\log x\qquad\text{for }x>0.

The natural logarithm is the unique antiderivative of x−1x^{-1} that vanishes at x=1x=1.

Example 5.7.14 (Combining linearity with standard formulae).

Evaluate the definite integral

I=∫14(2⁢x−3x+e2⁢x)⁢dx.I=\int_{1}^{4}\Bigl{(}2\sqrt{x}-\frac{3}{x}+\mathrm{e}^{2x}\Bigr{)}\,\mathrm{d% }x.

Solution. We first determine an antiderivative for each term separately using Proposition 5.7.13:

∫2⁢x1/2⁢dx=2⋅x3/23/2=43⁢x3/2,∫3x⁢dx=3⁢log⁡|x|,∫e2⁢x⁢dx=12⁢e2⁢x.\begin{split}\int 2x^{1/2}\,\mathrm{d}x&{}=2\cdot\frac{x^{3/2}}{3/2}=\frac{4}{% 3}x^{3/2},\\ \int\frac{3}{x}\,\mathrm{d}x&{}=3\log\left\lvert x\right\rvert,\\ \int\mathrm{e}^{2x}\,\mathrm{d}x&{}=\frac{1}{2}\mathrm{e}^{2x}.\end{split}

By linearity of the integral, an antiderivative of the full integrand on [1,4][1,4] is

F⁢(x)=43⁢x3/2−3⁢log⁡x+12⁢e2⁢x.F(x)=\frac{4}{3}x^{3/2}-3\log x+\frac{1}{2}\mathrm{e}^{2x}.

Applying Corollary 5.7.6 with evaluation brackets:

I=[43⁢x3/2−3⁢log⁡x+12⁢e2⁢x]14=(43⁢(4)3/2−3⁢log⁡4+12⁢e8)−(43⁢(1)3/2−3⁢log⁡1+12⁢e2)=(323−3⁢log⁡4+12⁢e8)−(43−0+12⁢e2)=283−6⁢log⁡2+e8−e22.\begin{split}I&{}=\Bigl{[}\frac{4}{3}x^{3/2}-3\log x+\frac{1}{2}\mathrm{e}^{2x% }\Bigr{]}_{1}^{4}\\ &{}=\Bigl{(}\frac{4}{3}(4)^{3/2}-3\log 4+\frac{1}{2}\mathrm{e}^{8}\Bigr{)}-% \Bigl{(}\frac{4}{3}(1)^{3/2}-3\log 1+\frac{1}{2}\mathrm{e}^{2}\Bigr{)}\\ &{}=\Bigl{(}\frac{32}{3}-3\log 4+\frac{1}{2}\mathrm{e}^{8}\Bigr{)}-\Bigl{(}% \frac{4}{3}-0+\frac{1}{2}\mathrm{e}^{2}\Bigr{)}\\ &{}=\frac{28}{3}-6\log 2+\frac{\mathrm{e}^{8}-\mathrm{e}^{2}}{2}.\end{split}
Moral.

Do not confuse definite and indefinite integrals in multi-step problems. Find an antiderivative F⁢(x)F(x) cleanly first, check it by differentiating, and only then insert the boundary limits [F⁢(x)]ab=F⁢(b)−F⁢(a)[F(x)]_{a}^{b}=F(b)-F(a).

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

Intuition.

In our initial exposure to differential calculus, we defined the exponential function ex\mathrm{e}^{x} through an uneasy compromise. We declared e≈2.71828⁢…\mathrm{e}\approx 2.71828\dots as the mysterious base who satisfies the celebrated Euler identity ei⁢θ=cos⁡θ+i⁢sin⁡θ\mathrm{e}^{i\theta}=\cos\theta+i\sin\theta, accepted the algebraic exponent laws for arbitrary irrational powers by hand-waving limits, and subsequently defined the natural logarithm log⁡x\log x as an afterthought by inverting ex\mathrm{e}^{x}.

To a working mathematician or physicist, this ordering incurs serious technical debt. Where does e\mathrm{e} truly come from? Why does such a base exist, and why is axa^{x} differentiable for irrational xx?

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 y=1/ty=1/t, 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:

dd⁢x⁢(∫axf⁢(t)⁢dt)=f⁢(x).\frac{\mathrm{d}}{\mathrm{d}x}\Bigl{(}\int_{a}^{x}f(t)\,\mathrm{d}t\Bigr{)}=f(% x).

In practice, the variable of differentiation rarely sits in the upper limit as a bare, solitary xx. 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.

Example 5.7.15 (Techniques for differentiating accumulation functions).

Simplify each of the following expressions using the Fundamental Theorem of Calculus.

  1. (i)
    ​

    dd⁢x⁢∫1xsin2⁡t⁢d⁢t\displaystyle\frac{\mathrm{d}}{\mathrm{d}x}\int_{1}^{x}\sin^{2}t\,\mathrm{d}t.

    Solution. The integrand f⁢(t)=sin2⁡tf(t)=\sin^{2}t is continuous on ℝ\mathbb{R}, and the variable xx appears as the isolated upper limit with a constant lower limit. Applying Part 1 of the Fundamental Theorem directly gives

    dd⁢x⁢∫1xsin2⁡t⁢d⁢t=sin2⁡x.\frac{\mathrm{d}}{\mathrm{d}x}\int_{1}^{x}\sin^{2}t\,\mathrm{d}t=\sin^{2}x.
  2. (ii)
    ​

    dd⁢x⁢∫x5t2+1⁢dt\displaystyle\frac{\mathrm{d}}{\mathrm{d}x}\int_{x}^{5}\sqrt{t^{2}+1}\,\mathrm% {d}t.

    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)), ∫x5f⁢(t)⁢dt=−∫5xf⁢(t)⁢dt\int_{x}^{5}f(t)\,\mathrm{d}t=-\int_{5}^{x}f(t)\,\mathrm{d}t. Differentiating then yields

    dd⁢x⁢∫x5t2+1⁢dt=−dd⁢x⁢∫5xt2+1⁢dt=−x2+1.\frac{\mathrm{d}}{\mathrm{d}x}\int_{x}^{5}\sqrt{t^{2}+1}\,\mathrm{d}t=-\frac{% \mathrm{d}}{\mathrm{d}x}\int_{5}^{x}\sqrt{t^{2}+1}\,\mathrm{d}t=-\sqrt{x^{2}+1}.
  3. (iii)
    ​

    dd⁢x⁢∫0x2cos⁡(t2)⁢dt\displaystyle\frac{\mathrm{d}}{\mathrm{d}x}\int_{0}^{x^{2}}\cos(t^{2})\,% \mathrm{d}t.

    Solution. Here the upper limit is not xx, but a non-linear function u⁢(x)=x2u(x)=x^{2}. We recognize this expression as a composition of an area function with an inner polynomial map. Define

    g⁢(u)≔∫0ucos⁡(t2)⁢dt,where ⁢u=x2.g(u)\coloneqq\int_{0}^{u}\cos(t^{2})\,\mathrm{d}t,\qquad\text{where }u=x^{2}.

    By the chain rule, dd⁢x⁢g⁢(u⁢(x))=d⁢gd⁢u⁢d⁢ud⁢x\frac{\mathrm{d}}{\mathrm{d}x}g\bigl{(}u(x)\bigr{)}=\frac{\mathrm{d}g}{\mathrm% {d}u}\,\frac{\mathrm{d}u}{\mathrm{d}x}. Part 1 of the Fundamental Theorem guarantees that

    d⁢gd⁢u=dd⁢u⁢∫0ucos⁡(t2)⁢dt=cos⁡(u2).\frac{\mathrm{d}g}{\mathrm{d}u}=\frac{\mathrm{d}}{\mathrm{d}u}\int_{0}^{u}\cos% (t^{2})\,\mathrm{d}t=\cos(u^{2}).

    Because d⁢ud⁢x=2⁢x\frac{\mathrm{d}u}{\mathrm{d}x}=2x, substituting u=x2u=x^{2} yields

    dd⁢x⁢∫0x2cos⁡(t2)⁢dt=(cos⁡(u2))⁢(2⁢x)=2⁢x⁢cos⁡(x4).\frac{\mathrm{d}}{\mathrm{d}x}\int_{0}^{x^{2}}\cos(t^{2})\,\mathrm{d}t=\bigl{(% }\cos(u^{2})\bigr{)}(2x)=2x\cos(x^{4}).
Remark 5.7.16 (The Leibniz integral rule in one dimension).

More generally, if u⁢(x)u(x) and v⁢(x)v(x) are differentiable functions and ff is continuous, splitting the integral at an arbitrary basepoint cc gives

∫v⁢(x)u⁢(x)f⁢(t)⁢dt=∫cu⁢(x)f⁢(t)⁢dt−∫cv⁢(x)f⁢(t)⁢dt.\int_{v(x)}^{u(x)}f(t)\,\mathrm{d}t=\int_{c}^{u(x)}f(t)\,\mathrm{d}t-\int_{c}^% {v(x)}f(t)\,\mathrm{d}t.

Differentiating with respect to xx via the chain rule immediately produces the master formula:

dd⁢x⁢∫v⁢(x)u⁢(x)f⁢(t)⁢dt=f⁢(u⁢(x))⁢u′⁢(x)−f⁢(v⁢(x))⁢v′⁢(x).\frac{\mathrm{d}}{\mathrm{d}x}\int_{v(x)}^{u(x)}f(t)\,\mathrm{d}t=f\bigl{(}u(x% )\bigr{)}\,u^{\prime}(x)-f\bigl{(}v(x)\bigr{)}\,v^{\prime}(x).

The Natural Logarithm Redefined

Recall the classical power rule for integration: for any integer n≠−1n\neq-1,

∫tn⁢dt=tn+1n+1+C.\int t^{n}\,\mathrm{d}t=\frac{t^{n+1}}{n+1}+C.

The sole exponent where this algebraic formula encounters a division by zero is n=−1n=-1. Geometrically, however, the curve y=1/ty=1/t is smooth, continuous, and strictly positive on (0,∞)(0,\infty); the area under it across any interval [1,x][1,x] is well-defined. We turn this singular exception into the definition of the logarithm.

A three-panel horizontal figure showing the definition of the natural logarithm via integration and its resulting graph. Panel (a) illustrates the case where x is between 0 and 1; the region under the hyperbola y = 1/t on [x, 1] is shaded light red with a minus sign, yielding a negative integral value. Panel (b) illustrates the case where x is greater than 1; the region under y = 1/t on [1, x] is shaded light blue with a plus sign, yielding a positive integral value. Panel (c) displays the complete curve y = ln(x) which is negative for x between 0 and 1, crosses the x-axis at 1, and becomes positive for x greater than 1, establishing the link between the signed areas and logarithmic values.
Figure 5.13: Connecting the integral definition to the graph of y=log⁡xy=\log x. Panels (a) and (b) show the signed integration area under y=1/ty=1/t, which directly corresponds to the negative, zero, and positive values along the logarithm curve in Panel (c).
Definition 5.7.17 (The natural logarithm).

For any real number x>0x>0, we define the logarithm natural by

equation (5.6) (5.6)
log⁡x≔∫1x1t⁢dt.\log x\coloneqq\int_{1}^{x}\frac{1}{t}\,\mathrm{d}t.

By Part 1 of the Fundamental Theorem of Calculus, because f⁢(t)=1/tf(t)=1/t is continuous on (0,∞)(0,\infty), the function log⁡x\log x is differentiable on (0,∞)(0,\infty) with

equation (5.7) (5.7)
dd⁢x⁢log⁡x=1x.\frac{\mathrm{d}}{\mathrm{d}x}\log x=\frac{1}{x}.
Theorem 5.7.18 (Structural properties of the logarithm).

The function log:(0,∞)→ℝ\log\colon(0,\infty)\to\mathbb{R} satisfies:

  1. (i)
    ​

    Normalization: log⁡1=0\log 1=0;

  2. (ii)
    ​

    Monotonicity: log⁡x\log x is strictly increasing on (0,∞)(0,\infty);

  3. (iii)
    ​

    Homomorphism property: For all a,x>0a,x>0,

    log⁡(a⁢x)=log⁡a+log⁡x.\log(ax)=\log a+\log x.
Proof.
  1. (i)
    ​

    By Definition 5.6.1 (i), an integral over a degenerate interval vanishes:

    log⁡1=∫111t⁢dt=0.\log 1=\int_{1}^{1}\frac{1}{t}\,\mathrm{d}t=0.
  2. (ii)
    ​

    By (5.7), dd⁢x⁢log⁡x=1x>0\frac{\mathrm{d}}{\mathrm{d}x}\log x=\frac{1}{x}>0 for all x∈(0,∞)x\in(0,\infty). Because its derivative is strictly positive, log⁡x\log x is strictly increasing.

  3. (iii)
    ​

    Fix a constant a>0a>0, and consider the composite function φ⁢(x)≔log⁡(a⁢x)\varphi(x)\coloneqq\log(ax) defined on (0,∞)(0,\infty). Differentiating via the chain rule gives

    φ′⁢(x)=dd⁢x⁢log⁡(a⁢x)=1a⁢x⋅dd⁢x⁢(a⁢x)=1a⁢x⋅a=1x.\varphi^{\prime}(x)=\frac{\mathrm{d}}{\mathrm{d}x}\log(ax)=\frac{1}{ax}\cdot% \frac{\mathrm{d}}{\mathrm{d}x}(ax)=\frac{1}{ax}\cdot a=\frac{1}{x}.

    Thus, φ⁢(x)\varphi(x) and log⁡x\log x share the exact same derivative on the connected interval (0,∞)(0,\infty):

    dd⁢x⁢(log⁡(a⁢x)−log⁡x)=1x−1x=0.\frac{\mathrm{d}}{\mathrm{d}x}\bigl{(}\log(ax)-\log x\bigr{)}=\frac{1}{x}-% \frac{1}{x}=0.

    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 C∈ℝC\in\mathbb{R} such that

    log⁡(a⁢x)−log⁡x=Cfor all ⁢x>0.\log(ax)-\log x=C\qquad\text{for all }x>0.

    To determine CC, evaluate this identity at x=1x=1:

    C=log⁡(a⋅1)−log⁡1=log⁡a−0=log⁡a.C=\log(a\cdot 1)-\log 1=\log a-0=\log a.

    Substituting C=log⁡aC=\log a yields log⁡(a⁢x)=log⁡a+log⁡x\log(ax)=\log a+\log x.∎

Corollary 5.7.19 (Quotients and integer powers).

For any x,y>0x,y>0 and any integer n∈ℤn\in\mathbb{Z}:

  1. (i)
    ​

    log⁡(1x)=−log⁡x\displaystyle\log\Bigl{(}\frac{1}{x}\Bigr{)}=-\log x;

  2. (ii)
    ​

    log⁡(xy)=log⁡x−log⁡y\displaystyle\log\Bigl{(}\frac{x}{y}\Bigr{)}=\log x-\log y;

  3. (iii)
    ​

    log⁡(xn)=n⁢log⁡x\displaystyle\log(x^{n})=n\log x.

Proof.

Applying Theorem 5.7.18 (c) to a=1/xa=1/x gives log⁡(x⋅1x)=log⁡x+log⁡(1x)\log\bigl{(}x\cdot\frac{1}{x}\bigr{)}=\log x+\log\bigl{(}\frac{1}{x}\bigr{)}. Since log⁡1=0\log 1=0, we find log⁡(1x)=−log⁡x\log\bigl{(}\frac{1}{x}\bigr{)}=-\log x. Part (ii) follows from log⁡(x/y)=log⁡(x⋅y−1)=log⁡x+log⁡(y−1)=log⁡x−log⁡y\log(x/y)=\log(x\cdot y^{-1})=\log x+\log(y^{-1})=\log x-\log y. Part (iii) follows by induction for n∈ℕn\in\mathbb{N}, and extends to negative integers via (i). ∎

The Exponential Function and the Number e\mathrm{e}

To invert log⁡x\log x, we examine its range.

Lemma 5.7.20 (Surjectivity of the logarithm).

The range of log:(0,∞)→ℝ\log\colon(0,\infty)\to\mathbb{R} is the entire real line:

limx→∞log⁡x=∞andlimx→0+log⁡x=−∞.\lim_{x\to\infty}\log x=\infty\qquad\text{and}\qquad\lim_{x\to 0^{+}}\log x=-\infty.
Proof.

Observe that log⁡2=∫121t⁢dt\log 2=\int_{1}^{2}\frac{1}{t}\,\mathrm{d}t. On the interval [1,2][1,2], we have 1t≥12\frac{1}{t}\geq\frac{1}{2}, so by comparison (Corollary 5.6.4 (i)),

log⁡2≥12⁢(2−1)=12>0.\log 2\geq\frac{1}{2}(2-1)=\frac{1}{2}>0.

By Corollary 5.7.19 (iii), for any positive integer kk, log⁡(2k)=k⁢log⁡2≥k2\log(2^{k})=k\log 2\geq\frac{k}{2}. Since log\log is strictly increasing, letting k→∞k\to\infty forces limx→∞log⁡x=∞\lim_{x\to\infty}\log x=\infty. Similarly, log⁡(2−k)=−k⁢log⁡2≤−k2→−∞\log(2^{-k})=-k\log 2\leq-\frac{k}{2}\to-\infty as k→∞k\to\infty, which implies limx→0+log⁡x=−∞\lim_{x\to 0^{+}}\log x=-\infty. By the Intermediate Value Theorem, log\log maps (0,∞)(0,\infty) bijectively onto (−∞,∞)(-\infty,\infty). ∎

Because log:(0,∞)→ℝ\log\colon(0,\infty)\to\mathbb{R} is strictly increasing and bijective, it admits a well-defined, strictly increasing inverse function.

Definition 5.7.21 (The exponential function and Euler’s number).

We define the exponential function, denoted exp:ℝ→(0,∞)\exp\colon\mathbb{R}\to(0,\infty), as the unique inverse of the natural logarithm:

exp⁡(x)=y⇔log⁡y=x.\exp(x)=y\iff\log y=x.

We define the mathematical constant e as the unique real number satisfying

log⁡e=1,or equivalentlyexp⁡(1)=e.\log\mathrm{e}=1,\qquad\text{or equivalently}\qquad\exp(1)=\mathrm{e}.

We write ex≔exp⁡(x)\mathrm{e}^{x}\coloneqq\exp(x).

Theorem 5.7.22 (Structural properties of the exponential).

The exponential function exp⁡(x)=ex\exp(x)=\mathrm{e}^{x} satisfies:

  1. (i)
    ​

    Normalization: e0=1\mathrm{e}^{0}=1;

  2. (ii)
    ​

    Eigen-differential property: dd⁢x⁢(ex)=ex\displaystyle\frac{\mathrm{d}}{\mathrm{d}x}(\mathrm{e}^{x})=\mathrm{e}^{x};

  3. (iii)
    ​

    Additive group homomorphism: For all a,x∈ℝa,x\in\mathbb{R},

    ea+x=ea⁢ex.\mathrm{e}^{a+x}=\mathrm{e}^{a}\mathrm{e}^{x}.
Proof.
  1. (i)
    ​

    Because log⁡1=0\log 1=0 by Theorem 5.7.18 (a), inverting gives e0=exp⁡(0)=1\mathrm{e}^{0}=\exp(0)=1.

  2. (ii)
    ​

    Since log⁡y\log y is differentiable with non-vanishing continuous derivative dd⁢y⁢log⁡y=1y≠0\frac{\mathrm{d}}{\mathrm{d}y}\log y=\frac{1}{y}\neq 0 on (0,∞)(0,\infty), the Inverse Function Theorem guarantees that its inverse ex\mathrm{e}^{x} is differentiable on ℝ\mathbb{R}. Differentiating the defining identity log⁡(ex)=x\log(\mathrm{e}^{x})=x via the chain rule yields

    1=dd⁢x⁢(x)=dd⁢x⁢(log⁡(ex))=1ex⋅dd⁢x⁢(ex).1=\frac{\mathrm{d}}{\mathrm{d}x}(x)=\frac{\mathrm{d}}{\mathrm{d}x}\bigl{(}\log% (\mathrm{e}^{x})\bigr{)}=\frac{1}{\mathrm{e}^{x}}\cdot\frac{\mathrm{d}}{% \mathrm{d}x}(\mathrm{e}^{x}).

    Multiplying both sides by ex\mathrm{e}^{x} confirms that

    dd⁢x⁢(ex)=ex.\frac{\mathrm{d}}{\mathrm{d}x}(\mathrm{e}^{x})=\mathrm{e}^{x}.
  3. (iii)
    ​

    Fix an arbitrary constant a∈ℝa\in\mathbb{R}, and consider the quotient function

    ψ⁢(x)≔ea+xex.\psi(x)\coloneqq\frac{\mathrm{e}^{a+x}}{\mathrm{e}^{x}}.

    Applying the quotient rule together with the chain rule and part (b):

    ψ′⁢(x)=ex⋅dd⁢x⁢(ea+x)−ea+x⋅dd⁢x⁢(ex)(ex)2=ex⁢(ea+x⋅1)−ea+x⁢ex(ex)2=0for all ⁢x∈ℝ.\psi^{\prime}(x)=\frac{\mathrm{e}^{x}\cdot\frac{\mathrm{d}}{\mathrm{d}x}(% \mathrm{e}^{a+x})-\mathrm{e}^{a+x}\cdot\frac{\mathrm{d}}{\mathrm{d}x}(\mathrm{% e}^{x})}{(\mathrm{e}^{x})^{2}}=\frac{\mathrm{e}^{x}(\mathrm{e}^{a+x}\cdot 1)-% \mathrm{e}^{a+x}\mathrm{e}^{x}}{(\mathrm{e}^{x})^{2}}=0\qquad\text{for all }x% \in\mathbb{R}.

    Because its derivative vanishes everywhere on the connected interval ℝ\mathbb{R}, ψ⁢(x)\psi(x) is constant:

    ea+xex=Cfor all ⁢x∈ℝ.\frac{\mathrm{e}^{a+x}}{\mathrm{e}^{x}}=C\qquad\text{for all }x\in\mathbb{R}.

    To determine the constant CC, evaluate at x=0x=0:

    C=ea+0e0=ea1=ea.C=\frac{\mathrm{e}^{a+0}}{\mathrm{e}^{0}}=\frac{\mathrm{e}^{a}}{1}=\mathrm{e}^% {a}.

    Therefore, ea+xex=ea\frac{\mathrm{e}^{a+x}}{\mathrm{e}^{x}}=\mathrm{e}^{a}, which rearranges to ea+x=ea⁢ex\mathrm{e}^{a+x}=\mathrm{e}^{a}\mathrm{e}^{x}.∎

Moral.

By defining log⁡x≔∫1xd⁢tt\log x\coloneqq\int_{1}^{x}\frac{\mathrm{d}t}{t}, 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 x∈(−1,1)x\in(-1,1), consider the area function

equation (5.8) (5.8)
F⁢(x)≔∫0x11−t2⁢dt.F(x)\coloneqq\int_{0}^{x}\frac{1}{\sqrt{1-t^{2}}}\,\mathrm{d}t.

Because the integrand f⁢(t)=11−t2f(t)=\frac{1}{\sqrt{1-t^{2}}} is continuous on (−1,1)(-1,1), Part 1 of the Fundamental Theorem guarantees that FF is differentiable on (−1,1)(-1,1), with

F′⁢(x)=11−x2>0.F^{\prime}(x)=\frac{1}{\sqrt{1-x^{2}}}>0.

Because F′⁢(x)>0F^{\prime}(x)>0, the function FF is strictly increasing and therefore invertible.

Definition 5.7.23 (Sine without geometry).

Let p≔limx→1−∫0x11−t2⁢dtp\coloneqq\lim_{x\to 1^{-}}\int_{0}^{x}\frac{1}{\sqrt{1-t^{2}}}\,\mathrm{d}t. We define the sine function, denoted sin⁡t\sin t, on the interval (−p,p)(-p,p) as the unique inverse of the function F⁢(x)F(x):

t=∫0x11−τ2⁢dτ⇔x=sin⁡t.t=\int_{0}^{x}\frac{1}{\sqrt{1-\tau^{2}}}\,\mathrm{d}\tau\iff x=\sin t.

We define the geometric number π\pi analytically by setting π≔2⁢p\pi\coloneqq 2p.

Differentiating the identity F⁢(sin⁡t)=tF(\sin t)=t using the chain rule yields

F′⁢(sin⁡t)⋅(sin⁡t)′=1⟹11−sin2⁡t⋅(sin⁡t)′=1,F^{\prime}(\sin t)\cdot(\sin t)^{\prime}=1\implies\frac{1}{\sqrt{1-\sin^{2}t}}% \cdot(\sin t)^{\prime}=1,

which proves analytically that (sin⁡t)′=1−sin2⁡t≕cos⁡t(\sin t)^{\prime}=\sqrt{1-\sin^{2}t}\eqqcolon\cos t without drawing a single triangle!

Exercise 5.7.24.
  1. (i)
    ​

    Compute dd⁢x⁢∫xx3e−t2⁢dt\displaystyle\frac{\mathrm{d}}{\mathrm{d}x}\int_{\sqrt{x}}^{x^{3}}\mathrm{e}^{% -t^{2}}\,\mathrm{d}t for x>0x>0.

  2. (ii)
    ​

    Let a>0a>0 with a≠1a\neq 1. Define the general power function by ax≔ex⁢log⁡aa^{x}\coloneqq\mathrm{e}^{x\log a}. Use the chain rule to prove that dd⁢x⁢(ax)=(log⁡a)⁢ax\frac{\mathrm{d}}{\mathrm{d}x}(a^{x})=(\log a)\,a^{x}.

  3. (iii)
    ​

    Let F⁢(x)=∫0x11−t2⁢dtF(x)=\int_{0}^{x}\frac{1}{\sqrt{1-t^{2}}}\,\mathrm{d}t. Prove that FF is an odd function on (−1,1)(-1,1) by using a change of variables in the integral, and deduce that sin⁡(−t)=−sin⁡t\sin(-t)=-\sin t.