“Algebra is but written geometry and geometry is but figured algebra.” - Sophie German
From an infinite sound to an infinite staircase
We just reviewed how the integers can be viewed as music, where 1 is the frequency of the fundamental, 2 is the frequency of the first overtone, 3 is the frequency of the second overtone, etc. Then we can view the reciprocal of these numbers and think about it in terms of the wavelength. Thus, represents the wavelength of the fundamental, represents the wavelength of the first overtone, represents the wavelength of the second overtone, etc. This is consistent with how Pythagoras first connected the integers to pleasant sound produced by an urn that was full, full, full, etc.
Rather than hearing these sounds separately, we considered adding the sound of the fundamental with all the overtones to create this expression:
Since positive integers continue forever, we can imagine the sum of these numbers to continue forever. We are in the Expanse portion of Lazarus Math where we expand our horizons to the ultimate limit. So here is an opportunity to think really big. As mentioned, we give the sum of these numbers a special name: the harmonic series. Even though our human ear is only capable of hearing a few of the overtones, this sum shows the complete expansion for all the overtones. Math people get excited about this infinite sum because it is directly connected to the positive integers. It’s like how body builders get excited about protein and artists get excited about color. It’s part of our math DNA.
A natural question whispers to math people: What is the answer to this sum? Often, there are two possible answers to these types of problems. Either the series will “converge” to a number or it won’t. For example, will this sum ever exceed 100? If we consider the first 1000 terms, the sum is less than 7.49. If we jump to a million terms, the sum is less than 14.4. If we jump to 10 million terms, the sum is less than 16.7, and if we include 100 million terms, the sum is less than 19. It seems like the sum will never reach 50, let alone 100. However, surprising as it may be, this series never converges to a number. That means whatever positive number you choose, eventually this sum will exceed that number if you add enough terms. It is a very slow process, but it will eventually get there. In short, this sum goes to infinity. We will get a better grasp on why this sum approaches infinity later in Lazarus Math.
Before we move closer to that idea, let’s pause and appreciate our progress. Before Lazarus Math, you may have viewed this sum as just a sum of fractions. But we have connected this sum to music and can imagine that it is also the sound of a fundamental with all of the overtones playing music in harmony. We might even think of this sum as a series of waves. As a reminder, Figure 1 is the graph of the waves for the fundamental and first two overtones.
Isn’t it neat that we can now view an infinite sum as a chorus of notes playing in harmony? What a nice change in perspective. And this is only the beginning of how we will change our perspective on an infinite collection of numbers.
Another perspective on the harmonic series
Let’s view this sum in a different way. Would you agree that the sum of the harmonic series does not change if we multiply each number in the sum by 1?
I’m sure you’re wondering why we would pursue such nonsense and clutter up a perfect musical harmonic series. By introducing the factor 1, each term is now 1 multiplied by the original fraction of the harmonic series. As a result, each term contains two numbers multiplied together: 1 and the fraction. It appears that 1 is just clutter and wasted space. But let’s resist the urge to remove the clutter and think about a different way to consider two numbers multiplied together.
Applying geometry, we can think of the product of two numbers as representing the area of a rectangle, where one number is the height of the rectangle and the other is the width. In other words, we can think of each term in the series as a measurement of a two-dimensional space: an area. So rather than summing an infinite series of numbers, we are summing an infinite series of areas. Actually, this is returning to the Greek mindset—thinking of two numbers multiplied together as an area of a rectangle. However, Pythagoras and the Greeks would not have taken this sum to infinity but would have kept it at some finite number of terms.
Notice we now have three perspectives for this infinite sum. The first is just thinking of it as adding numbers, perhaps an algebraic perspective. The second is to think of it from a musical perspective, as a collection of sounds. Now, our third perspective is to think of it as the area for an infinite number of rectangles, each one having a side of length 1.
The first rectangle is 1 by 1, actually a square, and its area is 1. The second rectangle is 1 by , and its area is . Then let your imagination run and perform this for each term. Let’s be sure we understand the consequence of this change in perspective.
When we view the harmonic series as a sum of infinite areas rather than the sum of infinite numbers, we are trusting that the math for areas will yield the same result as the math for numbers. This is not a small change if you think about it. When we think of area, we often think of geometry. Thus, we could state that we are implying algebra and geometry are not two different math concepts. Rather, we’re trusting that there is only one math but two different perspectives. This is a mighty leap of faith—one that required thousands of years and many great math minds to wrestle with it and finally arrive at by the 16th century.
Once we are comfortable that changing the problem from a sum of numbers to a sum of areas produces the same result, we are ready to proceed.
Area math
If our goal is to better understand the harmonic series, did we make any progress by converting it to a sum of the area of an infinite number of rectangles? Adding an infinite number of concrete things, like the area of rectangles, may seem worse than adding an infinite number of abstract things, like numbers. But at least we have a different perspective. We may start thinking about how to gather an infinite number of rectangles. We could randomly create rectangles and present them in some haphazard way. But why not do it in an orderly manner?
Let’s start with a few rectangles to create a process. Begin the process by lining the rectangles in a row, like kids at school lining in order of height, tallest to shortest. And while we are ordering from tallest to smallest, let’s throw them on the -coordinate system just because it is a playground we are comfortable in. You can see some of the rectangles organized this way in Figure 2.
We chose different scales for the vertical axis and the horizontal axis so it would be easier to view the areas of the smaller rectangles. But the first rectangle is 1x1, so it is actually a square. Regardless of the scale, the graph, if we want to call it that, looks like an infinite staircase going down from left to right. The important thing is the width of each rectangle is 1 and the height is the original fraction. This displays nicely on the -coordinate system because the width of each rectangle is one unit. Thus, the area for each step, or rectangle, represents the number for each term in the harmonic series. Because the area of each “step” represents a number in our harmonic series, the total area under this graph as we extend to infinity is the same as the sum of the infinite series.
Even though we haven’t made much progress in understanding this sum, wouldn’t you agree that this is at least a creative way of thinking about the same problem? In other words, not only did we recast the original series as an area problem, but it is an area problem that displays well on this familiar coordinate system. That means we can think about all the tools we have at our disposal within this coordinate system. We might be blazing new trails, but we’re using our trusted old compass! Also, we converted a completely abstract formula into a picture we can visualize.
Now that we have a different visual perspective, let’s remember that we stated that the sum of the infinite series goes to infinity. Since our intuition is that algebra and geometry play well together and yield the same solution, we also believe the sum of the area of these rectangles must also go to infinity as the number of rectangles along the -axis approaches infinity. This is our intuition because we know for any finite positive integer , the sum of the first terms of the harmonic series will also equal the area of the first rectangles. Since this is true for any , no matter how large, and it is also true for the next term, we can be confident that the infinite area will equal the infinite sum. Since the infinite sum does not converge, then the infinite area does not converge.
I try to minimize notation in Lazarus Math because I want to focus on the concepts, and sometimes notation can distract us from the concepts. But notation serves a useful purpose in math, and it can be fascinating once you adjust to it. Here, I am going to introduce notation because it will help us better understand future ideas. We can rewrite the area of the first 5 rectangles in this concise way:
I’m using the letter to represent the integers rather than . More importantly, the Greek letter sigma is a fancy way to write a sum of terms. This notation is just a concise way of writing the sum of the area of the first 5 rectangles. In other words, we want all terms starting with up to and including the term for . If we want the sum to go to infinity, it’s easy to change 5 to infinity and write:
Why did we introduce this notation? Isn’t it wonderful how concise this expression is? We have built up to this concept with graphs and area to get a different perspective. But we also have the capacity to be extremely brief, clear, and to the point. Also, isn’t it neat we can just define notation as a way to do the impossible? We certainly cannot write every term in this sum because we are finite and we live in finite time and space. But using our imagination, we are able to do something we can’t do in the physical world. Of course, we can attempt to compute this sum. It is actually quite easy to compute a relatively large number of finite terms. For example, I was able to calculate the first 100 million terms instantly as approximately 18.9978964139 using a software package. The problem does become difficult as we think of the sum that exceeds our software limits, especially when we think about infinity. But as long as we are within the limits of our computer, this sum is easy to calculate.
From rectangles to a function
Now that we have new notation, we are strategically positioned to change course and consider something new. Even though this is something new in the context of this problem, it should feel like a natural progression because this is how we have been playing with math. Our new notation has prepared us for this new idea, but we need to make one more change.
Even though we have recast our harmonic series as an area of a series of rectangles, we can think of this area in a different way. Consider the top horizontal line for each rectangle. Notice this line is at in the region where is between 0 and 1. Then for the next rectangle, this line is at where is between 1 and 2. Then for the next rectangle, this line is at where is between 2 and 3. So another way we can think of the area of the rectangles is to think of this top line as a function, and then we can calculate the area between the function and the -axis.
Specifically, the top of the rectangle is the -value for the function where is a positive integer. The -axis is the bottom of the rectangle, which is also the line . But we want to be a real number since it is in the -coordinate system. Again, math has a solution for this problem of inputting a real number and outputting an integer. The math solution is to use the function “floor” to round down to the next integer. So the real number 1.75 becomes 1 and 2.25 becomes 2. Now, we can rewrite our previous equation using the real numbers as input to produce the same result as when we used integers as input:
This -value will produce the top line for the rectangles in Figure 2. Then we calculate the area between this function and the -axis everywhere the function is defined, which is all the real numbers greater than 0. Remember that when we calculate the area between this function and the -axis, we create the same harmonic series we started with. In other words, we are still calculating the same area depicted in Figure 2. But now, it is in the world of a function with positive real numbers as input. So we can still view this as an area problem, but we use a function in the -coordinate system rather than rectangles. That means we have again left the Greek mindset and returned to modern-day algebra, or more precisely, analytic geometry.
Beyond integers
Hopefully, it has been interesting to recast the same problem using different perspectives as we think about the math people of the past. But let’s gear up for a change in the problem itself and not just a change in our perspective. Our current formula now looks rather messy because we are calculating an area connected to integers by using real numbers. It’s nice that we can still perform that math using real numbers as input rather than integers. But by using the floor function, we are kind of fitting a square peg in a round hole. It is not exactly the clean and pristine look we seek. We made this rather awkward transition in order to pursue a new idea, and we created a new problem that is no longer whispering at us but nearly shouting at us.
Rather than making this awkward transition of calculating an area connected to integers, wouldn’t it be interesting if we just calculated that area based on real numbers? Yes, this problem started with Pythagoras and integers. It is certainly an interesting problem using integers, but are you curious to find out what the problem becomes using real numbers?
Now that we have presented this integer problem in a format that contains real numbers, it will be natural to convert this to be just about the real numbers. So our goal is to create a new problem that is based on real numbers as a natural progression from the problem based on integers.
If it helps, you can think of it this way. We can think of the graph in Figure 2 as representing a walk downstairs, assuming our perspective is from left to right. Walking downstairs is essentially a way to arrive at a lower elevation. There are two common ways to arrive at a lower elevation. We could either walk downstairs or walk down a hill. The harmonic series certainly represents the stair approach. But what if we think about walking down a nice smooth hill? Can we convert this function from something bumpy to something smooth? Integers are designed for bumpy rides, but real numbers are engineered for smooth rides. Let me propose writing a new function based on real numbers, which is consistent with, but not equal to, the function based on integers:
Note that the graph of this new function and the graph of the old function intersect at integer values for . For example, when , the result is , and when , the result is . That means when is an integer, the output is the same, but when is not an integer, the output is different. Certainly, this has nice “curb appeal” compared to our previous function which had the floor function cluttering things up. This function is amazingly simple, and we might naively think it is boring. But we now consider this simple function as an extension of the harmonic series, which began with Pythagoras, his love of integers, and the pleasant music produced by integers. However, with this simple and hopefully interesting function, we are extending the work of Pythagoras, expanding it to real numbers, and getting the area between this function and the -axis.
We graphed this function in Figure 3 and shaded the area that we will be considering. We accomplished our goal of creating a nice smooth curve. I should mention again that the graph is not drawn to scale as the vertical axis is much more stretched out than the horizontal axis. This is because I want to emphasize the shape of the curve as it goes beyond . If we drew the two axes using the same scale, the slope to the right of up to around would represent a more moderate hill that may resemble a downhill in your neighborhood. The curve will appear nearly flat to the right of . Feel free to edit this graph and change the scale to different scaling perspectives.
Before we get into the details of calculating the area, take a moment and appreciate the journey we are on. Imagine being the first person to consider this graph and wondering what the area of the shaded region is. What would you be thinking? When I was thinking about this, I had great anticipation and excitement. After all, we started this journey by following in Pythagoras’s shoes and seeing some of the things he saw. But as we go from integers to real numbers, we are going further than Pythagoras. It should give you a bit of a pioneer spirit. Of course, pioneers experience a tremendous amount of uncertainty. Because we are just experimenting, this may not lead to anything important and take us to a dead end. But it feels like a “natural” experiment to go further on this path.
We may wonder why Pythagoras stopped this journey with positive integers. Is there something he knew that we don’t? Can we think of something interesting that Pythagoras didn’t? Perhaps if we were in a conversation with Pythagoras and he was sitting with his urn, we could tell him, “Rather than banging on your urn when it is full, emptying ½, then banging again, and so on, let’s put a slow leak in the urn to let the water out so that at any time , the amount of water in the urn is exactly , where is a positive real number.” What would Pythagoras have thought? The music may not have been pleasant to hear, but there would have been a nice smooth transition in sound.
OK, history aside, let’s dig in and try to solve this problem. We have rather bravely presented a really difficult problem, so now we must identify how to calculate this area. The graph is certainly curved, and we know calculating the area under curved things is difficult. It took some of the greatest minds centuries to calculate the area for a circle. What hope do we have of calculating the area under this curve in Figure 4?
Calculating the area of a curved region
You may recall in the foundations of Lazarus Math we considered the graph of . Its graph was curved, and the area under it appeared difficult to calculate. But, surprisingly, we learned that the area under this graph, from the far left (negative infinity) to any point , had the unusual and quite amazing property of being equal to . In fact, is the only function with that property—the area under its graph equals its value. So we can’t expect to get anything that clever here. Realistically, we should just hope to be able to somehow calculate the area, even if the result is not clean and pristine.
Calculating the area likely appears difficult, if not impossible. We hope that the area approaches some number, even if we don’t know what that number is. What do you think the area will be? Could it somehow equal an integer? Will show up? There certainly could be a circle hidden in here somewhere since we have a nice round curve. Or maybe will somehow show up. Recall originated when we doubled an investment. We’re certainly not doubling an investment, but one never knows with .
In order to calculate this area, like it often is with difficult problems, we must decide how to begin. Remember when we calculated the area for a circle, we started with something we knew the area of, which was a chessboard. Is there anything we can compare this curve to that we know something about? Well, don’t overthink this too much. An idea is staring us in the face. Recall we started this journey by considering the graph that represented the harmonic series. So let’s consider putting these two graphs together in one graph and compare the two.
Figure 5 shows the graph of as well as the rectangles that represent the harmonic series. Superimposing Figure 2 and Figure 3 is a small step, but it may be enough to help you guess the area under the graph of the continuous function .
Comparing areas
Remember we know the sum of the harmonic series is infinite, and we know the area of the graph of rectangles matches the sum of the infinite series. So we know the area for the series of rectangles is infinite. Notice that for each integer value, the curve for intersects the rectangles. We identified that principle before from an algebraic perspective. Now we can see that intersection visually. But for all values in between the integer value, the curve is higher and thus has greater area than the rectangles. That leads us to think the area under the graph of must be greater than the area of the sum of the rectangles. But we know the area for the sum of the rectangles is infinity. Since the area under the graph of must be greater than the area of the sum of the rectangles, that means the area under the graph must also be infinity.
Surprisingly, what appeared to be a difficult problem is actually quite simple. The sum of the area under the graph of does not have a bound and is therefore infinite. Again, that may be surprising when we see the right tail of the graph quickly approaches, though never touches, the -axis. Perhaps it is disappointing the area sum does not converge to a number since it would have been neat if it equaled a cool number like .
This may be a letdown as we had great anticipation for something interesting. It was interesting that the solution was easy to determine. It seems like our story is over just as we were getting started. But we are far from being done with this story. First, let’s get a feel for why the area is infinite.
Perhaps you think that the area under the graph of is infinite because the area increases from right to left without bound between and . But we can measure the area starting at and still arrive at the same conclusion. The reason is we are only removing the first rectangle, which has an area of 1. Then the harmonic series becomes ...
Notice when we subtract 1 from the harmonic series, we are looking for infinity minus 1 since the sum of the harmonic series is infinity. Subtracting 1 from infinity does not rescue the sum from entering the black hole of infinity. Thus, the sum of the series ... is still infinity. This means that even if we start at ½, when we sum the area of all the rectangles, we will still get an infinite area.
Since the area under the graph of starting at = 1 is greater than the sum of the area of the rectangles, we conclude that the area under must also be infinity. This yields the surprising conclusion that for both the harmonic series and the graph of , the infinite area results from the right tail, even though the right tail approaches 0 quite quickly. I did not present the graphs to scale so we can appreciate how quickly the right tail approaches the -axis and the surprising result that the area does not converge.
Let’s review the strategy we used to calculate the area under our continuous function. We performed a mystery move by converting the harmonic series from algebra to geometry, which changed the problem to calculating an area. Then, we modified this area by considering real numbers rather than integers. Most importantly, we were able to compare the areas for the two graphs. This was a handy trick because we knew the area when the graph was connected to integers. Then, when we converted to real numbers, we were able to leverage knowledge from the integers into an answer based on real numbers.
This is a handy trick math people often do. Rather than calculating something directly, they compare it to something they've already calculated and use that information to arrive at the answer. I suppose you can view it as a form of laziness; I think of it as being clever.
So we’ve investigated the continuous curve defined by and found it interesting because it expands the harmonic series to the real numbers. We also identified the area under the curve is infinite. But is this curve used for anything important?
Actually, this is where the delightful part of the story occurs. In my opinion, if there was a math hall of fame, I am confident that the function = would be enshrined into that hall of fame. So what makes this function so important? The reason this function is so important is revealed when we consider only real numbers in a specific range.
If we considered all the positive real numbers as input, the area is infinite. But this function becomes hall-of-fame material when we consider only a subset of real numbers. You may think talking about hall-of-fame math as silly talk. But one criterion for being important enough to be enshrined in the math hall of fame is to be important enough to create a calculator key just for the occasion. And almost all calculators have reserved precious real estate for a button connected to this function. I’m not referring to the button , which simply converts a number to the denominator of a fraction. Which button on the calculator is connected to the area under the function ? It is a button that often gets used but is not widely understood. That function is the log function. In other words, the log function is intimately connected to the function . Depending on your relationship with math, you may or may not be well acquainted with the log function.
Reintroducing the log
I’ll assume you, like most people, are a bit rusty on the log function. So allow me the privilege of reintroducing you to the log function. First, log is a nickname; it's short for logarithm. But what is the log function? From one perspective, the log function’s main job in math is to undo things. When we use the log function button on the calculator, we’re usually thinking of undoing something.
If the function is and we want to solve for , then we must “undo” multiplication. We know division can “undo” or reverse the result of multiplication, so we divide both sides by 10 to get .
What if the operation uses exponents rather than multiplication? How do we “undo” the exponent? If the equation is and you were given the value for , how would you solve for ? In this example, we define 10 as a base and is an exponent. When is an exponent, then we need something that will “undo” the exponent. That is what a log function does.
Next, we can take the log of both sides of the equation and write = . We can do this because if , then . One neat property of logs is we can rewrite as . In other words, if we take the log of a number raised to an exponent, we can move the exponent out of the log operation, make it a multiplicative factor, and get the same result. That means we can write = .
Logs are also quite versatile because we have a log for every base. By definition, if the log is to base 10. Then, the right side simplifies to just . In other words, the log will “undo” the exponentiation. That means where the is for base 10. Notice that logs just performed the one main goal of algebra, which is to solve for , specifically when is resting as an exponent.
Because we have a log for every base, we are not limited to base 10 when we use logs to “undo” an exponent. If the equation was , we would follow the same recipe but conclude that using the log for base 9 rather than base 10.
The log’s hidden past
We all have things in our past that are hidden. But it may be helpful for some of these hidden things to be brought to light. The log has a past, and I think the past is hidden from most of us. There are actually books written on its past, and these books are delightful to read. I will only uncover the highlight of the past but feel free to research this further. (One book I recommend is “e: The story of a number” by Eli Maor. Amazon link). This hidden past is directly connected to the area below the graph of . What is this hidden past and how is it connected to undoing an exponent?
Let’s say we wanted to know the value of . Believe it or not, the answer is actually equal to the area under the graph in Figure 6. This is the graph of for between 1 and 4, and the shaded area is precisely . This is only true for a specific base for the log, and you may notice that I have not stated that base yet.
So what is this unknown base which connects the log function to the area below ? What base could possibly be somehow connected to “undoing” an exponent? Which base receives this honor?
A hidden friend reveals itself
Remember when we studied , we recognized was special in that the area under the curve always equaled its value at that point. In other words, the area under the curve of from negative infinity to is . We also learned that the slope of the tangent line to this curve at any point is the value of the function at that point. There are many smooth curves, but when is the exponent for base , it is the perfect smooth curve.
That is all background information we have already covered. But now, the interesting conclusion to our area problem is the base we are looking for is none other than base . It may seem normal, or even natural, to think of an integer as the base. Often that is true. But, when it comes to math, and not only the imaginary world of math but also the real world, the most natural base to use is base . In fact, it is so natural that we refer to the undoing process, the log with base , as the natural log. We even give it the special notation rather than just . Thus, if we write , we know we are taking the natural log of 4, which is the log of 4 using base . You will notice most math calculators have an “ln” key reserved and engineered to perform such calculations. So if you enter 4 and then the “ln” key, you will get an approximate value for the natural log of 4. But we usually don’t think about it being the area under the graph of between and . Isn’t that a surprising result?
Of course, this is not a one-off for the number 4. This works for any positive number greater than or equal to 1. In other words, it is true not just for positive integers but for any real number greater than or equal to 1. That means we can make the wonderful statement that the definition of the area under the function from 1 to is with base , or , where is a real number greater than or equal to 1.
For example, if we decided to change 4 to 4.1 and want to calculate , then we just extend the curve out a little farther and calculate the area between 1 and 4.1. Since we are calculating the area under a continuous curve, we use the magic of calculus to calculate the area. Thus, we are not limited to integer values of .
At first, it may appear odd to have as a base, so the name "natural" feels anything but natural. However, the more you dive into math, the more "natural" it becomes. As an actuary, I have needed to “undo an exponent” frequently, so the log function was a regular tool. And actuaries rarely use a base other than .
Even though it appears that the two stories we’ve discussed regarding and to base are separate stories, they are actually connected. If you think about it, we identified as the special exponential function because of how the slope and area are related. Then, since the purpose of the log function is to “undo” the exponentiation process, it shouldn’t be surprising that there is one base for the log that emerges as special.
In short, is special when we exponentiate and when we undo the exponentiation. You can think of as the “secret sauce” of the exponentiating process.
By the way, the graph of the function is a hyperbola. You may have studied hyperbolas in high school trigonometry. That means if we take a cross section of a cone, we not only find a hyperbola but also expose the function and the wonderful story about the natural log and . We won’t discuss hyperbolas in Lazarus Math, but it is worth noting that a hyperbola has two components, and we only focused on the component where is a positive real number. There is a second component to the hyperbola in the region where is a negative real number.
An approximate area
If calculating the area under and labeling it as the natural log is new to you, it likely appears quite abstract. To help make it more concrete, let’s estimate the natural log of 4, or , from our graph. Again, we are at the starting point and need to decide how to start. Like before, our starting point isn’t starting with something new but something we have already discussed. Let’s think about how we can estimate l by using a graph as a visual help.
We can return to where we started in this section and consider using rectangles. If we made rectangles at every integer value, we have two extreme choices. We could create 3 rectangles that underestimate the area as shown in Figure 7.
We are underestimating because the curve is never lower than the rectangles at any value. The area using this method is .
Alternatively, we can overshoot the area by making the height of the rectangle match the highest point of the function as in Figure 8.
The area using this method is Clearly, the first method undershot the target and the second method overshot the target. Let's use these two extreme values to improve our estimate.
One simple approximation is to average these two extremes, which is
. We can easily do the math here. But we gain more insight by recognizing that we just take of the extreme points 1 and , and then the full value of the in-between values. Thus, the average is .
Since to two decimal places is 1.39, we got a pretty good approximation given how simple the process was. If we wanted to get a better approximation, we could follow a similar plan but use more rectangles with narrower widths. For example, if we change the width from 1 to 0.5, then we would double the rectangles from 3 to 6 and improve our approximation. In fact, we could get extremely close to the exact number by making the width of the rectangles quite small. However, we would still overestimate the exact result.
In the next section, we will identify why this approximate solution is larger than the correct value. But even before we dig into this mystery, there is a clue from Figure 8 that may lead you to the answer. Can you identify from the picture in Figure 8 as to why the approximate method we used overstated the actual value? If not, we will answer that question in the next section.
Understanding the function better
Did approximating the result help make the area calculation, which is an abstract concept, easier to understand? Thinking about why our approximation overstated the actual result will also help you understand this abstract concept. Another way to clarify is to identify boundaries for our area.
We can identify two boundaries for the function. Since we’re measuring the area starting at , we may be inclined to ask, “What is the value of ?” Because the width of the area when is , there is no area, so . This should make it easier to remember that .
The second boundary is at the other end where approaches infinity. What is as approaches infinity? We can see from the rectangles in Figure 7 that the area for these rectangles is the same as the sum of the harmonic series starting with the second term (ignoring 1). We already identified this sum is infinite. Notice the graph of is always greater than or equal to every point of the rectangles for any value in the range. Thus, the area under the graph of is greater than the area for the rectangles. Since the area for the rectangles is infinite, then the area under the graph of starting at is likewise infinite.
Also, there’s one value in between the two extremes that we can easily deduce. If we take the log of a number with the base of that number, the result is always 1. For example, the with base 10 is 1. Thus, we know the How can we use this fact to calculate the area under the graph shown in Figure 9? This tells us the area under the graph of from 1 to is 1.
If you want to collect images for what the number 1 represents, this is a creative image to add to your collection. Of course, if we want to use this tactic, we could also easily identify the area under the graph between 1 and is 2, or even the area under the graph between 1 and is 1.5, since there isn’t anything special about the exponent 1. This example highlights what is actually occurring with our area function.
To better appreciate the concepts at play, rewrite the value on the -axis, our input, in terms of base raised to a number. So, convert to the equivalent . Likewise, write the output of the function in terms of base raised to a number. So if the input is , then write the output as the equivalent . We negated the exponent even though -0 and +0 are the same number. The reason will be clear in a moment. Then the point on the graph is , and the area under the graph from to is 0, which is the positive value of our exponent. This idea works for any value greater than or equal to 1.
For example, consider the input value . If we use this number as input, then the output is and the area under the graph from to is 2, which is the positive value of our exponent. To picture this, the value of is about 7.3890560989. Let’s say we wanted to know the area under the graph between and some number that is not an integer exponent to base . For example, how would we calculate the area under the graph between and ? This is where we “reverse engineer” the process. We want to know what exponent to base produces the number 10? This is the job of the log function, which is to undo the exponential. That means the exponent would be , or about 2.30258509299. That means the area under the graph from to is , which again is the positive value of our exponent. This is because .
Do you see beauty in all this?
The log
The log function, especially the natural log function, is rich in meaning and complexity. The more you can understand this function from different perspectives, the easier it will be to use it in the many ways it appears in math. We will advance this concept in the remaining parts of Lazarus Math beginning in the next subsection where we will again dance with infinity but return to earth with something surprisingly concrete. I hope you are enjoying our voyage into the vast world of infinity. The best minds in math have thought much about these things.
In case you are wondering, this topic is covered in calculus class when studying the definite integral (or the antiderivative). The neat thing about calculus is that it specializes in calculating the area under a curve and it is done by using the definite integral. Usually the textbook just states that the definite integral of is . This is another fact that is often memorized, just like the definite integral of is . As we stated in the foundation section of Lazarus Math, so much is lost when we reduce this interesting story to a mere fact or formula.
One last thing. Perhaps now it is clear why I recast the harmonic series, which is about numbers, to something that is about area. In other words, we started with the work of Pythagoras who studied integers and created this infinite harmonic series. We then converted this same infinite sum to an infinite area in the -coordinate system using a stairstep pattern.
This may not have seemed like a step forward, but it was a change in perspective. The benefit of this change was to shift our thinking from adding numbers to adding areas. Even though we were adding the same numbers and getting the same result, converting this to an area problem opened the door to solving a more challenging problem.
This more challenging problem was to consider the area under a smooth function based on real numbers rather than the step function for integers. A key concept in all this is that we returned to the ancient Greek mindset and saw the area of our rectangles was a fancy way to think about addition. Since the area of a rectangle is two numbers multiplied together, the net result was adding a series of numbers multiplied together. Then we extended this concept to a smooth function involving the real numbers. We can’t solve this using our usual methods. We cannot use addition to “count” how much rain we have received, but we can use a rain gauge to measure it. Similarly, we need the right tool for our problem, so we use the magic of calculus, which specializes in calculating the area under a curve.
In other words, we can calculate the infinite sum of when is limited to positive integers. But when we expanded to positive real numbers, we could not create this sum since we cannot order real numbers like we can integers. This is because we know the lowest positive integer is 1, the next positive integer is 2, and so on. But we don’t know the lowest positive real number, so we can’t write it as an infinite sum. That is why we recast the problem as an area under a graph of a continuous function.
Doesn’t math produce some brilliant ways to think?
We have more to explore with the log function later in Lazarus Math. But we’ll need to cover a couple more topics first in order to appreciate additional wonders and beauty.