8.2: Compound Interest
( \newcommand{\kernel}{\mathrm{null}\,}\)
Learning Objectives
- Understand the difference between simple interest and compound interest.
- Be able to calculate the future value of an investment given compounding information (including compounding continuously).
- Understand and be able to calculate the Annual Percentage Yield (APY) for an investment.
With simple interest, we were assuming that we pocketed the interest when we received it. In a standard bank account, any interest we earn is automatically added to our balance, and we earn interest on that interest in future years. This reinvestment of interest is called compounding.
Suppose that we deposit $1000 in a bank account offering 3% interest, compounded monthly. How will our money grow?
The 3% interest is an annual percentage rate (APR) – the total interest to be paid during the year. Since interest is being paid monthly, each month, we will earn 3%12=0.25% per month.
In the first month,
P0=$1000
r=0.0025(0.25%)
I=$1000(0.0025)=$2.50
A=$1000+$2.50=$1002.50
In the first month, we will earn $2.50 in interest, raising our account balance to $1002.50.
In the second month,
P0=$1002.50
I=$1002.50(0.0025)=$2.51 (rounded)
A=$1000+$2.50=$1002.50
Notice that in the second month we earned more interest than we did in the first month. This is because we earned interest not only on the original $1000 we deposited, but we also earned interest on the $2.50 of interest we earned the first month. This is the key advantage that compounding of interest gives us.
Calculating out a few more months:
Month Starting balance Interest earned Ending Balance 11000.002.501002.5021002.502.511005.0131005.012.511007.5241007.522.521010.0451010.042.531012.5761012.572.531015.1071015.102.541017.6481017.642.541020.1891020.182.551022.73101022.732.561025.29111025.292.561027.85121027.852.571030.42
To find an equation to represent this, if Pm represents the amount of money after m months, then we could write the recursive equation:
P0=$1000
Pm=(1+0.0025)Pm−1
You probably recognize this as the recursive form of exponential growth. If not, we could go through the steps to build an explicit equation for the growth:
P0=$1000
P1=1.0025P0=1.0025(1000)
P2=1.0025P1=1.0025(1.0025(1000))=1.00252(1000)
P3=1.0025P2=1.0025(1.00252(1000))=1.00253(1000)
P4=1.0025P3=1.0025(1.00253(1000))=1.00254(1000)
Observing a pattern, we could conclude
Pm=(1.0025)m($1000)
Notice that the $1000 in the equation was P0, the starting amount. We found 1.0025 by adding one to the growth rate divided by 12, since we were compounding 12 times per year.
Generalizing our result, we could write
Pm=P0(1+rk)m
In this formula:
m is the number of compounding periods (months in our example)
r is the annual interest rate
k is the number of compounds per year.
While this formula works fine, it is more common to use a formula that involves the number of years, rather than the number of compounding periods. If N is the number of years, then m=Nk. Making this change gives us the standard formula for compound interest.
Compound Interest
Pt=P0(1+rk)kt
Pt is the balance in the account after t years.
P0 is the starting balance of the account (also called initial deposit, or principal)
r is the annual interest rate in decimal form
k is the number of compounding periods in one year.
If the compounding is done annually (once a year), k=1.
If the compounding is done quarterly, k=4.
If the compounding is done monthly, k=12.
If the compounding is done daily, k=365.
The most important thing to remember about using this formula is that it assumes that we put money in the account once and let it sit there earning interest.
Example 1
A certificate of deposit (CD) is a savings instrument that many banks offer. It usually gives a higher interest rate, but you cannot access your investment for a specified length of time. Suppose you deposit $3000 in a CD paying 6% interest, compounded monthly. How much will you have in the account after 20 years?
Solution
In this example,
P0=$3000the initial depositr=0.066% annual ratek=1212 months in 1 yeart=20since we’re looking for how much we’ll have after 20 years
So P20=3000(1+0.0612)12×20=$9930.61 (round your answer to the nearest penny)
Let us compare the amount of money earned from compounding against the amount you would earn from simple interest
Years Simple Interest ($15 per month) 6% compounded monthly =0.5% each month. 5$3900$4046.5510$4800$5458.1915$5700$7362.2820$6600$9930.6125$7500$13394.9130$8400$18067.7335$9300$24370.65
As you can see, over a long period of time, compounding makes a large difference in the account balance. You may recognize this as the difference between linear growth and exponential growth.
Using your calculator
Evaluating exponents on the calculator
When we need to calculate something like 53 it is easy enough to just multiply 5⋅5⋅5=125. But when we need to calculate something like 1.005240, it would be very tedious to calculate this by multiplying 1.005 by itself 240 times! So to make things easier, we can harness the power of our scientific calculators.
Most scientific calculators have a button for exponents. It is typically either labeled like:
[∧], [yx], or [xy]
To evaluate 1.005240 we'd type 1.005 [] 240, or 1.005 [yx] 240. Try it out - you should get something around 3.3102044758.
Example 2
You know that you will need $40,000 for your child’s education in 18 years. If your account earns 4% compounded quarterly, how much would you need to deposit now to reach your goal?
Solution
We’re looking for P0.
r=0.044%k=44 quarters in 1 yeart=18Since we know the balance in 18 yearsP18=$40,000The amount we have in 18 years
In this case, we’re going to have to set up the equation, and solve for P0.
40000=P0(1+0.044)4×18
40000=P0(2.0471)
P0=400002.0471=$19539.84
So you would need to deposit $19,539.84 now to have $40,000 in 18 years.
Rounding
It is important to be very careful about rounding when calculating things with exponents. In general, you want to keep as many decimals during calculations as you can. Be sure to keep at least 3 significant digits (numbers after any leading zeros). Rounding 0.00012345 to 0.000123 will usually give you a “close enough” answer, but keeping more digits is always better.
Example 3
To see why not over-rounding is so important, suppose you were investing $1000 at 5% interest compounded monthly for 30 years.
Solution
P0=$1000the initial depositr=0.055%k=1212 months in 1 yeart=30since we’re looking for the amount after 30 years
If we first compute rk, we find 0.0512=0.00416666666667
Here is the effect of rounding this to different values:
r/k rounded to: Gives P30 to be: Error 0.004$4208.59$259.150.0042$4521.45$53.710.00417$4473.09$5.350.004167$4468.28$0.540.0041667$4467.80$0.06 no rounding $4467.74
If you’re working in a bank, of course you wouldn’t round at all. For our purposes, the answer we got by rounding to 0.00417, three significant digits, is close enough - $5 off of $4500 isn’t too bad. Certainly keeping that fourth decimal place wouldn’t have hurt.
Using your calculator
In many cases, you can avoid rounding completely by how you enter things in your calculator. For example, in the example above, we needed to calculate
P30=1000(1+0.0512)12×30
We can quickly calculate 12×30=360, giving P30=1000(1+0.0512)360.
Now we can use the calculator.
Type this Calculator shows 0.05[÷]12[=]0.00416666666667[+]11[=]1.00416666666667[yx]360[=]4.46774431400613[×]1000[=]4467.74431400613
Using your calculator continued
The previous steps were assuming you have a “one operation at a time” calculator; a more advanced calculator will often allow you to type in the entire expression to be evaluated. If you have a calculator like this, you will probably just need to enter:
1000 [×] ( 1 [+] 0.05 [÷] 12 ) [yx] 360 [=].
Solving for time
Often we are interested in how long it will take to accumulate money.
Note: This section assumes you’ve covered solving exponential equations using logarithms, either in prior classes or in Chapter 5.
Example 4
If you invest $2000 at 6% compounded monthly, how long will it take the account to double in value?
Solution
This is a compound interest problem, since we are depositing money once and allowing it to grow. In this problem,
P0=$2000the initial depositr=0.066% annual ratek=1212 months in 1 year
So our general equation is Pt=2000(1+0.0612)12×t. We also know that we want our ending amount to be double of $2000, which is $4000, so we're looking for t so that Pt=4000. To solve this, we set our equation for Pt equal to \$4000.
4000=2000(1+0.0612)12×tDivide both sides by 20002=(1.005)12tTo solve for the exponent, take the log of both sideslog(2)=log((1.005)12t)Use the exponent property of logs on the right sidelog(2)=12tlog(1.005)Now we can divide both sides by 12log1.005log(2)12log(1.005)=tApproximating this to a decimalt=11.581
It will take about 11.581 years for the account to double in value. Note that your answer may come out slightly differently if you had evaluated the logs to decimals and rounded during your calculations, but your answer should be close. For example if you rounded log(2) to 0.301 and log(1.005) to 0.00217, then your final answer would have been about 11.577 years.