ConceptComplete

Separable Equations

A separable differential equation is a first-order ODE that can be written in the form where all terms involving the dependent variable appear on one side and all terms involving the independent variable appear on the other side.

DefinitionSeparable Equation

A first-order differential equation is called separable if it can be written in the form:

dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y)

or equivalently, after separation:

dyh(y)=g(x)dx\frac{dy}{h(y)} = g(x)dx

The solution method involves separating variables and integrating both sides. This technique is one of the most fundamental approaches to solving first-order ODEs and applies to a wide class of problems in physics, biology, and engineering.

Solution Method

To solve a separable equation dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y):

  1. Separate variables: Write the equation as dyh(y)=g(x)dx\frac{dy}{h(y)} = g(x)dx
  2. Integrate both sides: dyh(y)=g(x)dx\int \frac{dy}{h(y)} = \int g(x)dx
  3. Solve for y: If possible, solve the resulting equation explicitly for yy
ExamplePopulation Growth

Consider the differential equation dydt=ky\frac{dy}{dt} = ky where k>0k > 0 is a constant (exponential growth model).

Solution: This is separable with g(t)=kg(t) = k and h(y)=yh(y) = y.

dyy=kdt\frac{dy}{y} = k\,dt

Integrating both sides:

lny=kt+C\ln|y| = kt + C

Solving for yy:

y=Aekty = Ae^{kt}

where A=±eCA = \pm e^C is determined by the initial condition. This is the classic exponential growth equation describing population dynamics, radioactive decay, and compound interest.

Remark

When separating variables, we must be careful about dividing by functions that could be zero. If h(y0)=0h(y_0) = 0 for some value y0y_0, then y=y0y = y_0 is also a solution (called an equilibrium solution). These constant solutions must be checked separately.

The method of separation of variables is powerful because it reduces a differential equation to two independent integration problems. However, the resulting integrals may not always have closed-form solutions, and even when they do, solving explicitly for yy may be difficult or impossible.

ExampleLogistic Equation

The logistic equation dydt=ry(1y/K)\frac{dy}{dt} = ry(1 - y/K) models population growth with carrying capacity KK.

This is separable:

dyy(1y/K)=rdt\frac{dy}{y(1-y/K)} = r\,dt

Using partial fractions on the left side:

1y(1y/K)=1y+1/K1y/K\frac{1}{y(1-y/K)} = \frac{1}{y} + \frac{1/K}{1-y/K}

Integration yields:

lnyln1y/K=rt+C\ln|y| - \ln|1-y/K| = rt + C

Solving gives the logistic solution:

y(t)=K1+Aerty(t) = \frac{K}{1 + Ae^{-rt}}

where AA depends on initial conditions. This S-shaped curve is fundamental in ecology and epidemiology.