How do you solve a linear second-order differential equation with constant coefficients?
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.
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 linear second-order differential equations with constant coefficients of the form . You build the solution from the auxiliary equation, handling distinct real, equal and complex roots, and add a particular integral when the right-hand side is non-zero.
The auxiliary equation and the three cases
For the homogeneous equation , trying leads to . The nature of the roots, decided by the discriminant, gives three forms for the solution.
Non-homogeneous equations
When the right-hand side is not zero, the general solution is the complementary function plus a particular integral : a single function that satisfies the full equation. You find by trying a form that matches (a polynomial for a polynomial, for an exponential, for a trigonometric term) and solving for its coefficients.
Boundary conditions
The general solution of a second-order equation contains two arbitrary constants, so you need two pieces of information to find a particular solution: typically the value of and of at a point, or the value of at two points. Apply the conditions to the full general solution , not just to the complementary function.
Why the three cases look so different
The three forms all come from the same idea, that solutions are built from exponentials . With two distinct real roots you simply have two independent exponentials. With a repeated root there is only one exponential, so a second independent solution is manufactured by multiplying by , giving the shape. With complex roots , the exponentials are rewritten with Euler's relation into the real combination , where controls growth or decay and controls the oscillation. This is why oscillating physical systems, such as a mass on a spring with light damping, lead naturally to the complex-root case.
Try this
Q1. Write the general solution form if the auxiliary equation has roots . [2 marks]
- Cue. , , so .
Q2. Find the auxiliary equation of and its root. [2 marks]
- Cue. , equal root .
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: complex roots4 marksFind the general solution of .Show worked answer →
Auxiliary equation: , so and (1 mark).
Complex roots with , (1 mark).
The general solution is (1 mark).
With , : (1 mark). Markers reward the auxiliary equation, identifying complex roots, the correct form, and the final solution.
AH style: non-homogeneous6 marksFind the general solution of .Show worked answer →
Auxiliary equation: , so and (1 mark). Complementary function (1 mark).
Try particular integral , so , (1 mark).
Substitute: , giving so , and so (2 marks).
General solution (1 mark). Markers reward the complementary function, the trial form, solving for the coefficients, and combining into the general solution.
Related dot points
- 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.
- 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.
- 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.
- Perform arithmetic with complex numbers in Cartesian form, represent them on an Argand diagram, convert to polar (modulus-argument) form, and use de Moivre's theorem to find powers and the nth roots of a complex number.
A focused answer to the SQA Advanced Higher Mathematics complex numbers content, covering arithmetic in Cartesian form, the complex conjugate, the Argand diagram, modulus and argument, polar form, and de Moivre's theorem for finding powers and the nth roots of a complex number.
Sources & how we know this
- SQA Advanced Higher Mathematics Course Specification — SQA (2019)