[Math] Compound interest with penalty in withdrawal amount

finance

Carl puts $10000$ into a bank account that pays an annual effective interest rate of $0.04$ for $10$ years. If a withdrawal is made during the first five and a half years, a penalty of $5\%$ of the withdrawal amount is made.Carl withdraws $K$ at the end of years $4$, $5$, $6$, $7$. The balance in the account at the end of year $10$ is $10000$. Calculate $K$.

From the effective interest rate, we get the compound interest rate to be $0.04$.

Then at $t=4$: $A(4)-K-0.15K=10000(1.04)^4-1.05K=11698.58-1.05K$

The, afterwards, I do not exactly know what to do.

Best Answer

Let $i=4\%$, $p=5\%$, $n=10$, $C=10000$ and $S=10000$. At the end of the 4th year we have $C(1+i)^4-pK-K=P$ and at the end of the 5th year we have $P(1+i)-pK-K=Q$. At the end of the 6th year we have $Q(1+i)-K=M$ and at the end of 7th year $M(1+i)-K=N$. So the sum $N$ will produce $N(1+i)^{n-7}=S$ at the end of the $n$-th year. That is $$\Big(\underbrace{\{\underbrace{[\underbrace{(\underbrace{C(1+i)^4-(1+p)K}_{P})(1+i)-(1+p)K }_Q](1+i)- K}_M\}(1+i)-K}_N\Big)(1+i)^{n-7}=S\tag 1$$ and after some products

$$\scriptsize \begin{align*} S &=\left(\Big\{\Big[C(1+i)^4(1+i)-(1+p)K(1+i)-(1+p)K\Big](1+i)-K\Big\}(1+i)-K\right)(1+i)^{n-7}\\ &=\left(\Big\{C(1+i)^4(1+i)(1+i)-(1+p)K(1+i)(1+i)-(1+p)K(1+i)-K\Big\}(1+i)-K\right)(1+i)^{n-7}\\ &=\left(C(1+i)^4(1+i)(1+i)(1+i)-(1+p)K(1+i)(1+i)(1+i)-(1+p)K(1+i)(1+i)-K(1+i)-K\right)(1+i)^{n-7}\\ &=C(1+i)^4(1+i)(1+i)(1+i)(1+i)^{n-7}-(1+p)K(1+i)(1+i)(1+i)(1+i)^{n-7}-(1+p)K(1+i)(1+i)(1+i)^{n-7}-K(1+i)(1+i)^{n-7}-K(1+i)^{n-7}\\ &=C(1+i)^{4+1+1+1+n-7}-(1+p)K(1+i)^{1+1+1+n-7}-(1+p)K(1+i)^{1+1+n-7}-K(1+i)^{1+n-7}-K(1+i)^{n-7}\\ &=C(1+i)^{n}-(1+p)K(1+i)^{n-4}-(1+p)K(1+i)^{n-5}-K(1+i)^{n-6}-K(1+i)^{n-7}\\ &=C(1+i)^n-(1+p)K\Big[(1+i)^{n-4}+(1+i)^{n-5}\Big]-K\Big[(1+i)^{n-6}+(1+i)^{n-7}\Big] \end{align*} $$

or $$C(1+i)^n-(1+p)K\Big[(1+i)^{n-4}+(1+i)^{n-5}\Big]-K\Big[(1+i)^{n-6}+(1+i)^{n-7}\Big]=S\tag 2$$ and finally $$ K=\frac{C(1+i)^n-S}{(1+p)\left[(1+i)^{n-4}+(1+i)^{n-5}\right]+\left[(1+i)^{n-6}+(1+i)^{n-7}\right]} $$