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?