Sub topic 3
Compound interest as exponential growth
This chapter assumes you can evaluate integer and fractional exponents, convert percents to decimals, and solve simple linear equations. It also assumes you have seen the form f(x) = a·b^x from the earlier chapters.
Compound interest as exponential growth
Compound interest is interest paid on both the original principal and on the interest already earned. With principal P, annual rate r, and yearly compounding, the balance after t years is A = P(1 + r)^t. This matches a·b^x with a = P and b = 1 + r.
Continuous change and the number e
Interest is often added monthly or daily. With n periods per year, the balance is P(1 + r/n)^(nt). As n grows without limit, the result approaches P·e^(rt), where e ≈ 2.71828 is the base of the natural exponential function.
import math
P, r, t = 1000, 0.05, 10
monthly = P * (1 + r / 12) ** (12 * t)
continuous = P * math.exp(r * t)
print(round(monthly, 2)) # 1647.01
print(round(continuous, 2)) # 1648.72Solving for time with logarithms
To find when a balance reaches a target, set P(1 + r)^t equal to the target and take logarithms. This gives t = ln(target / P) / ln(1 + r).
import math
P, r, target = 1000, 0.05, 2000
t = math.log(target / P) / math.log(1 + r)
print(round(t, 2)) # 14.21Exponential versus linear change
Linear change adds a fixed amount each period. Exponential change multiplies by a fixed factor each period, so the gap between the two grows over time.
| Year | 1000 at 5% per year | 1000 plus 50 per year |
|---|---|---|
| 0 | 1000.00 | 1000.00 |
| 10 | 1628.89 | 1500.00 |
| 20 | 2653.30 | 2000.00 |
| 30 | 4321.94 | 2500.00 |
When exponential models stop working
Exponential models assume a constant rate. Real quantities often break this assumption. Populations hit limits of food and space, and interest rates change over time.
Exercise
How many years does it take for 1000 to double at 5% per year, compounded annually?
Show answer
Solve 1.05^t = 2, so t = ln 2 / ln 1.05 ≈ 14.21 years.