27 Examples
In this optional chapter we integrate familiar functions directly from the definition. I’ve written this merely to illustrate its possible (inspired by a challenge posed by past students to me), not because its useful: this entire chapter is rendered entirely superflouous following our proof of the fundamental theorem of calculus!
Recall our definition of axiomatically integrable says that
27.1 Powers
Here
Proposition 27.1 (Integrating
Proof. Start with
For each
Thus, the upper and lower sums for these partitions are
These are nearly identical formulae: the upper sum is just one term longer than the lower sum and so their difference is
As
So, we focus on just proving that
Exercise 27.1 Use the sum of the first
Thus
Knowing this, we complete the case for a general positive interval
Exercise 27.2 Show that
*Hint: do
Proposition 27.2 (Integrating
Exercise 27.3 Following the same technique as above, show that
- First, restrict yourself to intervals of the form
for . - Use the monotonicity of
on these intervals to explicitly write out upper and lower sums. - Use the following identity on sums of squares from elementary number theory to compute their value
- Explain how to generalize this to intervals of the form
for , and finally to general intervals for any using subdivision.
27.2 Exponentials
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! There are several facts about exponentials we will need from our previous investigations; listed here for ease of reference.
- Exponentials are always nonzero
- Exponentials are strictly increasing, or strictly decreasing
- Exponentials are differentiable everywhere
Proposition 27.3 (Integrating Exponentials) Let
Proof. We will show the argument for
To show
We will begin by computing the lower sum. Because
Using the law of exponents for
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
Some algebraic re-arrangement is beneficial: first, note that by the laws of exponents we have
Thus for every
We are interested in the limit as
Because we know
Thus, our original limit
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
Comparing this with our previous expression for
Thus,
And, as
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
Corollary 27.1 (Integrating the Natural Exponential) On any interval
27.3 Trigonometric Functions
Theorem 27.1 For
Proof. On the interval
Using
As
We use the identity for
Substituting back
We evaluate the limit as
Thus
Using the half-angle identity Exercise 20.11, we can rewrite this
As we’ve already shown
We can leverage this result and the symmetries of the sine function to calculate the integral over arbitrary intervals:
Exercise 27.4 Prove that
Hint: proceed either (1) directly, using the fact that
Use this and subdivision to show for any
Corollary 27.2
Exercise 27.5 Use the fact that sine is an odd function and integrable on
Again by subdivision we can conclude that
Proposition 27.4 Let
Proof. We proceed by cases depending on the location of
A similar calculation applies if
Corollary 27.3
Since
Theorem 27.2 (Integrating sine) Let
Exercise 27.6 Prove this.
This work has immediate payoff for integrating cosine as well, since we know it to be just a shifted version of the sine:
Theorem 27.3 (Integrating cosine) Let
Exercise 27.7 Prove Theorem 27.3 using that