[Math] Compound interest with annual contributions

finance

June wishes to plan for her retirement and decides to invest 1000 dollars a year into an RRSP starting age 18 until age 30. After 30, she no longer contributes any money but leaves in her RRSP until age 65. Jas on the other hand, contributes 1500 dollars a year from age 35 to age 65 in the same RRSP investment. Assuming that the interest rate was fixed at 8.5% compounded annually,

How much would each have at age 65?

Apparently the answers are, for June, 339,758.97, and for Jas, 186.322.09

Unfortunately I only know the formula if there was no annual contribution. For example, I know that once June is 30, it's a geometric series, but I'm not sure how to get the amount up to when she's 30.

Best Answer

The future value of a contribution $c$ compounded for time $t$ is $c(1.085)^t$

If there are multiple contributions then we sum the future value of each

$c_1(1.085)^{t_1} + c_2(1.085)^{t_2} + \cdots$

June makes 12 contributions that compound for $47, 46, \cdots, 35$ years respectively.

$\sum_\limits{n=35}^{47} 1000 (1.085)^n$

Jas makes 30 contributions that comound from $30$ to $1$ year

$\sum_\limits{n=35}^{47} 1500 (1.085)^n$

Now we use some trickery for the sum of a series.

$\sum_\limits{n=a}^{b} r^n = \frac {r^{b+1}- r^a}{1-r}$

June's account is worth $1000\frac {(1.085)^{48} - (1.085)^{35}}{0.085}$ Jas' account is worth $1500\frac {(1.085)^{31} - (1.085)}{0.085}$

But these results are slightly different from what you show as the answers.

Reverse engineering it:

$1000\frac {(1.085)^{47} - (1.085)^{35}}{0.085} = 339,789\\ 1500\frac {(1.085)^{30} - (1.085)^{0}}{0.085} = 186,322$

These would suggest that the account is evaluated when June and Jas are 64, and that June did not contribute when she was 30.