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 satisfying the law of exponents for all .
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:
- Exponentials are always nonzero
- Exponentials are strictly increasing, or strictly decreasing
- Exponentials are differentiable everywhere
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)
- If is a sequence of shrinking partitions of and then is integrable on and is this common value.
Without further ado, here’s the advertised calculation!
Integrating Exponentials
Let be an exponential function, and an interval. Then is Darboux integrable on and
We will show the argument for an increasing exponential (its base ): an identical argument applies to decreasing exponentials (only switching and in the computations below).
To show is integrable, we use @thm-compute-integral-sequence, which assures us it is enough to find a sequence of shrinking partitions where . Indeed - for each , let denote the evenly spaced partition of with widths
We will begin by computing the lower sum. Because is continuous, it achieves a maximum and minimum value on each interval . And, since is monotone increasing, this value occurs at the leftmost endpoint. Thus,
Using the law of exponents for we can simplify this expression somewhat:
Plugging this back in and factoring out the constants, we see that the summation is actually a partial sum of a geometric series:
Having previously derived the formula for the partial sums of a geometric series, we can write this in closed form:
But, we can simplify even further! Using again the laws of exponents we see that is the same as , and is nothing other than the width of our entire interval, so . Thus the numerator becomes , and putting it all together yields a simple expression for :
Some algebraic re-arrangement is beneficial: first, note that by the laws of exponents we have
Thus for every we have
We are interested in the limit as : by the limit laws we can pull the constant out front, and only concern ourselves with the fraction involving . There’s one final trick: look at the negative reciprocal of this fraction:
Because we know for all exponentials, this latter term is none other than the difference quotient defining the derivative for ! Since we have proven to be differentiable, we know that evaluating this along any sequence converging to zero yields the derivative at zero. And as this implies
Thus, our original limit is the negative reciprocal of this, and
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 is monotone increasing, we know that the maximum on any interval occurs at the rightmost endpoint, so
Comparing this with our previous expression for , we see (unsurprisingly) its identical except for a shift of . The law of exponents turns this additive shift into a multiplicative one:
Thus, for every . Since is continuous,
And, as converges (as we proved above) we can apply the limit theorem for products to get
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 and to be equal as well. Thus, is integrable on and its value is what we have squeezed:
Recalling our definition of as the exponential function with (in Part II on differentiation), we have
On any interval the natural exponential is integrable, and