A higher-order linear equation follows the same basic pattern as a second-order one: first solve the associated homogeneous equation, then add one particular solution if there is a forcing term. The difference is that an equation of order n needs n independent homogeneous solutions and n initial conditions.
General nth-order linear equations
On an interval I, consider the normalized equation
y(n)+p1(t)y(n−1)+⋯+pn−1(t)y′+pn(t)y=g(t).
Here y(k) means the kth derivative of y with respect to t. The coefficient of y(n) is 1, which is why the equation is called normalized. If an equation begins with a nonzero leading coefficient, divide through by it on an interval where it does not vanish before using this form.
The equation is homogeneous when the right side is zero:
y(n)+p1(t)y(n−1)+⋯+pn−1(t)y′+pn(t)y=0.
When g is not identically zero, the equation is nonhomogeneous, and g(t) is the forcing term.
Initial conditions and the interval theorem
An nth-order initial-value problem specifies the value of the solution and its first n−1 derivatives at one point t0:
y(t0)=b0,y′(t0)=b1,…,y(n−1)(t0)=bn−1.
Suppose I is an open interval, t0∈I, and
p1,…,pn,g
are continuous on I. Then every choice of the n initial values b0,…,bn−1 determines exactly one solution on all of I. As in the second-order theorem, the interval matters: a zero of the original leading coefficient or a discontinuity in a normalized coefficient may separate the real line into different valid intervals.
Fundamental sets and the Wronskian
Suppose y1,…,yn all solve the associated homogeneous equation on I. Their Wronskian is
Each column records one solution and its first n−1 derivatives. If
W[y1,…,yn](t0)=0
at one point t0∈I, the columns are independent. The initial-value theorem then shows that every set of n initial values can be matched by exactly one linear combination
c1y1+⋯+cnyn.
In that case, {y1,…,yn} is a fundamental set of solutions on I, and the homogeneous general solution is
yc(t)=c1y1(t)+⋯+cnyn(t).
The subscript c stands for complementary solution. For solutions of the same regular homogeneous linear equation, a Wronskian that is nonzero at one point stays nonzero throughout the interval.
Adding a particular solution
Let yp be any one particular solution of the nonhomogeneous equation. Then
y(t)=yc(t)+yp(t)=c1y1(t)+⋯+cnyn(t)+yp(t)
is its general solution.
The reason is linearity. If L[y]=g denotes the nonhomogeneous equation and both y and yp satisfy it, then
L[y−yp]=L[y]−L[yp]=g−g=0.
So y−yp must be a homogeneous solution, and the fundamental set expresses it as c1y1+⋯+cnyn. The n constants in yc provide exactly the freedom needed to match the n initial conditions. The particular solution adds no new arbitrary constant.
Homogeneous equations with constant coefficients
Now consider
a0y(n)+a1y(n−1)+⋯+an−1y′+any=0,a0=0,
where every aj is constant. Exponential functions are useful because each differentiation only multiplies them by another factor of the same number. Try
y(t)=ert.
Then y(k)=rkert, so substitution gives
ert(a0rn+a1rn−1+⋯+an−1r+an)=0.
Because ert never vanishes, r must satisfy the characteristic equation
P(r)=a0rn+a1rn−1+⋯+an−1r+an=0.
The Fundamental Theorem of Algebra says that a degree-n characteristic polynomial has n complex roots when multiplicity is counted. For now, suppose all n roots r1,…,rn are real and distinct. Each root gives an exponential solution erjt.
Why distinct exponentials are independent
Put the roots in the order used for the columns of the Wronskian. For
The last determinant is a Vandermonde determinant. The exponential factor is never zero, and every difference rj−ri is nonzero because the roots are distinct. Therefore the exponentials form a fundamental set, and
Each exponential satisfies the differential equation because its exponent is a root of P. Evaluating the solution and its first three derivatives at t=0 gives 1, 0, −2, and −1, respectively, so all four initial conditions are satisfied.