6.8 Higher-Order Linear Differential Equations & Engineering Applications

Key Takeaways

  • The general solution of a linear differential equation with constant coefficients is the complementary function plus the particular integral, corresponding physically to the transient and steady-state responses.

  • Distinct real roots of the auxiliary equation give exponential terms, repeated roots introduce an extra factor of x, and complex roots produce damped sinusoidal terms.

  • The particular integral for a right-hand side of e^(ax) is found by substituting a for D, and the case of failure when D minus a vanishes is repaired by multiplying by x.

  • The mass-spring-damper equation m x'' + c x' + k x = F(t) is the physical archetype of this topic and reappears directly in the Vibrations part of Paper-II.

Last updated: August 2026

Structure of the General Solution

A linear differential equation with constant coefficients has the form

andnydxn+an−1dn−1ydxn−1+⋯+a0y=X(x)a_n\frac{d^ny}{dx^n} + a_{n-1}\frac{d^{n-1}y}{dx^{n-1}} + \cdots + a_0 y = X(x)

Writing D≡d/dxD \equiv d/dx turns this into f(D)y=Xf(D)y = X. The complete solution is always

y=CF⏟complementary function+PI⏟particular integraly = \underbrace{\text{CF}}_{\text{complementary function}} + \underbrace{\text{PI}}_{\text{particular integral}}

The engineering reading of that split is worth fixing in mind now, because it recurs throughout vibration and control work: the complementary function is the transient — the system's own free response, which decays if the system is damped — and the particular integral is the steady state, the part that persists and mirrors the forcing.

The Complementary Function

Set X=0X = 0 and substitute y=emxy = e^{mx} to obtain the auxiliary equation f(m)=0f(m) = 0. The form of the CF depends on the nature of the roots:

Roots of auxiliary equationContribution to CF
Real and distinct m1,m2m_1, m_2C1em1x+C2em2xC_1e^{m_1x} + C_2e^{m_2x}
Real and repeated mm (twice)(C1+C2x)emx(C_1 + C_2x)e^{mx}
Real and repeated mm (three times)(C1+C2x+C3x2)emx(C_1 + C_2x + C_3x^2)e^{mx}
Complex pair α±iβ\alpha \pm i\betaeαx(C1cos⁡βx+C2sin⁡βx)e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x)

The extra powers of xx for repeated roots are needed to keep the solutions linearly independent, and forgetting them is the most common source of lost marks.

Example. For d2ydx2−5dydx+6y=0\dfrac{d^2y}{dx^2} - 5\dfrac{dy}{dx} + 6y = 0, the auxiliary equation m2−5m+6=0m^2 - 5m + 6 = 0 gives m=2,3m = 2, 3, so y=C1e2x+C2e3xy = C_1e^{2x} + C_2e^{3x}.

Example. For y′′+4y=0y'' + 4y = 0, the roots are m=±2im = \pm 2i, so α=0\alpha = 0 and β=2\beta = 2, giving y=C1cos⁡2x+C2sin⁡2xy = C_1\cos 2x + C_2\sin 2x — undamped simple harmonic motion of angular frequency 2 rad/s.

Particular Integrals

The PI is 1f(D)X\dfrac{1}{f(D)}X, evaluated by rules that depend on the form of XX:

X(x)X(x)Rule
eaxe^{ax}Replace DD by aa; if f(a)=0f(a) = 0, multiply by xx and differentiate ff
sin⁡ax\sin ax or cos⁡ax\cos axReplace D2D^2 by −a2-a^2; if that fails, multiply by xx
xmx^mExpand 1f(D)\dfrac{1}{f(D)} as a binomial series in DD up to DmD^m
eaxV(x)e^{ax}V(x)Shift: 1f(D)eaxV=eax1f(D+a)V\dfrac{1}{f(D)}e^{ax}V = e^{ax}\dfrac{1}{f(D+a)}V

The "case of failure" rows matter physically: they are the mathematics of resonance, where the forcing frequency coincides with a natural frequency and the response grows linearly with xx rather than staying bounded.

Worked Example: Full Solution

Solve d2ydx2−5dydx+6y=e4x\dfrac{d^2y}{dx^2} - 5\dfrac{dy}{dx} + 6y = e^{4x}.

CF. From above, CF=C1e2x+C2e3x\text{CF} = C_1e^{2x} + C_2e^{3x}.

PI. Replace DD by 4 in 1D2−5D+6\dfrac{1}{D^2 - 5D + 6}:

PI=e4x16−20+6=e4x2\text{PI} = \frac{e^{4x}}{16 - 20 + 6} = \frac{e^{4x}}{2}

Complete solution. y=C1e2x+C2e3x+12e4xy = C_1e^{2x} + C_2e^{3x} + \tfrac{1}{2}e^{4x}.

Had the forcing been e2xe^{2x} instead, f(2)=0f(2) = 0 and the rule fails; the repair is PI=x e2x/f′(2)=xe2x/(2(2)−5)=−xe2x\text{PI} = x\,e^{2x}/f'(2) = x e^{2x}/(2(2)-5) = -xe^{2x}.

Cauchy-Euler (Homogeneous Linear) Equations

An equation of the form

x2d2ydx2+axdydx+by=Xx^2\frac{d^2y}{dx^2} + a x\frac{dy}{dx} + by = X

has variable coefficients but is reduced to constant coefficients by the substitution x=ezx = e^{z}, i.e. z=ln⁡xz = \ln x. Then xdydx=dydzx\dfrac{dy}{dx} = \dfrac{dy}{dz} and x2d2ydx2=d2ydz2−dydzx^2\dfrac{d^2y}{dx^2} = \dfrac{d^2y}{dz^2} - \dfrac{dy}{dz}, after which the standard method applies. These equations arise in thick-cylinder and rotating-disc stress analysis.

The Physical Archetype: Mass-Spring-Damper

Every mechanical vibration problem in Paper-II is this one equation:

md2xdt2+cdxdt+kx=F(t)m\frac{d^2x}{dt^2} + c\frac{dx}{dt} + kx = F(t)

Its auxiliary equation is ms2+cs+k=0ms^2 + cs + k = 0, with roots

s=−c±c2−4mk2ms = \frac{-c \pm \sqrt{c^2 - 4mk}}{2m}

The discriminant decides the character of the free response, and the classification maps exactly onto the root table above:

DiscriminantRootsPhysical regime
c2>4mkc^2 > 4mkReal, distinct, both negativeOver-damped — returns without oscillating
c2=4mkc^2 = 4mkReal, repeatedCritically damped — fastest non-oscillatory return
c2<4mkc^2 < 4mkComplex pairUnder-damped — decaying oscillation

The critical damping coefficient is therefore cc=2mk=2mωnc_c = 2\sqrt{mk} = 2m\omega_n, and the damping ratio is ζ=c/cc\zeta = c/c_c. The undamped natural frequency is ωn=k/m\omega_n = \sqrt{k/m} and the damped natural frequency is ωd=ωn1−ζ2\omega_d = \omega_n\sqrt{1 - \zeta^2}.

Recognising that the vibration chapter is simply this differential-equation topic wearing engineering clothing saves a great deal of separate memorisation.

Test Your Knowledge

The complementary function of the differential equation y'' + 4y = 0 is:

A

C1 cos 2x + C2 sin 2x

B

(C1 + C2 x) e^(2x)

C

C1 e^(4x) + C2

D

C1 e^(2x) + C2 e^(-2x)

Test Your Knowledge

If the auxiliary equation of a second-order linear differential equation has a repeated real root m, the complementary function is:

A

C1 e^(mx) + C2 e^(mx)

B

(C1 + C2 x) e^(mx)

C

C1 cos mx + C2 sin mx

D

C1 e^(mx) + C2 x

Test Your Knowledge

For a mass-spring-damper system, the condition c^2 = 4mk corresponds to:

A

Over-damped motion

B

Under-damped oscillation

C

Critical damping

D

Undamped free vibration

Test Your Knowledge

In the complete solution of a forced linear differential equation, the complementary function physically represents the:

A

Resonant amplitude

B

Static deflection

C

Steady-state response

D

Transient response

Sections you finish are checked off in the contents.