# Compounded Interest with Exponentially Increasing Periodic Payments

Given the formula $$v_a = p\left(\frac{\left(1+\frac{r}{n}\right) ^{nt}-1}{\frac{r}{n}}\right)$$

for the value $v_a$ of an account growing at a periodic rate $r$ with a regular deposit $p$ compounded $n$ times per period after $t$ periods, and the future value formula $$v_p = p\left(1+\frac{r}{n}\right) ^{nt}$$

where $p$ is the original value, $r$ is the periodic rate, $n$ is the number of times the value is compounded per period, and $t$ is the number of periods, how does one account for an increasing value for $p$ in $v_a$?

## Example:

Jane invests 10% of her income in a 401k each year from the time she starts working at age 22 to the time she retires at age 62. She receives an annual income of $40,000 during her first year of employment. Each year, Jane receives a 5% raise in pay. She gets an average annual 7% interest rate on her retirement account (which is compounded monthly) over the span of her career. How much is in her account when she retires? ### Strategy using the mean value of$p$over the career in$v_a$: Recall the average value of a function$f(x)$over the interval$a \le x \le b$is$\frac{1}{b-a} \int_{a}^{b} f(x) dx $, so the average value of Jane's annual 10% salary savings over her career is $$\frac{1}{40}\int_{0}^{40}v_p(t)dt \\ \frac{1}{40} \int_{0}^{40} 4000*\left(1.05\right)^{t}dt = \frac{4000}{40}\int_{0}^{40}1.05^tdt\\ =100 \left(\left(\frac{1.05^{40}}{ln(1.05)}\right) - \left(\frac{1}{ln(1.05)}\right)\right)\\ = \12,379.52$$ leading to a final account value of $$v_a = 12379.52\left(\frac{\left(1+\frac{.07}{12}\right) ^{12*40}-1}{\frac{.07}{12}}\right)\\ = \32,493,930$$ ### Problems with the strategy: This number seems too high because it assumes that for each year of her career, Jane earned compounded interest on \$12,379.52 of savings. That means for 39 years, she's compounding interest on \$12,379.52 - \$4,000 = \$8,379.52 excess principle. However, during the second half of her career, she saves more principle than the average amount over her career, which also compounds while she continues to work. I can't prove to myself that the extra compounded interest each year prior to when the annual savings meets the average value (during the first half of her career) directly offsets the increased principle saved each year above the average savings (during the second half of her career). I can set up the problem as the sum of a finite series, but I'm hoping for a more elegant analytical solution. Is the first strategy correct? If not, does an accurate analytical solution exist? • Applying finite series is an elegant and analytic solution. What have you have calculated ? May 4, 2015 at 4:28 ## 1 Answer with annual compounding:$\Sigma_t[S_1r(1+g)^{t-1}(1+i)^{T-t}]$with other compounding frequencies:$\Sigma_t[\Sigma_x[\frac{S_1r(1+g)^{t-1}}{m}(1+\frac{i}{m})^{(m-x)}](1+\frac{i}{m})^{[m(T-t)]}]$but that's probably what you referred to as sum of finite series... nevertheless, it's quite a short expression, I think, do you really need an integral here? Sorry for asking naively.. Derivation of the above: First simplified, with annual payments. Timeline:$t = 0$Lisa starts working$t = 1$Lisa gets her first annual salary, and makes the first payment into her savings account.$t= T = 40$Lisa retires. So she makes the last payment in$t=40$(still one payment into the account from the last salary at the retirement date) She works 40 years, makes 40 payments, and retires 39 years after the first payment. The annual payment$P(t)$is her savings rate$r=10%$times her salary$S_t$which is 40 K at the end of the first year, i.e.$S_1=40,000$and then grows with$g=$5% per year, i.e.:$P_t = S_1r(1+g)^{t-1}$Payments into her savings account grow at an annual interest rate of$i=7$%, so the value at the retirement date ($T$) of a payment made in$t$is:$FV_{S_t}=S_tr(1+i)^{(T-t)}=S_1r(1+g)^{t-1}(1+i)^{T-t}$The total value of the account is the sum over$t$till$t=40$:$\Sigma_tFV_{P_t}=\Sigma_t[S_tr(1+i)^{(T-t)}]=\Sigma_t[S_1r(1+g)^{t-1}(1+i)^{T-t}]=\Sigma_t4,000(1.05)^{t-1}(1.07)^{40-t}$with other compounding frequency: number of compounding (sub)periods per year: index for current subperiod (here months):$x(1,2,...,12)\Sigma_t[\Sigma_x[\frac{S_1r(1+g)^{t-1}}{m}(1+\frac{i}{m})^{(m-x)}](1+\frac{i}{m})^{[m(T-t)]}]\$

• To your knowledge, is there a way to arrive at the same final result without using a sum? May 4, 2015 at 13:48
• @ Paul Cauchon sorry, maybe, I don't know enough about that. May 5, 2015 at 7:12