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 例题

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan Luo · 2026年10月16日

Ordinary Differential Equations

§4 Higher-Order Linear Equations

Evan Luo3 天前

8 分钟

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 全部满足。

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

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

返回 Ordinary Differential Equations

0 次阅读

·最后编辑 今天
  • 邮件订阅

  • 关于我

  • 赞助

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