Solving Separable Differential Equations
A practical method for solving first-order separable differential equations, including constant solutions and initial-value checks.
Separate, Integrate, and Check
Recognize the separable form
A first-order differential equation is separable when it can be written as
This structure lets us place the factors involving and the differential on one side, and the factors involving and on the other. Integrating then relates the variables and usually produces a family of solutions.
Before dividing by anything involving , check whether gives a constant solution. Such a solution could disappear if we divide by . For the remaining solutions, where , separate variables:
Integrate each side with respect to its own variable, including a constant of integration. Then solve for if possible; an implicit relation between and can also be an acceptable solution. If an is given, use it to determine the arbitrary constant.
Worked example: use the condition and verify
Solve
Here and . Setting gives the candidate constant solution . It does not satisfy the , so it is not the solution to this initial-value problem.
For nonzero , divide by and separate:
Integrate with respect to the indicated variables. In particular, :
Exponentiating and combining the sign and positive constant into one arbitrary constant gives
Now apply the initial value. At , , so . Thus
Check both requirements. Differentiation gives , while substituting the solution into the right-hand side gives ; therefore the differential equation holds. Also, , so the holds. This two-part check is important: a function must satisfy both the equation and the specified condition to solve the initial-value problem. The constant-solution check also remains important even if a later algebraic form of the family happens to include a constant solution.
: A first-order differential equation whose right-hand side factors into a function of x multiplied by a function of y.