Given differential equation: dtdr=−rt with initial condition r(0)=r0
Separating variables:
rdr=−tdt
Integrating both sides:
∫rdr=∫−tdt
ln∣r∣=−2t2+C
Applying the exponential function to both sides:
eln∣r∣=e−2t2+C
r=eC⋅e−2t2
Let A=eC:
r=Ae−2t2
Applying the initial condition r(0)=r0:
r0=Ae−202
r0=A⋅1
A=r0
Therefore, the solution is:
r=r0e−t2/2