Constant coefficient second order equations
Studying this course? Keep your progress in one place.
Key facts
- General solution: .
- The CF has two arbitrary constants and comes from the auxiliary equation .
- Two real roots: . Repeated root: . Complex roots: .
- Choose a PI that matches ; if it appears in the CF, multiply by .
- Apply the two conditions to the whole general solution.
Structure of the solution
The general solution is the complementary function plus a particular integral.
The equation is with real constants. The complementary function (CF) solves the homogeneous equation () and contains two arbitrary constants. The particular integral (PI) is any one solution of the full equation and contains none.
The two constants are found from two conditions, usually and at one point.
- 1
Auxiliary equation
Solve
- 2
Complementary function
Write the CF from the roots
- 3
Particular integral
Choose a trial form matching
- 4
General solution
Add CF and PI
- 5
Conditions
Use the two conditions to find and
- General solutionCF + PI
How many arbitrary constants does the CF of a second order equation contain?
The complementary function
Try to get the auxiliary equation; the type of roots gives the form of the CF.
Try in the homogeneous equation to get the auxiliary equation . The roots decide the CF.
Complex roots give oscillations with an envelope : they decay when and grow when .
| Two real roots | Repeated root | Complex roots | |
|---|---|---|---|
| Equation | |||
| Roots | (repeated) | ||
| CF |
Two real roots
- Equation:
- Roots:
- CF:
Repeated root
- Equation:
- Roots:
- (repeated)
- CF:
Complex roots
- Equation:
- Roots:
- CF:
has roots . What is the CF?
The particular integral
Choose a trial form matching , substitute it into the full equation, and compare coefficients.
For a sine or cosine right-hand side, try both , even if has only one: the first derivative brings in the other.
- 1
Choose a trial form matching f(x)
For a sine or cosine use both λ cos ωx + μ sin ωx.
- 2
Differentiate it twice
Find y' and y''.
- 3
Substitute into the full equation
Use the complete left-hand side.
- 4
Compare coefficients
Solve for λ, μ, ν.
Trial PI
Worked example
Find a particular integral for .
- 1
Try , so and .
- 2
Substitute: .
Worked example
Find a particular integral for .
- 1
Try , so and .
- 2
Substitute: .
- 3
Compare : . Compare constants: .
Which trial PI suits ?
When the trial is in the CF
Multiply the trial form by (by if the root is repeated).
If the trial form already appears in the CF, it satisfies the homogeneous equation and gives , so it cannot match . Multiply by .
For , the CF contains . Try : then , so , . The growing factor makes oscillations increase without bound: resonance.
Worked example
Find a particular integral for .
- 1
The CF is , which contains .
- 2
Try .
- 3
Differentiating twice gives .
- 4
Compare with : and .
has CF . What trial PI do you use?
Particular solutions and checking
Write the general solution, differentiate it, and substitute both conditions.
To find the constants, write the general solution, differentiate it (product rule where there is a factor ), and substitute the two conditions. Check by substituting back into the equation and the conditions.
In context, say what happens as becomes large: decaying terms vanish and the PI describes the long-term behaviour.
- 1
General solution
CF + PI
- 2
Differentiate
to get
- 3
Substitute
and at the given point
- 4
Solve
the two equations for and
Worked example
Solve with and at .
- 1
CF: gives . With the PI , .
- 2
Differentiate: .
- 3
At : and .
- 4
Subtract: , so and .
Where do you apply the initial conditions?
Try an exam question
Find the general solution of .
[4 marks]
- [1]Auxiliary equation gives (repeated).
- [1]CF: .
- [1]Tries : , so .
- [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