Second-order constant-coefficient equations
Characteristic modes, forcing, resonance and mechanical applications.
This page solves second-order linear equations with constant coefficients,
where are constants and . Constant coefficients turn differentiation into algebra: an exponential trial reduces the homogeneous equation to a characteristic polynomial, whose roots are the system's modes. A forcing term then adds one particular response to those modes.
In the method-selection workflow, this test comes after the first-order structures. The linear-operator facts behind it are set out in existence, uniqueness and linear operators.
Homogeneous equations and modes
Constant-coefficient equation
A second-order constant-coefficient linear ODE has the form
where , and are constants. It is homogeneous when .
The same idea extends to an th-order equation: each derivative has a constant coefficient and the corresponding characteristic polynomial has degree .
Superposition of homogeneous solutions
For a homogeneous linear equation, is a solution, scalar multiples of solutions are solutions and sums of solutions are solutions. For a second-order equation, two linearly independent solutions generate every homogeneous solution:
The two arbitrary constants are what allow two initial conditions to be imposed. If the proposed solutions are scalar multiples, they provide only one mode and cannot represent all possible initial data.
Characteristic equation
For the homogeneous equation
the exponential trial function gives the characteristic equation
The trial is useful because
so substitution gives
Since , the differential equation reduces to an algebraic equation. For an th-order constant-coefficient equation, replace by to obtain the corresponding degree- polynomial.
Read the characteristic roots
Solve the characteristic equation and choose the real homogeneous modes according to the roots:
- If are distinct real roots, use
- If is a repeated real root, use
- If the roots are with , use
For a repeated root, and are independent; the factor is required. The extra mode comes from writing , where is the repeated root. Since and , substitution reduces the ODE to , so .
For a complex pair, controls exponential growth or decay and controls oscillation, as with the modulus and argument in polar form. For real coefficients, a non-real root always occurs with its complex conjugate. Since , its real and imaginary parts give the two real modes in the last row and the final solution needs no complex constants.
[routine]
A repeated real root
For
the characteristic polynomial is . The homogeneous solution is
Using only would lose one arbitrary constant because the two proposed modes would be scalar multiples.
[routine]
[exam]
The root classification also predicts qualitative behaviour: a negative real part gives exponential decay, a positive real part gives exponential growth and a nonzero imaginary part produces oscillation. Repeated roots also contribute polynomial factors, so a zero real part can produce a constant or polynomially growing mode rather than decay. The broader discrete and continuous stability criteria are collected in stability of systems.
These modes match the exponential modes used for linear ODE systems. The polynomial plays the same role as the characteristic polynomial of a matrix and the distinct, repeated and complex cases behave alike in both settings.
Non-homogeneous equations
Once the homogeneous modes are known, a forcing term adds one particular response to them. Undetermined coefficients finds that response for the polynomial, exponential and trigonometric forcing below. When no method covered here applies, use numerical solutions.
Homogeneous part plus particular part
Write a linear equation as
If is one particular solution and is any homogeneous solution, then the complete solution is
The homogeneous part contains the arbitrary constants. The particular part accounts for the forcing and contains no new arbitrary constants.
Linearity gives
so is a solution. Conversely, if is another solution, then
Thus is homogeneous, which means every solution has the stated form.
Undetermined coefficients
For suitable forcing functions:
- a polynomial of degree suggests a general polynomial of degree ;
- suggests ;
- suggests , where has degree ;
- or suggests
- or suggests
Substitute the trial into the equation and match coefficients. If the trial overlaps with a homogeneous mode whose characteristic root has multiplicity , multiply the whole trial by (so a simple overlap requires one factor of , while a repeated root requires ).
The trial families work because differentiating a polynomial, exponential or sinusoidal expression keeps it within the same finite-dimensional family, so substitution reduces the problem to algebraic coefficient matching. The correction accounts for resonance: a trial that already lies in the homogeneous solution space cannot produce the forcing after applying . Oscillation by itself is not resonance; resonance requires a forcing term whose trial shape overlaps a natural homogeneous mode.
[routine]
[exam]
Forcing at a repeated root
For
the homogeneous equation has the repeated root and homogeneous solution . The trial and the corrected trial both overlap with this solution space, so use
Here the operator factors as , where . For , applying this operator gives . With , the left side is ; matching the forcing gives . Therefore
[exam]
Trigonometric resonance
For
the homogeneous modes are and , so the forcing overlaps with the homogeneous solution. Use
Since
we have . With and ,
[exam]
[routine]
Exponential-polynomial forcing
For
the homogeneous roots are and , so there is no overlap with . Set
Writing , direct differentiation gives
Matching this with gives , and . Hence
The general solution is
[challenge]
The linear operators page states the same homogeneous-plus-particular structure for any linear ODE.
An integral equation as an IVP
Recover an IVP from an integral equation
Differentiate an integral equation with a variable limit, record the initial values obtained at the endpoint and solve the resulting differential equation subject to those values. Finally, check the original integral equation because differentiation can enlarge the solution set.
A Volterra integral equation
For
setting gives . Differentiate using the Leibniz rule:
so . Differentiating again gives
The integral equation therefore implies the IVP
The unique solution is
The initial conditions are essential. Solving only the differentiated equation would introduce nonzero sine and cosine solutions that need not satisfy the original integral equation.
[challenge]
Mechanical applications
Spring-mass-damper model
For a mass attached to a spring with spring constant and viscous friction coefficient , Newton's law gives
The characteristic roots determine whether the motion is non-oscillatory or oscillatory and whether its amplitude grows or decays.
With an external force, the right side becomes a forcing term. The solution then has a transient homogeneous response and a particular forced response. In the usual mechanical units, is mass, has mass/time units and has mass/time units.
Damped oscillation
For , and ,
has characteristic roots
Therefore
With and , we obtain and , so
The cosine describes the oscillation, while is the decaying amplitude. Hence .
[exam]
Periodic forcing
If an external periodic force is applied,
the solution has a transient part, which decays and a steady periodic part at frequency . Take and the same initial conditions. For the particular response, set
Substitution gives
so and . Adding the homogeneous part and imposing , gives and .
Therefore the response is approximately
As increases, only the forced periodic terms remain. The choice shows a forced response away from the peak. The response is largest when the forcing frequency is near the undamped natural frequency,
This is the near-resonant peak of the damped frequency response. Damping prevents the ideal undamped amplitude from growing without bound, but still produces a pronounced finite peak near that frequency.
[challenge]