For most of us, we aren’t able to put a large sum of money in the bank today. Instead, we save for the future by depositing a smaller amount of money from each paycheck into the bank. This idea is called a **savings annuity**. Most retirement plans like 401k plans or IRA plans are examples of savings annuities.

An annuity can be described recursively in a fairly simple way. Recall that basic compound interest follows from the relationship

[latex]{{P}_{m}}=\left(1+\frac{r}{k}\right){{P}_{m-1}}[/latex]

For a savings annuity, we simply need to add a deposit, *d*, to the account with each compounding period:

[latex]{{P}_{m}}=\left(1+\frac{r}{k}\right){{P}_{m-1}}+d[/latex]

Taking this equation from recursive form to explicit form is a bit trickier than with compound interest. It will be easiest to see by working with an example rather than working in general.

Suppose we will deposit $100 each month into an account paying 6% interest. We assume that the account is compounded with the same frequency as we make deposits unless stated otherwise. In this example:

*r* = 0.06 (6%)

*k* = 12 (12 compounds/deposits per year)

*d* = $100 (our deposit per month)

Writing out the recursive equation gives

[latex]{{P}_{m}}=\left(1+\frac{0.06}{12}\right){{P}_{m-1}}+100=\left(1.005\right){{P}_{m-1}}+100[/latex]

Assuming we start with an empty account, we can begin using this relationship:

Continuing this pattern, after *m* deposits, we’d have saved:

In other words, after *m* months, the first deposit will have earned compound interest for *m-*1 months. The second deposit will have earned interest for *m*-2 months. Last months deposit would have earned only one month worth of interest. The most recent deposit will have earned no interest yet.

This equation leaves a lot to be desired, though – it doesn’t make calculating the ending balance any easier! To simplify things, multiply both sides of the equation by 1.005:

[latex]1.005{{P}_{m}}=1.005\left(100{{\left(1.005\right)}^{m-1}}+100{{\left(1.005\right)}^{m-2}}+\cdots+100(1.005)+100\right)[/latex]

Distributing on the right side of the equation gives

[latex]1.005{{P}_{m}}=100{{\left(1.005\right)}^{m}}+100{{\left(1.005\right)}^{m-1}}+\cdots+100{{(1.005)}^{2}}+100(1.005)[/latex]

Now we’ll line this up with like terms from our original equation, and subtract each side

[latex]\begin{align}&\begin{matrix}1.005{{P}_{m}}&=&100{{\left(1.005\right)}^{m}}+&100{{\left(1.005\right)}^{m-1}}+\cdots+&100(1.005)&{}\\{{P}_{m}}&=&{}&100{{\left(1.005\right)}^{m-1}}+\cdots+&100(1.005)&+100\\\end{matrix}\\&\\\end{align}[/latex]

Almost all the terms cancel on the right hand side when we subtract, leaving

[latex]1.005{{P}_{m}}-{{P}_{m}}=100{{\left(1.005\right)}^{m}}-100[/latex]

Solving for *Pm*

[latex]\begin{align}&0.005{{P}_{m}}=100\left({{\left(1.005\right)}^{m}}-1\right)\\&{{P}_{m}}=\frac{100\left({{\left(1.005\right)}^{m}}-1\right)}{0.005}\\\end{align}[/latex]

Replacing *m* months with 12*N*, where *N* is measured in years, gives

[latex]{{P}_{N}}=\frac{100\left({{\left(1.005\right)}^{12N}}-1\right)}{0.005}[/latex]

Recall 0.005 was *r/k* and 100 was the deposit *d. *12 was *k*, the number of deposit each year. Generalizing this result, we get the saving annuity formula.

Annuity Formula

[latex]P_{N}=\frac{d\left(\left(1+\frac{r}{k}\right)^{Nk}-1\right)}{\left(\frac{r}{k}\right)}[/latex]

*PN* is the balance in the account after *N* years.

*d* is the regular deposit (the amount you deposit each year, each month, etc.)

*r * is the annual interest rate in decimal form.

*k *is the number of compounding periods in one year.

If the compounding frequency is not explicitly stated, assume there are the same number of compounds in a year as there are deposits made in a year.

For example, if the compounding frequency isn’t stated:

If you make your deposits every month, use monthly compounding, *k* = 12.

If you make your deposits every year, use yearly compounding, *k* = 1.

If you make your deposits every quarter, use quarterly compounding, *k* = 4.

Etc.

When do you use this

Annuities assume that you put money in the account on a regular schedule (every month, year, quarter, etc.) and let it sit there earning interest.

Compound interest assumes that you put money in the account once and let it sit there earning interest.

Compound interest: One deposit

Annuity: Many deposits.

### Example 7

A traditional individual retirement account (IRA) is a special type of retirement account in which the money you invest is exempt from income taxes until you withdraw it. If you deposit $100 each month into an IRA earning 6% interest, how much will you have in the account after 20 years?

In this example,

*d* = $100 the monthly deposit

*r* = 0.06 6% annual rate

*k* = 12 since we’re doing monthly deposits, we’ll compound monthly

*N* = 20 we want the amount after 20 years

Putting this into the equation:

[latex]\begin{align}&{{P}_{20}}=\frac{100\left({{\left(1+\frac{0.06}{12}\right)}^{20(12)}}-1\right)}{\left(\frac{0.06}{12}\right)}\\&{{P}_{20}}=\frac{100\left({{\left(1.005\right)}^{240}}-1\right)}{\left(0.005\right)}\\&{{P}_{20}}=\frac{100\left(3.310-1\right)}{\left(0.005\right)}\\&{{P}_{20}}=\frac{100\left(2.310\right)}{\left(0.005\right)}=\$46200 \\ \end{align}[/latex]

The account will grow to $46,200 after 20 years.

Notice that you deposited into the account a total of $24,000 ($100 a month for 240 months). The difference between what you end up with and how much you put in is the interest earned. In this case it is $46,200 – $24,000 = $22,200.

### Example 8

You want to have $200,000 in your account when you retire in 30 years. Your retirement account earns 8% interest. How much do you need to deposit each month to meet your retirement goal?

In this example,

We’re looking for *d*.

*r* = 0.08 8% annual rate

*k* = 12 since we’re depositing monthly

*N* = 30 30 years

*P30* = $200,000 The amount we want to have in 30 years

In this case, we’re going to have to set up the equation, and solve for *d*.

[latex]\begin{align}&200,000=\frac{d\left({{\left(1+\frac{0.08}{12}\right)}^{30(12)}}-1\right)}{\left(\frac{0.08}{12}\right)}\\&200,000=\frac{d\left({{\left(1.00667\right)}^{360}}-1\right)}{\left(0.00667\right)}\\&200,000=d(1491.57)\\&d=\frac{200,000}{1491.57}=\$134.09 \\ \end{align}[/latex]

So you would need to deposit $134.09 each month to have $200,000 in 30 years if your account earns 8% interest

### Try it Now 2

A more conservative investment account pays 3% interest. If you deposit $5 a day into this account, how much will you have after 10 years? How much is from interest?