In this series of posts, we have seen that the number can be thought about in three different ways.

1. defines a region of area 1 under the hyperbola .2. We have the limits

.

These limits form the logical basis for the continuous compound interest formula.

3. We have also shown that . From this derivative, the Taylor series expansion for about can be computed:

Therefore, we can let to find :

Let’s now consider how the decimal expansion of might be obtained from these three different methods.

1. Finding using only the original definition is a genuine pain in the neck. The only way to approximate is by trapping the value of using various approximation. For example, consider the picture below, showing the curve and trapezoidal approximations on the intervals and . (Because I need a good picture, I used Mathematica and not Microsoft Paint.)

Each trapezoid has a (horizontal) height of . Furthermore, the bases of the first trapezoids have length and , while the bases of the second trapezoid of length and . Notice that the trapezoids extend above the hyperbola, so that

However, the number is defined to be the place where the area under the curve is exactly equal to , and so

In other words, we know that the area between and is strictly less than , and therefore a number larger than must be needed to obtain an area equal to .

Great, so . Can we do better? Sadly, with two equal-sized trapezoids, we can’t do much better. If the height of the trapezoids was and not , then the sum of the areas of the two trapezoids would be

By either guessing and checking — or with the help of Mathematica — it can be determined that this function of is equal to 1 at approximately , thus establishing that .

We can try to better with additional trapezoids. With four trapezoids, we can establish that .

With 100 trapezoids, we can show that .

However, trapezoids can only provide a lower bound on because the original trapezoids all extend over the hyperbola.

To obtain an upper bound on , we will use a lower Riemann sum to approximate the area under the curve. For example, notice the following picture of 19 rectangles of width ranging from to .

The rectangles all lie below the hyperbola. The width of each one is , and the heights vary from to . Therefore,

In other words, we know that the area between and is strictly greater than , and therefore a number smaller than must be needed to obtain an area equal to . So, in a nutshell, we’ve shown that .

Once again, additional rectangles can provide better and better upper bounds on . However, since rectangles do not approximate the hyperbola as well as trapezoids, we expect the convergence to be much slower. For example, with 100 rectangles of width , the sum of the areas of the rectangles would be

It then becomes necessary to plug in numbers for until we find something that’s decently close to yet greater than . Or we can have Mathematica do the work for us:

So with 100 rectangles, we can establish that . With 1000 rectangles, we can establish that .

Clearly, this is a lot of work for approximating . With all of the work shown in this post, we have shown that , but we’re not yet sure if the next digit is or .

In the next post, we’ll explore the other two ways of thinking about the number as well as their computational tractability.

## 2 thoughts on “Different definitions of e (Part 11): Numerical computation”