32
Highlights of this Chapter: we prove that
- defined in our final project as the first zero of the sine function - is the area of the unit circle. We then look at several means of approximating the value of ; from computing Riemann sums to integrating power series. In the end, we derive a relatively efficient means of calculating , which gets 15 digits after adding only 22 terms.
32.1 and the Circle
In the second project, we have defined
This provides a relationship between the modern, rigorous theory of trigonometric functions and the ancient quest of Archimedes to measure the area of the circle.
Indeed, since we have defined area rigorously with integration, we can now make sense of the area of the circle as long as we can express the unit circle as a function. While this is not directly possible, we can take the implicit equation
Now we compute this integral with our newfound integration techniques (substitution), and show it equals the half-period of our trigonometric functions in natural units.
Theorem 32.1
Proof. By subsitution, we see that the following two integrals are equal
By the Pythagorean identity,
The first of these integrals could be immediately evaluated as the integral of a constant, but the second requires us to do another substitution. If
We recall again that by definition
But,
Now, we are ready to assemble the pieces. Because
This single result ties together so many branches of analysis, and proves a worthy capstone calculation for the course. However after all this work we shouldn’t let ourselves be satisfied too quickly! Now that we have related the area of a circle to trigonometry, we can hope to use other techniques from analysis to accurately calculate its value.
32.2 Integrals and Inverse Trigonometry
Since
32.2.1 The ArcSine
Thus, we find ourselves interested in calculating these functions. Inspired by our previous treatment of logarithms (where we were able to find the derivative of
Proposition 32.1 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 32.1 The inverse sine function is defined on the interval
Proof. Since
One may use this to get another integral representation of
Where there is a question over the equals here to signify we do not actually have the tools to conclude this: the integrand is not defined at
Remark 32.1. If we were not bothered by the square roots for our computation-focused goals, one could easily replace the problematic integral above with something avoiding its problems. For instance, since
But this is much worse in terms of square roots: if you write out a Riemann sum here it’ll be a sum of nested roots.
The same trouble plagues the cosine function, so we turn their ratio - the tangent - to seek something better for computational purposes. In fact, things work out much nicer for the arctangent.
32.2.2 The ArcTangent
Proposition 32.2
Proof. We again proceed by differentiating the identity
The only problem is again we have the derivative as a function implicitly of of
Proposition 32.3 The inverse function
Proof. This follows as
This gives us a much better opportunity to get an explicit formula for
Corollary 32.2
This function is integrable (its continuous), so we can compute its value as the limit of any shrinking sequence of Riemann sums. Below is an explicit example, given for evenly spaced partitions sampled at their right endpoints.
Example 32.1 The following infinite series converges to
This is great - these sums are trivial to do on a computer (I did these in a simple python for loop) and get us an accurate value for
Luckily, the theory we have developed over the semester allows us to do better.
32.3 Series with ArcTan
Instead of trying to evaluate the arctangent integral representation via a Riemann sum, we could attempt to find a power series representation. Like the exponential, we could find such a series via Taylor’s formula, and prove convergence with the Taylor Error formula. But here there is an easier way!
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 32.2 For
After integrating the series, the result has the same radius of convergence, but now converges at the endpoint
But again there’s a pesky question mark over the equals signaling that our theory isn’t actually strong enough to conclude this! We only know that we can switch the sum and integral inside the radius of convergence. At the boundary this doesn’t even make sense, as the original series diverges there!
Remark 32.2. It turns out that it is true - a theorem of Abel guarantees that if a power series converges at a boundary point to its radius of convergence, then it is continuous there. Together with dominated convergence, this lets one compute as
However, way out here at the endpoint the series converges very slowly. Using a computer to do a little experimenting:
Like the Riemann sum approach, we needed a thousand terms to get the first two decimals right.
Instead, like we did for the sine function, we need to seek a different point to evaluate
How do we find such a value? Here’s one clever possibility: we actually realize
Proposition 32.4
Proof. Let
Thus,
Now, both
Theorem 32.3
This series converges very quickly, as the exponents
Using up until
This is truly a marvelous machine we have built - conjuring directly from the lowly geometric series an efficient formula for
The End
Example 32.2 (Epilog) Want to be even more clever? In 1796 John Machin showed the following identity:
Note: If you wish to prove this, probably the easiest way is to notice that
This allows you to compute π to five or six decimals without much trouble. Just using the first five terms in the series gives