Separation of Variables Math Example 2

Follow the full solution, then compare it with the other examples linked below.

Example 2

hard
Solve the logistic DE dy/dt=y(1โˆ’y)dy/dt = y(1-y) with y(0)=1/2y(0) = 1/2.

Solution

  1. 1
    Partial fractions: โˆซdyy(1โˆ’y)=โˆซ(1/y+1/(1โˆ’y))โ€‰dy=t+C\int\frac{dy}{y(1-y)} = \int(1/y + 1/(1-y))\,dy = t+C.
  2. 2
    lnโกโˆฃyโˆฃโˆ’lnโกโˆฃ1โˆ’yโˆฃ=t+C\ln|y|-\ln|1-y| = t+C, so y/(1โˆ’y)=Kety/(1-y) = Ke^t.
  3. 3
    y(0)=1/2y(0)=1/2: K=1K=1. Solve: y=et1+et=11+eโˆ’ty = \frac{e^t}{1+e^t} = \frac{1}{1+e^{-t}}.

Answer

y=11+eโˆ’ty = \frac{1}{1+e^{-t}}
Logistic equations use partial fractions in the separation step. The solution is the sigmoid function, modeling bounded growth.

About Separation of Variables

A method for solving first-order DEs of the form dydx=f(x)โ‹…g(y)\frac{dy}{dx} = f(x) \cdot g(y): rearrange to dyg(y)=f(x)โ€‰dx\frac{dy}{g(y)} = f(x)\,dx, then integrate both sides.

Learn more about Separation of Variables โ†’

More Separation of Variables Examples