# Separable Equations

A differential equation is separable if it can be written with one variable only on the left and the other variable only on the right:

f(y) y' = g(x)

or, writing y' = dy/dx and formally multiplying by dx:

We can then integrate both sides:

The result is generally an implicit equation involving a function of x and a function of y. It may or may not be possible to solve this to get y explicitly as a function of x. For an initial value problem, substitute the values of x and y to get the value of C.

Example:

We put the y factors on the left, the x factors on the right, and integrate:

Substituting x=0, y=3 we have C = -1/3. Then solving for y,

But is this defined for all x? Not if the denominator is ever 0. As it happens, the denominator is 0 for two values of x. Since our initial condition is at x = 0, the solution is defined on an interval containing 0:

Here is the graph of the solution, together with the direction field:

This illustrates an important point: a solution of a differential equation may blow up'' as the independent variable approaches a certain finite value, from the left or from the right, having a vertical asymptote. Thus the solution may only be defined on an interval, rather than on the whole real line. Even though the formula for the solution is also defined on the other side of the vertical asymptote, we don't consider that as part of the solution.

Robert Israel
9/18/2000