View Full Version : How to solve this 2nd differential eq?
I was making a problem about population grow, and I wasn't able to solve this:
x'=x*(M-x), for x(t).
Can anyone help me?
Thanks.
ahrkron
Aug31-04, 08:35 PM
I have the impresion that there is no analytical solution to that one. IIRC, its solution has a chaotic behavior depending on M (though there may be another parameter).
Integrate directly to find
\frac{x}{x_0} \times \frac{M-x}{M-x_0} = e^{M t}
from which you can find x(t) by solving the quadratic equation.
scribbly scribbly...
\frac{dx}{dt}=xM-x^2
\int \frac{dx}{xM-x^2}=\int dt
... doesn't work, never mind...
edit: wait,wait,wait... partial fractions:
\frac{1}{xM-x^2}=\frac{1}{Mx}+\frac{1}{M(M-x)}
\int \frac{dx}{Mx}+\int \frac{dx}{M(M-x)}=\frac{1}{M}(\ln(\frac{x}{x_0})-\ln(\frac{M-x}{M-x_0}))=\frac{1}{M}\ln\left(\frac{x(M-x_0)}{x_0(M-x)}\right)
So:
\frac{x}{x_0}\frac{M-x_0}{M-x}=e^{Mt}
Look solvable now...
Thanks - I flipped a sign!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.