Skip to main content
SingaporeFurther MathsSyllabus dot point

How do we solve a homogeneous second-order linear differential equation with constant coefficients using the auxiliary equation?

Solve homogeneous second-order linear differential equations with constant coefficients using the auxiliary equation, covering real, repeated and complex roots

A focused answer to the H2 Further Mathematics outcome on homogeneous second-order linear ODEs. The auxiliary equation, the three cases of distinct real, repeated and complex roots, and applying two initial conditions to fix the constants.

Generated by Claude Opus 4.811 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to solve a homogeneous second-order linear differential equation with constant coefficients,

ad2ydx2+bdydx+cy=0,a\frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + b\frac{\mathrm{d}y}{\mathrm{d}x} + cy = 0,

by forming the auxiliary (characteristic) equation, identifying which of three cases its roots fall into, writing the matching general solution, and using two initial conditions to fix the two constants.

The answer

The auxiliary equation

Trying a solution of the form y=eλxy = \mathrm{e}^{\lambda x} and substituting gives, after dividing by eλx\mathrm{e}^{\lambda x}, the auxiliary equation

aλ2+bλ+c=0.a\lambda^2 + b\lambda + c = 0.

Its roots determine the form of the general solution, exactly as the characteristic equation does for second-order recurrence relations.

The three cases

  • Distinct real roots λ1λ2\lambda_1 \neq \lambda_2:   y=Aeλ1x+Beλ2x\;y = A\mathrm{e}^{\lambda_1 x} + B\mathrm{e}^{\lambda_2 x}.
  • Repeated real root λ\lambda:   y=(A+Bx)eλx\;y = (A + Bx)\mathrm{e}^{\lambda x}.
  • Complex roots λ=α±βi\lambda = \alpha \pm \beta i:   y=eαx(Acosβx+Bsinβx)\;y = \mathrm{e}^{\alpha x}\big(A\cos\beta x + B\sin\beta x\big).

In each case there are two arbitrary constants AA and BB.

Why complex roots give oscillation

When the discriminant b24ac<0b^2 - 4ac < 0, the roots are α±βi\alpha \pm \beta i. The real part α\alpha controls growth or decay through eαx\mathrm{e}^{\alpha x}, and the imaginary part β\beta sets the oscillation frequency through cosβx\cos\beta x and sinβx\sin\beta x. A negative α\alpha gives damped oscillation.

Applying initial conditions

A second-order equation needs two conditions, typically a value of yy and of dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} at the same point. Differentiate the general solution, substitute both conditions, and solve the resulting simultaneous equations for AA and BB.

Examples in context

Example 1. Damped mechanical oscillation. A mass on a spring with damping obeys mx¨+cx˙+kx=0m\ddot{x} + c\dot{x} + kx = 0. The auxiliary equation's roots distinguish overdamped (distinct real), critically damped (repeated) and underdamped (complex, oscillatory) motion, the central classification of vibration analysis.

Example 2. An LC and RLC circuit. The charge in an electrical circuit with inductance, resistance and capacitance satisfies the same form of equation. Complex auxiliary roots give the oscillating current of an underdamped RLC circuit, directly paralleling the mechanical case.

Try this

Q1. Write the auxiliary equation of d2ydx2dydx6y=0\dfrac{\mathrm{d}^2 y}{\mathrm{d}x^2} - \dfrac{\mathrm{d}y}{\mathrm{d}x} - 6y = 0. [1 mark]

  • Cue. λ2λ6=0\lambda^2 - \lambda - 6 = 0, with roots λ=3\lambda = 3 and λ=2\lambda = -2.

Q2. State the general solution form for complex auxiliary roots 1±2i-1 \pm 2i. [2 marks]

  • Cue. y=ex(Acos2x+Bsin2x)y = \mathrm{e}^{-x}(A\cos 2x + B\sin 2x).

Q3. What solution form corresponds to a repeated auxiliary root λ=4\lambda = 4? [1 mark]

  • Cue. y=(A+Bx)e4xy = (A + Bx)\mathrm{e}^{4x}.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original6 marksSolve d2ydx25dydx+6y=0\dfrac{d^2 y}{dx^2} - 5\dfrac{dy}{dx} + 6y = 0 given y=2y = 2 and dydx=5\dfrac{dy}{dx} = 5 when x=0x = 0.
Show worked answer →

The auxiliary equation (try y=eλxy = \mathrm{e}^{\lambda x}) is λ25λ+6=0\lambda^2 - 5\lambda + 6 = 0, factoring as (λ2)(λ3)=0(\lambda - 2)(\lambda - 3) = 0, so λ=2\lambda = 2 or λ=3\lambda = 3 (distinct real roots).

General solution: y=Ae2x+Be3xy = A\mathrm{e}^{2x} + B\mathrm{e}^{3x}.

Then dydx=2Ae2x+3Be3x\dfrac{dy}{dx} = 2A\mathrm{e}^{2x} + 3B\mathrm{e}^{3x}.

Apply the conditions at x=0x = 0: y=A+B=2y = A + B = 2 and y=2A+3B=5y' = 2A + 3B = 5. Subtracting twice the first from the second: B=1B = 1, hence A=1A = 1.

So y=e2x+e3xy = \mathrm{e}^{2x} + \mathrm{e}^{3x}.

Markers reward the auxiliary equation, its roots, the general solution form, and solving the simultaneous equations for A=1A = 1, B=1B = 1.

Original7 marksSolve d2ydx2+4dydx+13y=0\dfrac{d^2 y}{dx^2} + 4\dfrac{dy}{dx} + 13y = 0 given y=0y = 0 and dydx=6\dfrac{dy}{dx} = 6 when x=0x = 0.
Show worked answer →

Auxiliary equation: λ2+4λ+13=0\lambda^2 + 4\lambda + 13 = 0. The discriminant is 1652=36<016 - 52 = -36 < 0, so the roots are complex: λ=4±362=2±3i\lambda = \dfrac{-4 \pm \sqrt{-36}}{2} = -2 \pm 3i.

For complex roots α±βi\alpha \pm \beta i, the general solution is y=eαx(Acosβx+Bsinβx)y = \mathrm{e}^{\alpha x}(A\cos\beta x + B\sin\beta x). Here α=2\alpha = -2, β=3\beta = 3:

y=e2x(Acos3x+Bsin3x).y = \mathrm{e}^{-2x}(A\cos 3x + B\sin 3x).

Apply y=0y = 0 at x=0x = 0: 0=1(A)A=00 = 1\cdot(A) \Rightarrow A = 0. So y=Be2xsin3xy = B\mathrm{e}^{-2x}\sin 3x.

Differentiate: dydx=B(2e2xsin3x+3e2xcos3x)\dfrac{dy}{dx} = B\left(-2\mathrm{e}^{-2x}\sin 3x + 3\mathrm{e}^{-2x}\cos 3x\right). At x=0x = 0: y=B(0+3)=3B=6y' = B(0 + 3) = 3B = 6, so B=2B = 2.

Hence y=2e2xsin3xy = 2\mathrm{e}^{-2x}\sin 3x.

Markers reward the auxiliary equation, the complex roots 2±3i-2 \pm 3i, the correct eαx(Acosβx+Bsinβx)\mathrm{e}^{\alpha x}(A\cos\beta x + B\sin\beta x) form, and applying both conditions to get y=2e2xsin3xy = 2\mathrm{e}^{-2x}\sin 3x.

Related dot points