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
  • Characteristic roots beyond distinct real roots
  • Repeated real roots
  • Complex-conjugate roots
  • Reading long-term behavior from the roots
  • Higher-order nonhomogeneous equations
  • Resonance and multiplicity
  • Worked example: a nonresonant exponential
  • Worked example: mixed forcing with resonance

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan Luo · Oct 16, 2026

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan LuoOct 16, 2026

13 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.

Characteristic roots beyond distinct real roots

The characteristic polynomial still has nnn 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 rrr has multiplicity mmm, one copy of erte^{rt}ert is not enough. The root contributes the mmm functions

ert, tert, t2ert,…,tm−1ert.\boxed{ e^{rt},\ te^{rt},\ t^2e^{rt},\ldots,t^{m-1}e^{rt} }. ert, tert, t2ert,…,tm−1ert​.

The powers of ttt create the missing independent solutions. For example,

y′′′−6y′′+12y′−8y=0y'''-6y''+12y'-8y=0 y′′′−6y′′+12y′−8y=0

has characteristic equation

r3−6r2+12r−8=(r−2)3=0.r^3-6r^2+12r-8=(r-2)^3=0. r3−6r2+12r−8=(r−2)3=0.

The root r=2r=2r=2 has multiplicity 333, so a fundamental set is

e2t,te2t,t2e2t,e^{2t},\qquad te^{2t},\qquad t^2e^{2t}, e2t,te2t,t2e2t,

and the general solution is

y(t)=(C1+C2t+C3t2)e2t.\boxed{y(t)=\left(C_1+C_2t+C_3t^2\right)e^{2t}}. y(t)=(C1​+C2​t+C3​t2)e2t​.

Complex-conjugate roots

For a differential equation with real coefficients, nonreal roots occur in conjugate pairs. A simple pair

r=α±iβ,β≠0,r=\alpha\pm i\beta, \qquad \beta\ne0, r=α±iβ,β=0,

contributes the two real solutions

eαtcos⁡(βt),eαtsin⁡(βt).\boxed{ e^{\alpha t}\cos(\beta t), \qquad e^{\alpha t}\sin(\beta t) }. eαtcos(βt),eαtsin(βt)​.

The real part α\alphaα controls the exponential envelope, while ∣β∣|\beta|∣β∣ controls the angular frequency. For example,

y(4)−y=0y^{(4)}-y=0 y(4)−y=0

has

r4−1=(r−1)(r+1)(r2+1),r^4-1=(r-1)(r+1)(r^2+1), r4−1=(r−1)(r+1)(r2+1),

so its roots are 1,−1,i,−i1,-1,i,-i1,−1,i,−i and

y(t)=C1et+C2e−t+C3cos⁡t+C4sin⁡t.\boxed{ y(t)=C_1e^t+C_2e^{-t}+C_3\cos t+C_4\sin t }. y(t)=C1​et+C2​e−t+C3​cost+C4​sint​.

If the pair α±iβ\alpha\pm i\betaα±iβ has multiplicity mmm, multiply both real modes by the powers 1,t,…,tm−11,t,\ldots,t^{m-1}1,t,…,tm−1. Thus each power supplies a cosine mode and a sine mode.

For instance,

y(4)+2y′′+y=0y^{(4)}+2y''+y=0 y(4)+2y′′+y=0

has

r4+2r2+1=(r2+1)2.r^4+2r^2+1=(r^2+1)^2. r4+2r2+1=(r2+1)2.

The pair ±i\pm i±i has multiplicity 222, giving

y(t)=C1cos⁡t+C2sin⁡t+C3tcos⁡t+C4tsin⁡t.\boxed{ y(t)=C_1\cos t+C_2\sin t +C_3t\cos t+C_4t\sin t }. y(t)=C1​cost+C2​sint+C3​tcost+C4​tsint​.

The three root patterns can be read from one table:

Characteristic rootMultiplicityReal modes contributed
r∈Rr\in\mathbb Rr∈Rmmmtkertt^ke^{rt}tkert for k=0,…,m−1k=0,\ldots,m-1k=0,…,m−1
α±iβ\alpha\pm i\betaα±iβ, β≠0\beta\ne0β=0mmmtkeαtcos⁡(βt)t^ke^{\alpha t}\cos(\beta t)tkeαtcos(βt) and tkeαtsin⁡(βt)t^ke^{\alpha t}\sin(\beta t)tkeαtsin(βt) for k=0,…,m−1k=0,\ldots,m-1k=0,…,m−1

Counting the functions in the last column, with both members of every complex pair included, always gives nnn independent real solutions.

Reading long-term behavior from the roots

For t→∞t\to\inftyt→∞, a mode associated with r=α+iβr=\alpha+i\betar=α+iβ has an envelope of the form

tkeαt.t^k e^{\alpha t}. tkeαt.

This gives a quick classification:

  • If α<0\alpha<0α<0, the mode decays to zero. The exponential decay wins over every fixed power of ttt.
  • If α>0\alpha>0α>0, the mode has an exponentially growing, unbounded envelope unless its coefficient is zero.
  • If α=0\alpha=0α=0 and k=0k=0k=0, the mode is constant or a persistent bounded oscillation.
  • If α=0\alpha=0α=0 and k≥1k\ge1k≥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 ttt.

For example, in

y(t)=C1et+C2e−t+C3cos⁡t+C4sin⁡t,y(t)=C_1e^t+C_2e^{-t}+C_3\cos t+C_4\sin t, y(t)=C1​et+C2​e−t+C3​cost+C4​sint,

the e−te^{-t}e−t mode decays, the ete^tet mode grows unless C1=0C_1=0C1​=0, and the sine and cosine modes persist unless C3=C4=0C_3=C_4=0C3​=C4​=0. Therefore y(t)→0y(t)\to0y(t)→0 exactly when

C1=C3=C4=0.C_1=C_3=C_4=0. C1​=C3​=C4​=0.

Higher-order nonhomogeneous equations

For a constant-coefficient equation

L[y]=a0y(n)+a1y(n−1)+⋯+any=g(t),L[y] =a_0y^{(n)}+a_1y^{(n-1)}+\cdots+a_ny =g(t), L[y]=a0​y(n)+a1​y(n−1)+⋯+an​y=g(t),

the method of undetermined coefficients works just as it does in second order. First find the complementary solution ycy_cyc​. Then choose a trial family for ypy_pyp​ that is closed under differentiation and has the same form as the forcing.

For example:

  • Pd(t)eαtP_d(t)e^{\alpha t}Pd​(t)eαt needs eαtQd(t)e^{\alpha t}Q_d(t)eαtQd​(t);
  • Pd(t)eαtcos⁡(βt)P_d(t)e^{\alpha t}\cos(\beta t)Pd​(t)eαtcos(βt) or Pd(t)eαtsin⁡(βt)P_d(t)e^{\alpha t}\sin(\beta t)Pd​(t)eαtsin(βt) needs both sine and cosine terms,
eαt[Qd(t)cos⁡(βt)+Rd(t)sin⁡(βt)].e^{\alpha t}\left[Q_d(t)\cos(\beta t)+R_d(t)\sin(\beta t)\right]. eαt[Qd​(t)cos(βt)+Rd​(t)sin(βt)].

Here PdP_dPd​ is a given polynomial of degree ddd, while QdQ_dQd​ and RdR_dRd​ are complete degree-ddd polynomials with unknown coefficients.

Resonance and multiplicity

Before substituting the natural trial, compare its exponential frequency with the characteristic roots. Let

z=α+iβ.z=\alpha+i\beta. z=α+iβ.

If zzz is a characteristic root of multiplicity mmm, multiply the entire natural trial by tmt^mtm:

yp=tm×(natural trial).\boxed{y_p=t^m\times(\text{natural trial})}. yp​=tm×(natural trial)​.

If zzz is not a root, then m=0m=0m=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+g2g=g_1+g_2g=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.L[y_{p,1}]=g_1, \quad L[y_{p,2}]=g_2 \quad\Longrightarrow\quad L[y_{p,1}+y_{p,2}]=g_1+g_2. 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.y^{(4)}-y=3e^{2t}. y(4)−y=3e2t.

The associated homogeneous characteristic polynomial is

P(r)=r4−1=(r−1)(r+1)(r2+1),P(r)=r^4-1=(r-1)(r+1)(r^2+1), P(r)=r4−1=(r−1)(r+1)(r2+1),

so

yc=C1et+C2e−t+C3cos⁡t+C4sin⁡t.y_c=C_1e^t+C_2e^{-t}+C_3\cos t+C_4\sin t. yc​=C1​et+C2​e−t+C3​cost+C4​sint.

The forcing corresponds to r=2r=2r=2, and

P(2)=24−1=15≠0.P(2)=2^4-1=15\ne0. P(2)=24−1=15=0.

There is no resonance, so try

yp=Ae2t.y_p=Ae^{2t}. yp​=Ae2t.

Its fourth derivative is 16Ae2t16Ae^{2t}16Ae2t. Substitution gives

yp(4)−yp=(16A−A)e2t=15Ae2t=3e2t,y_p^{(4)}-y_p =(16A-A)e^{2t} =15Ae^{2t} =3e^{2t}, yp(4)​−yp​=(16A−A)e2t=15Ae2t=3e2t,

hence A=1/5A=1/5A=1/5. The general solution is

y(t)=C1et+C2e−t+C3cos⁡t+C4sin⁡t+15e2t.\boxed{ y(t)=C_1e^t+C_2e^{-t}+C_3\cos t+C_4\sin t +\frac15e^{2t} }. y(t)=C1​et+C2​e−t+C3​cost+C4​sint+51​e2t​.

Worked example: mixed forcing with resonance

Solve

y′′′−y′′−y′+y=2e−t+3.y'''-y''-y'+y=2e^{-t}+3. 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).\begin{aligned} P(r) &=r^3-r^2-r+1\\ &=(r-1)(r^2-1)\\ &=(r-1)^2(r+1). \end{aligned} P(r)​=r3−r2−r+1=(r−1)(r2−1)=(r−1)2(r+1).​

Thus r=1r=1r=1 is a double root and r=−1r=-1r=−1 is a simple root, so

yc=C1et+C2tet+C3e−t.y_c=C_1e^t+C_2te^t+C_3e^{-t}. yc​=C1​et+C2​tet+C3​e−t.

Treat the two forcing terms separately. The natural trial Ae−tAe^{-t}Ae−t overlaps the simple root −1-1−1, so multiply it by ttt. The constant forcing corresponds to r=0r=0r=0, and P(0)=1≠0P(0)=1\ne0P(0)=1=0, so its trial needs no adjustment. Use

yp=Ate−t+B.y_p=Ate^{-t}+B. yp​=Ate−t+B.

Differentiate carefully:

yp′=Ae−t−Ate−t,yp′′=−2Ae−t+Ate−t,yp′′′=3Ae−t−Ate−t.\begin{aligned} y_p'&=Ae^{-t}-Ate^{-t},\\ y_p''&=-2Ae^{-t}+Ate^{-t},\\ y_p'''&=3Ae^{-t}-Ate^{-t}. \end{aligned} yp′​yp′′​yp′′′​​=Ae−t−Ate−t,=−2Ae−t+Ate−t,=3Ae−t−Ate−t.​

Putting these into the left side gives

yp′′′−yp′′−yp′+yp=4Ae−t+B=2e−t+3.\begin{aligned} y_p'''-y_p''-y_p'+y_p &=4Ae^{-t}+B\\ &=2e^{-t}+3. \end{aligned} yp′′′​−yp′′​−yp′​+yp​​=4Ae−t+B=2e−t+3.​

Therefore A=1/2A=1/2A=1/2 and B=3B=3B=3. The general solution is

y(t)=C1et+C2tet+C3e−t+12te−t+3.\boxed{ y(t)=C_1e^t+C_2te^t+C_3e^{-t} +\frac12te^{-t}+3 }. y(t)=C1​et+C2​tet+C3​e−t+21​te−t+3​.

This solution also shows how forcing changes long-term behavior. The two terms involving e−te^{-t}e−t decay, while the particular constant remains. The solution approaches 333 exactly when the growing coefficients vanish:

C1=C2=0.C_1=C_2=0. C1​=C2​=0.

It can never approach zero, because the constant forcing creates the unavoidable steady particular solution 333.

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 Oct 22, 2026
  • newsletter

  • about me

  • sponsor

© 2026 Evan Luo. All rights reserved.