Starting with the equation for continuously compounded interest, we can derive the differential equation. Let $A$ be the amount accumulated, $P$ be the principal amount and $r$ the rate.
\begin{align*} A &= Pe^{rt}\\ \frac{dA}{dt} &= Pre^{rt}\\ \frac{dA}{dt} &= Ar, \text{ since } A =Pe^{rt}\\ \end{align*}
How are you supposed to work out the rate of change of $A$ with respect to $t$ intuitively?
I don't know whether there is a lapse in my understanding of a derivative, however I only see how to start with the equation for compound interest and then derive the differential equation. I don't see how to model in terms of the differential equations first.
My question more generally is how to model in terms of differential equations, however I would love to know with specific reference to compound interest.
How do you perceive $\frac{dA}{dt} = r$? Rate of change is constant at all $t$ right?
Which in return gives the that $A = rt + c$ where $c$ is an arbitrary constant.
Now what about $\frac{dA}{dt} = rA$? The rate of change is depending on $A$ itself with a constant multiple of $r$? What does it tell us? If $A$ is larger, then $\frac{dA}{dt}$ will be larger too. This is purely the concept of exponential - the rate of change depends on previous $A$.
To solve the differential equation: \begin{align} \frac{dA}{dt}&=Ar \\ \frac{1}{A}dA &= r dt \\ \int \frac{1}{A}dA &= \int r dt\\ ln(A) &= rt + C,\qquad \text{where C is a constant} \\ A &= e^{rt+C} \\ A &= A_0 e^{rt}, \qquad \text {where $e^C = A_0$} \end{align} The $A_0$ is the initial condition.