Integrating Exponentials from First Principles

The functional equation alone pins down the antiderivative.

Here’s a quite long calculation showing that it’s possible to integrate exponential functions directly from first principles. The length of this calculation alone is a good selling point for the fundamental theorem of calculus, which will make this trivial!

Exponential Functions

An exponential function is a continuous nonconstant function E ⁣:RRE\colon\mathbb{R}\to\mathbb{R} satisfying the law of exponents E(x+y)=E(x)E(y)E(x+y)=E(x)E(y) for all x,yRx,y\in\mathbb{R}.

This is a functional characterization of exponentials; we don’t specify a formula for how to compute the function but instead we specify how the function ought to behave. There are several facts about exponentials we will need, that follow directly from this definition:

Our main theorem here is that we compute the Darboux integral of an exponential on an interval, directly from this functional definition. To do so, we make use of minimal facts about integration, so that this can be given early on. One thing we do take advantage of is the ability to compute Darboux integrals with a sequence of partitions (instead of directly from the definition, with infima and suprema)

Without further ado, here’s the advertised calculation!

Integrating Exponentials

Let EE be an exponential function, and [a,b][a,b] an interval. Then EE is Darboux integrable on [a,b][a,b] and

[a,b]E=E(b)E(a)E(0)\int_{[a,b]}E=\frac{E(b)-E(a)}{E^\prime(0)}

We will show the argument for EE an increasing exponential (its base E(1)>1E(1)>1): an identical argument applies to decreasing exponentials (only switching UU and LL in the computations below).

To show E(x)E(x) is integrable, we use @thm-compute-integral-sequence, which assures us it is enough to find a sequence PnP_n of shrinking partitions where limL(f,Pn)=limU(f,Pn)\lim L(f,P_n)=\lim U(f,P_n). Indeed - for each nn, let PnP_n denote the evenly spaced partition of [a,b][a,b] with widths Δn=(ba)/n\Delta_n = (b-a)/n Pn={a,a+Δn,a+2Δn,,a+nΔn=b}P_n=\{a,a+\Delta_n , a+2\Delta_n,\cdots, a+n\Delta_n=b\}

We will begin by computing the lower sum. Because EE is continuous, it achieves a maximum and minimum value on each interval Pi=[ti,ti+1]P_i=[t_i,t_{i+1}]. And, since EE is monotone increasing, this value occurs at the leftmost endpoint. Thus,

L(E,Pn)=0i<ninfPi{E(x)}Pi=0i<nE(ti)Δn=0i<nE(a+iΔn)Δn\begin{align*} L(E,P_n)&=\sum_{0\leq i < n} \inf_{P_i}\{E(x)\}|P_i|\\ &= \sum_{0\leq i < n} E(t_i)\Delta_n\\ &= \sum_{0\leq i < n} E(a+i\Delta_n)\Delta_n \end{align*}

Using the law of exponents for EE we can simplify this expression somewhat:

E(a+iΔn)=E(a)E(iΔn)=E(a)E(Δn+Δn++Δn)=E(a)E(Δn)E(Δn)E(Δn)=E(a)E(Δn)i\begin{align*} E(a+i\Delta_n)&=E(a)E(i\Delta_n)\\ &=E(a)E(\Delta_n+\Delta_n+\cdots+\Delta_n)\\ &= E(a)E(\Delta_n)E(\Delta_n)\cdots E(\Delta_n)\\ &= E(a)E(\Delta_n)^i \end{align*}

Plugging this back in and factoring out the constants, we see that the summation is actually a partial sum of a geometric series:

0i<nE(a+iΔn)Δn=0i<nE(a)E(Δn)iΔn=E(a)Δn0i<nE(Δn)i\begin{align*} \sum_{0\leq i < n} E(a+i\Delta_n)\Delta_n&= \sum_{0\leq i < n}E(a)E(\Delta_n)^i \Delta_n\\ &= E(a) \Delta_n\sum_{0\leq i < n}E(\Delta_n)^i \end{align*}

Having previously derived the formula for the partial sums of a geometric series, we can write this in closed form:

0i<nE(Δn)i=1E(Δn)n1E(Δn)\sum_{0\leq i < n}E(\Delta_n)^i=\frac{1-E(\Delta_n)^n}{1-E(\Delta_n)}

But, we can simplify even further! Using again the laws of exponents we see that E(Δn)nE(\Delta_n)^n is the same as E(nΔn)E(n\Delta_n), and nΔnn\Delta_n is nothing other than the width of our entire interval, so bab-a. Thus the numerator becomes 1E(ba)1-E(b-a), and putting it all together yields a simple expression for L(E,Pn)L(E,P_n):

L(E,Pn)=E(a)Δn1E(ba)1E(Δn)L(E,P_n)=E(a)\Delta_n \frac{1-E(b-a)}{1-E(\Delta_n)}

Some algebraic re-arrangement is beneficial: first, note that by the laws of exponents we have

E(a)(1E(ba))=E(a)E(ba)E(a)=E(a)E(b)\begin{align*} E(a)(1-E(b-a))&=E(a)-E(b-a)E(a)\\ &=E(a)-E(b) \end{align*}

Thus for every nn we have

L(E,Pn)=(E(a)E(b))Δn1E(Δn)L(E,P_n)=\left(E(a)-E(b)\right)\frac{\Delta_n}{1-E(\Delta_n)}

We are interested in the limit as nn\to\infty: by the limit laws we can pull the constant E(a)E(b)E(a)-E(b) out front, and only concern ourselves with the fraction involving Δn\Delta_n. There’s one final trick: look at the negative reciprocal of this fraction:

1Δn1E(Δn)=E(Δn)1Δn\frac{-1}{\frac{\Delta_n}{1-E(\Delta_n)}}=\frac{E(\Delta_n)-1}{\Delta_n}

Because we know E(0)=1E(0)=1 for all exponentials, this latter term is none other than the difference quotient defining the derivative for EE! Since we have proven EE to be differentiable, we know that evaluating this along any sequence converging to zero yields the derivative at zero. And as Δn0\Delta_n\to 0 this implies

limE(Δn)E(0)Δn=E(0)\lim \frac{E(\Delta_n)-E(0)}{\Delta_n}= E^\prime(0)

Thus, our original limit Δn/(1E(Δn))\Delta_n/(1-E(\Delta_n)) is the negative reciprocal of this, and

limL(E,Pn)=lim(E(a)E(b))Δn1E(Δn)=(E(a)E(b))limΔn1E(Δn)=(E(a)E(b))1E(0)=E(b)E(a)E(0)\begin{align*}\lim L(E,P_n)&=\lim \left(E(a)-E(b)\right)\frac{\Delta_n}{1-E(\Delta_n)}\\ &= \left(E(a)-E(b)\right)\lim \frac{\Delta_n}{1-E(\Delta_n)}\\ &=\left(E(a)-E(b)\right) \frac{-1}{E^\prime(0)}\\ &=\frac{E(b)-E(a)}{E^\prime(0)} \end{align*}

Phew! That was a lot of work! Now we have to tackle the upper sum. But luckily this will not be nearly as bad: we can reuse most of what we’ve done! Since EE is monotone increasing, we know that the maximum on any interval occurs at the rightmost endpoint, so

U(E,Pn)=0i<nsupPi{E(x)}Pi=0i<nE(ti+1)Δn=0i<nE(a+(i+1)Δn)Δn\begin{align*} U(E,P_n)&=\sum_{0\leq i < n} \sup_{P_i}\{E(x)\}|P_i|\\ &= \sum_{0\leq i < n} E(t_{i+1})\Delta_n\\ &= \sum_{0\leq i < n} E(a+(i+1)\Delta_n)\Delta_n \end{align*}

Comparing this with our previous expression for L(E,Pn)L(E,P_n), we see (unsurprisingly) its identical except for a shift of ii+1i\mapsto i+1. The law of exponents turns this additive shift into a multiplicative one:

U(E,Pn)=0i<nE(a+(i+1)Δn)Δn=0i<nE(Δn)E(a+iΔn)Δn=E(Δn)0i<nE(a+iΔn)Δn=E(Δn)L(E,Pn)\begin{align*} U(E,P_n) &= \sum_{0\leq i < n} E(a+(i+1)\Delta_n)\Delta_n\\ &= \sum_{0\leq i < n} E(\Delta_n)E(a+i\Delta_n)\Delta_n\\ &=E(\Delta_n) \sum_{0\leq i < n}E(a+i\Delta_n)\Delta_n\\ &= E(\Delta_n)L(E,P_n) \end{align*}

Thus, U(E,Pn)=E(Δn)L(E,Pn)U(E,P_n)=E(\Delta_n)L(E,P_n) for every nn. Since EE is continuous, limE(Δn)=E(limΔn)=E(0)=1\lim E(\Delta_n)=E(\lim \Delta_n)=E(0)=1

And, as L(E,Pn)L(E,P_n) converges (as we proved above) we can apply the limit theorem for products to get

limU(E,Pn)=lim(E(Δn)L(E,Pn))=(limE(Δn))(limL(E,Pn))=limL(E,Pn)=E(b)E(a)E(0)\begin{align*}\lim U(E,P_n) &=\lim (E(\Delta_n)L(E,P_n))\\ &=\left(\lim E(\Delta_n)\right)\left(\lim L(E,P_n)\right)\\ &= \lim L(E,P_n)\\ &= \frac{E(b)-E(a)}{E^\prime(0)} \end{align*}

Thus, the limits of our sequence of upper and lower bounds are equal! And, by the argument at the beginning of this proof, that squeezes L(E)L(E) and U(E)U(E) to be equal as well. Thus, EE is integrable on [a,b][a,b] and its value is what we have squeezed:

[a,b]E=E(b)E(a)E(0)\int_{[a,b]}E = \frac{E(b)-E(a)}{E^\prime(0)}

Recalling our definition of exp\exp as the exponential function with exp(0)=1\exp^\prime(0)=1 (in Part II on differentiation), we have

On any interval [a,b][a,b] the natural exponential is integrable, and [a,b]exp=exp(b)exp(a)\int_{[a,b]}\exp = \exp(b)-\exp(a)

← All posts