113 年 國立成功大學系統及船舶機電工程研究所丙組《工程數學》

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

第 1 題20 分

  1. Find f(x)f(x) in the Fourier series, and then solve the following series. (20%)
    f(x)=2∣x∣f(x) = 2|x|, (−π<x<π)(-\pi < x < \pi)
    112+132+152+172+⋯=?\frac{1}{1^2} + \frac{1}{3^2} + \frac{1}{5^2} + \frac{1}{7^2} + \dots = ?

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

這一題的完整詳解

核心觀念

本題考查:

  • 偶函數的 Fourier cosine series。
  • Fourier 係數的計算。
  • 利用適當代入點求出奇數平方倒數級數。

在 −π<x<π-\pi<x<\pi 上,Fourier series 標準形式為

f(x)=a02+∑n=1∞(ancos⁡nx+bnsin⁡nx),f(x)=\frac{a_0}{2}+\sum_{n=1}^{\infty}\left(a_n\cos nx+b_n\sin nx\right),

其中

a0=1π∫−ππf(x) dx,a_0=\frac{1}{\pi}\int_{-\pi}^{\pi}f(x)\,dx, an=1π∫−ππf(x)cos⁡nx dx,bn=1π∫−ππf(x)sin⁡nx dx.a_n=\frac{1}{\pi}\int_{-\pi}^{\pi}f(x)\cos nx\,dx, \qquad b_n=\frac{1}{\pi}\int_{-\pi}^{\pi}f(x)\sin nx\,dx.

由於 f(x)=2∣x∣f(x)=2|x| 是偶函數,而 sin⁡nx\sin nx 是奇函數,因此

bn=0.b_n=0.

所以只需計算 a0a_0 與 ana_n。

解題方法

1. 計算常數項

由偶函數性質,

a0=1π∫−ππ2∣x∣ dx=2π∫0π2x dx.a_0 =\frac{1}{\pi}\int_{-\pi}^{\pi}2|x|\,dx =\frac{2}{\pi}\int_0^\pi 2x\,dx.

因此

a0=4π[x22]0π=4π⋅π22=2π.a_0 =\frac{4}{\pi}\left[\frac{x^2}{2}\right]_0^\pi =\frac{4}{\pi}\cdot\frac{\pi^2}{2} =2\pi.

故

a02=π.\frac{a_0}{2}=\pi.

2. 計算 cosine 係數

同樣利用偶函數性質,

an=1π∫−ππ2∣x∣cos⁡nx dx=4π∫0πxcos⁡nx dx.a_n =\frac{1}{\pi}\int_{-\pi}^{\pi}2|x|\cos nx\,dx =\frac{4}{\pi}\int_0^\pi x\cos nx\,dx.

分部積分:

令

u=x,dv=cos⁡nx dx,u=x,\qquad dv=\cos nx\,dx,

則

du=dx,v=sin⁡nxn.du=dx,\qquad v=\frac{\sin nx}{n}.

因此

∫xcos⁡nx dx=xsin⁡nxn−1n∫sin⁡nx dx=xsin⁡nxn+cos⁡nxn2.\int x\cos nx\,dx =\frac{x\sin nx}{n}-\frac{1}{n}\int\sin nx\,dx =\frac{x\sin nx}{n}+\frac{\cos nx}{n^2}.

代入 00 與 π\pi:

∫0πxcos⁡nx dx=[xsin⁡nxn+cos⁡nxn2]0π.\int_0^\pi x\cos nx\,dx = \left[ \frac{x\sin nx}{n}+\frac{\cos nx}{n^2} \right]_0^\pi.

因為 sin⁡nπ=0\sin n\pi=0、cos⁡nπ=(−1)n\cos n\pi=(-1)^n,所以

∫0πxcos⁡nx dx=(−1)n−1n2.\int_0^\pi x\cos nx\,dx = \frac{(-1)^n-1}{n^2}.

故

an=4π(−1)n−1n2.a_n =\frac{4}{\pi}\frac{(-1)^n-1}{n^2}.

分奇偶討論:

  • 當 nn 為偶數時,(−1)n=1(-1)^n=1,因此 an=0a_n=0。
  • 當 nn 為奇數時,(−1)n=−1(-1)^n=-1,因此
an=−8πn2.a_n=-\frac{8}{\pi n^2}.

所以 f(x)=2∣x∣f(x)=2|x| 的 Fourier series 為

2∣x∣=π−8π(cos⁡x12+cos⁡3x32+cos⁡5x52+⋯ )\boxed{ 2|x| = \pi-\frac{8}{\pi} \left( \frac{\cos x}{1^2} +\frac{\cos 3x}{3^2} +\frac{\cos 5x}{5^2} +\cdots \right) }

也可寫成

2∣x∣=π−8π∑k=0∞cos⁡((2k+1)x)(2k+1)2.2|x| = \pi-\frac{8}{\pi} \sum_{k=0}^{\infty} \frac{\cos\bigl((2k+1)x\bigr)}{(2k+1)^2}.
🔒

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

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

免費註冊

第 2 題20 分

  1. Find the solution of u(x,t)u(x, t). (20%)
    ∂u∂t+∂u∂x=u\frac{\partial u}{\partial t} + \frac{\partial u}{\partial x} = u
    x>0,t>0x > 0, t > 0, B.C.: u(0,t)=3e−tu(0,t) = 3e^{-t}

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

這一題的完整詳解

核心觀念

本題是一次一階線性偏微分方程式,適合使用「特徵線法」求解:

∂u∂t+∂u∂x=u.\frac{\partial u}{\partial t}+\frac{\partial u}{\partial x}=u.

特徵線法將偏微分方程式轉換為沿著特徵線的常微分方程式。特徵線由

dxdt=1\frac{dx}{dt}=1

決定,而 uu 沿特徵線滿足

dudt=u.\frac{du}{dt}=u.

解題方法:特徵線法

1. 求特徵線

由

dxdt=1\frac{dx}{dt}=1

積分得

x=t+C,x=t+C,

因此

x−t=C.x-t=C.

所以特徵線為斜率 11 的直線:

x−t=常數.x-t=\text{常數}.

2. 求 uu 沿特徵線的變化

沿著特徵線,有

dudt=∂u∂t+dxdt∂u∂x=∂u∂t+∂u∂x.\frac{du}{dt} = \frac{\partial u}{\partial t} + \frac{dx}{dt}\frac{\partial u}{\partial x} = \frac{\partial u}{\partial t} + \frac{\partial u}{\partial x}.

由原方程式可得

dudt=u.\frac{du}{dt}=u.

因此

duu=dt,\frac{du}{u}=dt,

積分後得到

ln⁡∣u∣=t+C,\ln |u|=t+C,

故

u=Cet.u=Ce^t.

其中常數 CC 可視為特徵線 x−tx-t 的函數,因此一般解為

u(x,t)=etF(x−t),u(x,t)=e^tF(x-t),

其中 FF 為任意函數。


3. 套用邊界條件

邊界條件為

u(0,t)=3e−t.u(0,t)=3e^{-t}.

代入一般解:

u(0,t)=etF(−t)=3e−t.u(0,t)=e^tF(-t)=3e^{-t}.

所以

F(−t)=3e−2t.F(-t)=3e^{-2t}.

在邊界能影響到的區域 0<x<t0<x<t 中,特徵線會在時間

t0=t−xt_0=t-x

時與 x=0x=0 相交。此時邊界值為

u(0,t−x)=3e−(t−x).u(0,t-x)=3e^{-(t-x)}.

沿特徵線由時間 t−xt-x 移動至時間 tt,經過時間長度 xx,而 uu 會乘上 exe^x,因此

u(x,t)=u(0,t−x)ex.u(x,t)=u(0,t-x)e^x.

代入邊界值:

u(x,t)=3e−(t−x)ex=3e−t+2x.u(x,t) = 3e^{-(t-x)}e^x = 3e^{-t+2x}.

所以在邊界資料可決定的區域 0<x<t0<x<t,

u(x,t)=3e2x−t.u(x,t)=3e^{2x-t}.

資訊不足之處與完整解

題目只給定 x=0x=0 的邊界條件,卻要求整個 x>0, t>0x>0,\ t>0 區域的解。

當 x>tx>t 時,通過 (x,t)(x,t) 的特徵線向後延伸會先與初始線 t=0t=0 相交,而不是與邊界 x=0x=0 相交。因此,僅憑題目給出的邊界條件,無法唯一決定 x>tx>t 區域的解。

若補充初始條件

u(x,0)=φ(x),x>0,u(x,0)=\varphi(x),\qquad x>0,

則對於 x>tx>t,特徵線在

(x−t,0)(x-t,0)

處與初始線相交,因此

🔒

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

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

免費註冊

第 3 題20 分

  1. Evaluate the integral ∭SF⋅n dA\iiint_S \mathbf{F} \cdot \mathbf{n} \, dA. (20%)
    F=[x,y,z4]\mathbf{F} = [x, y, z^4], S:x2+y2+z2=16S: x^2 + y^2 + z^2 = 16

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

這一題的完整詳解

核心觀念

本題考查高斯散度定理(Divergence Theorem):

∬SF⋅n dA=∭V∇⋅F dV,\iint_S \mathbf{F}\cdot\mathbf{n}\,dA = \iiint_V \nabla\cdot\mathbf{F}\,dV,

其中 SS 是封閉曲面,VV 是其所包圍的體積,n\mathbf{n} 為外向單位法向量。

題目給定

F=[x,y,z4],S:x2+y2+z2=16.\mathbf{F}=[x,y,z^4], \qquad S:x^2+y^2+z^2=16.

因此 SS 是半徑 44、中心在原點的球面,所包圍的球體記為

V:x2+y2+z2≤16.V:x^2+y^2+z^2\le 16.

解題方法

由高斯散度定理,

∬SF⋅n dA=∭V∇⋅F dV.\iint_S \mathbf{F}\cdot\mathbf{n}\,dA = \iiint_V \nabla\cdot\mathbf{F}\,dV.

先計算向量場的散度:

∇⋅F=∂x∂x+∂y∂y+∂z4∂z.\nabla\cdot\mathbf{F} = \frac{\partial x}{\partial x} + \frac{\partial y}{\partial y} + \frac{\partial z^4}{\partial z}.

因此

∇⋅F=1+1+4z3=2+4z3.\nabla\cdot\mathbf{F} = 1+1+4z^3 = 2+4z^3.

所以通量為

∬SF⋅n dA=∭V(2+4z3) dV.\iint_S \mathbf{F}\cdot\mathbf{n}\,dA = \iiint_V(2+4z^3)\,dV.

將積分拆開:

∭V(2+4z3) dV=2∭VdV+4∭Vz3 dV.\iiint_V(2+4z^3)\,dV = 2\iiint_VdV+4\iiint_Vz^3\,dV.

球體 VV 關於 xyxy 平面對稱,而 z3z^3 是關於 zz 的奇函數,因此

∭Vz3 dV=0.\iiint_Vz^3\,dV=0.

球體半徑為 44,其體積為

🔒

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

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

免費註冊

第 4 題20 分

  1. Find the inverse Laplace transform of F(s)F(s). (20%)
    F(s)=ln⁡(s2+1(s−1)4)F(s) = \ln \left( \frac{s^2+1}{(s-1)^4} \right)

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

這一題的完整詳解

核心觀念

本題考查:

  • 拉普拉斯反變換的線性性;
  • 對 ss 微分的性質
    L{tf(t)}=−ddsF(s);\mathcal{L}\{t f(t)\}=-\frac{d}{ds}F(s);
  • 基本反變換
    L−1{ss2+1}=cos⁡t,\mathcal{L}^{-1}\left\{\frac{s}{s^2+1}\right\}=\cos t,
    L−1{1s−1}=et.\mathcal{L}^{-1}\left\{\frac{1}{s-1}\right\}=e^t.

由於 F(s)F(s) 含有對數,直接查表不便,對 ss 微分可將對數化為有理函數,再進行反變換。


解題方法

令

f(t)=L−1{F(s)}.f(t)=\mathcal{L}^{-1}\{F(s)\}.

題目給定

F(s)=ln⁡(s2+1(s−1)4)=ln⁡(s2+1)−4ln⁡(s−1).F(s)=\ln\left(\frac{s^2+1}{(s-1)^4}\right) =\ln(s^2+1)-4\ln(s-1).

對 ss 微分:

F′(s)=2ss2+1−4s−1.F'(s) =\frac{2s}{s^2+1}-\frac{4}{s-1}.

利用公式

L{tf(t)}=−F′(s),\mathcal{L}\{t f(t)\}=-F'(s),

得到

L{tf(t)}=−2ss2+1+4s−1.\mathcal{L}\{t f(t)\} =-\frac{2s}{s^2+1}+\frac{4}{s-1}.

逐項反拉普拉斯變換:

tf(t)=−2cos⁡t+4et.t f(t) =-2\cos t+4e^t.

因此

f(t)=4et−2cos⁡tt.f(t)=\frac{4e^t-2\cos t}{t}.

故

L−1{ln⁡(s2+1(s−1)4)}=4et−2cos⁡tt\boxed{\mathcal{L}^{-1}\left\{ \ln\left(\frac{s^2+1}{(s-1)^4}\right) \right\} =\frac{4e^t-2\cos t}{t}}

其中對數型反變換在 t=0t=0 附近須以廣義函數/有限部積分的意義理解;工程數學標準答案通常直接寫成上述形式。


解題技巧與常見陷阱

🔒

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

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

免費註冊

第 5 題20 分

  1. Find the solution yy by using the method of undetermined coefficients. (20%)
    d2ydx2−dydx+y=6x2ex\frac{d^2y}{dx^2} - \frac{dy}{dx} + y = 6x^2e^x

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

這一題的完整詳解

核心觀念

本題考查二階常係數非齊次微分方程:

y′′−y′+y=6x2exy''-y'+y=6x^2e^x

解法分為兩部分:

  1. 先求齊次解 yhy_h。
  2. 再利用待定係數法求特解 ypy_p。

最後通解為

y=yh+yp。y=y_h+y_p。

一、求齊次解

先考慮對應的齊次方程:

y′′−y′+y=0。y''-y'+y=0。

其特徵方程為

r2−r+1=0。r^2-r+1=0。

解得

r=1±1−42=1±i32。r=\frac{1\pm\sqrt{1-4}}{2} =\frac{1\pm i\sqrt{3}}{2}。

因此

α=12,β=32。\alpha=\frac12,\qquad \beta=\frac{\sqrt3}{2}。

根據複數共軛根的標準形式,齊次解為

yh=eαx(C1cos⁡βx+C2sin⁡βx)。y_h=e^{\alpha x}\left(C_1\cos\beta x+C_2\sin\beta x\right)。

所以

yh=ex/2[C1cos⁡(32x)+C2sin⁡(32x)]。y_h=e^{x/2} \left[ C_1\cos\left(\frac{\sqrt3}{2}x\right) +C_2\sin\left(\frac{\sqrt3}{2}x\right) \right]。

二、利用待定係數法求特解

右側非齊次項為

6x2ex。6x^2e^x。

因為多項式為二次式,先設特解形式為

yp=ex(Ax2+Bx+C)。y_p=e^x(Ax^2+Bx+C)。

此時直接微分代入雖可行,但計算較繁。令

yp=exv(x),v(x)=Ax2+Bx+C。y_p=e^xv(x), \qquad v(x)=Ax^2+Bx+C。

則

yp′=ex(v+v′),y_p'=e^x(v+v'),

以及

yp′′=ex(v+2v′+v′′)。y_p''=e^x(v+2v'+v'')。

代入原方程左側:

\begin{align*}
y_p''-y_p'+y_p
&=e^x(v+2v'+v'')-e^x(v+v')+e^xv\
&=e^x(v''+v'+v)。
\end{align*}

因此只需令

v′′+v′+v=6x2。v''+v'+v=6x^2。

由

v=Ax2+Bx+C,v=Ax^2+Bx+C,

可得

v′=2Ax+B,v′′=2A。v'=2Ax+B, \qquad v''=2A。

代入:

\begin{align*}
v''+v'+v
&=2A+(2Ax+B)+(Ax^2+Bx+C)\
&=Ax^2+(2A+B)x+(2A+B+C)。
\end{align*}

與右側 6x26x^2 比較各次方係數:

{A=6,2A+B=0,2A+B+C=0。\begin{cases} A=6,\\ 2A+B=0,\\ 2A+B+C=0。 \end{cases}

依序求得

A=6,A=6, B=−2A=−12,B=-2A=-12, C=−(2A+B)=0。C=-(2A+B)=0。

因此

v(x)=6x2−12x,v(x)=6x^2-12x,

特解為

yp=ex(6x2−12x)。y_p=e^x(6x^2-12x)。
🔒

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

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

免費註冊

其他考古題