evan's notes
cal 3discreteodeenv systems
English

本页目录

  • 一般的 nth-order linear equation
  • Initial conditions 与 interval theorem
  • Fundamental sets 与 Wronskian
  • 加上 particular solution
  • Constant coefficients 的 homogeneous equations
  • 为什么 distinct exponentials 是 independent 的
  • 一个 fourth-order 例题
  • 不只有 distinct real roots
  • Repeated real roots
  • Complex-conjugate roots
  • 从 roots 判断长期行为
  • Higher-order nonhomogeneous equations
  • Resonance 与 multiplicity
  • 例:没有 resonance 的 exponential forcing
  • 例:同时含有 resonance 与 constant forcing

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan Luo · 2026年10月16日

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan Luo2026年10月16日

15 分钟

Higher-order linear equation 与 second-order equation 的基本思路相同:先解 associated homogeneous equation;如果有 forcing term,再加上一个 particular solution。不同之处在于,nnnth-order equation 需要 nnn 个 independent homogeneous solutions,也需要 nnn 个 initial conditions。

一般的 nth-order linear equation

在 interval III 上,考虑 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).

这里,y(k)y^{(k)}y(k) 表示 yyy 对 ttt 的第 kkk 阶 derivative。y(n)y^{(n)}y(n) 前面的 coefficient 是 111,所以这个方程称为 normalized。如果原方程的最高阶 derivative 前有一个不为零的 coefficient,应先在它不取零的 interval 上把整个方程除以它,再使用这个形式。

右边为零时,方程是 homogeneous:

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.

如果 ggg 不恒为零,方程就是 nonhomogeneous,而 g(t)g(t)g(t) 是 forcing term。

Initial conditions 与 interval theorem

一个 nnnth-order initial-value problem 会在同一点 t0t_0t0​ 指定 solution 本身以及前 n−1n-1n−1 阶 derivatives 的值:

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

假设 III 是 open interval,t0∈It_0\in It0​∈I,并且

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

在 III 上都 continuous。那么,无论怎样选取 nnn 个 initial values b0,…,bn−1b_0,\ldots,b_{n-1}b0​,…,bn−1​,都恰好有一个 solution 定义在整个 III 上。与 second-order theorem 一样,interval 不能省略:原方程最高阶 coefficient 的零点,或者 normalized coefficient 的 discontinuity,都可能把 real line 分成不同的有效 intervals。

Fundamental sets 与 Wronskian

假设 y1,…,yny_1,\ldots,y_ny1​,…,yn​ 都是在 III 上满足 associated homogeneous equation 的 solutions。它们的 Wronskian 定义为

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)​​.

每一列记录一个 solution 及其前 n−1n-1n−1 阶 derivatives。如果在某一点 t0∈It_0\in It0​∈I 有

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

这些列就是 independent 的。再结合 initial-value theorem,可知任意 nnn 个 initial values 都能由唯一一个 linear combination

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

来匹配。此时,{y1,…,yn}\{y_1,\ldots,y_n\}{y1​,…,yn​} 称为 III 上的 fundamental set of solutions,而 homogeneous general solution 是

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)​.

下标 ccc 表示 complementary solution。对于同一个 regular homogeneous linear equation 的 solutions,Wronskian 只要在 interval 中某一点不为零,就会在整个 interval 上保持不为零。

加上 particular solution

设 ypy_pyp​ 是 nonhomogeneous equation 的任意一个 particular solution。那么,它的 general solution 为

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)​

这个结论来自 linearity。用 L[y]=gL[y]=gL[y]=g 表示 nonhomogeneous equation。如果 yyy 和 ypy_pyp​ 都满足它,那么

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.

所以 y−ypy-y_py−yp​ 一定是 homogeneous solution,可以用 fundamental set 写成 c1y1+⋯+cnync_1y_1+\cdots+c_ny_nc1​y1​+⋯+cn​yn​。ycy_cyc​ 中的 nnn 个 constants 正好用来匹配 nnn 个 initial conditions;particular solution 不会再增加 arbitrary constant。

Constant coefficients 的 homogeneous equations

现在考虑

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,

其中每个 aja_jaj​ 都是常数。Exponential function 很适合这个问题,因为每求一次 derivative,只会多乘一个相同的数。尝试

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

由于 y(k)=rkerty^{(k)}=r^ke^{rt}y(k)=rkert,代入方程可得

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.

erte^{rt}ert 永远不为零,所以 rrr 必须满足 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​.

Fundamental Theorem of Algebra 说明:计算 multiplicity 时,degree-nnn characteristic polynomial 一共有 nnn 个 complex roots。这里先只考虑 nnn 个 roots r1,…,rnr_1,\ldots,r_nr1​,…,rn​ 都是 distinct real numbers 的情形。每一个 root 都给出一个 exponential solution erjte^{r_jt}erj​t。

为什么 distinct exponentials 是 independent 的

按 Wronskian 各列采用的顺序排列 roots。对

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

Wronskian 为

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​).​

最后一个 determinant 称为 Vandermonde determinant。Exponential factor 永远不为零;由于 roots 互不相同,每个差 rj−rir_j-r_irj​−ri​ 也不为零。因此,这些 exponentials 构成 fundamental set,并且

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

一个 fourth-order 例题

求解 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.

Characteristic polynomial 为

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

因为 P(1)=0P(1)=0P(1)=0,先除以 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).

Cubic polynomial 在 r=−1r=-1r=−1 时为零,剩下的 quadratic factor 为 r2+r−6=(r−2)(r+3)r^2+r-6=(r-2)(r+3)r2+r−6=(r−2)(r+3)。所以

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)​.

按从小到大的顺序取

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,

得到 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.

在 t=0t=0t=0 处,它们的 Wronskian matrix 是

(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​​.

它的 determinant 是 Vandermonde product:

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

因此,四个 exponentials 确实 independent。写成

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.

代入四个 initial conditions,得到

(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​​.

解这个 system:

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

所以

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

每个 exponential 都满足 differential equation,因为它的 exponent 是 PPP 的一个 root。把 t=0t=0t=0 代入 solution 及其前三阶 derivatives,依次得到 111、000、−2-2−2、−1-1−1,所以四个 initial conditions 全部满足。

不只有 distinct real roots

把 repeated roots 和 complex roots 按 multiplicity 计算后,degree-nnn characteristic polynomial 仍然共有 nnn 个 roots。改变的是我们要怎样从这些 roots 构造 real basis。

Repeated real roots

如果 real root rrr 的 multiplicity 是 mmm,只有一个 erte^{rt}ert 不够。这个 root 会给出 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​.

这些幂提供缺少的 independent solutions。例如,

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

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

r=2r=2r=2 的 multiplicity 为 333,所以一个 fundamental set 是

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

general solution 为

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

当 differential equation 的 coefficients 都是 real numbers 时,nonreal roots 总是成 conjugate pairs 出现。一个 simple pair

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

给出两个 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)​.

Real part α\alphaα 控制 exponential envelope,∣β∣|\beta|∣β∣ 控制 angular frequency。例如,

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

满足

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),

所以 roots 为 1,−1,i,−i1,-1,i,-i1,−1,i,−i,并且

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

如果 α±iβ\alpha\pm i\betaα±iβ 的 multiplicity 是 mmm,要把两个 real modes 都分别乘上 1,t,…,tm−11,t,\ldots,t^{m-1}1,t,…,tm−1。也就是说,每个这样的幂都会带来一个 cosine mode 和一个 sine mode。

例如,

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

的 characteristic polynomial 为

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

Conjugate pair ±i\pm i±i 的 multiplicity 为 222,所以

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

三种 root pattern 可以合在一张表里:

Characteristic rootMultiplicity对应的 real modes
r∈Rr\in\mathbb Rr∈Rmmmtkertt^ke^{rt}tkert,其中 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) 与 tkeαtsin⁡(βt)t^ke^{\alpha t}\sin(\beta t)tkeαtsin(βt),其中 k=0,…,m−1k=0,\ldots,m-1k=0,…,m−1

把 complex pair 的两个成员都算进去,最后一定得到与方程阶数相同数量的 independent real solutions。

从 roots 判断长期行为

当 t→∞t\to\inftyt→∞ 时,与 r=α+iβr=\alpha+i\betar=α+iβ 对应的 mode 有下面这种 envelope:

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

因此,可以直接按 real part 判断:

  • 若 α<0\alpha<0α<0,mode 趋于零。Negative exponential 的衰减会压过任何固定次数的 ttt。
  • 若 α>0\alpha>0α>0,除非 coefficient 为零,否则 mode 的 envelope 会按 exponential 增长,因而无界。
  • 若 α=0\alpha=0α=0 且 k=0k=0k=0,mode 是常数或持续的 bounded oscillation。
  • 若 α=0\alpha=0α=0 且 k≥1k\ge1k≥1,除非 coefficient 为零,否则 polynomial factor 会让 envelope 无界增长。

要让完整 solution 趋于零,每一个不衰减的 mode 的 coefficient 都必须为零。不同 exponential rates 之间的抵消,不能在所有足够大的 ttt 上消除增长。

例如,在

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,

中,e−te^{-t}e−t mode 会衰减;除非 C1=0C_1=0C1​=0,否则 ete^tet mode 会增长;sine 和 cosine modes 则会一直存在,除非 C3=C4=0C_3=C_4=0C3​=C4​=0。因此,y(t)→0y(t)\to0y(t)→0 当且仅当

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

Higher-order nonhomogeneous equations

对 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),

undetermined coefficients 与 second-order 时的思路相同。先求 complementary solution ycy_cyc​,再根据 forcing 选择一个在反复求 derivative 后仍保持同类形式的 trial family,作为 ypy_pyp​。

例如:

  • Pd(t)eαtP_d(t)e^{\alpha t}Pd​(t)eαt 对应 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) 或 Pd(t)eαtsin⁡(βt)P_d(t)e^{\alpha t}\sin(\beta t)Pd​(t)eαtsin(βt) 要同时保留 sine 与 cosine:
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)].

这里 PdP_dPd​ 是已知的 degree-ddd polynomial;QdQ_dQd​ 与 RdR_dRd​ 则是从最高次项到常数项都完整保留、coefficients 尚待确定的 degree-ddd polynomials。

Resonance 与 multiplicity

把 natural trial 代入之前,先比较它的 exponential frequency 与 characteristic roots。令

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

如果 zzz 是 multiplicity 为 mmm 的 characteristic root,就把整个 natural trial 乘上 tmt^mtm:

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

如果 zzz 不是 root,就取 m=0m=0m=0,不需要额外的 ttt。这个规则把 trial 移出 homogeneous solution space,但还没有确定 unknown coefficients;仍然要把 trial 代回原 ODE 才能求出它们。

当 g=g1+g2g=g_1+g_2g=g1​+g2​ 时,可以利用 linearity 分别寻找 particular solutions,再把它们相加:

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

例:没有 resonance 的 exponential forcing

求解

y(4)−y=3e2t.y^{(4)}-y=3e^{2t}. y(4)−y=3e2t.

Associated homogeneous equation 的 characteristic polynomial 是

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),

所以

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.

Forcing 对应 r=2r=2r=2,并且

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

这里没有 resonance,因此尝试

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

它的 fourth derivative 是 16Ae2t16Ae^{2t}16Ae2t。代回方程:

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,

所以 A=1/5A=1/5A=1/5。General solution 为

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

例:同时含有 resonance 与 constant forcing

求解

y′′′−y′′−y′+y=2e−t+3.y'''-y''-y'+y=2e^{-t}+3. y′′′−y′′−y′+y=2e−t+3.

Characteristic polynomial 可以 factorize 为

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).​

因此,r=1r=1r=1 是 double root,r=−1r=-1r=−1 是 simple root,并且

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

分别处理两个 forcing terms。Natural trial Ae−tAe^{-t}Ae−t 与 simple root −1-1−1 重合,所以要乘一个 ttt。Constant forcing 对应 r=0r=0r=0,而 P(0)=1≠0P(0)=1\ne0P(0)=1=0,所以不必调整它的 trial。取

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

依次求 derivatives:

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

代回左侧:

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

所以 A=1/2A=1/2A=1/2、B=3B=3B=3。General solution 为

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

这个 solution 也说明 forcing 会改变长期行为。两个含 e−te^{-t}e−t 的 terms 都会衰减,但 particular constant 会留下来。只有当 growing coefficients 消失,也就是

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

solution 才会趋于 333。它不可能趋于零,因为 constant forcing 产生了无法去掉的 steady particular solution 333。

来源: https://notes.ohevan.com/zh/notes/ode/05-higher-order-linear-equations

© 2026 Evan Luo. 保留所有权利。

返回 Ordinary Differential Equations

0 次阅读

·最后编辑 2026年10月22日
  • 邮件订阅

  • 关于我

  • 赞助

© 2026 Evan Luo. 保留所有权利。