- BetterExplained - https://betterexplained.com -

An Intuitive Guide To Exponential Functions & e

An Intuitive Guide To Exponential Functions & e

e has always bothered me — not the letter, but the mathematical constant. What does it really mean?

Math books and even my beloved Wikipedia describe e using obtuse jargon:

The mathematical constant e is the base of the natural logarithm.

And when you look up the natural logarithm you get:

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm to the base e, where e is an irrational constant approximately equal to 2.718281828459.

Nice circular reference there. It’s like a dictionary that defines labyrinthine with Byzantine: it’s correct but not helpful. What’s wrong with everyday words like “complicated”?

I’m not picking on Wikipedia — many math explanations are dry and formal in their quest for rigor. But this doesn’t help beginners trying to get a handle on a subject (and we were all a beginner at one point).

No more! Today I’m sharing my intuitive, high-level insights about what e is and why it rocks. Save your rigorous math book for another time. Here’s a quick video overview of the insights:

e is NOT Just a Number

Describing e as “a constant approximately 2.71828…” is like calling pi “an irrational number, approximately equal to 3.1415…”. Sure, it’s true, but you completely missed the point.

Pi is the ratio between circumference and diameter shared by all circles. It is a fundamental ratio inherent in all circles and therefore impacts any calculation of circumference, area, volume, and surface area for circles, spheres, cylinders, and so on. Pi is important and shows all circles are related, not to mention the trigonometric functions derived from circles (sin, cos, tan).

e is the base rate of growth shared by all continually growing processes. e lets you take a simple growth rate (where all change happens at the end of the year) and find the impact of compound, continuous growth, where every nanosecond (or faster) you are growing just a little bit.

e shows up whenever systems grow exponentially and continuously: population, radioactive decay, interest calculations, and more. Even jagged systems that don’t grow smoothly can be approximated by e.

Just like every number can be considered a scaled version of 1 (the base unit), every circle can be considered a scaled version of the unit circle (radius 1), and every rate of growth can be considered a scaled version of e (unit growth, perfectly compounded).

So e is not an obscure, seemingly random number. e represents the idea that all continually growing systems are scaled versions of a common rate.

Understanding Exponential Growth

Let's start by looking at a basic system that doubles after an amount of time. For example,

And it looks like this:

2 times growth

Splitting in two or doubling is a very common progression. Sure, we can triple or quadruple, but doubling is convenient, so hang with me here.

Mathematically, if we have x splits then we get $2^x$ times as much stuff than when we started. With 1 split we have $2^1$ or 2 times as much. With 4 splits we have $2^4 = 16$ times as much. As a general formula:

\displaystyle{ \text{growth} = 2^x}

Said another way, doubling is 100% growth. We can rewrite our formula like this:

\displaystyle{ \text{growth} = (1 + 100\%)^x}

It’s the same equation, but we separate 2 into what it really is: the original value (1) plus 100%. Clever, eh?

Of course, we can substitute any number (50%, 25%, 200%) for 100% and get the growth formula for that new rate. So the general formula for x periods of return is:

\displaystyle{\text{growth} = (1 + \text{return})^x}

This just means we use our rate of return, (1 + return), “x” times.

A Closer Look

Our formula assumes growth happens in discrete steps. Our bacteria are waiting, waiting, and then boom, they double at the very last minute. Our interest earnings magically appear at the 1 year mark. Based on the formula above, growth is punctuated and happens instantly. The green dots suddenly appear.

The world isn’t always like this. If we zoom in, we see that our bacterial friends split over time:

2 times growth detail

Mr. Green doesn’t just show up: he slowly grows out of Mr. Blue. After 1 unit of time (24 hours in our case), Mr. Green is complete. He then becomes a mature blue cell and can create new green cells of his own.

Does this information change our equation?

Nope. In the bacteria case, the half-formed green cells still can’t do anything until they are fully grown and separated from their blue parents. The equation still holds.

Money Changes Everything

But money is different. As soon as we earn a penny of interest, that penny can start earning micro-pennies of its own. We don’t need to wait until we earn a complete dollar in interest — fresh money doesn’t need to mature.

Based on our old formula, interest growth looks like this:

interest rate growth

But again, this isn’t quite right: all the interest appears on the last day. Let’s zoom in and split the year into two chunks. We earn 100% interest every year, or 50% every 6 months. So, we earn 50 cents the first 6 months and another 50 cents in the last half of the year:

interest rate 6 months

But this still isn’t right! Sure, our original dollar (Mr. Blue) earns a dollar over the course of a year. But after 6 months we had a 50-cent piece, ready to go, that we neglected! That 50 cents could have earned money on its own:

compound interest

Because our rate is 50% per half year, that 50 cents would have earned 25 cents (50% times 50 cents). At the end of 1 year we’d have

Giving us a total of \$2.25. We gained \$1.25 from our initial dollar, even better than doubling!

Let’s turn our return into a formula. The growth of two half-periods of 50% is:

\displaystyle{\text{growth} = (1 + 100\%/2)^{2} = 2.25}

Diving into Compound Growth

It’s time to step it up a notch. Instead of splitting growth into two periods of 50% increase, let’s split it into 3 segments of 33% growth. Who says we have to wait for 6 months before we start getting interest? Let’s get more granular in our counting.

Charting our growth for 3 compounded periods gives a funny picture:

4  month compound interest

Think of each color as shoveling money upwards towards the other colors (its children), at 33% per period:

Phew! The final value after 12 months is: 1 + 1 + .33 + .04 or about 2.37.

Take some time to really understand what’s happening with this growth:

Make sense? It’s tough at first — I even confused myself a bit while putting the charts together. But see that each dollar creates little helpers, who in turn create helpers, and so on.

We get a formula by using 3 periods in our growth equation:

\displaystyle{\text{growth} = (1 + 100\%/3)^3 = 2.37037...}

We earned \$1.37, even better than the \$1.25 we got last time!

Can We Get Infinite Money?

Why not take even shorter time periods? How about every month, day, hour, or even nanosecond? Will our returns skyrocket?

Our return gets better, but only to a point. Try using different numbers of n in our magic formula to see our total return:

n          (1 + 1/n)^n
-----------------------
1          2
2          2.25
3          2.37
5          2.488
10         2.5937
100        2.7048
1,000      2.7169
10,000     2.71814
100,000    2.718268
1,000,000  2.7182804
...

The numbers get bigger and converge around 2.718. Hey… wait a minute… that looks like e!

Yowza. In geeky math terms, e is defined to be that rate of growth if we continually compound 100% return on smaller and smaller time periods:

\displaystyle{\text{perfect compound growth} = e = \lim_{n\to\infty} \left( 1 + \frac{1}{n} \right)^n}

This limit appears to converge, and there are proofs to that effect. But as you can see, as we take finer time periods the total return stays around 2.718.

But what does it all mean?

The number e (2.718…) is the maximum possible result when compounding 100% growth for one time period. Sure, you started out expecting to grow from 1 to 2 (that’s a 100% increase, right?). But with each tiny step forward you create a little dividend that starts growing on its own. When all is said and done, you end up with e (2.718…) at the end of 1 time period, not 2. e is the maximum, what happens when we compound 100% as much as possible.

So, if we start with \$1.00 and compound continuously at 100% return we get 1e. If we start with \$2.00, we get 2e. If we start with \$11.79, we get 11.79e.

e is like a speed limit (like c, the speed of light) saying how fast you can possibly grow using a continuous process. You might not always reach the speed limit, but it’s a reference point: you can write every rate of growth in terms of this universal constant.

(Aside: Be careful about separating the increase from the final result. 1 becoming e (2.718…) is an increase (growth rate) of 171.8%. e, by itself, is the final result you observe after all growth is taken into account (original + increase)).

What about different rates?

Good question. What if we grow at 50% annually, instead of 100%? Can we still use e?

Let’s see. The rate of 50% compound growth would look like this:

\displaystyle{\lim_{n\to\infty} \left( 1 + \frac{.50}{n} \right)^n}

Hrm. What can we do here? Remember, 50% is the total return, and n is the number of periods to split the growth into for compounding. If we pick n=50, we can split our growth into 50 chunks of 1% interest:

\displaystyle{\left( 1 + \frac{.50}{50} \right)^{50} = \left( 1 + .01 \right)^{50}}

Sure, it’s not infinity, but it’s pretty granular. Now imagine we also divided our regular rate of 100% into chunks of 1%:

\displaystyle{e \approx \left( 1 + \frac{1.00}{100} \right)^{100} = \left( 1 + .01 \right)^{100}}

Ah, something is emerging here. In our regular case, we have 100 cumulative changes of 1% each. In the 50% scenario, we have 50 cumulative changes of 1% each.

Different exponential rates

What is the difference between the two numbers? Well, it’s just half the number of changes:

\displaystyle{\left( 1 + .01 \right)^{50} = \left( 1 + .01 \right)^{100/2} = \left( \left( 1 + .01 \right)^{100}\right)^{1/2} = e^{1/2} }

This is pretty interesting. 50 / 100 = .5, which is the exponent we raise e to. This works in general: if we had a 300% growth rate, we could break it into 300 chunks of 1% growth. This would be triple the normal amount for a net rate of $e^3$.

Even though growth can look like addition (+1%), we need to remember that it’s really a multiplication (x 1.01). This is why we use exponents (repeated multiplication) and square roots ($e^{1/2}$ means “half” the number of changes, i.e. half the number of multiplications).

Although we picked 1%, we could have chosen any small unit of growth (.1%, .0001%, or even an infinitely small amount!). The key is that for any rate we pick, it’s just a new exponent on e:

\displaystyle{\text{growth} = e^{\text{rate}}}

What about different times?

Suppose we have 300% growth for 2 years. We’d multiply one year’s growth ($e^3$) by itself:

\displaystyle{\text{growth} = \left(e^{3}\right)^{2} = e^{6}}

And in general:

\displaystyle{\text{growth} = \left(e^{\text{rate}}\right)^{\text{time}} = e^{\text{rate} \cdot \text{time}}}

Because of the magic of exponents, we can avoid having two powers and just multiply rate and time together in a single exponent.

The big secret: e merges rate and time.

This is wild! $e^x$ can mean two things:

Won’t this overlap confuse things? Will our formulas break and the world come to an end?

It all works out. When we write $e^x$, the variable $x $is a combination of rate and time.

\displaystyle{x = \text{rate} \cdot \text{time}}

Let me explain. When dealing with continuous compound growth, 10 years of 3% growth has the same overall impact as 1 year of 30% growth (and no growth afterward).

The same “30 changes of 1%” happen in each case. The faster your rate (30%) the less time you need to grow for the same effect (1 year). The slower your rate (3%) the longer you need to grow (10 years).

But in both cases, the growth is $e^{.30} = 1.35$ in the end. We’re impatient and prefer large, fast growth to slow, long growth but e shows they have the same net effect.

So, our general formula becomes:

\displaystyle{\text{growth} = e^x = e^{rt}}

If we have a return of r for t time periods, our net compound growth is $e^{rt}$. This even works for negative and fractional returns, by the way.

Example Time!

Examples make everything more fun. A quick note: We’re so used to formulas like $2^x$ and regular, compound interest that it’s easy to get confused (myself included). Read more about simple, compound and continuous growth.

These examples focus on smooth, continuous growth, not the jumpy growth that happens at yearly intervals. There are ways to convert between them, but we’ll save that for another article.

Example 1: Growing crystals

Suppose I have 300kg of magic crystals. They’re magic because they grow throughout the day: I watch a single crystal, and in the course of 24 hours it sheds off its own weight in crystals. (The baby crystals start growing immediately at the same rate, but I can’t track that — I’m watching how much the original sheds). How much will I have after 10 days?

Well, since the crystals start growing immediately, we want continuous growth. Our rate is 100% every 24 hours, so after 10 days we get: $300 \cdot e^{1 \cdot 10} = 6.6 \text{million kg}$ of our magic gem.

This can be tricky: notice the difference between the input rate and the total output rate. The “input” rate is how much a single crystal changes: 100% in 24 hours. The net output rate is e (2.718x) because the baby crystals grow on their own.

In this case we have the input rate (how fast one crystal grows) and want the total result after compounding (how fast the entire group grows because of the baby crystals). If we have the total growth rate and want the rate of a single crystal, we work backwards and use the natural log.

Example 2: Maximum interest rates

Suppose I have \$120 in an account with 5% interest. My bank is generous and gives me the maximum possible compounding. How much will I have after 10 years?

Our rate is 5%, and we’re lucky enough to compound continuously. After 10 years, we get $120 \cdot e^{.05 \cdot 10} = 197.85$. Of course, most banks aren’t nice enough to give you the best possible rate. The difference between your actual return and the continuous one is how much they don’t like you.

Example 3: Radioactive decay

I have 10kg of a radioactive material, which appears to continuously decay at a rate of 100% per year. How much will I have after 3 years?

Zip? Zero? Nothing? Think again.

Decaying continuously at 100% per year is the trajectory we start off with. Yes, we do begin with 10kg and expect to “lose it all” by the end of the year, since we’re decaying at 10 kg/year.

We go a few months and get to 5kg. Half a year left? Nope! Now we’re losing at a rate of 5kg/year, so we have another full year from this moment!

We wait a few more months, and get to 2kg. And of course, now we’re decaying at a rate of 2kg/year, so we have a full year (from this moment). We get 1 kg, have a full year, get to .5 kg, have a full year — see the pattern?

As time goes on, we lose material, but our rate of decay slows down. This constantly changing growth is the essence of continuous growth & decay.

After 3 years, we’ll have $10 \cdot e^{-1 \cdot 3} = .498 \text{ kg}$. We use a negative exponent for decay — we want a fraction ($1/e^{rt}$) vs a growth multiplier ($e^{rt}$). [Decay is commonly given in terms of "half life" -- we'll talk about converting these rates in a future article.]

More Examples

If you want fancier examples, try the Black-Scholes option formula (notice e used for exponential decay in value) or radioactive decay. The goal is to see $e^{rt}$ in a formula and understand why it’s there: it’s modeling a type of growth or decay.

And now you know why it’s “e”, and not pi or some other number: e raised to “r*t” gives you the growth impact of rate r and time t.

There’s More To Learn

My goal was to:

This article is just the start — cramming everything into a single page would tire you and me both. Dust yourself off, take a break and learn about e’s evil twin, the natural logarithm.

Other Posts In This Series

  1. An Intuitive Guide To Exponential Functions & e
  2. Demystifying the Natural Logarithm (ln)
  3. A Visual Guide to Simple, Compound and Continuous Interest Rates
  4. Common Definitions of e (Colorized)
  5. Understanding Exponents (Why does 0^0 = 1?)
  6. Using Logarithms in the Real World
  7. How To Think With Exponents And Logarithms
  8. Understanding Discrete vs. Continuous Growth
  9. What does an exponent really mean?
  10. Q: Why is e special? (2.718..., not 2, 3.7 or another number?)