Beruflich Dokumente
Kultur Dokumente
工程數學--微分方程
Differential Equations (DE)
授課者:丁建均
教學網頁:http://djj.ee.ntu.edu.tw/DE.htm
【本著作除另有註明外,採取創用CC「姓名標示-非商業性-相同方式分享」台灣3.0版授權釋出】
Chapter 14 Integral Transform Method
Integral transform 可以表示成如下的積分式的 transform
F ( s ) = ∫ K ( s, t ) f (t )dt
b
kernel
Laplace transform is one of the integral transform
∞
L { f (t )} = ∫ e − st f (t )d t
0
Fourier Transform:
(1) 可看成將 Laplace transform 的 s 換成 −jα
∞ ∞
並且將 ∫ 0
換成 1
2π ∫
−∞
655
Section 14.3 Fourier Integral
14.3.1 綱要
(1) Fourier integral: (和 Fourier series 的定義比較)
∞
f ( x) 1
π ∫ [ A (α ) cos(α x) + B (α ) sin(α x) ] dα
0
∞
A (α ) = ∫ f ( x ) cos(α x)dx B (α ) = ∫
∞
f ( x ) sin(α x)dx
−∞ −∞
α 2
657
14.3.2 From Fourier Series to Fourier Integral
an = ∫ f ( t ) cos nπ t dt bn = ∫ f ( t ) sin nπ t dt
p p
1 1
p −p p p −p p
∞
1 p f ( t ) dt + 1 p f ( t ) cos nπ tdt cos nπ x
p∑
f ( x)
2 p ∫− p n =1
∫− p
p
p
∞
+ ∑ ∫ f ( t ) sin nπ tdt sin nπ x
p
1
p n=1 − p p p
658
∞
f ( x ) 1 ∫ f ( t ) dt + 1 ∑ ∫ f ( t ) cos nπ tdt cos nπ x
p p
=
2p −p p n=1 − p p p
∞
+ 1 ∑ ∫ f ( t ) sin nπ tdt sin nπ x
p
p n=1 − p p p
∆α =π 1 = ∆α
令 p p π
(∫ )
∞
f ( x ) ∆α ∫ f ( t ) dt + ∆α ∑ f ( t ) cos(n∆α ⋅ t )dt cos(n∆α ⋅ x)
p p
=
2π − p π n=1 −p
(∫ )
∞
+ ∆α ∑ f ( t ) sin(n∆α ⋅ t )d sin(tn∆α ⋅ x)
p
π n=1 −p
(∫ )
∞
f ( t ) dt cos(0∆α ⋅ x)∆α + 1 ∑ f ( t ) cos(n∆α ⋅ t )dt cos(n∆α ⋅ x)∆α
p p
1
2π ∫
−p π n=1 −p
When p ∞, ∆α 0
(即 週期 ∞) 659
When p ∞, ∆α 0
∆α ∞ ∞
lim S (0) + ∑ S (n∆α )∆α =∫ S (α )dα
∆α →0 2
n =1 0
(積分的定理)
−p )
f ( t ) cos(α t )dt cos(α x)dα + ∫
1
π 0
∞
(∫ p
−p )
f ( t ) sin(α t )dt sin(α x)dα
f ( x)
π ∫ ( ∫
1 ∞
0
∞
−∞ )
f ( t ) cos(α t )dt cos(α x)dα + (∫
−∞
∞
)
f ( t ) sin(α t )dt sin(α x)dα
660
14.3.3 Fourier Integral
Fourier Integral:
∞
f ( x)
π
1
∫ [ A (α ) cos(α x) + B (α ) sin(α x) ] dα
0
∞
A (α ) = ∫ f ( x ) cos(α x)dx B (α ) = ∫
∞
f ( x ) sin(α x)dx
−∞ −∞
∞
f1 ( x ) 1
π ∫ [ A (α ) cos(α x) + B (α ) sin(α x) ] dα
0
662
Theorem 14.3.1 Condition for convergence
f ( x +) + f ( x −)
2
663
Example 1 (text page 499)
Find the Fourier integral representation of f(x)
0 x<0
f ( x ) 1
= 0< x<2
0 x>2
sin(α x) sin(2α )
2
∞
A (α ) ( )
2
∫=f
−∞
x= cos(α x ) dx ∫=cos(α x ) dx
0 α 0
α
cos(α x) 1 − cos(2α )
2
∞
B (α ) ( )
2
∫=
−∞
f x sin(α x ) dx = ∫ sin(α x
0
) dx = −
α 0
α
f ( x)
∞ sin(2α ) cos(α x) + 1 − cos(2α ) sin(α x) dα
1
π ∫
0 α α
664
Example 1 的解的另一種表示法
f ( x)
∞ sin(2α ) cos(α x) + 1 − cos(2α ) sin(α x) dα
π ∫0 α
1
α
1 ∞ 2sin α cos α cos(α x) + 2sin 2 α sin(α x) dα
π ∫0 α α
∞ 2sin α {cos α cos(α x ) + sin α sin(α x )}
= ∫
1
dα
π 0 α
∞ 2sin α cos(α x − α )
= ∫
1 dα
π 0 α
(別忘了複習三角函數的公式)
665
14.3.4 Fourier Transform 意外的提供了一些方程式積分的
算法
由 Example 1
π ∫0 α
1
α
∞ 2sin α cos(α x − α )
= ∫
1 dα
π 0 α
∞
sin α dα = 1 ∞
sin α dα = π
π
2
∫
0 α ∫0 α 2
666
補充: sinc function 的定義: sinc( x) = sin(π x)
πx
667
14.3.5 Fourier Cosine and Sine Integrals
(A) Fourier cosine integral 或 cosine integral
∞
f ( x ) = ∫ A (α ) cos(α x)dα
2 注意:有三個地方和
π 0
∞ Fourier integral 不同
A (α ) = ∫ f ( x ) cos(α x)dx
0
∞
f ( x ) = ∫ B (α ) sin(α x)dα
2
π 0
∞
B (α ) = ∫ f ( x ) sin(α x)dx
0
(b) B (α )
∞
α
∫ sin(α x)dx
−x
= =
e
0 1+ α 2
∞ ∞ α sin(α x )
f ( x) 2=
∫ B (α ) sin(α x)dα 2
∫ dα
π 0 π 0 1+ α 2
671
Fig. 14.3.4
672
14.3.6 Partial Integral
∞
f ( x) = 1 ∫ C (α ) e − jα x dα
2π −∞
∞
C (α ) = ∫ f ( x ) e jα x dα
−∞
e jα x cos α x + j sin α x
remember: =
675
Proof:
由講義 page 660 Fourier integral 的定義
f ( x) 1
π ∫ (∫
∞
0
∞
−∞ )
f ( t ) cos(α t )dt cos(α x) + (∫
−∞
∞
)
f ( t ) sin(α t )dt sin(α x) dα
∞ ∞
1
∫ ∫ f ( t ) [ cos(α t ) cos(α x) + sin(α t )sin(α x) ] dtdα
π 0 −∞
∞ ∞
1
∫ ∫ f ( t ) cos(α (t − x))dtdα
π 0 −∞
∞ ∞
1
∫ ∫ f ( t ) cos(α (t − x))dtdα
2π −∞ −∞
∞
From ∫ f ( t ) sin(α (t − x))dα =
0
−∞
∞ ∞
f ( x) = 1 ∫ C (α ) e − jα x
dα C (α ) = ∫ f ( x ) e jα x dx
2π −∞ −∞ 677
14.3.8 Section 14.3 需要注意的地方
1
(1) 公式積分的外面,要乘 π (Fourier integral)
1
或 2π (Complex form of Fourier integral)
或 2 (cosine integral, sine integral)
π
(2) 一些積分的計算會常常用到
有一點複雜,且常考,要勤於練習 679
(A) 六大定義
∞
(1) Fourier transform ℑ[=
f ( x )] ∫ f ( x )=
e jα x d x F (α )
−∞
∞
(2) inverse Fourier transform −1
ℑ= [ F (α ) ] 1
2π ∫ −∞
F (α=
) e− jα x dα f ( x )
∞
s [ f ( x )]
ℑ= ∫ f ( x ) sin(
= α x ) d x F (α )
(3) Fourier sine transform
0
∞
(4) inverse Fourier ℑ
=s[ F (α ) ] ∫ F (α ) =
−1 2
π
sin(α x)dα f ( x )
0
sine transform
∞
(5) Fourier cosine transform ℑ
=c [ f ( x )] ∫ f ( x ) cos(
0
= α x ) d x F (α )
∞
ℑc−1 [ F (α )] 2 ∫ F (α ) =
(6) inverse Fourier
= cos(α x)dα f ( x )
π 0
cosine transform
注意:除了 ejαx 變成 cos(αx) 以外
還有三個地方和 Fourier transform 不同 680
(B) 微分性質
(7) for Fourier transform ℑ[ f ′ ( x ) ] =
− jα F (α )
(8) ℑ f ( n ) ( x ) =
(− jα )( n ) F (α )
A B
若 甲 乙 乙 甲
683
14.4.3 Fourier Transform
Fourier transform pair
∞
ℑ[=
f ( x )] ∫ f ( x )=
e jα x d x F (α )
−∞
∞
−1
ℑ= [ F (α ) ] 1
2π ∫
−∞
F (α=
) e− jα x dα f ( x )
和之前 complex form of Fourier integral 相比較
把 s 換成 −jα
∞
Laplace: F ( s ) = ∫0 e f (t )dt
− st
685
14.4.4 Fourier Sine Transform and Fourier Cosine Transform
Fourier sine transform pair
∞
s [ f ( x )]
ℑ= ∫ f ( x ) sin(
0
= α x ) d x F (α )
s
∞
ℑ
= [ F (α )] π2 ∫ F (α )=
−1
s 0
sin(α x)dα f ( x )
∞
Fc (α ) e − jα x dα = f ( x )
π∫
1 (由前頁)
−∞
∞ 等於 0
Fc (α ) cos(α x)dα = f ( x )
π ∫−∞
1
2 ∞ F (α ) cos(α x)dα = f ( x )
π ∫0 c
688
Fourier cosine transform 等同於 Fourier transform 當 input f(x) 為 even 的情
形。當 f(x) 為 even,
Fc (α ) = F (α ) / 2
Fourier sine transform 等同於 Fourier transform 當 input f(x) 為 odd 的情形。
當 f(x) 為 odd,
Fs (α ) = F (α ) / j 2
= − jα ℑ[ f ( x )]
對 Fourier transform
s → −jα, without initial conditions
690
(2) Fourier sine transform 的微分性質
∞ ∞
ℑs [ f ′ ( x ) ] =
∞
( x ) sin (α x ) d x f ( x ) sin (α x ) 0 − α ∫
∫ f ′=
0 −∞
f ( x ) cos (α x ) dx
= −α ℑc [ f ( x )]
(3) Fourier cosine transform 的微分性質
∞ ∞
ℑc [ f ′ ( x )] =
∞
∫ f ′ ( x ) cos (α x ) dx = f ( x ) cos (α x ) 0 + α ∫
0 −∞
f ( x ) sin (α x ) dx
= α ℑs [ f ( x ) ] − f ( 0 )
ℑc [ f ′′ ( x )] =ℑ
α s [ f ′ ( x )] − f ′ ( 0 ) =
−α 2 ℑc [ f ( x )] − f ′ ( 0 )
692
14.4.6 Solving the Boundary Value Problem (BVP)
※ 概念複雜,要特別加強練習
(Condition 1) interval 為 −∞ < v < ∞ 時
用 Fourier transform
(Condition 2) interval 為 0 < v < ∞,
有 u(v, …..) = 0 when v = 0 的 boundary condition 時
用 Fourier sine transform
(Condition 3) interval 為 0 < v < ∞,
有 ∂∂v u ( v,) = 0 when v = 0 的 boundary condition 時
k u2 = ∂u
∂ 2
heat equation:
∂t
−∞ < x < ∞ t >0
∂x
u0 , | x |< 1
subject to u ( x,0 ) = f ( x ) where f ( x) =
0, | x |> 1
Step 1 決定針對 x 做 Fourier transform
∞
ℑx→α {u ( x, t=
)} ∫ u ( x, t ) eiα x dx
= U (α , t )
−∞
Step 2 ℑx→α { }
∂ 2
ℑx→α ∂u
k u2 =
∂x ∂t { } 原本對 x, t 兩個變數做偏微分
U (α , t ) = c e − kα
2
Step 3 t 這邊的 c 值,對 t 而言是 constant ,
但是可能會 dependent on α (特別注意)
Step 4 根據 u(x, 0) = f(x) 將 c 解出
和 Step 1 一樣,也是針對 x 作 Fourier transform
只是對象改成 initial condition
∞
ℑx→α {u ( x, 0 )} = ( )
1
∫ ∫
iα x iα x
f x e d x = u 0 e dx
−∞ −1
iα − iα
= u= e − e 2u0 sin α
0
iα α
因為 ℑx→α {u ( x,0 )} = U (α ,0 )
U (α ,0 ) = 2u0 sin α
α 696
U (α ,0 ) = 2u0 sin α
比較係數
U (α , t ) = c e − kα
2
t
α
解出 c = 2u0 sin α
α
U (α , t ) = 2u0 sin α e − kα t
2
α
Step 5 未完待續,別忘了最後要做 inverse Fourier transform
ℑα−1→ x [U (α , t )] =
u ( x, t ) = 1 ∞ 2u sin α e − kα 2t e − jα x dα
2π ∫−∞ 0 α
不易化簡,課本僅依據 sin α e − kα 2t 對 α 而言是 even
α
function 將 u(x, t) 化簡為 u0 ∞
sin α e − kα 2t (cos α x − j sin α x)dα
u ( x, t ) = ∫
π −∞ α
u0 ∞
sin α cos α x e − kα 2t dα
=
π ∫
−∞ α
697
Example 2 Laplace’s equation
∂ 2u + ∂ 2u =
0 0< x <π y>0
∂x 2 ∂y 2
u ( 0, y ) = 0 u (π , y ) = e − y y>0
∂u =0
∂y 0< x <π
y =0
Step 2 ℑc , y→α { }
∂ 2u + ℑ
∂x 2
∂ 2u
c , y →α 2
∂y
= ℑc , y→α {0} from ℑc [ f ′′ ( y )] =
−α 2 ℑc [ f ( y )] − f ′ ( 0 )
d 2U ( x, α )
2
− α 2U ( x, α ) =
0 對於 x 的 2nd order ODE
dx
698
d 2U ( x, α )
Step 3 2
− α 2U ( x, α ) =
0
dx
U ( x, α ) c1 cosh α x + c2 sinh α x
=
699
U ( x, α ) c1 cosh α x + c2 sinh α x
=
Step 4 由 u ( 0, y ) = 0 u (π , y ) = e − y 來解 c1, c2
∞
ℑc , y→α {u (π , y )} =
(2) U (π ,α ) = ∫0 e −y
⋅ co α
s ydy = 1
1+ α 2
u ( x, y ) = [U ( x,α )] =
∞
sinh α x
π ∫0 sinh π x(1 + α 2 )
ℑ−1
c ,α → y
2 cos α y dα
(算到這裡即可,難以繼續化簡)
701
14.4.7 Section 14.4 需要注意的地方
(1) 微分公式當中,Fourier cosine transform 和 Fourier sine transform 會有互換的情形。
(See pages 690, 691)
(2) 公式會有很多小地方會背錯 (特別注意綱要的公式中紅色的地方)
(3) 在解 boundary value problem 時,要了解
何時用 Fourier transform,
何時用Fourier cosine transform,
何時用 Fourier sine transform (see page 692)
(4) 解 boundary value problem 流程雖複雜,但只要記住,
方法的精神,在於:
運用 transform,
將原本針對兩個以上 independent variables 做微分的 PDE,
變成只有針對一個 independent variable 做微分的 ODE
702
(5) 在解 partial differential equation 時,往往只針對一個 independent variable 作
Fourier transform, 另一個 independent variable 不受影響,如 Examples 1 and 2,
pages 694 and 697 的例子
計算過程中,自己要清楚是對哪一個 independent variable 作Fourier transform
703
附錄八:其他書籍常見的 Fourier Transform 的定義
∞
[ g ( x )]
ℑ= ∫−∞
g ( x )=
e − jω x d x G (ω )
∞
[G (ω )] 21π
ℑ=−1
∫−∞
G (ω=
) e jω x dω g ( x )
ℑ[ g ( x ) ] 1 ∞= ( ) d x G (ω )
2π ∫−∞
或者= g x e − jω x
[G (ω )] 1 ∞ G (= ) dω g ( x )
2π ∫−∞
jω x
−1
ℑ= ω e
∞
或者 ℑ[ g ( x ) ]
= ∫ g ( x )=
e − j 2π fx d x G ( f )
−∞
∞
ℑ−1 [=
G ( f )] ∫ G ( f ) e j=
2π fx
dω g ( x )
−∞
祝同學們期末考順利!
705
Exercise for Practice
706
版權聲明
頁碼 作品 版權標示 作者/來源
707
版權聲明
頁碼 作品 版權標示 作者/來源
708