You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
A second-order differential equation involves the second derivative dx2d2y. The linear constant-coefficient case, ay′′+by′+cy=f(x), is one of the most important topics in Further Mathematics because it governs every oscillating system — springs, pendulums, electrical circuits, vibrating structures. The solution strategy is elegant and universal: solve the auxiliary equation for the complementary function, find a particular integral for the right-hand side, and add them. This lesson develops all three root-cases, the PI trial table (including the duplication trap), and the modelling of simple harmonic motion, damping and resonance.
Second-order linear ODEs are compulsory Pure content for Paper 1 and Paper 2 (each 2 h, 100 marks, 33⅓%, with per-paper weighting AO1 55% / AO2 25% / AO3 20%), the capstone of the "Further calculus" strand. The standard solve — auxiliary equation, complementary function, particular integral, apply conditions — is AO1, but the topic is heavy with AO2: recognising which CF form the roots demand, knowing when a trial PI must be multiplied by x, and interpreting damping regimes all reward reasoning and communication. A modelling scenario (a mass on a damped spring, an LCR circuit) reaching from set-up to physical interpretation is firmly AO3. Method order matters for marks: CF first, then PI, conditions last — applying boundary values before adding the PI is a guaranteed loss.
A second-order linear constant-coefficient ODE has the form
adx2d2y+bdxdy+cy=f(x),
with a,b,c constant. If f(x)=0 it is homogeneous; otherwise non-homogeneous. For the homogeneous case ay′′+by′+cy=0, try y=emx. Then y′=memx, y′′=m2emx, and substituting,
(am2+bm+c)emx=0.
Since emx=0, this forces the auxiliary equation
am2+bm+c=0.
The nature of its two roots dictates the complementary function (CF) — the general solution of the homogeneous equation, carrying two arbitrary constants (as a second-order equation must):
| Roots of the auxiliary equation | Complementary function |
|---|---|
| Distinct real m1,m2 | y=Aem1x+Bem2x |
| Repeated real m | y=(A+Bx)emx |
| Complex m=p±qi | y=epx(Acosqx+Bsinqx) |
The repeated-root case needs the extra factor x because emx alone supplies only one independent solution; the complex case uses Euler's formula e(p±qi)x=epx(cosqx±isinqx), whose real and imaginary parts give the cos/sin pair.
Why exactly two constants? Integrating a second-order equation is, loosely, "integrating twice", so two arbitrary constants appear — and the general solution is therefore a two-parameter family. This is why two pieces of information (typically y(x0) and y′(x0), or two boundary values) are needed to pin down a particular solution, exactly one more than a first-order equation requires. The two independent functions in the CF (em1x and em2x, or emx and xemx, or epxcosqx and epxsinqx) form a basis for all homogeneous solutions: every solution is a linear combination of them, and the constants A,B are the coordinates.
It is worth seeing why the repeated-root case needs the x. If the auxiliary equation has a double root m, then emx is one solution, but we need a second, independent one. Substituting the trial y=xemx into ay′′+by′+cy and using b=−2am and c=am2 (which a double root forces, since am2+bm+c=a(m′)2 has the repeated root) shows every term cancels — so xemx genuinely solves the equation. The factor x is not a guess but a necessity whenever the two roots coincide.
Solve y′′−5y′+6y=0. Auxiliary equation m2−5m+6=0, i.e. (m−2)(m−3)=0, so m=2 or m=3. (M1 form & solve the AE; A1 roots.) Hence
y=Ae2x+Be3x.
(A1 for the CF.)
Solve y′′−4y′+4y=0. AE m2−4m+4=(m−2)2=0, so m=2 (repeated). The CF therefore carries the x-factor:
y=(A+Bx)e2x.
Solve y′′+2y′+5y=0. AE m2+2m+5=0:
m=2−2±4−20=2−2±−16=−1±2i.
(M1 quadratic formula; A1 for −1±2i.) With p=−1, q=2,
y=e−x(Acos2x+Bsin2x).
(A1 CF.)
Solve y′′−y′−2y=0 with y(0)=1, y′(0)=4. AE m2−m−2=(m−2)(m+1)=0, so y=Ae2x+Be−x and y′=2Ae2x−Be−x. Apply the conditions after writing the general solution:
y(0)=1y′(0)=4:A+B=1,:2A−B=4.
Adding, 3A=5⇒A=35, then B=−32. (M1 set up simultaneous equations; A1 both constants.) Hence
y=35e2x−32e−x.
For ay′′+by′+cy=f(x) the general solution is
y=yCF+yPI,
where yCF solves the homogeneous equation (as above) and yPI is any one solution of the full equation, found by trying a form that matches f(x):
| f(x) | Trial yPI |
|---|---|
| constant k | λ |
| px+q | λx+μ |
| pekx | λekx |
| psinkx or pcoskx | λcoskx+μsinkx |
| polynomial of degree n | general polynomial of degree n |
The duplication rule. If your trial PI already appears in the CF, multiply it by x (and by x2 if xemx is also in the CF, i.e. for a repeated root). Otherwise the trial gives 0=f(x), a contradiction.
Solve y′′−3y′+2y=e4x. CF: m2−3m+2=(m−1)(m−2)=0⇒yCF=Aex+Be2x. PI: e4x is not in the CF, so try yPI=λe4x. Then yPI′=4λe4x, yPI′′=16λe4x; substituting,
16λ−12λ+2λ=1⟹6λ=1⟹λ=61.
(M1 differentiate & substitute; A1 λ=61.) So
y=Aex+Be2x+61e4x.
Solve y′′+y=sin2x. CF: m2+1=0⇒m=±i⇒yCF=Acosx+Bsinx. PI: try yPI=λcos2x+μsin2x (not in the CF). Then yPI′′=−4λcos2x−4μsin2x, so
yPI′′+yPI=−3λcos2x−3μsin2x=sin2x.
Comparing coefficients: −3λ=0⇒λ=0 and −3μ=1⇒μ=−31. (M1 compare coefficients; A1 both.) Hence
y=Acosx+Bsinx−31sin2x.
Solve y′′−2y′+y=ex. CF: m2−2m+1=(m−1)2=0⇒yCF=(A+Bx)ex. PI: the natural trial λex is in the CF; so is λxex (the repeated root gives both ex and xex). So go up to yPI=λx2ex. Differentiating,
yPI′=λex(x2+2x),yPI′′=λex(x2+4x+2).
Substituting into y′′−2y′+y:
λex[(x2+4x+2)−2(x2+2x)+x2]=λex⋅2=ex⟹λ=21.
(M1 recognise both ex,xex lie in the CF and try x2ex; A1 λ=21.) The x-terms cancel identically (a good check), leaving
y=(A+Bx)ex+21x2ex.
Solve y′′+3y′+2y=4x+6. CF: m2+3m+2=(m+1)(m+2)=0⇒yCF=Ae−x+Be−2x. PI: try yPI=λx+μ, so yPI′=λ, yPI′′=0:
0+3λ+2(λx+μ)=4x+6⟹2λx+(3λ+2μ)=4x+6.
Comparing: 2λ=4⇒λ=2; 3(2)+2μ=6⇒μ=0. So yPI=2x and
y=Ae−x+Be−2x+2x.
This is the most common complete-question format: CF, then PI, then conditions applied to the sum. Solve y′′−y′−6y=e2x with y(0)=0, y′(0)=0. CF: m2−m−6=(m−3)(m+2)=0⇒yCF=Ae3x+Be−2x. PI: e2x is not in the CF, so try λe2x; substituting, (4−2−6)λ=1⇒−4λ=1⇒λ=−41. (M1 CF; M1 PI substitution; A1 λ=−41.) So the general solution and its derivative are
y=Ae3x+Be−2x−41e2x,y′=3Ae3x−2Be−2x−21e2x.
Now apply the conditions to the full solution (never to the CF alone):
y(0)=0y′(0)=0:A+B−41=0⇒A+B=41,:3A−2B−21=0⇒3A−2B=21.
Solving: from the first, A=41−B; substituting, 3(41−B)−2B=21⇒43−5B=21⇒B=201, so A=51. (M1 simultaneous equations; A1 both constants.) Hence
y=51e3x+201e−2x−41e2x.
The order is the whole discipline of the topic: CF, then PI, then conditions on the sum — applying the conditions before adding the PI is the single most common and costly mistake.
(Specimen-style — not a real past paper.)
A mass on a spring satisfies dt2d2x+4dtdx+3x=6, with x(0)=0 and dtdx(0)=0. (a) Find the complementary function and a particular integral. (b) Hence find x(t), and state the value approached by x as t→∞.
(a) CF: auxiliary equation m2+4m+3=(m+1)(m+3)=0, so m=−1,−3 and xCF=Ae−t+Be−3t. PI: the RHS is the constant 6; try xPI=λ, giving 3λ=6⇒λ=2. So xPI=2.
(b) General solution x=Ae−t+Be−3t+2, with x˙=−Ae−t−3Be−3t. Apply conditions:
x(0)=0x˙(0)=0:A+B+2=0⇒A+B=−2,:−A−3B=0⇒A=−3B.
Then −3B+B=−2⇒B=1, so A=−3. Hence
x(t)=−3e−t+e−3t+2.
As t→∞, both exponentials decay, so x→2 — the steady-state equilibrium displacement. (The transient −3e−t+e−3t dies away; this is an over-damped approach to equilibrium, with no oscillation since the roots are real.)
Second-order ODEs are the mathematics of oscillation.
Simple harmonic motion. dt2d2x=−ω2x has AE m2=−ω2, m=±ωi, so x=Acosωt+Bsinωt=Rcos(ωt−φ): undamped oscillation of angular frequency ω.
Damped oscillations. dt2d2x+2kdtdx+ω2x=0, AE m2+2km+ω2=0, discriminant 4k2−4ω2. The damping regime is decided by the roots:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.