Solving differential equations by separation of variables (WACE Year 12 Mathematics Specialist Unit 4)
“Solve separable first-order differential equations and apply an initial condition to find the particular solution”
If a first-order equation can be written , separate it to and integrate both sides. This gives a general solution with one constant; an initial condition then pins down the particular solution.
Jump to a section
What this dot point is asking
SCSA wants you to recognise a separable equation, carry out the separation and integration carefully, and apply a given condition to find the constant.
What a first-order differential equation is
A first-order differential equation relates a function to its first derivative, expressing the rate of change of a quantity in terms of the quantity itself and the independent variable. Solving it means finding the function whose derivative matches the equation, which reverses the differentiation and therefore brings in a constant of integration. Because of that constant, a single differential equation has a whole family of solutions, one for each starting value; the extra piece of information that selects one member of the family is the initial condition. Separation of variables is the standard technique for the important subclass of first-order equations that factor into a product of a function of and a function of .
Recognising separability
An equation is separable when the right side factors into a part depending only on times a part depending only on . Then all the -dependence can be moved to one side with and all the -dependence to the other with .
Treating as a ratio of differentials is a valid shortcut here; the underlying justification is the chain rule.
Why treating the derivative as a fraction is valid
Writing as looks like splitting a fraction, but the rigorous justification is the chain rule. Dividing by gives , and integrating both sides with respect to gives . The left integral, by the substitution rule with as the new variable, is exactly . So the differential manipulation is a shorthand for a substitution, which is why it always produces the correct answer.
Integrating both sides
Integrate each side with respect to its own variable. A single arbitrary constant suffices (combine the two constants of integration into one). The result is often an implicit relation between and ; rearrange for explicitly only if the algebra permits.
Which integration technique each side needs
The two integrals after separation can each demand any of the Unit 4 techniques, so a separable equation often combines skills. The right side, a function of , may need a substitution or a trigonometric identity. The left side, , is frequently the harder one: when is linear it gives a logarithm, but when is a product such as in the logistic equation, it requires a partial-fraction decomposition before integrating. Recognising in advance which technique each side calls for keeps the working organised and avoids getting stuck halfway through a multi-step solution.
Applying an initial condition
The integrated equation with its constant is the general solution, a whole family of curves. Substituting a given point solves for and selects the one particular solution through that point.
Watching for lost solutions
Dividing by assumes . Any value of making is a constant equilibrium solution that the separation step can hide; note it separately.
Solve with when .
Step 1: Separate the variables
We rearrange so that all terms involving are on the left and all terms involving are on the right, which allows each side to be integrated independently. Dividing by is valid when ; note that is a separate equilibrium solution that the division step would lose.
Step 2: Integrate both sides
Each side now depends on only one variable, so we integrate directly and absorb the two constants of integration into a single arbitrary constant .
Step 3: Solve for in explicit form
Exponentiating both sides removes the logarithm. Writing captures all non-zero solutions in a single expression.
Step 4: Apply the initial condition
Substituting the known point at determines the constant for this particular solution.
Final answer: .
- Failing to separate fully
- Every must be on the side and every on the side before integrating.
- Two separate constants
- Use a single combined constant; do not carry one on each side.
- Losing the equilibrium solution
- Dividing by can drop the solution where ; check for it.
Exam-style questions
Questions in the style of SCSA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
WACE 2022-style7 marksCalculator-assumed. A tank's water height (cm) satisfies , with when . (a) Solve for as a function of . (b) Find the time at which the tank is empty.Show worked answer →
A separable model with a square root.
(a) Separate: . Integrate: . At , : , so . Thus , giving and for .
(b) The tank is empty when : , so seconds.
Markers reward the separation, integrating to , applying the initial condition, and the empty time .
WACE 2021-style5 marksCalculator-free. Solve given that when .Show worked answer →
A trig-on-the-right separable equation.
Separate: . Integrate both sides: , so . Write : .
Apply at : , so . Thus , and since , .
Markers reward the separation, integrating both sides, applying the condition, and the positive square root for .