30 Elementary Functions
We derive the integrals of familiar functions, and along the way finally discover a formula for the logarithm.
Using the fundamental theorem of calculus we can effortless find the integrals of many important functions, simply because we know their derivatives! This is much much quicker than working directly from the definition (as one can appreciate by looking at the optional chapter examples in the last part).
30.1 Polynomials and Power Series
We begin with perhaps the first example one sees in a Calculus I course :::{#prp-integrating-x} The function
Proof. The function
This technique of inverting the power rule works for all
Theorem 30.1 For any
Proof. The monomial
Using linearity of the integral, this gives an immediate calculation of the antiderivative of any polynomial:
Theorem 30.2 If
Proof. Polynomials are continuous, hence integrable. We know an antiderivative of each term, so we compute one at a time via linearity of the integral on continuous functions:
30.1.1 Power Series
As we remember well from differentiation, things that are true for finite sums don’t always carry over easily to the limit. Indeed, the proof of differentiability of polynomials was identical to their integration above, a direct corollary of linearity. But we cannot use linearity to conclude things about limits, so for power series we instead needed to refine our tools of dominated convergence. A similar strategy goes through without fail here for integration: one can use dominated convergence for integrals (Theorem 28.6) to prove power series can be integrated term by term within their radius of converence.
But the fundamental theorem also makes a much easier technique available to us, given that we know the differentiation case! We follow that line of reasoning here.
Proposition 30.1 Let
Proof. Like for the differentiable case, we prove this here under the assumption that the Ratio test succeeds in computing the radius of convergence for the original series. (As an exercise, show everything still works even if the ratio test fails, by doing the fully general argument with limsup of the root test). So for any
We now turn to compute the ratio test for our new series
Since
Having confirmed that
Theorem 30.3 (Integrating Power Series) Let
Proof. The function
30.2 Exponentials and Trigonometric Functions
We put a good amount of work into defining exponential and trigonometric functions from their functional equations, proving they are continuous and eventually finding their differentiation laws. Now we reap some of the benefits, and find their integrals as effortless as we did the polynomials.
Theorem 30.4 (The Natural Exponential) THe natural exponential
Proof. The function
Theorem 30.5 Let
Proof. We proved that every exponential is continuous and differentiable, wtih
Thus we’ve found an antiderivative! The fundametnal theorem fo calculus then quickly finishes the job:
We succeed equally quickly for the basic trigonometric functions:
Theorem 30.6 (Integrating Sine and Cosine)
Proof. We know
These two formulae, together with the trigonometric identities are enough to fully determine all trigonometric integrals.
30.3 Logarithms
In this section we finally develop a formula for the logarithm: we proved it existed some time ago as we had already proven the inverses of exponentials were logarithms, and we proved that exponentials exist. But this did not give us any way to compute a logarithm. This is in stark contrast to the exponential, where right from the beginning we had some means of computing it (via the cumbersome task of taking limits of rational powers), and now we have a nice extremely efficient power series. We will remedy all of this in this subsection, by studying the simple function
We already know there is something rather unique about this function, because it is the only case where the power rule fails us, and we can’t simply use our knowledge of differentiation to invert. To start, we prove a rather simple lemma that is key to unlocking the logarithm properties:
Lemma 30.1 If
Proof. Intuitively this is plausible: when we multiply by
To prove it, we (surprise!) invoke the fundamental theorem of calculus. Let
Thus both
Stringing these equalities together yields the result.
We can immediately use this to show the integral of
Theorem 30.7 (The Logarithm as an Integral) The function
Proof. The function
Exercise 30.1 Confirm this also works for arbitrary
Using the fundamental theorem we can easily calculate the derivative of this logarithm at
Corollary 30.1 (The Natural Logarithm) The integral of
Proof. By the fundamental theorem
As is, this is not a very useful formula for the logarithm, as we can’t use antidifferentiation to compute it: the function we care about is defined as the antiderivative! But this does have dramatic implications: we can use this to derive a formula for the logarithm, via power series.
Theorem 30.8 (Logarithm Power Series) The function
Proof. The geometric series converges on
This power series converges on
Since the integral of
Thus our power series is indeed a logarithm!
Example 30.1 (Integrating the Tangent) The function
Since
30.4 Inverse Trigonometric Functions
Understanding the inverse trigonometric functions will prove exceedingly useful to us in our end goal of calculating
Our lives would be much easier if we had functions that yielded
30.4.1 The ArcSine
Our first fundamental problem of course is we have no idea how to get a formula for the inverse trigonometric functions! To get one, we will use the fact that we understand differentiation quite well, and then apply the fundamental theorem.
Proposition 30.2 The derivative of the inverse sine function is
Proof. Let
Before integration this would have been a mere curiosity. But, armed wtih the fundamental theorem this is an extremely powerful fact: indeed, it directly gives us a representation as an integral:
Corollary 30.2 The inverse sine function is defined on the interval
Proof. Since
Exercise 30.2 Carry out the analogous reasoning to derive an integral expression for the inverse cosine function.
30.4.2 The ArcTangent
Proposition 30.3
Proof. We again proceed by differentiating the identity
The only problem is again we have the derivative as a function implicitly of of
Proposition 30.4 The inverse function
Proof. This follows as
This integral expression is quite nice - the arctangent like the logarithm is shown to be the integral of a rather simple rational function. But like arcsine, an integral expression is rather difficult to use for computing actual values: we’d need to actually compute (or estimate) some Riemann sums. So it’s helpful to look for other expressions as well, and here arctan has a particularly nice power series.
Recall the geometric series
We can substitute
This power series has radius of convergence
Inside its radius of convergence we can exchange the order of the sum and the integral:
Theorem 30.9 For