Second-Order ODEs and Linear Systems
Second-order differential equations govern everything that oscillates: a mass on a spring, a pendulum, an RLC circuit, the strings of a guitar. The second derivative is acceleration, so these equations are the mathematical translation of Newton's second law. In this chapter we build the general solution (homogeneous + particular), solve the constant-coefficient cases, tackle damping and resonance, and finally move to linear systems, classifying their equilibria via eigenvalues.
Complete Theory
8A second-order differential equation involves the second derivative of the unknown. In the linear case it reads
and it is homogeneous if , complete otherwise. We will almost always work with constant coefficients: numbers.
Why second order is special. Newton's second law is intrinsically second-order: force determines acceleration, not position or velocity. That is why knowing only the initial position is not enough to predict the future: the initial velocity is also needed.
The Cauchy problem indeed requires two initial conditions:
Geometrically: you fix both the starting point and the starting slope. For linear equations with continuous coefficients, existence and uniqueness hold on the whole interval where .
General strategy. We always solve in two stages: first the associated homogeneous equation (giving the "structure" of the free system), then a particular solution of the complete one (the response to the external forcing). Their sum is the general solution.
For linear equations the superposition principle holds: linear combinations of homogeneous solutions are again solutions. The solution set of the second-order homogeneous equation is a 2-dimensional vector space: finding two independent solutions generates all of them.
The general solution of the complete equation is
with any particular solution. The two constants are then fixed by the two initial conditions.
When are truly independent? Measured by the Wronskian:
If (even at a single point, for solutions of the same linear ODE) then are linearly independent and form a fundamental system. If they are proportional and cannot span the solution space.
Why it matters. The Wronskian guarantees that, given and , the system for is uniquely solvable: its coefficient matrix has determinant .
For the constant-coefficient homogeneous equation we try exponential solutions . Substituting (, ) and dividing by gives the characteristic equation:
The sign of the discriminant yields three scenarios, corresponding to three distinct physical behaviours:
- (distinct real roots ): . Sum of two exponentials — overdamped behaviour, no oscillation.
- (double root ): one exponential is not enough; the second independent solution is , so . This is critical damping.
- (complex roots ): using Euler's formula, . Oscillation of angular frequency with amplitude modulated by (decaying if ).
Where does come from? When the two roots "collapse". Taking the limit of the combination yields exactly : it is the derivative of with respect to .
When the forcing term is "simple" (polynomials, exponentials, sines/cosines and their products), guess the form of with coefficients to be determined. The idea: the response has the same "shape" as the forcing.
| try | |
|---|---|
| polynomial of degree | generic polynomial of degree |
| or | |
| product of the above | product of the trials |
The resonance rule. If the trial is already a homogeneous solution (i.e. or is a characteristic root), multiply it by (or if the root is double). This is exactly what produces the linear growth in resonance.
Example: for try ; substituting, . If instead the forcing were ( is a root), one would try .
This is the general method for the particular solution: it works for any , even when undetermined coefficients fail (e.g. ). Start from a fundamental system of the homogeneous equation and seek
letting the constants "vary". Imposing (a convenient constraint) and substituting into the equation yields:
where is the Wronskian and the coefficient of . Integrate to obtain and hence .
When to use it. Undetermined coefficients is faster for standard forcing terms; variation of parameters is the universal safety net. Conceptually it shows the particular solution is an integral of the forcing "weighted" by the homogeneous solutions — the idea behind the Green's function.
The universal oscillator model is
with mass, damping coefficient, spring constant, and external forcing of angular frequency . The natural frequency is .
Free oscillator (). The characteristic discriminant classifies the regimes:
- Underdamped (small , ): oscillates with amplitude decaying as .
- Critical damping (): returns to equilibrium in the shortest possible time without oscillating (shock absorbers, measuring instruments).
- Overdamped (): returns slowly, without oscillating (a door with an overloaded closer).
Resonance. With zero damping and forcing at the natural frequency (, ), the forcing is in phase with the natural oscillation: the resonance rule gives
an amplitude growing linearly in time, up to failure. This is the phenomenon that makes a glass resonate at the right note, and that engineers avoid in bridges (Tacoma Narrows) and buildings (seismic dampers). With real damping the amplitude does not diverge but has a finite peak near .
Every second-order ODE rewrites as a first-order system by setting , : one gets . More generally we study linear systems:
Eigenvalue method. Look for solutions of the form . Substituting, : i.e. is an eigenvalue and an eigenvector of . The eigenvalues solve
With two distinct real eigenvalues and eigenvectors , the general solution is the superposition of the two modes:
For complex eigenvalues one gets oscillating solutions ; for a defective double eigenvalue a term appears, as in ODEs.
The origin is always an equilibrium of . Its type and stability depend only on the eigenvalues , summarised by trace and determinant :
- Real, same sign, negative (, , ): stable node, all trajectories converge.
- Real, same sign, positive (, ): unstable node, everything diverges.
- Real, opposite signs (): saddle, always unstable (converges along one eigenvector, diverges along the other).
- Complex with (, ): stable focus (inward spiral).
- Complex with : unstable focus (outward spiral).
- Purely imaginary (, ): centre, closed orbits (undamped oscillator), neutral stability.
Practical rule. Asymptotically stable for both and . Everything reads at a glance in the plane: the parabola separates nodes (below) from foci (above); the half-axis is saddles; the axis with gives centres.
Worked Examples
5Exercises with Solutions
7Keep studying
Guided exercises on this topic
Recommended Books
As an Amazon Associate I earn from qualifying purchases.