113 年 國立臺灣大學數學系碩士班《常微分方程式》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題40 分

Let δ(t)\delta(t) be the Dirac delta function. Solve the following differential equations:
(a) y′′′+4y′′+5y′=δ(t−3)y''' + 4y'' + 5y' = \delta(t-3) with initial condition y(0)=y′(0)=y′′(0)=0y(0) = y'(0) = y''(0) = 0.
(b) y′′(t)−∫0tsin⁡(t−ξ)y(ξ)dξ=0y''(t) - \int_0^t \sin(t-\xi)y(\xi)d\xi = 0 with initial condition y(0)=0,y′(0)=1y(0) = 0, y'(0) = 1.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查兩種拉普拉斯變換(Laplace Transform)技巧:

  1. Dirac delta 函數與第二位移定理
    L{δ(t−a)}=e−as,L−1{e−asF(s)}=u(t−a)f(t−a),\mathcal{L}\{\delta(t-a)\}=e^{-as}, \qquad \mathcal{L}^{-1}\{e^{-as}F(s)\}=u(t-a)f(t-a),
    其中 u(t−a)u(t-a) 為單位步階函數(Heaviside step function)。

  2. 卷積定理(Convolution Theorem)
    若 (f∗g)(t)=∫0tf(t−ξ)g(ξ) dξ(f*g)(t)=\int_0^t f(t-\xi)g(\xi)\,d\xi,則
    L{(f∗g)(t)}=F(s)G(s).\mathcal{L}\{(f*g)(t)\}=F(s)G(s).


(a)含 Dirac delta 函數的三階微分方程

題目為
y′′′+4y′′+5y′=δ(t−3),y(0)=y′(0)=y′′(0)=0.y'''+4y''+5y'=\delta(t-3), \qquad y(0)=y'(0)=y''(0)=0.

1. 對方程取拉普拉斯變換

令 Y(s)=L{y(t)}Y(s)=\mathcal{L}\{y(t)\}。由初始條件 y(0)=y′(0)=y′′(0)=0y(0)=y'(0)=y''(0)=0,可得
L{y′′′}=s3Y(s),L{4y′′}=4s2Y(s),L{5y′}=5sY(s).\mathcal{L}\{y'''\}=s^3Y(s), \qquad \mathcal{L}\{4y''\}=4s^2Y(s), \qquad \mathcal{L}\{5y'\}=5sY(s).
右側為 L{δ(t−3)}=e−3s\mathcal{L}\{\delta(t-3)\}=e^{-3s},因此
(s3+4s2+5s)Y(s)=e−3s  ⟹  Y(s)=e−3s1s(s2+4s+5).(s^3+4s^2+5s)Y(s)=e^{-3s} \implies Y(s)=e^{-3s}\frac{1}{s(s^2+4s+5)}.

2. 部分分式分解與配方

設
1s(s2+4s+5)=As+Bs+Cs2+4s+5.\frac{1}{s(s^2+4s+5)}=\frac{A}{s}+\frac{Bs+C}{s^2+4s+5}.
通分比較分子係數:
1=A(s2+4s+5)+(Bs+C)s=(A+B)s2+(4A+C)s+5A,1=A(s^2+4s+5)+(Bs+C)s=(A+B)s^2+(4A+C)s+5A,
解得 A=15A=\frac{1}{5}、B=−15B=-\frac{1}{5}、C=−45C=-\frac{4}{5}。再將 s2+4s+5=(s+2)2+1s^2+4s+5=(s+2)^2+1 配方整理:
1s(s2+4s+5)=15[1s−s+4(s+2)2+1]=15[1s−s+2(s+2)2+1−2(s+2)2+1].\frac{1}{s(s^2+4s+5)}=\frac{1}{5}\left[\frac{1}{s}-\frac{s+4}{(s+2)^2+1}\right]=\frac{1}{5}\left[\frac{1}{s}-\frac{s+2}{(s+2)^2+1}-\frac{2}{(s+2)^2+1}\right].

3. 反拉普拉斯變換

先求不含指數因子的反變換:
g(t)=L−1{1s(s2+4s+5)}=15(1−e−2tcos⁡t−2e−2tsin⁡t).g(t)=\mathcal{L}^{-1}\left\{\frac{1}{s(s^2+4s+5)}\right\}=\frac{1}{5}\left(1-e^{-2t}\cos t-2e^{-2t}\sin t\right).
再利用第二位移定理乘上 e−3se^{-3s},即得
y(t)=u(t−3)g(t−3)=15u(t−3)[1−e−2(t−3)(cos⁡(t−3)+2sin⁡(t−3))].y(t)=u(t-3)g(t-3)=\frac{1}{5}u(t-3)\left[1-e^{-2(t-3)}\left(\cos(t-3)+2\sin(t-3)\right)\right].
亦可寫成分段形式:
y(t)={0,0≤t<3,15[1−e−2(t−3)(cos⁡(t−3)+2sin⁡(t−3))],t≥3.y(t)=\begin{cases}0, & 0\le t<3,\\[4pt] \dfrac{1}{5}\left[1-e^{-2(t-3)}\left(\cos(t-3)+2\sin(t-3)\right)\right], & t\ge 3.\end{cases}

4. 物理解釋與驗算

在 t=3t=3 之前無外力輸入,故 y(t)=0y(t)=0。在 t=3+t=3^+ 時,y(3+)=0y(3^+)=0、y′(3+)=0y'(3^+)=0,而
y′(t)=u(t−3)e−2(t−3)sin⁡(t−3),y′′(t)=u(t−3)e−2(t−3)(cos⁡(t−3)−2sin⁡(t−3)),y'(t)=u(t-3)e^{-2(t-3)}\sin(t-3), \qquad y''(t)=u(t-3)e^{-2(t-3)}\left(\cos(t-3)-2\sin(t-3)\right),
故 y′′(3+)=1y''(3^+)=1,表示單位脈衝 δ(t−3)\delta(t-3) 使二階導數 y′′y'' 在 t=3t=3 處產生大小為 11 的跳躍,完全符合三階脈衝微分方程的性質。


(b)含卷積積分的微分方程

題目為
y′′(t)−∫0tsin⁡(t−ξ)y(ξ) dξ=0,y(0)=0, y′(0)=1.y''(t)-\int_0^t \sin(t-\xi)y(\xi)\,d\xi=0, \qquad y(0)=0,\ y'(0)=1.

1. 對方程取拉普拉斯變換

令 Y(s)=L{y(t)}Y(s)=\mathcal{L}\{y(t)\}。由初始條件得
L{y′′(t)}=s2Y(s)−sy(0)−y′(0)=s2Y(s)−1.\mathcal{L}\{y''(t)\}=s^2Y(s)-sy(0)-y'(0)=s^2Y(s)-1.
積分項即卷積 (sin⁡t∗y)(t)(\sin t * y)(t),由卷積定理得
L{∫0tsin⁡(t−ξ)y(ξ) dξ}=L{sin⁡t} Y(s)=1s2+1Y(s).\mathcal{L}\left\{\int_0^t \sin(t-\xi)y(\xi)\,d\xi\right\}=\mathcal{L}\{\sin t\}\,Y(s)=\frac{1}{s^2+1}Y(s).
代回原方程:
s2Y(s)−1−Y(s)s2+1=0  ⟹  (s2−1s2+1)Y(s)=1,s^2Y(s)-1-\frac{Y(s)}{s^2+1}=0 \implies \left(s^2-\frac{1}{s^2+1}\right)Y(s)=1,
整理得
Y(s)=s2+1s4+s2−1.Y(s)=\frac{s^2+1}{s^4+s^2-1}.

2. 因式分解與部分分式

將 s4+s2−1s^4+s^2-1 視為關於 s2s^2 的二次式,其根為 s2=−1±52s^2=\frac{-1\pm\sqrt{5}}{2}。令
α=5−12,β=5+12,\alpha=\sqrt{\frac{\sqrt{5}-1}{2}}, \qquad \beta=\sqrt{\frac{\sqrt{5}+1}{2}},
則 α2+β2=5\alpha^2+\beta^2=\sqrt{5}、β2−α2=1\beta^2-\alpha^2=1,且 s4+s2−1=(s2−α2)(s2+β2)s^4+s^2-1=(s^2-\alpha^2)(s^2+\beta^2)。作部分分式分解:
s2+1(s2−α2)(s2+β2)=As2−α2+Bs2+β2.\frac{s^2+1}{(s^2-\alpha^2)(s^2+\beta^2)}=\frac{A}{s^2-\alpha^2}+\frac{B}{s^2+\beta^2}.

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題20 分

Find the general solution of the differential equation 9x2f′′(x)+3xf′(x)+f(x)=09x^2f''(x) + 3xf'(x) + f(x) = 0 for x>0x > 0.

登入後即可作答並保存紀錄。

這一題的完整詳解

本題考驗我們求解歐拉-柯西方程的能力。

給定的微分方程為 9x2f′′(x)+3xf′(x)+f(x)=09x^2f''(x) + 3xf'(x) + f(x) = 0,其中 x>0x > 0。
這是一個歐拉-柯西方程(Euler-Cauchy equation),其標準形式為 ax2y′′+bxy′+cy=0ax^2y'' + bxy' + cy = 0。

我們假設解的形式為 f(x)=xrf(x) = x^r。
則 f′(x)=rxr−1f'(x) = rx^{r-1} 且 f′′(x)=r(r−1)xr−2f''(x) = r(r-1)x^{r-2}。
將這些代入微分方程:
9x2[r(r−1)xr−2]+3x[rxr−1]+xr=09x^2 [r(r-1)x^{r-2}] + 3x [rx^{r-1}] + x^r = 0
9r(r−1)xr+3rxr+xr=09r(r-1)x^r + 3rx^r + x^r = 0
由於 x>0x > 0,我們可以將 xrx^r 提出來,得到特徵方程:
9r(r−1)+3r+1=09r(r-1) + 3r + 1 = 0
9r2−9r+3r+1=09r^2 - 9r + 3r + 1 = 0
9r2−6r+1=09r^2 - 6r + 1 = 0

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題20 分

Set A=(2110−11001)A = \begin{pmatrix} 2 & 1 & 1 \\ 0 & -1 & 1 \\ 0 & 0 & 1 \end{pmatrix}, X(t)=(x1(t)x2(t)x3(t))X(t) = \begin{pmatrix} x_1(t) \\ x_2(t) \\ x_3(t) \end{pmatrix}, f(t)=(0tcos⁡t)f(t) = \begin{pmatrix} 0 \\ t \\ \cos t \end{pmatrix}.
Find the solution to the differential system X′(t)=AX(t)+f(t)X'(t) = AX(t) + f(t) with the initial condition x1(0)=1,x2(0)=0x_1(0) = 1, x_2(0) = 0 and x3(0)=1x_3(0) = 1.

登入後即可作答並保存紀錄。

這一題的完整詳解

本題為三維一階非齊次線性常微分方程組的初值問題。由於係數矩陣 AA 為上三角矩陣,可將方程組展開後由下往上(從 x3x_3 到 x1x_1)依序以一階線性微分方程求解。

1. 展開微分方程組

由 X′(t)=AX(t)+f(t)X'(t) = AX(t) + f(t),可得:

{x1′(t)=2x1(t)+x2(t)+x3(t)x2′(t)=−x2(t)+x3(t)+tx3′(t)=x3(t)+cos⁡t\begin{cases} x_1'(t) = 2x_1(t) + x_2(t) + x_3(t) \\ x_2'(t) = -x_2(t) + x_3(t) + t \\ x_3'(t) = x_3(t) + \cos t \end{cases}

初始條件為 x1(0)=1x_1(0) = 1,x2(0)=0x_2(0) = 0,x3(0)=1x_3(0) = 1。


2. 求解 x3(t)x_3(t)

第三式改寫為:
x3′(t)−x3(t)=cos⁡tx_3'(t) - x_3(t) = \cos t
取積分因子 μ3(t)=e−t\mu_3(t) = e^{-t},兩邊同乘 e−te^{-t}:
ddt(e−tx3(t))=e−tcos⁡t\frac{d}{dt}\left(e^{-t} x_3(t)\right) = e^{-t} \cos t
兩邊積分(利用 ∫eatcos⁡(bt) dt=eata2+b2(acos⁡bt+bsin⁡bt)\int e^{at}\cos(bt)\,dt = \frac{e^{at}}{a^2+b^2}(a\cos bt + b\sin bt),取 a=−1,b=1a=-1, b=1):
e−tx3(t)=e−t2(sin⁡t−cos⁡t)+C3e^{-t} x_3(t) = \frac{e^{-t}}{2}(\sin t - \cos t) + C_3
x3(t)=C3et+12sin⁡t−12cos⁡tx_3(t) = C_3 e^t + \frac{1}{2}\sin t - \frac{1}{2}\cos t
代入 x3(0)=1x_3(0) = 1:
1=C3+0−12  ⟹  C3=321 = C_3 + 0 - \frac{1}{2} \implies C_3 = \frac{3}{2}
故得:
x3(t)=32et+12sin⁡t−12cos⁡tx_3(t) = \frac{3}{2}e^t + \frac{1}{2}\sin t - \frac{1}{2}\cos t


3. 求解 x2(t)x_2(t)

將 x3(t)x_3(t) 代入第二式並移項:
x2′(t)+x2(t)=32et+12sin⁡t−12cos⁡t+tx_2'(t) + x_2(t) = \frac{3}{2}e^t + \frac{1}{2}\sin t - \frac{1}{2}\cos t + t
取積分因子 μ2(t)=et\mu_2(t) = e^t,兩邊同乘 ete^t:
ddt(etx2(t))=32e2t+12et(sin⁡t−cos⁡t)+tet\frac{d}{dt}\left(e^t x_2(t)\right) = \frac{3}{2}e^{2t} + \frac{1}{2}e^t(\sin t - \cos t) + te^t
逐項積分:

  • ∫32e2t dt=34e2t\int \frac{3}{2}e^{2t}\,dt = \frac{3}{4}e^{2t}
  • ∫12et(sin⁡t−cos⁡t) dt=−12etcos⁡t\int \frac{1}{2}e^t(\sin t - \cos t)\,dt = -\frac{1}{2}e^t\cos t
  • ∫tet dt=(t−1)et\int te^t\,dt = (t - 1)e^t

因此:
etx2(t)=34e2t−12etcos⁡t+(t−1)et+C2e^t x_2(t) = \frac{3}{4}e^{2t} - \frac{1}{2}e^t\cos t + (t - 1)e^t + C_2
x2(t)=34et+C2e−t−12cos⁡t+t−1x_2(t) = \frac{3}{4}e^t + C_2 e^{-t} - \frac{1}{2}\cos t + t - 1
代入 x2(0)=0x_2(0) = 0:
0=34+C2−12−1  ⟹  C2=340 = \frac{3}{4} + C_2 - \frac{1}{2} - 1 \implies C_2 = \frac{3}{4}
故得:
x2(t)=34et+34e−t−12cos⁡t+t−1x_2(t) = \frac{3}{4}e^t + \frac{3}{4}e^{-t} - \frac{1}{2}\cos t + t - 1


4. 求解 x1(t)x_1(t)

先計算 x2(t)+x3(t)x_2(t) + x_3(t):
x2(t)+x3(t)=94et+34e−t+12sin⁡t−cos⁡t+t−1x_2(t) + x_3(t) = \frac{9}{4}e^t + \frac{3}{4}e^{-t} + \frac{1}{2}\sin t - \cos t + t - 1
代入第一式並移項:
x1′(t)−2x1(t)=94et+34e−t+12sin⁡t−cos⁡t+t−1x_1'(t) - 2x_1(t) = \frac{9}{4}e^t + \frac{3}{4}e^{-t} + \frac{1}{2}\sin t - \cos t + t - 1
取積分因子 μ1(t)=e−2t\mu_1(t) = e^{-2t},兩邊同乘 e−2te^{-2t}:
ddt(e−2tx1(t))=94e−t+34e−3t+12e−2tsin⁡t−e−2tcos⁡t+(t−1)e−2t\frac{d}{dt}\left(e^{-2t}x_1(t)\right) = \frac{9}{4}e^{-t} + \frac{3}{4}e^{-3t} + \frac{1}{2}e^{-2t}\sin t - e^{-2t}\cos t + (t - 1)e^{-2t}
逐項積分:

  • ∫94e−t dt=−94e−t\int \frac{9}{4}e^{-t}\,dt = -\frac{9}{4}e^{-t}
  • ∫34e−3t dt=−14e−3t\int \frac{3}{4}e^{-3t}\,dt = -\frac{1}{4}e^{-3t}
  • ∫e−2tsin⁡t dt=e−2t5(−2sin⁡t−cos⁡t)\int e^{-2t}\sin t\,dt = \frac{e^{-2t}}{5}(-2\sin t - \cos t),∫e−2tcos⁡t dt=e−2t5(−2cos⁡t+sin⁡t)\int e^{-2t}\cos t\,dt = \frac{e^{-2t}}{5}(-2\cos t + \sin t),故
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題20 分

Solve the following initial value problem
x(4)(t)−x(3)(t)+x′′(t)−x′(t)=sin⁡(t).x^{(4)}(t) - x^{(3)}(t) + x''(t) - x'(t) = \sin(t).
with the initial condition x(0)=x′(0)=x′′(0)=x(3)(0)=0x(0) = x'(0) = x''(0) = x^{(3)}(0) = 0.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查常係數線性非齊次微分方程式的初值問題。由於四個初始條件皆為 00,採用拉普拉斯變換(Laplace transform)最為簡潔,可將微分方程直接化為代數方程,並一次納入所有零初值條件。

對零初值函數 x(t)x(t)(滿足 x(0)=x′(0)=⋯=x(n−1)(0)=0x(0) = x'(0) = \cdots = x^{(n-1)}(0) = 0),有

L{x(n)(t)}=snX(s),\mathcal{L}\{x^{(n)}(t)\} = s^n X(s),

其中 X(s)=L{x(t)}X(s) = \mathcal{L}\{x(t)\}。另外,

L{sin⁡t}=1s2+1.\mathcal{L}\{\sin t\} = \frac{1}{s^2 + 1}.

解題方法

原微分方程為

x(4)(t)−x(3)(t)+x′′(t)−x′(t)=sin⁡t.x^{(4)}(t) - x^{(3)}(t) + x''(t) - x'(t) = \sin t.

令 X(s)=L{x(t)}X(s) = \mathcal{L}\{x(t)\},對等式兩邊取拉普拉斯變換並代入零初值條件 x(0)=x′(0)=x′′(0)=x(3)(0)=0x(0) = x'(0) = x''(0) = x^{(3)}(0) = 0,得

(s4−s3+s2−s)X(s)=1s2+1.(s^4 - s^3 + s^2 - s)X(s) = \frac{1}{s^2 + 1}.

將左側多項式因式分解:

s4−s3+s2−s=s(s3−s2+s−1)=s(s−1)(s2+1).s^4 - s^3 + s^2 - s = s(s^3 - s^2 + s - 1) = s(s - 1)(s^2 + 1).

因此

X(s)=1s(s−1)(s2+1)2.X(s) = \frac{1}{s(s - 1)(s^2 + 1)^2}.

進行部分分式分解,設

1s(s−1)(s2+1)2=As+Bs−1+Cs+Ds2+1+Es+F(s2+1)2.\frac{1}{s(s - 1)(s^2 + 1)^2} = \frac{A}{s} + \frac{B}{s - 1} + \frac{Cs + D}{s^2 + 1} + \frac{Es + F}{(s^2 + 1)^2}.

兩邊同乘 s(s−1)(s2+1)2s(s - 1)(s^2 + 1)^2,得

1=A(s−1)(s2+1)2+Bs(s2+1)2+(Cs+D)s(s−1)(s2+1)+(Es+F)s(s−1).1 = A(s - 1)(s^2 + 1)^2 + Bs(s^2 + 1)^2 + (Cs + D)s(s - 1)(s^2 + 1) + (Es + F)s(s - 1).
  1. 代入 s=0s = 0:

    1=A(−1)(1)2  ⟹  A=−1.1 = A(-1)(1)^2 \implies A = -1.
  2. 代入 s=1s = 1:

    1=B(1)(2)2  ⟹  B=14.1 = B(1)(2)^2 \implies B = \frac{1}{4}.
  3. 代入 s=is = i(此時 s2+1=0s^2 + 1 = 0):

    1=(Ei+F)i(i−1)=(Ei+F)(−1−i)=(E−F)−(E+F)i.1 = (Ei + F)i(i - 1) = (Ei + F)(-1 - i) = (E - F) - (E + F)i.

    比較實部與虛部,得 E−F=1E - F = 1 且 E+F=0E + F = 0,解得

    E=12,F=−12.E = \frac{1}{2}, \qquad F = -\frac{1}{2}.
  4. 比較 s5s^5 與 s4s^4 的係數(已知 A=−1,B=14A = -1, B = \frac{1}{4}):

    • s5s^5 項係數:A+B+C=0  ⟹  −1+14+C=0  ⟹  C=34A + B + C = 0 \implies -1 + \frac{1}{4} + C = 0 \implies C = \frac{3}{4}。
    • s4s^4 項係數:−A+(D−C)=0  ⟹  1+D−34=0  ⟹  D=−14-A + (D - C) = 0 \implies 1 + D - \frac{3}{4} = 0 \implies D = -\frac{1}{4}。

將係數代回,可得

X(s)=−1s+14⋅1s−1+34⋅ss2+1−14⋅1s2+1+12⋅s(s2+1)2−12⋅1(s2+1)2.X(s) = -\frac{1}{s} + \frac{1}{4}\cdot\frac{1}{s - 1} + \frac{3}{4}\cdot\frac{s}{s^2 + 1} - \frac{1}{4}\cdot\frac{1}{s^2 + 1} + \frac{1}{2}\cdot\frac{s}{(s^2 + 1)^2} - \frac{1}{2}\cdot\frac{1}{(s^2 + 1)^2}.

利用標準反拉普拉斯變換公式:

L−1{s(s2+1)2}=12tsin⁡t,L−1{1(s2+1)2}=12(sin⁡t−tcos⁡t),\mathcal{L}^{-1}\left\{\frac{s}{(s^2 + 1)^2}\right\} = \frac{1}{2}t\sin t, \qquad \mathcal{L}^{-1}\left\{\frac{1}{(s^2 + 1)^2}\right\} = \frac{1}{2}(\sin t - t\cos t),

逐項取反拉普拉斯變換,得

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題