[Math] Solving Compound Interest using Ordinary Differential Equation

ordinary differential equations

I'm reading a book about finance and it says that if an investor makes a deposit of P dollars into a cash account that pays interest rate r 100% per year, compounded continuously, the evolution of account balance as a function of time t (measured in years) satisfies the Ordinary Differential Equation:

y'(t) = r y(t)

Questions:

  • What I learnt in high school is that for compound interest the account balance as a function of time t is calculated by the equation $P(1+r)^{t}$. Hence, its derivative should be $P(1+r)^{t}\ln [P(1+r)]$, which doesn't always satisfy the equation y'(t) = r y(t), i.e. $P(1+r)^{t}\ln [P(1+r)]$ does not always equal to $r\ P(1+r)^{t}$. Am I thinking about it in the wrong way? Where does the Ordinary Differential Equation comes from?

  • The book further explains that the amount of change in the account balance is equal to the (interest rate) * (previous balance) * (elapsed time) with an initial condition y(0) = P, why is it so?

Best Answer

•The book further explains that the amount of change in the account balance is equal to the (interest rate) * (previous balance) * (elapsed time) with an initial condition y(0) = P, why is it so?

This is only so for simple interest, not for compound interest.

Eg. if the interest rate is 10% simple per year, initial investment is \$500, then after 3 months i.e. 3/12 years, the interest gained is $$\frac{10\%}{\text{year}} * \frac{3}{12} \text{years} * \$500 = 2.5\% * $500.$$