DT
May 16, 2026
How to solve a second-order linear homogeneous ODE with constant coefficients?
I'm learning to solve ODEs of the form:
I know the characteristic equation is . But what determines which form the solution takes?
- If (real distinct roots):
- If (repeated root):
- If roots are complex:
Why does the repeated root case have the extra factor? And what's a physical example of each case (e.g., damped harmonic oscillator)?
2 answers523 views
Loading comments...
2 Answers
KO
Kevin O'BrienMay 16, 2026 AcceptedThe characteristic equation $ar^2 + br + c = 0$ comes from assuming $y = e^{rx}$.
**Why the repeated root case has an extra $x$ factor:**
When the characteristic equation has a repeated root $r$, we have one solution $y_1 = e^{rx}$. To find the second linearly independent solution, use reduction of order:
Let $y_2 = v(x) y_1$. Substituting into the ODE eventually gives $v'' = 0$, so $v = C_1 + C_2 x$. This gives $y_2 = x e^{rx}$.
Intuitively, the solutions are "merging" at the repeated root, and the $x$ factor represents the limit of two distinct exponential solutions as they approach each other.
**Physical examples (damped harmonic oscillator):**
$$m \frac{d^2x}{dt^2} + c \frac{dx}{dt} + kx = 0$$
- **Overdamped** (distinct real roots): $c^2 > 4mk$, system returns to equilibrium slowly without oscillating
- **Critically damped** (repeated root): $c^2 = 4mk$, fastest return to equilibrium without oscillation (ideal for shock absorbers)
- **Underdamped** (complex roots): $c^2 < 4mk$, system oscillates with decreasing amplitude
The complex case gives $x(t) = e^{-\alpha t}(C_1 \cos \beta t + C_2 \sin \beta t)$, where $\alpha = c/(2m)$ is the damping coefficient and $\beta = \sqrt{4mk - c^2}/(2m)$ is the damped frequency.
Loading comments...
DP
Dr. Priya SharmaMay 16, 2026For engineering applications, the second-order ODE with constant coefficients is everywhere:
**Mass-spring-damper system:**
$$m\ddot{x} + c\dot{x} + kx = 0$$
**RLC circuit:**
$$L\frac{d^2i}{dt^2} + R\frac{di}{dt} + \frac{i}{C} = 0$$
These are exactly analogous — the math is identical, just the physical interpretation changes. The characteristic equation tells you everything about the system's natural response.
**Practical tip:** In engineering, we usually write the ODE in standard form:
$$\ddot{x} + 2\zeta\omega_n\dot{x} + \omega_n^2 x = 0$$
where $\omega_n = \sqrt{k/m}$ is the natural frequency and $\zeta = c/(2\sqrt{km})$ is the damping ratio. This makes the solution type immediately clear from $\zeta$:
- $\zeta > 1$: overdamped
- $\zeta = 1$: critically damped
- $\zeta < 1$: underdamped
Loading comments...