How does $e$ arise in solving the differential equation $\frac{dG(s,t)}{dt}=r(s-1)G(s,t)$?

27 Views Asked by At

I have the following equation

$$\frac{dG(s,t)}{dt}=r(s-1)G(s,t)$$

which is supposed to yield the following when integrating from 0 to $t$ over $t$ (on both sides);

$$G(s,t)=e^{r(s-1)t}G(0,t)$$

Any help is highly appreciated. :)

1

There are 1 best solutions below

0
On BEST ANSWER

Assuming that $G(s,t)$ is positive $\frac {d \ln G(s,t)} {dt} =\frac {dG(s,t)/dt} {G(s,t)}=r(s-1)$. Integrating we get $\ln G(s,t)=rt(s-1)+c$ where $c$ is a constant. Hence $G(s,t)=e^{rt(s-1)+c}$. Put $s=0$ to get $G(0,t)=e^{c-rt}$. X Can you take it from here?