Skip to main content
Northern IrelandFurther MathsSyllabus dot point

How do you solve first-order and second-order linear differential equations?

Solving first-order linear differential equations by the integrating factor, second-order linear equations with constant coefficients via the auxiliary equation, complementary function and particular integral, and modelling with differential equations.

A CCEA A2 Further Maths answer on solving first-order linear differential equations with an integrating factor, second-order linear equations with constant coefficients using the auxiliary equation, the complementary function and particular integral, and applying them to model real situations.

Generated by Claude Opus 4.813 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

CCEA wants you to solve first-order linear differential equations using an integrating factor, solve second-order linear equations with constant coefficients via the auxiliary equation (finding the complementary function and a particular integral), and model real situations such as growth, cooling and oscillations with differential equations.

The answer

First-order linear equations

Second-order linear equations: the auxiliary equation

Particular integral and general solution

Modelling

Examples in context

Example 1. Newton's law of cooling. A hot drink cooling in a room obeys dθdt=k(θθ0)\frac{d\theta}{dt} = -k(\theta - \theta_0), a first-order linear equation. Solving it gives the exponential approach to room temperature that lets you predict when the drink is safe to hold.

Example 2. A mass on a spring with damping. The displacement of a damped oscillator satisfies a second-order linear equation, and the roots of its auxiliary equation decide whether the motion is under-damped (oscillating), critically damped or over-damped. The maths directly classifies the physical behaviour.

Try this

Q1. State the integrating factor for dydx+3y=x\dfrac{dy}{dx} + 3y = x. [1 mark]

  • Cue. I=e3dx=e3xI = e^{\int 3\,dx} = e^{3x}.

Q2. Write the auxiliary equation for d2ydx2dydx6y=0\dfrac{d^2y}{dx^2} - \dfrac{dy}{dx} - 6y = 0. [1 mark]

  • Cue. m2m6=0m^2 - m - 6 = 0, so m=3m = 3 or m=2m = -2.

Q3. For roots m=±3im = \pm 3i, write the general solution. [1 mark]

  • Cue. y=Acos3x+Bsin3xy = A\cos 3x + B\sin 3x.

Exam-style practice questions

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

CCEA A2 20217 marksSolve the differential equation dydx+2y=ex\dfrac{dy}{dx} + 2y = e^{x}, given that y=1y = 1 when x=0x = 0.
Show worked answer →

This is first-order linear, so use an integrating factor I=e2dx=e2xI = e^{\int 2\,dx} = e^{2x}.

Multiply through: e2xdydx+2e2xy=e2xex=e3xe^{2x}\dfrac{dy}{dx} + 2e^{2x}y = e^{2x}e^{x} = e^{3x}. The left side is ddx(ye2x)\dfrac{d}{dx}\left(ye^{2x}\right):

ddx(ye2x)=e3x.\dfrac{d}{dx}\left(ye^{2x}\right) = e^{3x}.

Integrate: ye2x=13e3x+Cye^{2x} = \dfrac{1}{3}e^{3x} + C, so y=13ex+Ce2xy = \dfrac{1}{3}e^{x} + Ce^{-2x}.

Apply y=1y = 1 at x=0x = 0: 1=13+C1 = \dfrac{1}{3} + C, so C=23C = \dfrac{2}{3}.

y=13ex+23e2x.y = \dfrac{1}{3}e^{x} + \dfrac{2}{3}e^{-2x}.

Markers reward the integrating factor, recognising the product derivative, integrating, and using the condition to find CC.

CCEA A2 20198 marksSolve d2ydx25dydx+6y=12\dfrac{d^2y}{dx^2} - 5\dfrac{dy}{dx} + 6y = 12, finding the general solution.
Show worked answer →

The auxiliary equation is m25m+6=0m^2 - 5m + 6 = 0, which factorises as (m2)(m3)=0(m - 2)(m - 3) = 0, so m=2m = 2 or m=3m = 3.

The complementary function is yc=Ae2x+Be3xy_c = Ae^{2x} + Be^{3x}.

For the particular integral, the right-hand side is a constant, so try yp=ky_p = k (a constant). Then yp=yp=0y_p'' = y_p' = 0, and substituting gives 6k=126k = 12, so k=2k = 2.

The general solution is the sum:

y=Ae2x+Be3x+2.y = Ae^{2x} + Be^{3x} + 2.

Markers reward the auxiliary equation, the complementary function from its roots, a constant trial for the particular integral, and the combined general solution.

Related dot points

Sources & how we know this