Further Mathematics Core Pure Year 2, chapter 7 (Methods in differential equations), section 7.3
General solution
For ay′′+by′+cy=f(x):
y=(complementary function)+(particular integral)
The complementary function (CF) is the general solution of the homogeneous equation (with f(x)=0).
The particular integral (PI) is any one solution of the full equation.
Trial forms for the PI
f(x)
Try y=
constant
a
linear px+q
ax+b
ekx
aekx
sinkx or coskx
acoskx+bsinkx
If the trial form is already part of the CF, multiply it by x (and by x2 if the CF has a repeated root of that type).
Worked example 1: a constant
y′′−5y′+6y=12. The CF is Ae2x+Be3x. Try y=a: 6a=12, so a=2.
y=Ae2x+Be3x+2
Worked example 2: a linear function
y′′−3y′+2y=2x. Try y=ax+b: −3a+2ax+2b=2x, so a=1 and 2b=3, giving b=23.
y=Aex+Be2x+x+23
Worked example 3: a trigonometric right side
y′′+4y=3cosx. The CF is Acos2x+Bsin2x. Try y=acosx+bsinx: 3acosx+3bsinx=3cosx, so a=1 and b=0.
y=Acos2x+Bsin2x+cosx
Worked example 4: the trial form is in the CF
y′′+y′−2y=4ex. The CF is Aex+Be−2x, which contains ex. Try y=axex: y′=a(1+x)ex and y′′=a(2+x)ex, so y′′+y′−2y=3aex=4ex and a=34.
y=Aex+Be−2x+34xex
Common mistake: using a trial form that is already in the CF. Check the CF first. Also, include bothcos and sin terms in the trial form for a trigonometric right-hand side, and use the CF's constants A and B in the final answer, not in the PI.
Exam tip: find the CF first, then choose the PI form, substitute, and equate coefficients. Write the general solution as CF + PI.
Check yourself
What trial form do you use for f(x)=5e2x if e2x is not in the CF?
y=ae2x.
What do you do if the trial form is part of the CF?
Multiply it by x.
What is the general solution of a non-homogeneous equation made of?
The complementary function plus a particular integral.