Functions
Limits and Derivatives
Applications of Differentiation
Integration

The Natural Exponential Function and Continuous Compounding

Increasing Compoundings and Negligibly Changing Account Values

In the previous topic/lesson, we gave a formula/function that allows one to compute the value of an account after \(t\) years based on a given yearly rate, \(r\) (as a decimal), a number of compoundings per year, \(k\), and an initial account value called the principal, \(P\). See below.

$$Value(t)=P\left(1+\frac{r}{k}\right)^{k\cdot t}$$

We also briefly discussed how the number of compoundings per year are essentially how many times the account builds on itself, noting that the more compoundings the account undergoes, the greater the account value is in the same amount of time. At the same time though, increasing the number of compoundings from, say, 2 to 365 per year results in only a moderate increase in value; similarly too if we increased our compoundings from daily to every minute (525600 minutes in a year). Given an investment of $100,000 in an account yielding an annual rate of 4% per year, the amount the account is worth after one year given these three different compounding amounts is given in the dropdown box below.

Given \(P=100000\), \(r=0.04\), and \(t=1\) year, the value of the account given a number of compoundings is shown in the table below.

Compounding Frequency\(k=\)Account Value After One Year
Biannually2$104,040.00
Quarterly4$104,060.401
Weekly52$104,079.477004878
Daily365$104,080.849
Hourly8760$104,081.068
Every Minute525600$104,081.077

If one continues to increase the number of compoundings per year, such as was done in the table above, one will notice that as the number of compoundings become sufficiently large, there is not as much of an increase in the account’s value (see hourly versus every minute compounding above). One has to wonder whether there is an upper bound for how high an account’s value can go if we keep increasing the number of compoundings forever. The answer to this curiosity is “yep! There’s an upper bound.”


Continuous Compounding

The formula above comes from the compounding formula discussed above and in the previous lesson, but by letting the number of compoundings increase without bound. This is expressed in the limit below:

$$\lim_{k\rightarrow \infty} P\left(1+\frac{r}{k}\right)^{k\cdot t}=Pe^{rt}$$

The limit above essentially is asking for the value of the compound interest function when the number of compoundings gets “infinitely large.”

In the quick example below, we demonstrate how compounding continuously “matches up” with what happened when we increased the number of compoundings for our $100,000 example above.

If your account’s initial value is $100,000 and your account grows at an annual rate of 4%, compounded continuously, what is your account worth after 1 year?

Answer: \(Value(1)=Pe^{rt}=100,000e^{0.04\cdot 1}=$104,081.0774\)

Notice that this answer, which tells us the account’s value assuming we never stop compounding, is verrrrry close to what we got in the example above when we compounded every minute throughout the year (i.e. $104081.077264).


The number \(e\) and the Natural Exponential Function

The continuous compounding formula is a slightly more complicated (i.e. transformed) version of what is called the natural exponential function,

$$f(x)=e^x.$$

where \(e=2.71828\) is an irrational number (i.e. can’t be written as a fraction of integers).

The natural exponential function has a panoply of applications in math, science, and finance. One of its most important features is that (loosely speaking) the rate at which the function increases (as x values increase) is the same as the speed the rate of change changes.

That’s confusing. So to put it another way, suppose you are driving your car down the road, and after 30 miles of driving you see that you are going 30 miles an hour, and are also accelerating at 30mph per hour (i.e. your speed is increasing by 30 miles per hour every hour). Your position, speed, and acceleration all match. With the natural exponential function, no matter where you are in terms of position, your speed and acceleration match your position. So, if you are at the 31-mile mark, you’re going 31 miles per hour, and increasing your speed at a rate of 31 miles per hour every hour. If you are at the 32-mile mark, you’re going 32 miles per hour, and increasing your speed at a rate of 32 miles per hour every hour… and so on and so forth.

The function(s) \(f(x)=ce^x\) where \(c\in \mathbb{R}\) are the only functions in all of mathematics with the aforementioned rate-of-change property (i.e. a constant times the natural exponential function). This makes the natural exponential function very special indeed.

  • \(Value(t)=1500e^{0.06\cdot 2}=$1691.25\)
  • \(Value(t)=1500e^{0.06\cdot 5}=$2024.79\)
  • \(Value(t)=1500e^{0.06\cdot 10}=$2733.18\)
  • \(Value(t)=1500e^{0.06\cdot 20}=$4980.18\)
  • Use the continuous compounding formula with:

    • \(P=1500\)
    • \(r=0.06\) (i.e. 6% as a decimal)

    This gives you the formula

    $$Value(t)=Pe^{rt}=1500e^{0.06t}$$

    Plug in your number of years and call it a day:

    • \(Value(t)=1500e^{0.06\cdot 2}=$1691.25\)
    • \(Value(t)=1500e^{0.06\cdot 5}=$2024.79\)
    • \(Value(t)=1500e^{0.06\cdot 10}=$2733.18\)
    • \(Value(t)=1500e^{0.06\cdot 20}=$4980.18\)

    \(\$0.000267\)

    We first need to compute the account’s value after two years of compounding every hour. This is given by:

    $$Value(2)=5000\left(1+\frac{0.02}{8760}\right)^{8760\cdot 2}=\$5204.053633$$

    (Note that there are \(k=8760\) hours in a year)

    Now, the goal is to compare the above number to what we’d get if we compounded continuously. We get the continuous compounding amount as

    $$Value(2)=5000e^{0.02\cdot 2}=5204.0539$$.

    So, the difference between the two different account values is therefore

    $$5204.0539-5204.053633=\$0.000267$$

    Not much of a difference. So in some cases, when dealing with sufficiently small rates, time frames, and principal amounts, one could reasonably use the continuous compounding formula to estimate the true value of an account that compounds less frequently.

    Scroll to Top