How do we solve a first-order differential equation when the variables separate?
Solve separable first-order differential equations of the form by separating variables and integrating both sides
A focused answer to the HSC Maths Extension 1 dot point on separable differential equations. The separation-of-variables method, integration on both sides, applying initial conditions, and standard models including Newton's law of cooling, with worked examples.
Have a quick question? Jump to the Q&A page
What this dot point is asking
NESA wants you to solve a first-order differential equation of the form by separating the variables, integrating each side, and applying any given initial condition to find the constant of integration.
The answer
The separation method
For an equation :
- Rewrite as .
- Integrate both sides: .
- Solve for in terms of (or leave in implicit form if cleaner).
- Apply any initial condition to determine .
If , then is a constant solution (a fixed point of the equation). This must be checked separately because the separation step would have divided by zero.
When separation is possible
A first-order ODE separates if and only if you can write for some functions and . Examples that separate:
- IMATH_18 .
- IMATH_19 .
- IMATH_20 .
Examples that do not separate:
- IMATH_21 (sum, not product).
- IMATH_22 (cannot factor cleanly).
Extension 1 problems are always separable; non-separable equations belong to Extension 2.
The constant of integration
Always include a constant after integration. Usually it is cleaner to combine the constants from both sides into one on the right.
If the question gives an initial condition, substitute to find . If not, leave the answer in terms of .
Newton's law of cooling
A body cools toward an ambient temperature at a rate proportional to the temperature difference:
where .
Separate: .
Integrate: .
So for some constant , giving
The temperature approaches as .
Implicit versus explicit solutions
Sometimes the integrated equation cannot be solved cleanly for . In that case, leave it implicit. For example,
This is the family of circles , which is the implicit solution.
Past exam questions, worked
Real questions from past NESA papers on this dot point, with our answer explainer.
2023 HSC Q124 marksSolve the differential equation with .Show worked answer β
Separate variables: .
Integrate both sides: , so (writing for ).
Apply : , so .
, so (positive root because and continuity).
Markers reward the separation, the integration on both sides, applying the initial condition to find the constant, and choosing the correct sign for the square root.
Related dot points
- Model unrestricted growth and decay with and solve the resulting separable differential equation
A focused answer to the HSC Maths Extension 1 dot point on exponential growth and decay. The differential equation , its solution , doubling time, half-life, and applications, with worked examples.
- Apply integration by substitution to evaluate definite and indefinite integrals, including reverse chain rule cases
A focused answer to the HSC Maths Extension 1 dot point on integration by substitution. Choosing the right substitution, transforming the integrand and differential, changing limits for definite integrals, and standard reverse chain rule patterns, with worked examples.
- Integrate functions whose antiderivative involves , or
A focused answer to the HSC Maths Extension 1 dot point on inverse-trig integrals. The standard inverse-trig antiderivatives, completing the square to fit the pattern, and substitutions involving , with worked examples.