Second-Order Linear Equations
Let be an interval and be continuous. A second-order linear ordinary differential equation in normal form and its associated homogeneous equation are
Every initial value problem with has exactly one solution, which exists on all of Let be the differential operator which is a linear transformation on the vector space The superposition principle states that linear combinations of solutions of the homogeneous equation are solutions, so the solutions of the homogeneous equation form the kernel of a vector space, and that the difference of two solutions of the inhomogeneous equation solves the homogeneous equation. The general solution of the inhomogeneous equation is therefore the sum of any particular solution and the general solution of the homogeneous equation.
Let be differentiable on Their Wronskian is the determinant
If are solutions of the homogeneous equation then Abel’s identity states that so
and the Wronskian is either identically zero or never zero on Two solutions are linearly independent if and only if their Wronskian is non-zero, and the solution space of the homogeneous equation has dimension two, since the map is an isomorphism onto by existence and uniqueness. A basis of the solution space is a fundamental set of solutions and the general solution of the homogeneous equation is for Given one solution with no zeros on reduction of order finds a second by the substitution which gives a first-order linear equation for with solution
These statements extend to a linear equation of order with continuous coefficients: the solution space of the homogeneous equation has dimension the Wronskian of solutions is the determinant of the matrix whose rows are the solutions and their first derivatives, it satisfies and solutions form a fundamental set if and only if it is non-zero.
Let with The homogeneous equation with constant coefficients
has the solution if and only if is a root of its characteristic equation, a quadratic obtained by substituting and dividing by it.
The roots are and the fundamental set depends on the sign of the discriminant
- if the roots are real and
- if the root is repeated and, by reduction of order,
- if the roots are the complex conjugates with the complex solutions have real and imaginary parts that are real solutions by Euler’s formula, and
For an equation of order with constant coefficients the characteristic equation is the polynomial equation a real root of multiplicity contributes to the fundamental set and a pair of complex roots of multiplicity contributes and for The Euler–Cauchy equation on has solutions where and the substitution turns it into an equation with constant coefficients.
Let have constant coefficients and a forcing function that is a sum of terms of the form or with a polynomial of degree The method of undetermined coefficients finds a particular solution by substituting a trial solution of the same form with unknown coefficients and matching terms. For a term or the trial solution is
with polynomials of degree and the multiplicity of as a root of the characteristic equation, with if it is not a root. The factor is needed because the trial solution would otherwise solve the homogeneous equation, a situation called resonance. By superposition the particular solutions for each term of are added. For example, has and particular solution whose amplitude grows without bound.
Let be a fundamental set of solutions of the homogeneous equation with Wronskian Variation of parameters finds a particular solution for any continuous forcing function by replacing the constants in with functions, subject to which leads to the linear system and the formula
The method applies to variable coefficients and to any whereas undetermined coefficients requires constant coefficients and a forcing function of the special form, but is simpler when it applies. Written as a single integral,
which is the particular solution with
The harmonic oscillator is the constant-coefficient equation for a displacement with natural frequency damping ratio and a periodic forcing of amplitude and frequency
The characteristic roots are The unforced oscillator is undamped if with solutions of period underdamped if with oscillations of frequency whose amplitude decays like critically damped if and overdamped if in which cases it returns to rest without oscillating. When the homogeneous solution is a transient that decays, and every solution converges to the steady-state particular solution with amplitude
which for small is largest when the forcing frequency is near the natural frequency. When and the forcing is in resonance with the oscillator and the particular solution grows without bound.