Higher-order linear equation 与 second-order equation 的基本思路相同:先解 associated homogeneous equation;如果有 forcing term,再加上一个 particular solution。不同之处在于,nth-order equation 需要 n 个 independent homogeneous solutions,也需要 n 个 initial conditions。
一般的 nth-order linear equation
在 interval I 上,考虑 normalized equation
y(n)+p1(t)y(n−1)+⋯+pn−1(t)y′+pn(t)y=g(t).
这里,y(k) 表示 y 对 t 的第 k 阶 derivative。y(n) 前面的 coefficient 是 1,所以这个方程称为 normalized。如果原方程的最高阶 derivative 前有一个不为零的 coefficient,应先在它不取零的 interval 上把整个方程除以它,再使用这个形式。
右边为零时,方程是 homogeneous:
y(n)+p1(t)y(n−1)+⋯+pn−1(t)y′+pn(t)y=0.
如果 g 不恒为零,方程就是 nonhomogeneous,而 g(t) 是 forcing term。
Initial conditions 与 interval theorem
一个 nth-order initial-value problem 会在同一点 t0 指定 solution 本身以及前 n−1 阶 derivatives 的值:
y(t0)=b0,y′(t0)=b1,…,y(n−1)(t0)=bn−1.
假设 I 是 open interval,t0∈I,并且
p1,…,pn,g
在 I 上都 continuous。那么,无论怎样选取 n 个 initial values b0,…,bn−1,都恰好有一个 solution 定义在整个 I 上。与 second-order theorem 一样,interval 不能省略:原方程最高阶 coefficient 的零点,或者 normalized coefficient 的 discontinuity,都可能把 real line 分成不同的有效 intervals。
Fundamental sets 与 Wronskian
假设 y1,…,yn 都是在 I 上满足 associated homogeneous equation 的 solutions。它们的 Wronskian 定义为
W[y1,…,yn](t)=dety1(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−1 阶 derivatives。如果在某一点 t0∈I 有
W[y1,…,yn](t0)=0
这些列就是 independent 的。再结合 initial-value theorem,可知任意 n 个 initial values 都能由唯一一个 linear combination
c1y1+⋯+cnyn.
来匹配。此时,{y1,…,yn} 称为 I 上的 fundamental set of solutions,而 homogeneous general solution 是
yc(t)=c1y1(t)+⋯+cnyn(t).
下标 c 表示 complementary solution。对于同一个 regular homogeneous linear equation 的 solutions,Wronskian 只要在 interval 中某一点不为零,就会在整个 interval 上保持不为零。
加上 particular solution
设 yp 是 nonhomogeneous equation 的任意一个 particular solution。那么,它的 general solution 为
y(t)=yc(t)+yp(t)=c1y1(t)+⋯+cnyn(t)+yp(t)
这个结论来自 linearity。用 L[y]=g 表示 nonhomogeneous equation。如果 y 和 yp 都满足它,那么
L[y−yp]=L[y]−L[yp]=g−g=0.
所以 y−yp 一定是 homogeneous solution,可以用 fundamental set 写成 c1y1+⋯+cnyn。yc 中的 n 个 constants 正好用来匹配 n 个 initial conditions;particular solution 不会再增加 arbitrary constant。
Constant coefficients 的 homogeneous equations
现在考虑
a0y(n)+a1y(n−1)+⋯+an−1y′+any=0,a0=0,
其中每个 aj 都是常数。Exponential function 很适合这个问题,因为每求一次 derivative,只会多乘一个相同的数。尝试
y(t)=ert.
由于 y(k)=rkert,代入方程可得
ert(a0rn+a1rn−1+⋯+an−1r+an)=0.
ert 永远不为零,所以 r 必须满足 characteristic equation
P(r)=a0rn+a1rn−1+⋯+an−1r+an=0.
Fundamental Theorem of Algebra 说明:计算 multiplicity 时,degree-n characteristic polynomial 一共有 n 个 complex roots。这里先只考虑 n 个 roots r1,…,rn 都是 distinct real numbers 的情形。每一个 root 都给出一个 exponential solution erjt。
为什么 distinct exponentials 是 independent 的
按 Wronskian 各列采用的顺序排列 roots。对
yj(t)=erjt,
Wronskian 为
W(t)=deter1tr1er1t⋮r1n−1er1ter2tr2er2t⋮r2n−1er2t⋯⋯⋱⋯erntrnernt⋮rnn−1ernt=e(r1+⋯+rn)tdet1r1⋮r1n−11r2⋮r2n−1⋯⋯⋱⋯1rn⋮rnn−1=e(r1+⋯+rn)t1≤i<j≤n∏(rj−ri).
最后一个 determinant 称为 Vandermonde determinant。Exponential factor 永远不为零;由于 roots 互不相同,每个差 rj−ri 也不为零。因此,这些 exponentials 构成 fundamental set,并且
y(t)=c1er1t+⋯+cnernt.
一个 fourth-order 例题
求解 initial-value problem
y(4)+y′′′−7y′′−y′+6y=0,
y(0)=1,y′(0)=0,y′′(0)=−2,y′′′(0)=−1.
Characteristic polynomial 为
P(r)=r4+r3−7r2−r+6.
因为 P(1)=0,先除以 r−1:
P(r)=(r−1)(r3+2r2−5r−6).
Cubic polynomial 在 r=−1 时为零,剩下的 quadratic factor 为 r2+r−6=(r−2)(r+3)。所以
P(r)=(r+3)(r+1)(r−1)(r−2).
按从小到大的顺序取
r1=−3,r2=−1,r3=1,r4=2,
得到 fundamental solutions
e−3t,e−t,et,e2t.
在 t=0 处,它们的 Wronskian matrix 是
1−39−271−11−111111248.
它的 determinant 是 Vandermonde product:
i<j∏(rj−ri)=240=0,
因此,四个 exponentials 确实 independent。写成
y(t)=c1e−3t+c2e−t+c3et+c4e2t.
代入四个 initial conditions,得到
1−39−271−11−111111248c1c2c3c4=10−2−1.
解这个 system:
c1=−81,c2=125,c3=811,c4=−32.
所以
y(t)=−81e−3t+125e−t+811et−32e2t.
每个 exponential 都满足 differential equation,因为它的 exponent 是 P 的一个 root。把 t=0 代入 solution 及其前三阶 derivatives,依次得到 1、0、−2、−1,所以四个 initial conditions 全部满足。