Professional Documents
Culture Documents
Summary 040
Summary 040
二階常係數非齊性常微分方程式之標準型式如以下所示:
d2y dy
2
+ a + by = r ( x ) (1)
dx dx
其中 a 、 b 稱為微分方程式之係數(Coefficient),且為常數; r ( x ) 稱為微分方程式之非齊
性項(Non-homogeneous Term)。這種包含非齊性項之非齊性微分方程式之通解(General
• 齊性解的解析
d2y dy
齊性解 y h 是由齊性微分方程式 2 + a + by = 0 研討出,之前已介紹過此一類型
dx dx
齊性微分方程式之解法,即令:
y ( x ) = exp(λx ) = e λx (3)
其中 λ 為待解之未知數,稱為特徵根(Characteristic Root)。再將式(3)代回齊性微分方程
式:
d 2 (e λx ) d (e λx )
2
+ a + b(e λx ) = 0
dx dx
(λ 2
)
+ aλ + b e λx = 0
λ2 + aλ + b = 0 (4)
上式係由特徵根所構成之方程式,稱為特徵方程式(Characteristic Equation)。特徵方程
式係一元二次方程式,其解可利用因式分解法或以下所示之公式解法研討出:
− a ± a 2 − 4b
λ= (5)
2
161
因所考慮之情況可分為相異實根、重根與複數根等三種情況,亦即可分別考慮
a 2 − 4b > 0 、 a 2 − 4b = 0 及 a 2 − 4b < 0 。其中相異實根與複數根可歸納為一類,因無論
是相異實根或複數根,均屬於非重根情況。若令所得出之兩個不相同的特徵根分別為 λ1
與 λ2 :
− a + a 2 − 4b − a − a 2 − 4b
λ1 = 、 λ2 = (6)
2 2
則所研討出之問題的齊性解為:
即使式(6)中含有複數根,式(7)之齊性解的表達方式亦是正確的。
若是考慮重根情況,則:
a
λ1 = λ2 = − (8)
2
而問題的齊性解為:
a a
− x − x
y h = C1e 2
+ C 2 xe 2
(9)
• 非齊性解的解析—(A)基本原則(Basic Rule)
d2y dy
非齊性解 y p 是由非齊性微分方程式 2 + a + by = r ( x ) 研討出,如標題所示,本
dx dx
單元旨在介紹如何以待定係數法(Undetermined Coefficients)解析出問題的非齊性解。待
d2y dy
定係數法僅適用於常係數微分方程式 2
+ a + by = r ( x ) ,且 r ( x ) 為如表一中所示之
dx dx
四種簡單的函數型態,其他各種情況則需採用參數變換法(Variation of Parameters)才能
解出問題之非齊性解。
162
表一 以待定係數法解析常係數非齊性微分方程式之非齊性解 y p 的基本原則
r ( x ) = kx n , n = 0,1,2," y p = k n x n + k n −1 x n −1 + " + k1 x + k 0
r ( x ) = ke γx y p = Ce γx
k sin αx
r (x ) = y p = A sin αx + B cos αx
k cos αx
ke γx sin αx
r ( x ) = γx y p = ( A sin αx + B cos αx )e γx
ke cos αx
163
範例一
試解出常係數非齊性微分方程式之通解: y ′′ + 2 y ′ − 3 y = 4 x 2 。
【解答】
• 齊性解的解析
由齊性微分方程式 y ′′ + 2 y ′ − 3 y = 0 解析出齊性解 y h 。令齊性解 y h 為:
y h = e λx
代回上式,則
(e )″ + 2(e )′ − 3(e ) = 0
λx λx λx
上式可化簡為:
(λ 2
+ 2λ − 3)e λx = 0
因為不希望所研討出之齊性解為零,亦即 e λx ≠ 0 ,故:
λ2 + 2λ − 3 = 0
上式可因式分解為:
(λ + 3)(λ − 1) = 0
故問題之齊性解的特徵根(Characteristic Root) λ 為:
λ = −3 、 λ = 1
y h = C1e −3 x + C 2 e x
164
• 非齊性解的解析
因為非齊性項 r ( x ) = 4x 2 ,由表一知,可假設非齊性解 y p 為:
y p = ax 2 + bx + c
再代回原式:
(ax 2
+ bx + c )″ + 2(ax 2 ′
) ( )
+ bx + c − 3 ax 2 + bx + c = 4 x 2
上式可化簡為:
比較係數知:
− 3a = 4
4a − 3b = 0
2a + 2b − 3c = 0
故可解析出:
4 16 56
a = − 、b = − 、c = −
3 9 27
即問題之非齊性解 y p 為:
4 16 56
y p = − x2 − x −
3 9 27
4 2 16 56
y = C1e −3 x + C 2 e x − x − x−
3 9 27
165
習題
8. Solve (D 2
+ 4 D + 4 ) y = 18cosh x .【93 彰師光電所 10%】
1
15. Solve y′′ + y = 2sin 2 x , y ( 0 ) = , y′ ( 0 ) = 1 .【91 海洋機電所 5%】
3
166
21. Solve x′′ + 5 x = 4e − t cos 2t .【95 交大光電所 5%】
29. For each of the following problems, find, respectively, a differential equation having the
given function as a general solution.
(a) y ( x ) = C1 cos x + C2 sin x + x
4
(b) y ( x ) = C1e −3 x + C2 e x + e 2 x
5
(c) y ( x ) = x C1 cos ( 3ln x ) + C2 sin ( 3ln x )
−2
【88 台大機械所 15%】
d2x dx
32. Given the differential equation + 2 + 2 x = 20 cos 2t , x ( 0 ) = 1 , x′ ( 0 ) = 0 . Please
dt 2
dt
find (a) the transient solution; and (b) the steady periodic solution.【87 交大電信所 10%】
34. Please find the general solution for the non-homogeneous equation
y′′ + 6 y′ + 9 y = 50e − x cos x .【90 北科光電所 15%】
d2y dy
35. Solve for y ( x ) from − 2 + y = x 2 sin 2 x .【90 中山材料所 25%】
dx 2
dx
36. Consider a boundary value problem: y′′ + a 2 y = b sin ax subject to boundary conditions
y ( 0 ) = 0 and y (1) = 1 , where a and b are constants. Depending on the values of a and b,
there may exist no solution, unique solution, or infinite number of solutions.
(a) Find the condition(s) under which the problem has unique solution.
167
(b) Solve it when the problem has unique solution.
(c) Find the condition(s) under which the problem may have infinite number of solutions.
【90 台大電機所 15%】
d 2 y ( x) dy ( x ) π
37. −2 + 2 y ( x ) = e − x , y ( 0 ) = y = 0 , find y ( x ) .【91 中山光電所 20%】
dx 2
dx 2
38. Find the general solution of the given differential equation y′′ − y′ − 12 y = 2sinh 2 x .【91
成大電機所 10%】
168