How do you solve a first-order differential equation that is separable or linear?
Solve first-order differential equations by separating the variables and by the integrating-factor method for linear equations, find particular solutions from initial conditions, and apply differential equations to growth and decay models.
A focused answer to the SQA Advanced Higher Mathematics first-order differential equations content, covering separable equations, the integrating-factor method for linear first-order equations, finding particular solutions from initial conditions, and applications to growth and decay.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
The SQA wants you to solve first-order differential equations of two kinds: those you can solve by separating the variables, and linear equations you solve with an integrating factor. You also need to find a particular solution from an initial condition and apply the method to real growth and decay problems.
Separable equations
An equation is separable when you can get all the terms (with ) on one side and all the terms (with ) on the other. Once separated, you integrate each side independently and add a single constant.
Linear equations and the integrating factor
A first-order equation is linear when it is written as , with and its derivative appearing to the first power only. The integrating factor turns the left-hand side into a single derivative you can integrate.
Particular solutions and modelling
The general solution carries an arbitrary constant; an initial or boundary condition fixes it, giving the particular solution that fits the situation. Growth and decay problems are the classic application: the statement "the rate of change is proportional to the amount present" becomes , a separable equation whose solution is .
Choosing between the two methods
Before solving, decide which method fits. If you can split the equation so that every sits with and every with , it is separable and direct integration finishes it. If the term cannot be detached from an term but the equation is linear in , write it in the standard form and use the integrating factor. Some equations are both, and either route works; many are only one. Always rearrange into the standard linear form first, because the coefficient of must be before you read off .
A useful check on any solution is to differentiate it and substitute back: a correct general solution must satisfy the original equation for every value of the arbitrary constant. This catches sign slips and missing factors, and it is worth the few seconds in an exam where method marks ride on a clean final line.
Try this
Q1. Solve . [2 marks]
- Cue. Separable: , so and .
Q2. Find the integrating factor for , . [2 marks]
- Cue. .
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AH style: separable4 marksSolve given that when .Show worked answer →
Separate the variables: (1 mark).
Integrate both sides: (1 mark).
Apply the condition at : (1 mark).
So , giving (1 mark). Markers reward separation, integration of both sides, finding , and the explicit particular solution.
AH style: integrating factor5 marksSolve , for .Show worked answer →
This is linear with . Integrating factor (2 marks).
Multiply through: , so (1 mark).
Integrate: (1 mark).
Divide by : (1 mark). Markers reward the integrating factor, the product-rule recognition, the integration, and solving for .
Related dot points
- Solve homogeneous and non-homogeneous second-order linear differential equations with constant coefficients using the auxiliary equation, the complementary function and a particular integral, covering distinct real, equal and complex roots.
A focused answer to the SQA Advanced Higher Mathematics second-order differential equations content, covering the auxiliary equation, the three cases of distinct real, equal and complex roots, the complementary function, finding a particular integral for non-homogeneous equations, and the general solution.
- Integrate using standard results, integration by substitution, integration by parts and integration using partial fractions, and apply integration to find areas and volumes of revolution.
A focused answer to the SQA Advanced Higher Mathematics integration techniques content, covering standard results, integration by substitution, integration by parts, integration using partial fractions, and applications to areas and volumes of revolution.
- Express a proper rational function as a sum of partial fractions where the denominator factorises into distinct linear factors, repeated linear factors, or an irreducible quadratic factor, and reduce an improper rational function first by algebraic division.
A focused answer to the SQA Advanced Higher Mathematics partial fractions content, covering proper and improper rational functions, denominators with distinct linear factors, repeated linear factors and an irreducible quadratic factor, and the cover-up and equating-coefficients methods used to find the constants.
- Differentiate using the chain, product and quotient rules; differentiate exponential, logarithmic, inverse trigonometric, implicit and parametrically defined functions; and use logarithmic differentiation and higher derivatives.
A focused answer to the SQA Advanced Higher Mathematics differentiation techniques content, covering the chain, product and quotient rules, differentiation of exponential, logarithmic and inverse trigonometric functions, implicit and parametric differentiation, logarithmic differentiation, and the second derivative.
Sources & how we know this
- SQA Advanced Higher Mathematics Course Specification — SQA (2019)