You solve a separable differential equation by rearranging it so that all terms involving the dependent variable are with its differential and all terms involving the independent variable are with its differential. You then integrate both sides and, if given, use an initial condition to determine the constant.
The Separation Method
For an equation of the form
divide by and multiply by (dx):
The variables are now separated. Integrate both sides:
Include a single constant of integration , then rearrange to make the subject if an explicit solution is required.
This method works because integration reverses differentiation on each separated side. The result before using an initial condition is the general solution, representing a family of curves. An initial condition selects one curve, producing a particular solution. If the equation cannot be written with one variable on each side, separation of variables is not appropriate.
Worked Example
Solve
Separate the variables:
Integrate both sides:
Exponentiating gives
Absorb the sign and into a new arbitrary constant :
Use the initial condition :
so . Therefore,
Verification is valuable: differentiating gives , and substituting gives . This confirms both the differential equation and the initial condition. Keep full algebraic accuracy throughout; unlike a numerical approximation, this answer is exact and does not require GDC rounding unless the question later asks for numerical evaluation.
A common misconception is that the constant must remain inside the logarithm. It may be rewritten after exponentiation because is simply another arbitrary constant. Also check whether dividing by a function of removes a constant solution, such as .
IB Exam Technique
This is AHL 5.14, so it is HL-only content. Examiners expect to see the variables correctly separated, both integrals, the constant of integration, and clear use of any initial condition. Differentiate your final solution to verify that it satisfies the original differential equation.
