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.
Characteristic roots beyond distinct real roots
The characteristic polynomial still has n roots when repeated and complex roots are counted with their multiplicities. What changes is the real basis built from those roots.
Repeated real roots
If a real root r has multiplicity m, one copy of ert is not enough. The root contributes the m functions
ert,tert,t2ert,…,tm−1ert.
The powers of t create the missing independent solutions. For example,
y′′′−6y′′+12y′−8y=0
has characteristic equation
r3−6r2+12r−8=(r−2)3=0.
The root r=2 has multiplicity 3, so a fundamental set is
e2t,te2t,t2e2t,
and the general solution is
y(t)=(C1+C2t+C3t2)e2t.
Complex-conjugate roots
For a differential equation with real coefficients, nonreal roots occur in conjugate pairs. A simple pair
r=α±iβ,β=0,
contributes the two real solutions
eαtcos(βt),eαtsin(βt).
The real part α controls the exponential envelope, while ∣β∣ controls the angular frequency. For example,
y(4)−y=0
has
r4−1=(r−1)(r+1)(r2+1),
so its roots are 1,−1,i,−i and
y(t)=C1et+C2e−t+C3cost+C4sint.
If the pair α±iβ has multiplicity m, multiply both real modes by the powers 1,t,…,tm−1. Thus each power supplies a cosine mode and a sine mode.
For instance,
y(4)+2y′′+y=0
has
r4+2r2+1=(r2+1)2.
The pair ±i has multiplicity 2, giving
y(t)=C1cost+C2sint+C3tcost+C4tsint.
The three root patterns can be read from one table:
Characteristic root
Multiplicity
Real modes contributed
r∈R
m
tkert for k=0,…,m−1
α±iβ, β=0
m
tkeαtcos(βt) and tkeαtsin(βt) for k=0,…,m−1
Counting the functions in the last column, with both members of every complex pair included, always gives n independent real solutions.
Reading long-term behavior from the roots
For t→∞, a mode associated with r=α+iβ has an envelope of the form
tkeαt.
This gives a quick classification:
If α<0, the mode decays to zero. The exponential decay wins over every fixed power of t.
If α>0, the mode has an exponentially growing, unbounded envelope unless its coefficient is zero.
If α=0 and k=0, the mode is constant or a persistent bounded oscillation.
If α=0 and k≥1, the polynomial factor produces an unbounded envelope unless its coefficient is zero.
A full solution tends to zero only when every nondecaying mode has zero coefficient. Cancellation between different exponential rates cannot remove their long-term growth for all large t.
For example, in
y(t)=C1et+C2e−t+C3cost+C4sint,
the e−t mode decays, the et mode grows unless C1=0, and the sine and cosine modes persist unless C3=C4=0. Therefore y(t)→0 exactly when
C1=C3=C4=0.
Higher-order nonhomogeneous equations
For a constant-coefficient equation
L[y]=a0y(n)+a1y(n−1)+⋯+any=g(t),
the method of undetermined coefficients works just as it does in second order. First find the complementary solution yc. Then choose a trial family for yp that is closed under differentiation and has the same form as the forcing.
For example:
Pd(t)eαt needs eαtQd(t);
Pd(t)eαtcos(βt) or Pd(t)eαtsin(βt) needs both sine and cosine terms,
eαt[Qd(t)cos(βt)+Rd(t)sin(βt)].
Here Pd is a given polynomial of degree d, while Qd and Rd are complete degree-d polynomials with unknown coefficients.
Resonance and multiplicity
Before substituting the natural trial, compare its exponential frequency with the characteristic roots. Let
z=α+iβ.
If z is a characteristic root of multiplicity m, multiply the entire natural trial by tm:
yp=tm×(natural trial).
If z is not a root, then m=0 and no extra factor is needed. This rule moves the trial out of the homogeneous solution space. It does not by itself determine the unknown coefficients; those still come from substitution into the original ODE.
When g=g1+g2, linearity lets us find a particular solution for each part and add them:
L[yp,1]=g1,L[yp,2]=g2⟹L[yp,1+yp,2]=g1+g2.
Worked example: a nonresonant exponential
Solve
y(4)−y=3e2t.
The associated homogeneous characteristic polynomial is
P(r)=r4−1=(r−1)(r+1)(r2+1),
so
yc=C1et+C2e−t+C3cost+C4sint.
The forcing corresponds to r=2, and
P(2)=24−1=15=0.
There is no resonance, so try
yp=Ae2t.
Its fourth derivative is 16Ae2t. Substitution gives
yp(4)−yp=(16A−A)e2t=15Ae2t=3e2t,
hence A=1/5. The general solution is
y(t)=C1et+C2e−t+C3cost+C4sint+51e2t.
Worked example: mixed forcing with resonance
Solve
y′′′−y′′−y′+y=2e−t+3.
The characteristic polynomial factors as
P(r)=r3−r2−r+1=(r−1)(r2−1)=(r−1)2(r+1).
Thus r=1 is a double root and r=−1 is a simple root, so
yc=C1et+C2tet+C3e−t.
Treat the two forcing terms separately. The natural trial Ae−t overlaps the simple root −1, so multiply it by t. The constant forcing corresponds to r=0, and P(0)=1=0, so its trial needs no adjustment. Use
This solution also shows how forcing changes long-term behavior. The two terms involving e−t decay, while the particular constant remains. The solution approaches 3 exactly when the growing coefficients vanish:
C1=C2=0.
It can never approach zero, because the constant forcing creates the unavoidable steady particular solution 3.