evan's notes
cal 3discreteodeenv systems
中文

On this page

  • General nth-order linear equations
  • Initial conditions and the interval theorem
  • Fundamental sets and the Wronskian
  • Adding a particular solution
  • Homogeneous equations with constant coefficients
  • Why distinct exponentials are independent
  • A fourth-order example

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan Luo · Oct 16, 2026

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan Luo3 days ago

7 min read

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 nnn needs nnn independent homogeneous solutions and nnn initial conditions.

General nth-order linear equations

On an interval III, consider the normalized equation

y(n)+p1(t)y(n−1)+⋯+pn−1(t)y′+pn(t)y=g(t).y^{(n)}+p_1(t)y^{(n-1)}+\cdots+p_{n-1}(t)y'+p_n(t)y=g(t). y(n)+p1​(t)y(n−1)+⋯+pn−1​(t)y′+pn​(t)y=g(t).

Here y(k)y^{(k)}y(k) means the kkkth derivative of yyy with respect to ttt. The coefficient of y(n)y^{(n)}y(n) is 111, 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.y^{(n)}+p_1(t)y^{(n-1)}+\cdots+p_{n-1}(t)y'+p_n(t)y=0. y(n)+p1​(t)y(n−1)+⋯+pn−1​(t)y′+pn​(t)y=0.

When ggg is not identically zero, the equation is nonhomogeneous, and g(t)g(t)g(t) is the forcing term.

Initial conditions and the interval theorem

An nnnth-order initial-value problem specifies the value of the solution and its first n−1n-1n−1 derivatives at one point t0t_0t0​:

y(t0)=b0,y′(t0)=b1,…,y(n−1)(t0)=bn−1.y(t_0)=b_0, \quad y'(t_0)=b_1, \quad\ldots,\quad y^{(n-1)}(t_0)=b_{n-1}. y(t0​)=b0​,y′(t0​)=b1​,…,y(n−1)(t0​)=bn−1​.

Suppose III is an open interval, t0∈It_0\in It0​∈I, and

p1,…,pn,gp_1,\ldots,p_n,g p1​,…,pn​,g

are continuous on III. Then every choice of the nnn initial values b0,…,bn−1b_0,\ldots,b_{n-1}b0​,…,bn−1​ determines exactly one solution on all of III. 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,…,yny_1,\ldots,y_ny1​,…,yn​ all solve the associated homogeneous equation on III. Their Wronskian is

W[y1,…,yn](t)=det⁡(y1(t)y2(t)⋯yn(t)y1′(t)y2′(t)⋯yn′(t)⋮⋮⋱⋮y1(n−1)(t)y2(n−1)(t)⋯yn(n−1)(t)).W[y_1,\ldots,y_n](t) = \det \begin{pmatrix} y_1(t)&y_2(t)&\cdots&y_n(t)\\ y_1'(t)&y_2'(t)&\cdots&y_n'(t)\\ \vdots&\vdots&\ddots&\vdots\\ y_1^{(n-1)}(t)&y_2^{(n-1)}(t)&\cdots&y_n^{(n-1)}(t) \end{pmatrix}. W[y1​,…,yn​](t)=det​y1​(t)y1′​(t)⋮y1(n−1)​(t)​y2​(t)y2′​(t)⋮y2(n−1)​(t)​⋯⋯⋱⋯​yn​(t)yn′​(t)⋮yn(n−1)​(t)​​.

Each column records one solution and its first n−1n-1n−1 derivatives. If

W[y1,…,yn](t0)≠0W[y_1,\ldots,y_n](t_0)\ne0 W[y1​,…,yn​](t0​)=0

at one point t0∈It_0\in It0​∈I, the columns are independent. The initial-value theorem then shows that every set of nnn initial values can be matched by exactly one linear combination

c1y1+⋯+cnyn.c_1y_1+\cdots+c_ny_n. c1​y1​+⋯+cn​yn​.

In that case, {y1,…,yn}\{y_1,\ldots,y_n\}{y1​,…,yn​} is a fundamental set of solutions on III, and the homogeneous general solution is

yc(t)=c1y1(t)+⋯+cnyn(t).\boxed{y_c(t)=c_1y_1(t)+\cdots+c_ny_n(t)}. yc​(t)=c1​y1​(t)+⋯+cn​yn​(t)​.

The subscript ccc 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 ypy_pyp​ be any one particular solution of the nonhomogeneous equation. Then

y(t)=yc(t)+yp(t)=c1y1(t)+⋯+cnyn(t)+yp(t)\boxed{ y(t)=y_c(t)+y_p(t) =c_1y_1(t)+\cdots+c_ny_n(t)+y_p(t) } y(t)=yc​(t)+yp​(t)=c1​y1​(t)+⋯+cn​yn​(t)+yp​(t)​

is its general solution.

The reason is linearity. If L[y]=gL[y]=gL[y]=g denotes the nonhomogeneous equation and both yyy and ypy_pyp​ satisfy it, then

L[y−yp]=L[y]−L[yp]=g−g=0.L[y-y_p]=L[y]-L[y_p]=g-g=0. L[y−yp​]=L[y]−L[yp​]=g−g=0.

So y−ypy-y_py−yp​ must be a homogeneous solution, and the fundamental set expresses it as c1y1+⋯+cnync_1y_1+\cdots+c_ny_nc1​y1​+⋯+cn​yn​. The nnn constants in ycy_cyc​ provide exactly the freedom needed to match the nnn 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,a_0y^{(n)}+a_1y^{(n-1)}+\cdots+a_{n-1}y'+a_ny=0, \qquad a_0\ne0, a0​y(n)+a1​y(n−1)+⋯+an−1​y′+an​y=0,a0​=0,

where every aja_jaj​ is constant. Exponential functions are useful because each differentiation only multiplies them by another factor of the same number. Try

y(t)=ert.y(t)=e^{rt}. y(t)=ert.

Then y(k)=rkerty^{(k)}=r^ke^{rt}y(k)=rkert, so substitution gives

ert(a0rn+a1rn−1+⋯+an−1r+an)=0.e^{rt}\left(a_0r^n+a_1r^{n-1}+\cdots+a_{n-1}r+a_n\right)=0. ert(a0​rn+a1​rn−1+⋯+an−1​r+an​)=0.

Because erte^{rt}ert never vanishes, rrr must satisfy the characteristic equation

P(r)=a0rn+a1rn−1+⋯+an−1r+an=0.\boxed{P(r)=a_0r^n+a_1r^{n-1}+\cdots+a_{n-1}r+a_n=0}. P(r)=a0​rn+a1​rn−1+⋯+an−1​r+an​=0​.

The Fundamental Theorem of Algebra says that a degree-nnn characteristic polynomial has nnn complex roots when multiplicity is counted. For now, suppose all nnn roots r1,…,rnr_1,\ldots,r_nr1​,…,rn​ are real and distinct. Each root gives an exponential solution erjte^{r_jt}erj​t.

Why distinct exponentials are independent

Put the roots in the order used for the columns of the Wronskian. For

yj(t)=erjt,y_j(t)=e^{r_jt}, yj​(t)=erj​t,

the Wronskian is

W(t)=det⁡(er1ter2t⋯erntr1er1tr2er2t⋯rnernt⋮⋮⋱⋮r1n−1er1tr2n−1er2t⋯rnn−1ernt)=e(r1+⋯+rn)tdet⁡(11⋯1r1r2⋯rn⋮⋮⋱⋮r1n−1r2n−1⋯rnn−1)=e(r1+⋯+rn)t∏1≤i<j≤n(rj−ri).\begin{aligned} W(t) &= \det \begin{pmatrix} e^{r_1t}&e^{r_2t}&\cdots&e^{r_nt}\\ r_1e^{r_1t}&r_2e^{r_2t}&\cdots&r_ne^{r_nt}\\ \vdots&\vdots&\ddots&\vdots\\ r_1^{n-1}e^{r_1t}&r_2^{n-1}e^{r_2t}&\cdots&r_n^{n-1}e^{r_nt} \end{pmatrix}\\ &=e^{(r_1+\cdots+r_n)t} \det \begin{pmatrix} 1&1&\cdots&1\\ r_1&r_2&\cdots&r_n\\ \vdots&\vdots&\ddots&\vdots\\ r_1^{n-1}&r_2^{n-1}&\cdots&r_n^{n-1} \end{pmatrix}\\ &=e^{(r_1+\cdots+r_n)t} \prod_{1\le i<j\le n}(r_j-r_i). \end{aligned} W(t)​=det​er1​tr1​er1​t⋮r1n−1​er1​t​er2​tr2​er2​t⋮r2n−1​er2​t​⋯⋯⋱⋯​ern​trn​ern​t⋮rnn−1​ern​t​​=e(r1​+⋯+rn​)tdet​1r1​⋮r1n−1​​1r2​⋮r2n−1​​⋯⋯⋱⋯​1rn​⋮rnn−1​​​=e(r1​+⋯+rn​)t1≤i<j≤n∏​(rj​−ri​).​

The last determinant is a Vandermonde determinant. The exponential factor is never zero, and every difference rj−rir_j-r_irj​−ri​ is nonzero because the roots are distinct. Therefore the exponentials form a fundamental set, and

y(t)=c1er1t+⋯+cnernt.\boxed{y(t)=c_1e^{r_1t}+\cdots+c_ne^{r_nt}}. y(t)=c1​er1​t+⋯+cn​ern​t​.

A fourth-order example

Solve the initial-value problem

y(4)+y′′′−7y′′−y′+6y=0,y^{(4)}+y'''-7y''-y'+6y=0, y(4)+y′′′−7y′′−y′+6y=0, y(0)=1,y′(0)=0,y′′(0)=−2,y′′′(0)=−1.y(0)=1, \qquad y'(0)=0, \qquad y''(0)=-2, \qquad y'''(0)=-1. y(0)=1,y′(0)=0,y′′(0)=−2,y′′′(0)=−1.

The characteristic polynomial is

P(r)=r4+r3−7r2−r+6.P(r)=r^4+r^3-7r^2-r+6. P(r)=r4+r3−7r2−r+6.

Since P(1)=0P(1)=0P(1)=0, divide by r−1r-1r−1:

P(r)=(r−1)(r3+2r2−5r−6).P(r)=(r-1)(r^3+2r^2-5r-6). P(r)=(r−1)(r3+2r2−5r−6).

The cubic vanishes at r=−1r=-1r=−1, and the remaining quadratic factors as r2+r−6=(r−2)(r+3)r^2+r-6=(r-2)(r+3)r2+r−6=(r−2)(r+3). Hence

P(r)=(r+3)(r+1)(r−1)(r−2).\boxed{P(r)=(r+3)(r+1)(r-1)(r-2)}. P(r)=(r+3)(r+1)(r−1)(r−2)​.

Using the increasing order

r1=−3,r2=−1,r3=1,r4=2,r_1=-3, \quad r_2=-1, \quad r_3=1, \quad r_4=2, r1​=−3,r2​=−1,r3​=1,r4​=2,

gives the fundamental solutions

e−3t,e−t,et,e2t.e^{-3t},\qquad e^{-t},\qquad e^t,\qquad e^{2t}. e−3t,e−t,et,e2t.

At t=0t=0t=0, their Wronskian matrix is

(1111−3−1129114−27−118).\begin{pmatrix} 1&1&1&1\\ -3&-1&1&2\\ 9&1&1&4\\ -27&-1&1&8 \end{pmatrix}. ​1−39−27​1−11−1​1111​1248​​.

Its determinant is the Vandermonde product

∏i<j(rj−ri)=240≠0,\prod_{i<j}(r_j-r_i)=240\ne0, i<j∏​(rj​−ri​)=240=0,

so the four exponentials are independent. Write

y(t)=c1e−3t+c2e−t+c3et+c4e2t.y(t)=c_1e^{-3t}+c_2e^{-t}+c_3e^t+c_4e^{2t}. y(t)=c1​e−3t+c2​e−t+c3​et+c4​e2t.

Substituting the four initial conditions gives

(1111−3−1129114−27−118)(c1c2c3c4)=(10−2−1).\begin{pmatrix} 1&1&1&1\\ -3&-1&1&2\\ 9&1&1&4\\ -27&-1&1&8 \end{pmatrix} \begin{pmatrix} c_1\\c_2\\c_3\\c_4 \end{pmatrix} = \begin{pmatrix} 1\\0\\-2\\-1 \end{pmatrix}. ​1−39−27​1−11−1​1111​1248​​​c1​c2​c3​c4​​​=​10−2−1​​.

Solving this system gives

c1=−18,c2=512,c3=118,c4=−23.c_1=-\frac18, \qquad c_2=\frac5{12}, \qquad c_3=\frac{11}{8}, \qquad c_4=-\frac23. c1​=−81​,c2​=125​,c3​=811​,c4​=−32​.

Therefore

y(t)=−18e−3t+512e−t+118et−23e2t.\boxed{ y(t)=-\frac18e^{-3t}+\frac5{12}e^{-t} +\frac{11}{8}e^t-\frac23e^{2t} }. y(t)=−81​e−3t+125​e−t+811​et−32​e2t​.

Each exponential satisfies the differential equation because its exponent is a root of PPP. Evaluating the solution and its first three derivatives at t=0t=0t=0 gives 111, 000, −2-2−2, and −1-1−1, respectively, so all four initial conditions are satisfied.

Source: https://notes.ohevan.com/notes/ode/05-higher-order-linear-equations

© 2026 Evan Luo. All rights reserved.

Back to Ordinary Differential Equations

0 reads

·Last edited Today
  • newsletter

  • about me

  • sponsor

© 2026 Evan Luo. All rights reserved.