Topic 2 of 6
Step 20: Differential equations
Second-order linear equations
Step 20 · Differential equations topics
Solve constant-coefficient second-order equations with the characteristic equation, and use them to describe springs that oscillate, die away or resonate.
The characteristic equation
For ay″ + by′ + cy = 0, try . Each derivative brings down a factor r, so the equation becomes ar² + br + c = 0, the characteristic equation. Its roots decide the solutions.
| Roots | General solution |
|---|---|
| Two real roots | |
| One repeated root r | |
| Complex roots α ± βi |
Example: Real roots
Solve y″ − 5y′ + 6y = 0.
- r² − 5r + 6 = (r − 2)(r − 3), so r = 2 and r = 3.
Answer
Example: Complex roots
Solve y″ + 4y = 0 with y(0) = 1 and y′(0) = 0.
- r² + 4 = 0 gives r = ±2i.
- , and the starting values give c₁ = 1 and c₂ = 0.
Answery = cos 2x
Damped oscillations
A mass on a spring with friction obeys my″ + by′ + ky = 0. The damping b decides the motion: complex roots mean it oscillates while dying away, and real roots mean it creeps back without oscillating.
| b² − 4mk | Behavior |
|---|---|
| Negative | Underdamped: oscillates and dies away |
| Zero | Critically damped: the fastest return, no oscillation |
| Positive | Overdamped: a slow return, no oscillation |
Example: Underdamped
Solve y″ + 2y′ + 5y = 0.
- r² + 2r + 5 = 0 gives r = −1 ± 2i.
Answer
Example: Critically damped
For which b is y″ + by′ + 9y = 0 critically damped?
- Critical damping needs b² − 36 = 0.
Answerb = 6
Forced oscillations
A driving force f(t) makes the equation nonhomogeneous: my″ + by′ + ky = f(t). Its general solution is the unforced solution plus one particular solution, often found by guessing a function shaped like f.
Example: A constant force
Solve y″ + 4y = 8.
- Guess a constant y = A: 4A = 8, so A = 2.
- Add the unforced solution.
Answer
Example: Resonance
Why does y″ + 4y = cos 2t produce growing oscillations?
- The driving frequency, 2, matches the spring's own frequency.
- A particular solution is , whose size grows with t.
AnswerThe force pushes in step with the motion: resonance
Try it yourself
Work each one on paper first, then open the answer to check.
Solve y″ − y = 0.
Show answer
Solve y″ + 9y = 0.
Show answer
Solve y″ + 4y′ + 4y = 0.
Show answer
Is y″ + y′ + 10y = 0 underdamped, critically damped or overdamped?
Show answer
Underdamped: 1 − 40 is negative
What is the natural frequency of y″ + 25y = 0?
Show answer
5
Find a particular solution of y″ + y = 3.
Show answer
y = 3