Dancing with numbers

Pausing to recapture our flow

We have covered a lot of ground so far in Lazarus Math. Since you are reading this, that means you have persisted. Let me take a quick pause in our journey to reorient our perspective before we jump into more math stories.

As you know, the purpose for Lazarus Math is quite different from the purpose for other math material. The focus for Lazarus Math is more difficult to explain because it is not as concrete as learning how to solve a quadratic equation. We’ve referred to this difference as precision versus vision.

It is easy to explain the output of a precision strategy: follow these steps and you can solve the quadratic equation. You know you have arrived if you get to the right answer.

The output we want for vision is more difficult to measure. I don’t have a test to determine whether your vision is on the right track. But I did think of an example in my life that may be helpful in clarifying our goal.

My parents told me that when I was a baby, all I wanted to do was to play with a ball. I was never interested in things like trucks or other toys. For me, I was drawn like a magnet to anything that you could throw. Because my dad was a basketball coach, the first sport I started with was basketball. My dad said that even when I was three, I could sit and watch a 2-hour basketball game and not be distracted. As soon as I was big enough, I was shooting basketballs. After a while, I got pretty good at it. Even though my dad was a basketball coach, I don’t remember him ever teaching me how to shoot a basketball. I just let my instincts take over and practiced. I always seemed to have a basketball with me.

I remember my sister asking me to go running with her, so I naturally took a basketball with me and dribbled along the way. I learned basketball by trusting my instincts and playing. Unfortunately, I lacked athletic ability (think running and jumping) so my basketball career ended in high school. But I became quite proficient at doing things with a basketball.

Fast forward to my adult years and I decided golf was a good sport to pick up as the body ages. I figured that I could take the passion I had for basketball and apply it to a golf swing and get good at it. I had dabbled in golfing for about 40 years, but I wasn’t good at it because I swung the golf club like a baseball bat, which is natural because baseball was my second sport passion as a kid. But, after 40 years of swinging the golf club the wrong way, I figured I could learn the right way. I was optimistic I could learn to swing the golf club correctly because we are in an enlightened age where there are tons of YouTube videos available for me to learn how to swing a club.

So the natural thing for my analytical mind to do was to watch the videos to learn how to swing a golf club. When you break it down, there are so many steps to successfully hit a ball. When I went to practice, I had about 10 things in my mind that I was working on. As a result, I was dividing the swing into these 10 different components that I was trying to accomplish in the short time it takes to swing a golf club.

Despite a year and a half of dedicated practice, the swing has not yet “clicked.” Of course, this baffles me because I know I learned other athletic skills such as shooting a basketball. Why can’t I learn to swing a golf club like I shoot a basketball? I’ve come to the conclusion that my approach to learning to swing a golf club needs to be more like how I learned to shoot a basketball.

I need to stop thinking about the discrete steps and allow the swing to naturally flow as my body hits the golf ball. Yes, there are elements of a swing that need to be in place. But my experience is that you can destroy a process by trying to focus on the steps.

Isn’t that true of the bigger picture of life? The idea of a continuous flow is what life is all about. We need to know a few things to ride a bicycle. But the main thing is to get on the bike and be willing to fall. We learn to ride a bike not by following certain steps but by practice and persistency. This is also true of things in life other than physical ability.

Sure, we may go through some basic steps to follow before we get married. But the goal for a good relationship is not the ability to succeed at following certain steps. It is the ability to have a smooth flow. To me, a measure of “success” is when we achieve this continuous flow without our mind thinking about the steps.

This idea of a continuous flow is at the heart of why I wrote Lazarus Math. There are plenty of resources that teach you different steps to solving math problems. But what I’ve experienced in math is the continuous flow. I see math in life. It is everywhere. I am intrigued by interesting problems. I am no longer conditioned to want to find “the answer” in the back of a math book.

I approach math in a similar way to how I approached basketball as a kid. I am always playing with it. I learn as I do. Sure, I am always learning new “steps” as I consume and practice math. But I never think of it as steps. I think solving math problems requires a similar skill to shooting a basketball. You learn some basic fundamental principles (logic, reasoning, etc.) but you trust that you have an innate ability to do math.

Is your math flowing?

Lazarus Math is all about math coming alive inside of you. Hopefully, you are seeing that this life already exists inside of you. Sometimes we need to return to a childlike perspective of playing with things that our adult mind may think we do not have the capacity to do.

I think it is unfortunate that we live in a culture where most adults view themselves as not having natural math ability. It is easy to see why they have that perspective because they have “fallen off the bike” so many times in terms of struggling to truly understand math concepts. I think so much attention has been given to the steps to solve problems and not enough attention to letting our curious mind play with an idea and give it space to wrestle.

A math dance

With all that said, let’s journey forward to our next adventure. Our next math story is about truly amazing math. It involves some of the best ideas from some of the best minds of math. Many people have struggled to follow the math, so I’m trying a different approach. I’m going to package our next math nugget into a story about dancing.

Dancing is like the other things that I mentioned where the goal is to develop a flow. Good dancers view dancing as a continuous process, not a set of discrete steps. I do recognize that there are steps in this math that must be discussed. I’m presenting this math in a dance story to hopefully make it interesting. In this story, however, I’m going to walk you through the steps in detail. The reason why I’m walking through the detailed steps is because I want it to seem intuitive to you. Each step is small so you can be confident that you can achieve it. But in the end, we will again appeal to the continuous flow of math. The hope is you will understand the process at the end so that you will no longer need to do the steps.

Our first dance

Before we jump into the steps, let’s focus on a beautiful dancer whose movements graciously flow with the music. That is the picture of where we want to be with the math at the end of this section. We will build up to the final dance by starting with easier dances. I call our first dance the “Straight 1” dance.

All moves in our Straight 1 dance travel in the same direction. First, move a distance 1. As usual, we don’t care what the unit is for distance. I suppose a reasonable unit for this dance is 12 inches or a foot. We won’t worry about that detail as we imagine dancing with math.

Our second move is a distance 11\frac{1}{1}, which is also 1. Next, move a distance 1(1×2)\frac{1}{(1×2)}, which is 12\frac{1}{2}. Then, move a distance 1(1×2×3)\frac{1}{(1 \times 2 \times 3)}, which is 16\frac{1}{6}. Follow this movement pattern for as long as you can. The question is: how far would you have moved if you performed this dance forever? Clearly, each move covers much less distance than the previous move, except for the first two moves which were both 1.

We’ll chart the dance on a number line. Since we are using a number line, we will use the normal convention of moving left to right. Figure 1 is a graph of the distance we traveled.

Figure 1. Straight 1 d
Figure 1. Straight 1 dance

Before we get to the answer, let’s identify a pattern to our steps. First, we have a shortcut for writing each term in the denominator. Recall our factorial function when we explored the gamma function. We get the opportunity to spring this function into action. If we input an unknown integer nn, we write n!n!, which is 1×2×3...×n1 \times 2 \times 3... \times n. Recall 0!=10! = 1 by definition. That means we can rewrite the 1st term as 10!\frac{1}{0!}, the 2nd term is 11!\frac{1}{1!}, and the 3rd term is 12!\frac{1}{2!}. If you follow the pattern, the nnth term is1(n1)!\frac{1}{(n-1)!}. It is an interesting pattern of steps which is visualized in Figure 2.

Figure 2. Straight 1 dance finish
Figure 2. Straight 1 dance finish

Our key question is: how far did we travel in our dance? The distance we traveled if we performed the steps an infinite number of times (let nn approach infinity) is approximately 2.718281828459045. Of course, the exact value is none other than ee. Isn’t that fun? Was it a surprise that the total distance we traveled simplified to ee? There is a lot of math to unpack with this formula by moving to our second dance.

Our second dance

I refer to our second dance as the Straight 2 dance. If you liked Straight 1, then you’ll like Straight 2 assuming your body can move farther. Again, every move is in a straight line. Like before, the first move covers a distance of 1. But this time, the second move covers a distance of 2. The third move covers a distance of 222!\frac{2^2}{2!}, and the fourth 233!\frac{2^3}{3!}. Do you recognize the pattern? It may help to rewrite the first two moves as 200!=11=1\frac{2^0}{0!} = \frac{1}{1} = 1 and 211!=21=2\frac{2^1}{1!} = \frac{2}{1} = 2. Thus, the nnth step in our Straight 2 dance is to move a distance of 2(n1)(n1)!\frac{2^{(n-1)}}{(n-1)!}, which you can see in Figure 3.

Figure 3. Straight 2 dance
Figure 3. Straight 2 dance

In the end, how far have we moved forward as nn approaches infinity? This time, we moved approximately 7.389056098930649, which is exactly e2e^2. Who thought dancing could be so fun!

Our dance

In our Straight 1 dance, the distance we traveled in our nnth step is 1(n1)!\frac{1}{(n-1)!}. A nice trick with 1 is that multiplying by itself does not change the value, so we can instead say the distance of our nnth step is 1n1(n1)!\frac{1^{n-1}}{(n-1)!}. The total distance traveled after infinitely many steps is e1e^1.

In our Straight 2 dance, the distance we traveled in our nnth step is 2n1(n1)!\frac{2^{n-1}}{(n-1)!} and the total distance traveled is e2e^2. Do you recognize the pattern?

Consider the moves for the Straight xx dance where xx can be any positive integer. If we follow the pattern, the distance we travel in the nnth step of our Straight xx dance is xn1(n1)!\frac {x^{n-1}}{(n-1)!}.

Our dance research is paying dividends because we can quickly identify the total distance we travel in other dances where xx is a positive integer. For example, we can define a Straight 4 dance by writing 400!+411!+422!+\frac{4^0}{0!}+\frac{4^1}{1!}+\frac{4^2}{2!}+⋯. Then, the total distance we travel forward in this dance after an infinite number of steps is e4e^4, or about 54.6.

Does this dance pattern still work if we journey off the positive integers and move to something like Straight 3.5? For example, is 3.500!+3.511!+3.522!+=e3.5\frac{3.5^0}{0!}+\frac{3.5^1}{1!}+\frac{3.5^2}{2!}+⋯=e^{3.5}? The pattern we hope for, in fact, exists. If we let x=3.5x = 3.5, our distance traveled as nn approaches infinity is exactly e3.5e^{3.5}. We show the length of the first 6 steps and the total distance in Figure 4.

Figure 4. Straight 3.5 dance
Figure 4. Straight 3.5 dance

Wonderful! Don’t you feel a calming sense of order to our dance since our dance pattern not only works for positive integers but also for positive real numbers?

Dancing with the negatives

Since we have this calming sense of order, maybe we are feeling bold enough to ask if this pattern also works for negative real numbers. Perhaps we don’t comprehend how bold our question is. At first, it seems like a small request. Just put a negative sign in front of 3.5 and crank out the dance. Let’s try the Straight -3.5 dance and discover what chaos we just created.

Because of the disturbance we are about to create, let’s use a full-blown number line to monitor this new dance. Again, start at 0. Our first step is the familiar step of distance 1. We’re still moving left to right as we did before. We can see that we land on the point 1 on the number line.

OK, where do we go for step 2? Remember the formula. In step nn, we move xn1(n1)!\frac{x^{n-1}}{(n-1)}! That means in step 2, we let n=2n=2. Also, this is our dance for x=3.5x=-3.5, so let x=3.5x = -3.5. That means the distance we travel in step 2 is (3.5)21(21)!=3.5\frac{(-3.5)^{2-1}}{(2-1)!}=-3.5. On a number line, we’re conditioned to think a negative value represents going right to left, so do a half turn and step 3.5 in the opposite direction. Now, we rest at the point 13.5=2.51-3.5=-2.5.

Fine, we can do this. But where do we go next? Our next step is for n=3n=3 which covers a distance of (3.5)31(31)!\frac{(-3.5)^{3-1}}{(3-1)!}. Perhaps you recall we have this strange rule in math that if you multiply two negative numbers, you get a positive number. That’s what we have here with (3.5)2(-3.5)^2. If we punch this into a calculator, we get the distance traveled in step 3 is 6.125. Since this is positive, do another half turn and dance 6.125 in the positive direction. Because we started step 3 at -2.5, we finish step 3 at the location 2.5+6.125=+3.625-2.5+6.125=+3.625.

Notice the distances for each step is the same distance we performed for the Straight 3.5 dance. The only difference is in the Straight 3.5 dance we danced in only one direction. Thus, the only thing we’ve introduced here is a half turn after each step. However, we still don’t know where we will eventually land. Let’s pick up our pace and identify the next several steps.

Step 4: Distance traveled = (3.5)41(41)!=7.1458\frac{(-3.5)^{4-1}}{(4-1)!}=-7.1458. Finish at 3.6257.1458=3.52083.625-7.1458=-3.5208.

Step 5: Distance traveled = (3.5)51(51)!=+6.2526\frac{(-3.5)^{5-1}}{(5-1)!} = +6.2526. Finish at 3.5208+6.2526=2.73183.5208+ 6.2526=2.7318.

Step 6: Distance traveled = (3.5)61(61)!=4.3768\frac{(-3.5)^{6-1}}{(6-1)!}=-4.3768. Finish at 2.73184.3768=1.64512.7318 - 4.3768 =-1.6451.

Step 7: Distance traveled = (3.5)71(71)!=+2.5531\frac{(-3.5)^{7-1}}{(7-1)!}=+2.5531. Finish at 1.6451+2.5531=0.90811.6451 + 2.5531 =0.9081.

Figure 5 is a picture of each of the first 7 steps and where we finished on the number line.

Figure 5. Straight -3.5 dance start
Figure 5. Straight -3.5 dance start

We certainly created a chaotic dance! What do you observe about our dance so far? Notice after every move we finish on a different side of the point 0. In other words, after an odd-numbered step, we finish to the right of 0. After an even-numbered step, we finish to the left of 0. Does this pattern continue forever? If so, then it seems like our landing point will be where we started, at 0. Go ahead, cast your vote. Do we finish at 0?

If we don’t finish at 0, do we finish to the left (negative number) or right (positive number) of 0? We solve this mystery once we perform the 12th step. Before going there, our instinct might tell us that the even number 12 means we expect to finish to the left of 0. If you’re up to it, you can perform the math. I will show you a picture of where we finish after each step. Let's zoom in our number line in Figure 6, so we can appreciate the finer details.

Figure 6. Straight -3.5 dance finish
Figure 6. Straight -3.5 dance finish

After 11 steps, we are at the position 0.0488. Then, in our 12th step, we move a distance 0.0242 to the left where we remain on the right side of 0 and land at the positive position 0.0246. Notice we continue to zoom in at an ending point. The ending point is approximately 0.030197. The precise ending point is at e3.5{e^{-3.5}}, which is the same as 1/e3.51/{e^{3.5}}.

In short, when we perform our Straight -3.5 dance, the total distance we travel remains e3.5{e^{3.5}}. Another way to think about it is if we had a GPS system tracking our steps, it would indicate our distance traveled is e3.5{e^{3.5}}. However, because we rotate directions after each move, we finish at a distance of only e3.5{e^{-3.5}} to the right of our starting point. If we want to write this in a formula, we can follow the familiar pattern we established for positive real numbers and now extend it to all real numbers:

x00!+x11!+x22!+=ex\frac{x^{0}}{{0!}} + \frac{x^1}{1!} + \frac{x^{2}}{{2!}} + ⋯=e^{x}

So, for x=3.5x = -3.5, we get: (3.5)00!+(3.5)11!+(3.5)22!+...=e3.5\frac{(-3.5)^0}{0!} + \frac{(-3.5)^1}{1!} + \frac{(-3.5)^2}{2!} + ... = e^{-3.5}

Adding inputs, multiplying outputs

There are so many things to marvel at here. Observe when we let x=1x=1, we get e1e^{1}. When we let x=2x=2, we get e2e^{2}. Now, consider the combination of these two values for xx. We know if we let x=3x = 3, our output is e3e^3. Since 1+2=31+2=3, can we derive the output for x=3x=3 by using the outputs for x=1x = 1 and x=2x=2? In other words, when x=1x=1, our output is e1e^1, and when x=2x=2, our output is e2e^2. Can we combine e1e^1 and e2e^2 to get e3e^3? Recognize we must multiply e1e^1 by e2e^2 in order to generate the output e3e^3 for x=3x=3. Notice what just happened? We identified a rule, or a property, that when we add our inputs, 1+21+2, we can calculate our output by multiplying the outputs for each input.

As a result, this special dance we’ve generated has a unique property. Using this property, we can consider two different dances, say x=3x = 3 and x=5x = 5, and derive the output for the sum of these two, x=8x = 8, by multiplying the outputs when x=3x = 3 and x=5x = 5. In short, let inputs be x=3x = 3 and x=5x = 5. The outputs are e3e^3 and e5e^5. Now, multiply the outputs, e3e^3×\times e5e^5. Sum the inputs to get x=8x = 8. The output is also e8e^8.

If you review the recipe for our dance steps, this property of multiplying outputs when we add inputs is not obvious, at least not to me. Hopefully, we have enough familiarity with this dance that we can now introduce heavy math notation. If we label the two inputs as xx  and yy, then we can define their output using the function symbols, f(x)f(x) and f(y)f(y), respectively. Thus, we can write

f(x)f(x) = x00!+x11!+x22!+...=ex\frac{x^0}{0!}+\frac{x^1}{1!}+\frac{x^2}{2!}+...=e^x

Likewise, we can do the same for yy:

f(y)=y00!+y11!+y22!+...=eyf(y) = \frac{y^0}{0!}+\frac{y^1}{1!}+\frac{y^2}{2!}+...=e^y

If we add our inputs, x+yx + y, we can write

f(x+y)=(x+y)00!+(x+y)11!+(x+y)22!+...=e(x+y)f(x+y) = \frac{(x+y)^0}{0!}+\frac{(x+y)^1}{1!}+\frac{(x+y)^2}{2!}+...=e^{(x+y)}

And the result is no different from multiplying the initial two outputs:

f(x+y)=f(x)×f(y)=f(x+y) = f(x) \times f(y) = exe^x ×\times eye^y

There are two key points I’m trying to illustrate.

First, we need to understand the concept of adding inputs translates to multiplying outputs. Once we understand this concept, the second point is to ask why. Looking at the formula for f(x+y)f(x+y), I am not able to identify any obvious clues that it will be the product of f(x)f(x) and f(y)f(y).

Do you see any reason why the principle of “adding inputs equals multiplying outputs” works here?

Ruminating on e

Before we introduce new dance routines, let’s consider one more interesting idea that our dancing can highlight.

Recall we first introduced ee as the result when we start with money doubling every year and increase the compounding so it occurs continuously. We were able to write this in a formula: take the limit of (1+1n)n(1 + \frac{1}{n})^n as nn approaches infinity.

I find it interesting that math textbooks do not have a unified definition for ee. Unlike π{\pi} which enters the world through a circle and is clearly defined by comparing the distance across to the distance around, ee can be defined from several perspectives. To me, this highlights the many dimensions and perspectives ee has. Another way we can bring ee into the math world is to define it as the sum of our infinite series when x=1x = 1.

f(x=1)=100!+111!+222!+...=e1f(x = 1) = \frac{1^0}{0!}+\frac{1^1}{1!}+\frac{2^2}{2!}+...=e^1

Even though this is an infinite sum, this definition seems easier to grasp than the limit of (1+1n)n(1 + \frac{1}{n})^n. The limit of this expression as nn approaches infinity is a challenge because there are two nn’s at play and they appear to be fighting for dominance. As nn increases, the term 1n\frac{1}{n} decreases, so the sum (1+1n)(1 + \frac{1}{n}) decreases and approaches 1. But raising any number greater than 1 to a large nn will increase the expression. It’s interesting that there is not a clear “winner.” Rather than having a clear winner, which would result in the limit approaching either 1 or infinity, the result is more of a compromise as it results in about 2.718.

Not only do we have the competing factors that make it difficult to estimate the limit, but the limit of (1+1n)n(1+\frac{1}{n})^n only calculates ee. However, our infinite sum f(x)=x00!+x11!+x22!+...=exf(x) = \frac{x^0}{0!}+\frac{x^1}{1!}+\frac{x^2}{2!}+...=e^x can calculate ee raised to any real number. Thus, not only can we calculate e2e^2, we can calculate other values that don’t make as much sense to have as an exponent. We can think of e2e^2 as e×ee \times e and that makes sense. But how do we interpret e2.6e^{2.6}? That number is difficult to interpret using repeated multiplication. However, when we view this as an infinite sum where xx is not an exponent, then all this makes sense.

Thus, if we want to enjoy the richness of all that ee has to offer, we should think of ee in terms of this infinite sum. Don’t forget that we arrived at this infinite sum by considering an infinite dance. To me, it is easy to picture taking steps forward according to our pattern simply by identifying each term in the sum. Remember the distance traveled in the nnth step is xn1(n1)!\frac{x^{n-1}}{(n-1)!}.

Considering a different dance

Wasn’t it fascinating when we considered dances for x<0x<0? Yes, it was a bit dizzying because we performed a half turn after every step. However, it was enticing to anticipate where the dance finished.

Math friends, if making a 12\frac{1}{2} turn after every step was exhilarating, do we dare ask what would result if we only made a 14\frac{1}{4} turn after every step? In other words, let’s use the same distance formula we have been dancing with but make a 14\frac{1}{4} turn to the left after every step.

If allowing a negative xx was not bold enough, notice the impact that a 14\frac{1}{4} rotation creates. We must exit the land of a one-dimensional number line since our 14\frac{1}{4} rotation will not be just a forward and backward motion. Before we perform this new dance, I encourage you to pause and envision what it will look like. Where will it go? Where will it end? Don’t worry, I’m confident you have the flexibility to dance with me as we veer away from the comfort of our number line.

One small rotation for math, one giant leap for mathkind

Our previous dance, which we labeled the Straight xx dance, was one-dimensional. Since rotating 14\frac{1}{4} of a turn creates a two-dimensional dance, it seems appropriate to name our new dance “Rotate xx” dance. Rotate xx dance is exactly the same as the Straight xx dance except we include a 14\frac{1}{4} turn to the left after every step.

Because we’re rotating, we need more space to move, which means expanding our number line. The logical choice is to use our xyxy-coordinate system. Please take note that we are not required to use the xyxy-coordinate system. It’s just that we need another dimension and we already have the xyxy-coordinate system available, so there’s no need to reinvent the wheel (at least not yet).

Remember the distance for the nthn^{th} move is xn1(n1)!\frac{x^{n-1}}{(n-1)!}. Therefore, the nthn^{th} step of our Rotate xx dance is as follows:

Rotate: 14 turn to the left\text{Rotate: } \frac{1}{4} \text{ turn to the left}

Distance=xn1(n1)!\text{Distance} = \frac{x^{n-1}}{(n-1)!}

Make sure you agree with me here since we will soon unleash this dance routine. Remember when we set x=3.5x = -3.5 for our Straight -3.5 dance, the total distance we traveled in our dance was the same total distance when x=3.5x = 3.5. We just included a 12\frac{1}{2} turn before each step. Thus, our Rotate xx dance shouldn’t feel much different from our Straight xx dance because we already know how to calculate the distance we travel. The distances we travel for the Rotate and Straight dances are the same for a given xx.

I’m a runner and I think about this in terms of running. For a positive xx, our Straight xx course was a point-to-point run. Then, when we let xx go negative, it was mostly an out-and-back repeated route. What type of route do we envision here? Because we’re rotating 14\frac{1}{4} of a turn to the left, I envision it to be like running around the block. But, similar to how our out-and-back course never turned around at the same point, I envision our around-the-block course will also not follow the same block after completing 4 left turns. Some curious questions pop into my mind as we prepare for this dance. Will we ever cross our starting point? Will we end near our starting point? I do hope you are envisioning what this route may be and are curious to find out.

Rotate 1 details

Here’s the step-by-step story for our Rotate 1 dance. Our first move remains 100!\frac {1^0}{0!}, which is always 1. Let’s assume we start each dance at the origin and our first move is in the positive direction of the xx-axis. This plan is consistent with our Straight ee dance where we started at 0 on the number line and moved to the right. We start at (0,0) then arrive at (1,0) after our first step. Then, rotate 14\frac{1}{4} of a turn to our left. This points us in the positive direction of the yy-axis. The distance we travel is111!\frac {1^1}{1!}, which is 1 again. That means our second step is to move a distance 1 up from the point (1,0). Now we’ve arrived at the point (1,1). Again, take a 14\frac{1}{4} turn which now faces the negative direction of the xx-axis. The distance is 122!\frac {1^2}{2!}, which is 12\frac{1}{2}. That leaves us resting at (12\frac{1}{2}, 1). Then, turn to the left and move down the distance 133!\frac {1^3}{3!}, which is 16\frac{1}{6}. Now we rest at (12\frac{1}{2}, 56\frac{5}{6}). Then, we turn to the left again and face the direction of the positive xx-axis which is the direction in which we began.

Our next distance is 144!\frac {1^4}{4!}, which is 124\frac{1}{24}, so we are at the point (1324\frac{13}{24}, 56\frac{5}{6}). The next distance is 155!\frac {1^5}{5!}, which is 1120\frac{1}{120}, so we are at the point (0.5417, 08417), since 1324\frac{13}{24} = 0.5417. All of these dance moves are illustrated in Figure 7.

Figure 7. Rotate 1 dance start

Do you see a pattern developing? We know this process continues forever and we don’t know exactly where we land, but can you identify from the plot that we are converging to a resting place?

What else do we know? We know the distance we traveled. Even though we took a left turn at every step, the distance traveled as recorded by our GPS system would indicate we traveled a distance ee. Of course, we are closer to the origin than the distance ee because of our14\frac{1}{4} turns. OK, math fans, where did we end after our infinite journey?

Before I answer, let’s make sure we’re clear on our perspectives. As I share several results from our Rotate xx dance moves in graphs, be sure to note the different perspectives. Sometimes I zoom in to see finer details and sometimes I zoom out to see a bigger picture. You can identify the detail and size of our landscape by noticing the distances on the xyxy-coordinate system. Remember these graphs are dynamic so you are free to zoom in and out of any graph you desire to see a perspective that is different from the default view.

Let’s take a super zoomed-in view to see the results after 8 steps. We finish at (0.5403, 0.8415), which is extremely close to our finish after 5 steps, as illustrated in Figure 8.

Figure 8. Rotate 1 dance finish

Even though this dance is interesting, the numbers we finish at are not. At least, they don’t appear interesting. But since I’m having so much fun, let’s try the Rotate 2 dance.

Rotate 2 details

Here is a quick tour of our Rotate 2 dance steps.

Start at (0,0)(0,0), and move right 200!\frac{2^0}{0!} to (1,0)(1,0).

From (1,0)(1,0), move up 211!\frac{2^1}{1!} to (1,2)(1,2).

From (1,2)(1,2), move left 222!\frac{2^2}{2!} to (12,2)(1-2,2) or (1,2)(-1,2).

From (1,2)(-1,2), move down 233!\frac{2^3}{3!} to (1,286)\left(-1, 2-\frac{8}{6}\right) or (1,23)\left(-1,\frac{2}{3}\right).

From (1,23)\left(-1,\frac{2}{3}\right), move right 244!\frac{2^4}{4!} to (1+1624,23)\left(-1+\frac{16}{24},\frac{2}{3}\right) or (13,23)\left(\frac{-1}{3},\frac{2}{3}\right).

From (13,23)\left(\frac{-1}{3},\frac{2}{3}\right) move up 255!\frac{2^5}{5!} to(13,23+32120)\left(\frac{-1}{3},\frac{2}{3}+\frac{32}{120}\right) or (13,1415)(-\frac{1}{3}, \frac{14}{15}) or (0.33,0.93)(-0.33, 0.93).

From (13,1415)(-\frac{1}{3}, \frac{14}{15}) move left 266!\frac{2^6}{6!} to (1364720,1415)(-\frac{1}{3}-\frac{64}{720}, \frac{14}{15}) or (1945,1415)(-\frac{19}{45}, \frac{14}{15}) or (0.42,0.93)(-0.42, 0.93).

From (1945,1415)(-\frac{19}{45}, \frac{14}{15}), move down 277!\frac{2^7}{7!} to (1945,14151285,040)(-\frac{19}{45}, \frac{14}{15}-\frac{128}{5,040}) or (1945,286315)(-\frac{19}{45}, \frac{286}{315}) or (0.42,0.91)(-0.42, 0.91).

Where we finally finish our dance, to a more modest 3-decimal place accuracy, is (-0.416, 0.908). All the steps are documented in Figure 9.

Figure 9. Rotate 2 dance

We can identify that we are “circling" this ending point with the steps we’ve documented so far. Notice that even though we converge to a point, our step distances don’t always decrease from the distance of the previous step. Our first step is a distance 1, but our second step is a distance 2 to go from the point (1,0) to (1,2). Our third step is also a distance 2 to go from the point (1,2) to (-1,2). Then, our next step moves a distance of 233!\frac{2^3}{3!}, which is 86\frac{8}{6}, so we are decreasing our distance. Perhaps you understand why. To go from step nn to step n+1n+1, we take the distance from step nn and multiply it by 2n\frac{2}{n}. That means the factor we use to calculate the next distance is 21\frac{2}{1} for step 1, 22\frac{2}{2} for step 2, 23\frac{2}{3} for step 3, etc. We multiply the numerator by 2 and multiply the denominator by the next larger integer. Thus, if we are doing our Rotate 2 dance, then we start decreasing the distance when we multiply the denominator by 3.

Let’s take a quick view of our two dances together. Figure 10 combines the Rotate 1 and Rotate 2 dances.

Figure 10. Rotate 1 and Rotate 2 dance

I included a dot for the ending point for both dances, but we don’t have enough detail to distinguish it from the step 8 point. What are your thoughts or observations?

Rotating patterns

Can you envision how this will play out for the Rotate 3 dance? In our Rotate 3 dance, we multiply the numerator by 3 each time while still using the same pattern for the denominator. That means our distance will start decreasing when n=4n=4. Do you envision a pattern where we travel around a bigger area but still settle down at some point? Let’s view the 8 steps for the Rotate 3 dance (red line) alongside the first 8 steps of Rotate 1 and Rotate 2 dances (gray dotted lines) in Figure 11.

Figure 11. Adding the Rotate 3 dance

Notice we’re not converging as quickly as we did with Rotate 1 and Rotate 2. However, we still appear to converge to the point that we are “circling,” so to speak, with straight lines. Because we travel more distance, the spacing for Rotate 3 allows us to distinguish the ending point after step 8 from other points on the graph.

Are you curious to view our Rotate 4 dance? Here are the first 8 steps of Rotate 4 (red line) next to the 8 steps of Rotate 3 (gray dotted line) for context. I zoomed out our graph in Figure 12 a bit to allow for a dance that covers more space.

Figure 12. Rotate 3 and Rotate 4 dances

After 8 steps, we have traveled a significant distance. But it appears we are near our ending point.

We have completed 4 rotating dances. Let’s pause and review where we finished after each dance. Is there a pattern to where we finish each dance? You can review Figure 13 that summarizes the exact ending point.

Figure 13. Ending positions for the Rotate dances

There appears to be some symmetry here. If we start at Rotate 1 and move to the ending point for the next dance, the ending point to the next dance appears to be about the same distance. In other words, the distance between the ending points for Rotate 1 and Rotate 2 appears to be about the same as the distance between the ending points for Rotate 3 and Rotate 4. Also, there appears to be a “rotation” of the ending points in a counterclockwise direction.

Certainly, one more data point may help identify any existing pattern. The next logical dance to review is Rotate 5. But rather than just extending our dance longer, let’s consider a dance that is in between one of the dances we’ve performed so far. So far, we’ve only considered integer values. But remember we used non-integer values for our Straight dance. For example, we looked at the Straight 3.5 dance and identified the distance traveled is e3.5e^{3.5}. Rather than choosing a boring number like 3.5, is there a more interesting number we can consider that is also between 3 and 4?

Our dance with π

How about considering the dance Rotate π\pi? I know π\pi seems like a strange input. However, aren’t you curious to see where we go and where we finish? We know the distance we travel with this dance because it is the same distance traveled in the Straight π\pi dance, which is eπe^\pi. Of course, this appears to be a strange number because its base and its power both have an infinite number of decimals. Also, the two numbers are not related; π\piis connected to a circle and ee is connected to exponential growth. Logic indicates the Rotate π\pi dance will land on some random obscure point in space. We can compute the distance traveled to, say 5 decimals, as 23.14069, clearly a random, uninteresting number. Let’s begin our dance and discover where we finish. We can follow the pattern from Rotate 2.

Start at (0,0) and move right π0\pi^0/0!0! to (1,0).

Move up π11!\frac{\pi^1}{1!} to (1,π\pi).

Move left π22!\frac{\pi^2}{2!}to (1π22!1-\frac{\pi^2}{2!},π\pi).

Move down π33!\frac{\pi^3}{3!} to (1π22!1-\frac{\pi^2}{2!},ππ33!\pi-\frac{\pi^3}{3!}).

Move right π44!\frac{\pi^4}{4!} to (1π22!1-\frac{\pi^2}{2!} + π44!\frac{\pi^4}{4!},ππ33!\pi-\frac{\pi^3}{3!}).

Move up π55!\frac{\pi^5}{5!} to (1π22!+π44!1-\frac{\pi^2}{2!}+\frac{\pi^4}{4!},ππ33!+π55!\pi-\frac{\pi^3}{3!}+\frac{\pi^5}{5!}).

Move left π66!\frac{\pi^6}{6!} to (1π22!+π44!+π66!1-\frac{\pi^2}{2!}+\frac{\pi^4}{4!}+\frac{\pi^6}{6!}, ππ33!=π55!\pi-\frac{\pi^3}{3!}=\frac{\pi^5}{5!}).

Move down π77!\frac{\pi^7}{7!} to (1π22!+π44!+π66!1-\frac{\pi^2}{2!}+\frac{\pi^4}{4!}+\frac{\pi^6}{6!}, ππ33!=π55!π77!\pi-\frac{\pi^3}{3!}=\frac{\pi^5}{5!}-\frac{\pi^7}{7!}).

Move up π88!\frac{\pi^8}{8!} to (1π22!+π44!+π66!+π88!1-\frac{\pi^2}{2!}+\frac{\pi^4}{4!}+\frac{\pi^6}{6!}+\frac{\pi^8}{8!},ππ33!=π55!π77!\pi-\frac{\pi^3}{3!}=\frac{\pi^5}{5!}-\frac{\pi^7}{7!}).

After 9 steps, we arrive at the point (-0.976,-0.075). Let’s review our other points to see if this result meets a reasonability test. We would like to witness a pattern where the result for the Rotate π\pi dance is close to the result for Rotate 3 and in the direction of the result for our Rotate 4. Do you observe a pattern in Figure 14?

Figure 14. Rotate π\pi dance

This result does appear reasonable as we are close to the Rotate 3 ending point and in the direction of the Rotate 4 ending point. Also, the result appears to be purely random, which we would expect from mixing two different irrational numbers in an exponential process that seems to be random. To finish our math, let’s identify where Rotate π\pi finishes the dance. When all the moving and shaking finish at the ends of infinity, the final dance arrives at the exact point (0,1). Did you catch that? If not, you may want to reread the last couple of paragraphs because this is truly an amazing result of math. You can see this interesting result in Figure 15.

Figure 15. Ending point for the Rotate dances

I plotted the results for all the Rotate dances we’ve performed so far. Let’s review our Rotate π\pi dance, a dance that I think is worth writing about.

We start at the origin. We move a distance equal to xn1(n1)!\frac{x^{n-1}}{(n-1)!} in the nnth step. We try the unusual idea of letting x=πx=\pi. Notice everything we’re doing in this dance is about integers. We raise to the power n1n-1, where nn is an integer. We use (n1)!(n-1)! as the denominator. We start with n=0n=0, then we repeat the process for all positive integers. To add some rhythm to the dance, we make a 14\frac{1}{4}left turn after every step. Bringing π\pi into this process certainly feels like fitting a round peg through a square hole. The number π\pi just doesn’t seem to belong. Though the total distance traveled, eπe^\pi, looks interesting, it also seems random, like mixing oil and water. How would they ever combine into something meaningful? Yet, apparently, when we introduce the magic move of making a 14\frac{1}{4} left turn after each step, a seemingly random dance results in us triumphantly landing at (-1,0).

The total distance we travel in our Rotate π\pi dance is eπe^\pi. Now, think about what would be the distance we would travel if we start at the point (1,0) and walked along the unit circle until we get to the point (-1,0)? That distance is π\pisince this distance is halfway around a unit circle. We can easily calculate the scenic route we took on our dance steps if we start at the same point (1,0). The total distance if we start at the origin is eπe^\pi. Thus, the distance traveled from (1,0) is eπ1e^\pi-1. That means we have two interesting paths to go from (1,0) to (-1,0). We can follow the unit circle with distance π\pi. Or, we can perform our Rotate π\pi dance route and travel a distance of (eπ1)(e^\pi-1). Of course, if our goal is to go from (1,0) to (-1,0), the shortcut, but uninteresting route, is simply to follow the xx-axis with a distance of 2.

A circle of unity

Letting x=πx=\pi and landing at (-1,0) indicates there’s more to our pattern than just this one point. Let's review the ending points for our Rotate xx dances for x=1,2,3,π,4x=1, 2, 3, \pi, 4. Can you connect the dots and uncover a pattern?

Let me connect the dots for all values from 0 to 2 ×\times π\pi . In other words, Figure 16 displays all the ending points for every dance between Rotate 0 and Rotate 2π2\pi.

Figure 16. Ending point for all Rotate dances

Yes, the results for all our Rotate xx dances land on this circle. The radius for this circle is 1 and the center is at the origin. Also, there is a direct connection between the xx input for our Rotate 1 dance and where we finish on this circle. For example, our Rotate 1 dance landed at radian 1 on the circle, our Rotate 2 dance finished at radian 2 on the circle. If you’re not comfortable with the value for radian measures, 1 radian equals 180/π\pi or about 57.3 degrees. Now, it should make sense why Rotate π\pi lands on the point (1,0)(-1,0) because the distance halfway around a unit circle is π\pi.

Can we go beyond 2π2\pi in our Rotate xx dance? Yes. For example, where do you think Rotate 3π3\pi will finish? If the complete circle is 2π2\pi, then if the pattern happens to repeat, we finish at the same point as 3π3\pi - 2π2\pi = π\pi. Recall our Rotate π\pi dance ended at (1,0)(-1,0), which is where Rotate 3π3\pi is completed. However, it is a long dance. It required 25 steps to return near this point. Figure 17 shows the steps.

Figure 17. Rotate 3π3\pi dance: beginning point (0,0)(0, 0), ending point (1,0)(-1, 0)

Notice how much we needed to zoom out for this dance as we wandered way away from our starting point at the origin. The total distance traveled is 12,392. Yet, we returned to the same circle with radius 1.

Isn’t it interesting what a 14\frac{1}{4} rotation can create? What appears to be a random dance has an amazing ending at a precise point on this circle. We call this circle the unit circle or, as I referred to it before, the number circle. What we call it isn’t important.

You can say we have now gone “full circle.” Remember at the beginning of this section, we wanted our dance to end as a continuous flow even though we achieve the flow through discrete steps. We highlighted all of the steps and found regardless of what we used as input into this “dance,” we always finished on this nice continuous circle. So we certainly can go directly from our input to the point on the circle. But we want to remember that we traveled many steps to get there even if we lose focus of the precise steps we took.

Not only that but now that we know the Rotate xx dances finish on the unit circle, it is not so surprising that when we let x=πx = \pi, we finish at the point (-1,0). This is because we know π\pi plays nicely with circles. And not only does the dance finish on the unit circle, but the finish point (beginning from (1,0) on the circle) is exactly xx distance around the unit circle. We know the distance halfway around a unit circle is π\pi, so the logical result is we will finish halfway around the circle when we let x=πx = \pi.

We will dance more later in Lazarus Math, so keep your dancing shoes ready!

:
Lazarus Math Part 2

  1. 01
    Harmonic Series
    40 min read
  2. 02
    A log that is natural
    60 min read
  3. 03
    Euler–Mascheroni constant
    50 min read
  4. 04
    Gamma function
    50 min read
  5. 05
    A closer look at the area function
    25 min read
  6. 06
    Dancing with numbers
    60 min read
  7. 07
    From 1/4 to 1/3
    40 min read
  8. 08
    Geometric Sum
    50 min read
  9. 09
    Madhava–Leibniz series
    60 min read
  10. 010
    Connecting to something of interest
    45 min read