Second-Order Linear Equations
Push a child on a swing, strike a tuning fork, watch a car settle after a pothole, or measure the current sloshing through a radio circuit — and you are watching the same equation play out. A second-order linear differential equation is the mathematical machine that describes almost everything that oscillates, rings, bounces, or settles down. It is the single most important equation in classical physics and engineering, and once you can read it fluently, an enormous slice of the physical world becomes predictable.
The reason it earns "second-order" is that it involves the second derivative — an acceleration, a curvature, a rate of change of a rate of change. Nature is full of such laws because Newton's second law itself relates force to acceleration. Learning to solve these equations means learning to predict motion.
Learning Objectives
- Recognize a second-order linear differential equation and identify its coefficients.
- Distinguish homogeneous from non-homogeneous equations and understand why the distinction matters.
- Form and solve the characteristic equation for constant-coefficient homogeneous equations.
- Handle the three root cases: real distinct, repeated, and complex conjugate roots.
- Model and interpret harmonic oscillators — undamped, underdamped, critically damped, and overdamped.
- Build the general solution of a non-homogeneous equation from complementary and particular parts.
Quick Answer
A second-order linear ODE has the form . It is homogeneous when and non-homogeneous otherwise. For constant coefficients, you solve the homogeneous version by guessing , which turns the differential equation into an algebraic characteristic equation . The two roots determine the solution's shape: real distinct roots give pure exponentials, a repeated root adds an factor, and complex roots produce oscillations. The full non-homogeneous solution is the homogeneous (complementary) solution plus one particular solution. This one framework describes every spring, pendulum, and simple electrical circuit.
Where It Came From
The story begins with springs and sound. In the early 1600s, natural philosophers wanted to understand vibration: why a plucked string produces a definite pitch, why a pendulum keeps near-perfect time. But the tools to describe changing rates of change did not yet exist.
Two developments forced the second-order equation into being. First, in 1660 Robert Hooke discovered that the restoring force of a spring is proportional to its stretch — force equals . Second, in 1687 Isaac Newton published his second law, force equals mass times acceleration, and acceleration is the second derivative of position. Put Hooke and Newton together and you are compelled to write . There was no way to state the physics of a spring without a second-order differential equation. The equation was not invented for its own sake; it was the unavoidable translation of a physical law.
Through the 1700s the Bernoulli family and especially Leonhard Euler developed the systematic solution method. Around 1739 Euler introduced the exponential substitution that reduces the whole problem to solving a quadratic — the characteristic equation. This was a stunning simplification: an infinite-dimensional problem about functions collapsed into ordinary high-school algebra. Jean le Rond d'Alembert applied these ideas to the vibrating string in 1747, launching the study of waves. When damping (friction, air resistance, electrical resistance) was added in the 1800s, the same equation described how vibrations die away, and it became the backbone of mechanical and electrical engineering.
The Building Block: Homogeneous Equations and the Characteristic Equation
A constant-coefficient homogeneous equation looks like
The key insight is that the exponential function is the only function whose derivatives are just scaled copies of itself. So we guess . Then and . Substituting:
Since is never zero, we divide it out and are left with the characteristic equation:
The differential equation is solved once we solve this quadratic. There are three cases, decided by the discriminant .
Case 1: Two real distinct roots
Worked example. Solve .
Characteristic equation: , which factors as , so and . Each root gives an independent solution, and the general solution is their combination:
Check. Take : then . Correct.
Case 2: A repeated real root
When the discriminant is zero, the quadratic gives one root twice. A single is not enough — a second-order equation always needs two independent solutions. The second one turns out to be .
Worked example. Solve .
Characteristic equation: , so (repeated). The general solution is
Case 3: Complex conjugate roots
When , the roots are . Using Euler's formula , the complex exponentials repackage into real oscillations:
Worked example. Solve .
Characteristic equation: , so . Here and :
This is pure oscillation with angular frequency — a vibration that never dies. That is exactly the undamped spring.
Harmonic Oscillators and Damping
The physical star of this topic is the damped harmonic oscillator. A mass on a spring of stiffness , dragged by friction with damping coefficient , obeys
The three algebraic cases above become three physical behaviors, decided by how damping compares to stiffness. Define the undamped angular frequency .
| Discriminant sign | Roots | Physical name | Behavior |
|---|---|---|---|
| complex | Underdamped | Oscillates, amplitude decaying | |
| repeated real | Critically damped | Fastest return, no oscillation | |
| two real | Overdamped | Slow return, no oscillation |
Worked example (underdamped). A mass with , , : solve .
Characteristic equation: . Discriminant , so
Thus , and
The and are the ringing; the envelope is friction bleeding energy away. This is a plucked guitar string, a struck bell, or a car suspension after a bump — an oscillation that fades.
Engineers choose critical damping for things that must settle fast without wobbling: a door closer, a car shock absorber, or a measuring-instrument needle. A little less damping and the door slams past and bounces (underdamped); a lot more and it crawls shut (overdamped).
Non-Homogeneous Equations: Adding a Driving Force
When there is an external push — a periodic force on the spring, a battery driving a circuit — the equation gains a right-hand side:
The full solution is , where is the complementary solution (the homogeneous solution from the characteristic equation) and is any single particular solution that produces . The complementary part carries the two arbitrary constants and describes the system's natural response; the particular part is the system's forced response.
Worked example. Solve .
Complementary part comes from Case 1 above: . For the particular part, since the right side is a constant, guess a constant . Then , so the equation becomes , giving . The general solution is
The method of guessing a form for that matches (a polynomial for a polynomial, for an exponential, sines and cosines for a sinusoid) is called the method of undetermined coefficients.
Real-World Applications
- Vehicle suspension. Springs plus shock absorbers are designed near critical damping so the car settles quickly after a bump without bouncing passengers.
- Building and bridge engineering. Structures have natural frequencies from exactly this equation; designers add damping to prevent resonance from wind or earthquakes (the Tacoma Narrows collapse is the cautionary tale).
- Electrical RLC circuits. An inductor–resistor–capacitor loop obeys , mathematically identical to the spring. Radio tuning exploits its resonance.
- Clocks and timekeeping. Pendulum and quartz oscillators rely on stable, lightly damped simple harmonic motion.
- Seismographs and instruments. Damped oscillators convert ground motion or signals into readable, quickly-settling measurements.
Common Mistakes
Mistake 1: Forgetting the second solution for a repeated root. Students write for and stop. This is wrong because a second-order equation must have two independent solutions to satisfy two initial conditions. Correction: always append the term: .
Mistake 2: Leaving complex exponentials in the answer. Writing is technically a solution but hides that the motion is real oscillation. Correction: use Euler's formula to convert to , which is real-valued and physically transparent.
Mistake 3: Confusing homogeneous and non-homogeneous solution roles. Students try to make the complementary solution alone satisfy , or drop the constants once they find . Correction: the complementary solution (, with the constants) and the particular solution () are added; only carries the arbitrary constants, and you apply initial conditions to the full at the very end.
Comparison and Connections
The whole subject is a dictionary between algebra and physics. The quadratic you solve is the physics of the system:
| Characteristic roots | Solution form | Oscillator meaning |
|---|---|---|
| Real, distinct, both negative | Overdamped, settles slowly | |
| Real, repeated, negative | Critically damped, settles fastest | |
| Complex, negative real part | Underdamped, decaying ringing | |
| Pure imaginary | Undamped, eternal oscillation |
Second-order equations generalize the first-order linear equations you met earlier (one root, one exponential, exponential growth or decay), and they are the gateway to systems of equations and to partial differential equations like the wave and heat equations, where the same characteristic-equation thinking reappears in higher dimensions.
Practice Questions
Recall
State the characteristic equation of . Answer: .
Understanding
Explain why a repeated root requires the extra solution rather than a second copy of . Guidance: Two copies of are not independent — they collapse into one arbitrary constant, leaving you unable to satisfy two initial conditions. The function is independent and can be verified to satisfy the equation, restoring the needed second degree of freedom.
Application
Solve . Answer: , repeated root , so . This is critically damped.
Analysis
For the spring equation , find the value of that produces critical damping, and describe what happens for slightly smaller and slightly larger . Answer: Critical damping needs discriminant zero: , so . For the system is underdamped and rings while decaying; for it is overdamped and returns to rest slowly without oscillating.
FAQ
Why do we guess ? Isn't guessing unrigorous? It is a rigorous, justified guess: exponentials are the eigenfunctions of differentiation, so they are the natural candidates. Existence-and-uniqueness theorems guarantee that once you find two independent solutions, you have found all solutions, so the guess is complete, not lucky.
What do the two constants and physically mean? They encode the two initial conditions a second-order system needs: typically the starting position and the starting velocity. Given those, the constants are determined uniquely.
How is an RLC circuit "the same" as a spring? The equations have identical form: charge plays the role of position, inductance the role of mass, resistance the role of damping, and inverse capacitance the role of spring stiffness. Any result you prove for one applies to the other — this is called an analogy or duality.
When is undamped motion () physically real? Never exactly, since some friction always exists, but it is an excellent idealization over short times — a tuning fork or quartz crystal loses energy so slowly it is nearly undamped, which is precisely why they make good frequency standards.
Does the method work if the coefficients change with ? The characteristic-equation shortcut needs constant coefficients. Variable-coefficient equations (like Euler–Cauchy or Bessel's equation) need other techniques such as power series, but the homogeneous-plus-particular structure still holds.
Quick Revision
- Form: ; homogeneous when .
- Homogeneous solution: guess , solve .
- Real distinct roots: .
- Repeated root: .
- Complex roots : .
- Non-homogeneous: ; find by undetermined coefficients.
- Damping test on : sign of gives over- / critical- / underdamped.
Related Topics
Prerequisites
- Differential Equations overview
- Derivatives and the second derivative (Calculus)
- Solving quadratic equations (Algebra)
Related Topics
- Euler's formula and complex numbers
- Simple harmonic motion (Physics)
- RLC circuits (Electrical engineering)
Next Topics
- Systems of differential equations
- The wave and heat equations (partial differential equations)
- Laplace transforms for driven and discontinuous forcing