Second-order linear differential equations
Studying this course? Keep your progress in one place.
Key facts
- For , try to get the auxiliary equation .
- Real roots: . Repeated: . Complex : .
- General solution CF PI, with two arbitrary constants.
- Choose the trial PI to match ; if it appears in the CF, multiply by .
- Apply initial conditions to the whole solution.
The auxiliary equation
Try to get the auxiliary equation .
A second-order linear equation with constant coefficients has the form . When it is homogeneous.
Try : then and , giving the auxiliary equation .
Its roots decide the form of the solution. The general solution has two arbitrary constants.
Worked example
Solve .
- 1
Auxiliary equation: .
- 2
Factorise: , so or .
What is the auxiliary equation of ?
The three cases
The sign of the discriminant gives the form of the complementary function.
The sign of the discriminant decides the form of the complementary function.
If the roots are complex, , then is the imaginary part of the root, not the constant term. When the solution is pure oscillation: has .
A repeated root gives the extra factor .
Distinct real roots
Repeated root
Complex roots
Worked example
Solve .
- 1
Auxiliary equation: .
- 2
Discriminant , so .
- 3
Here and .
The auxiliary equation has the repeated root . What is the general solution?
CF plus PI
The general solution is the complementary function plus a particular integral.
For , the general solution is the complementary function (CF) plus a particular integral (PI).
Find the CF as above, then find a PI by trying a trial function of the same form as . Substitute into the equation and compare coefficients.
For include both and , even if has only one.
- 1
Find the CF
solve the homogeneous equation
- 2
Choose a trial PI
same form as , unknown coefficients
- 3
Substitute
differentiate, then compare coefficients
- 4
Add
general solution = CF + PI
- 5
Apply conditions
to the whole solution
- or
Trial PI
- Polynomial of the same degree
What trial PI would you use for ?
Worked examples
Find the CF, find the PI by comparing coefficients, add, then use the conditions.
Two complete methods, then initial conditions.
Initial conditions: apply them to the general solution (CF + PI), not to the CF alone. Use for one equation and for the other, remembering the product rule for terms such as .
- 1
Complementary function
solve the auxiliary equation
- 2
Particular integral
choose a trial and compare coefficients
- 3
General solution
y = CF + PI
- 4
Apply the conditions
use y(0) and y′(0) on the whole solution
- General solutionCF PI
- Initial conditionsapply to the whole
Worked example
Solve .
- 1
CF: , so and CF .
- 2
Try : , .
- 3
Substitute: .
- 4
Compare : . Constants: , so .
Worked example
Find a PI for .
- 1
Try .
- 2
Substitute and collect: .
- 3
So and .
- 4
Then , so : and .
Why must initial conditions be applied after adding the PI?
When the trial clashes
Multiply the trial function by (or for a repeated root).
If the trial form for the PI already appears in the CF, substituting gives and fails. This is the case where matches a term of the CF (resonance).
Multiply the trial function by . With a repeated root and of that exponential form, multiply by instead.
Find the CF first: it tells you immediately whether your trial will clash.
- 1
Find the CF first
before choosing a trial
- 2
Does the trial appear in the CF?
if so, substituting gives 0
- 3
Multiply by x
for a clash with one root
- 4
Multiply by x²
for a clash with a repeated root
- Trial in the CFmultiply by
- Repeated root clashmultiply by
Worked example
Solve .
- 1
CF: , so CF .
- 2
is in the CF, so try .
- 3
and .
- 4
Substitute: , so .
The CF is and . What trial PI should you use?
Try an exam question
Find the general solution of .
[5 marks]
- [1]Auxiliary equation .
- [1] or , so CF .
- [1]Trial PI (so , ).
- [1]Substitutes: , giving and .
- [1]General solution .
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the roots of the auxiliary equation.
1 mark, marked against the mark scheme
Find the roots of the auxiliary equation.
1 mark, marked against the mark scheme