Second-Order Linear Differential Equations
Constant-coefficient equations of the form
Definition
A second-order linear homogeneous equation with constant coefficients has the form
with
The characteristic equation. Substituting the trial solution
Since
The differential equation has been converted into a quadratic, and its roots determine the solution form.
Two constants, and why. A second-order equation requires two integrations, so its general solution carries two arbitrary constants and needs two conditions, typically
The three cases. With discriminant
| Roots | General solution | |
|---|---|---|
| distinct real | ||
| repeated real | ||
| complex |
Why the repeated case needs the
Why the complex case is written with sine and cosine. The roots
Reading the solution. The sign of
Assumptions and scope
The characteristic equation method applies to constant coefficients. With
or depending on , substituting leaves in the equation and nothing cancels. The two solutions combined must be linearly independent. A second copy of the same exponential adds no freedom and cannot meet two conditions.
A second-order equation needs two conditions, usually
and . One condition leaves a one-parameter family rather than a unique solution. A repeated root gives
; omitting thefactor produces a solution set too small to satisfy general initial conditions. Complex roots come in conjugate pairs because the coefficients are real, which is what makes the real-valued form with sine and cosine available.
These methods solve the homogeneous equation. A nonzero right-hand side requires a particular solution added to this general solution, which is the coset structure the linear-transformations unit describes.
Worked material
Example
The other two cases, side by side
The worked example covered distinct real roots. Here are the repeated and complex cases on the same pattern, so the differences stand out.
---
Repeated root. Solve
Characteristic equation
Differentiating with the product rule:
At
Check.
Note what the
---
Complex roots. Solve
Characteristic equation
So
Differentiating, product rule on the envelope and the bracket together:
At
Check.
Behaviour. The solution oscillates and decays:
---
What varies across the three cases.
| Solution | Long-run | ||
|---|---|---|---|
| diverges, largest root wins | |||
| diverges, | |||
| decays to zero, oscillating |
Only the third decays, and the reason is visible in the roots alone:
Non-example
Expressions that are not solutions
The repeated root used twice. Faced with
on the grounds that a second-order equation needs two terms. Both terms do solve the equation, so nothing looks amiss. The failure is not in the terms but in the count of free constants.
Why it fails. The expression collapses:
a family with one constant wearing two names. Two symbols are on the page; only one degree of freedom exists.
A case it cannot solve. Take
The correct form
The general test. Two solutions are usable as a basis only if neither is a constant multiple of the other. Here the ratio
---
Other things that are not second-order constant-coefficient solutions.
A single exponential where two are needed.
A complex answer. Writing the solution of
Variable coefficients. For
A nonzero right side.
Common errors
Common misconception
When the characteristic equation has a repeated root
Related units
Requires
Connected
- Vector Spaces and Subspaces (related)
- Linear Transformations (related)