A first-order equation is separable when the two variables can be pulled apart so that everything involving sits with and everything involving sits with . Once separated, the equation is solved by integrating each side independently. This is the simplest and most widely used technique in the chapter, so it is always worth testing first.
Quick Reference
| Item | Statement |
|---|---|
| Separable form | |
| Equivalent test | , a product of a function of and a function of |
| General solution | |
| Only one constant | Combine the two constants of integration into a single |
| Watch for lost solutions | Dividing by discards the roots of , which are equilibrium solutions |
| Useful substitution | , from |
| Interval of validity | Runs from the initial point out to the nearest place where the solution loses differentiability |
Definition and Method
Suppose we can rewrite the equation in the form
f(x)\,dx + g(y)\,dy = 0 ; \tag{1}
that is, is a function of only and is a function of only.
An equation that can be written in the form is called separable. Its general solution is
where is an arbitrary constant.
The justification is short. Each term of (1) is an exact differential of a function of one variable, so the left-hand side is the total differential of , where F' = f and G' = g. Setting a total differential to zero says the function is constant, giving .
Only one arbitrary constant appears, even though two integrals were performed. Both integrations produce a constant, but their sum can be absorbed into a single on the right. Carrying two constants would wrongly suggest a two-parameter family for a first-order equation.
Recognizing a Separable Equation
In standard form, an equation is separable exactly when the right-hand side factors as a product:
Then dividing by and multiplying by gives , which is form (1).
Some examples of the test in action:
- y' = x^2 y^3 is separable: , .
- y' = x + y is not separable. A sum does not factor into a product of a function of and a function of .
- y' = e^{x+y} is separable, since . Exponentials turn sums into products, so look for this.
- y' = \dfrac{x^3 y - y}{y^4 - y^2 + 1} is separable after factoring the numerator as .
Warning about lost solutions. The step of dividing by is legitimate only where . If for some constant , then is an equilibrium solution of the original equation, and dividing throws it away. Always check the roots of separately and add them back if they are genuine solutions.
Worked Examples
Find the general solution of the equation
Solution
The equation is not yet separated, since each term mixes and . Dividing by separates it:
Therefore
To evaluate , make the substitution , so that and :
\begin{aligned} \int \frac{t}{\sqrt{1-t^2}}\,dt &= \int \frac{-du/2}{\sqrt{u}} \\ &= -\frac{1}{2}\cdot 2\sqrt{u} \\ &= -\sqrt{1-t^2} \end{aligned}Applying this to both integrals,
Multiplying through by and renaming the constant ,
is the general solution.
Note the domain restriction inherited from the square roots: the solution lives where and . Also, the division at the start required , so check separately. Substituting the constant function into the original equation gives , so and do satisfy the equation. Neither comes from the general solution for any constant , since cannot hold with constant. They are singular solutions.
Solve \displaystyle{y' = \frac{x^3 y - y}{y^4 - y^2 + 1}} subject to .
Solution
Factor out of the numerator. The differential equation can be rewritten as
Dividing by , which is legitimate near the initial point since ,
Note how dividing by term by term produced , and the last term is what will generate a logarithm.
Integration gives
Impose the initial condition at . The left side becomes and the right side becomes , so .
Multiplying through by to clear the fractions,
is the implicit solution of this initial value problem. There is no way to solve this for in closed form, and none is needed.
Solve .
Solution
Multiplying both sides by ,
or, factoring on the right,
Dividing both sides by separates the variables:
Note that ; splitting the fraction this way is what makes the right side integrable term by term.
Thus
Move the logarithms together using :
Exponentiating both sides,
Finally
where is a constant. You can verify by substitution that satisfies the differential equation.
Two remarks. First, absorbing into a single constant is standard practice; since ranges over all reals, ranges over all nonzero reals. Second, dividing by discarded the solution , which does satisfy the original equation. Allowing in the final formula restores it, so with any real number is the complete answer.
Find the general solution of
and describe several integral curves. Determine the solution that passes through and find its interval of validity.
Solution
The equation is separable. It can be rewritten as
Integrating both sides,
where the two constants of integration have been combined into a single .
Multiplying both sides by to clear the fractions and rearranging,
4y + y^4 - 4x^2 + 5x^4 = C \tag{*}
where is another constant. Any differentiable function satisfying (*) is a solution of the differential equation.
To determine the particular solution passing through , substitute and into (*):
so . Hence the solution through is given implicitly by
4y + y^4 - 4x^2 + 5x^4 = 5 \tag{**}
Interval of validity. The interval extends left and right from the point to wherever the solution stops being differentiable. At such a point the tangent line becomes vertical, that is, y' \to \pm\infty. From the differential equation, y' \to \pm\infty happens exactly when the denominator vanishes:
So find where the curve () reaches the height . Substituting into (),
This is a quartic, but it is quadratic in :
Because , the root is rejected. Hence the values of corresponding to are
The interval of validity of the solution through is therefore approximately .

Exercises
Solve with .
Solution
Separating, . Integrating,
At , gives . Multiplying by ,
Since , take the positive square root:
The solution is valid while the radicand is positive, that is, for .
Solve y' = y^2 - 4 and identify any equilibrium solutions that the separation step loses.
Solution
The right side factors as , so and are equilibrium solutions. Dividing by in the next step will discard both, so note them now.
For , separate and use partial fractions:
Integrating,
where . Solving for ,
Taking recovers , but no value of gives , so that equilibrium must be stated separately.
Solve .
Solution
Write , so the equation separates as
Integrating, , so
For this is defined for all ; for it requires .
Frequently Asked Questions
How do I tell whether an equation is separable?
Put it in standard form and ask whether the right side factors as , a function of times a function of . Products and quotients usually separate; sums usually do not. The exception worth remembering is the exponential, since turns a sum into a product.
Why is there only one arbitrary constant when I integrated twice?
Both integrations do produce constants, say on the left and on the right, but only their difference matters. Writing collapses them into one. This is the right count: a first-order equation must have a one-parameter family of solutions.
What solutions can separation lose?
Any constant solution with , because separating required dividing by . These are the equilibrium solutions. Before dividing, note the roots of ; after solving, check whether the general formula happens to recover them for some value of the constant. If not, list them separately.
Should I solve the implicit answer for ?
Only if it comes out cleanly. An answer like simply cannot be solved for , and forcing it would be a waste of effort. The implicit relation defines the solution curves perfectly well, and an initial condition still picks out a single one.
How do I find the interval of validity?
Start at the initial point and move outward until the solution stops being differentiable. Two things typically end it: the denominator of y' = f(x,y) vanishing, which makes the tangent vertical, or the solution formula becoming undefined, as when a radicand goes negative or a logarithm's argument reaches zero. Solve for where that first happens on each side of the initial point.
Is it legitimate to treat and as separate quantities?
The manipulation is a shorthand that can be justified rigorously. Writing and integrating both sides with respect to , the chain rule turns the left side into . So separating the differentials is a legitimate bookkeeping device for the substitution rule, not a sleight of hand.