• 沒有找到結果。

我們知道 如果

N/A
N/A
Protected

Academic year: 2021

Share "我們知道 如果"

Copied!
6
0
0

加載中.... (立即查看全文)

全文

(1)

再談 Anti-derivative/Indefinite Integral

• 定義: F is an anti-derivative of f 即

dFdx

= f 。 The indefinite integral of f, 記作 

f dx, 也是 anti-derivative of f 的意思, 這是定義, 不為什麼。

我們知道 如果

dFdx

= f , 則 F

1

:= F + c 同樣也是 anti-derivative of f。 所以一個函數對應的 anti- derivative 有無窮多個, 但是他們之間只有 加/減 一個常數的差異而已。 所以 anti-derivative 也可以這樣 寫: 

f dx = F + c = F

1

。 即, 在不考慮 加/減 常數的情況下, 我們可以視

d dx

( )

F   - f

( ) dx 為可逆的運算。

• 無論是微分 還是積分 都必須說明 究竟是對哪個變量來做的。 對於單變量函數 f 而言, 符號 :

df

dx

— derivative of f with respect to x,

 f dx — anti-dervative of f with respect to x, 因為 f 的變量可以不同於微分/積分的變量,

所以務必要寫清楚! 如果沒有特別明示變量,Df 的意思就是

dd

f

(♠)

,



f 的意思就是



f

(♠) d♠

因為 D 是線性算子, 所以在不考慮 加/減 常數的情況下,



是線性算子 , 即

 (f + g) =  f + 

 g

(cf ) = c 

f 。 類

似地, 無論 加/減 常數與否,



b a

當然是線性算子。

• f



(x) dx =

dxdf

dx = df, =



f



(x) dx =



df dx

dx =



df = f (x) + c. 在不考慮 加/減 常數的情況 下, 我們可以視

d to differentiate (

細分

)

f  - df

to integrate (

合併

)



為可逆的運算。

所有的積分技巧, 都是來自微分的經驗。例如, 所謂的 integration by part( 分部積分): d(uv) = du v + u dv =



d(uv) = uv =



v du +



u dv ⇐⇒



u dv = uv



v du, 就是從 product rule 來的。

• Integration by part 的目的 在於 轉化問題 — 希望 新得到的積分式子 更為簡單。 所以, 考慮 

裡頭 誰當

“u” 、 誰當 “dv” 的原則為: 使下次 

裡頭的 “v du” 不會變得更複雜。 (你一定要把 “v du” 算出來, 否則就 變成這樣: 

u dv = uv 

v du = uv − (vu − 

u dv) = 

u dv, 又回到原來的問題, 什麼也沒解決。) 另外提供一點經驗: 我們常把 integrant 裡頭多項式乘法的部分當 “u”, 因為 “du” 後會使其階數降低; 也常 把 指數函數 b

ax

(a 、b 為常數) 的部分當 “u”, 因為 d( b

ax

) = a ln b   

常數

· b

ax

dx, 即 “du” 不會帶來麻煩; 如果

多項式和指數函數同時出現, 則以多項式的部分當 “u” . . . 不過, 這不是什麼金科玉律, 還得視情況而定。

(2)

eg. 

x

2

a

x

dx = 

(x

2

)(a

x

dx) =

ln a1



x

2

d(a

x

)

=

ln a1

[x

2

a

x



a

x

2x dx]

=

ln a1



x

2

a

x

ln a2



xd(a

x

) 

=

ln a1



x

2

a

x

ln a2

xa

x



a

x

dx 

=

ln a1



x

2

a

x

ln a2

xa

x

ln a1

a

x



= a

x

x2

ln a

(ln a)2x2

+

(ln a)2 3

• 在做 chain rule 的時候, 我們就用了所謂的 substitution, 積分時也不例外。 Substitution 除了簡略式 子、 便於觀察外, 最有用的 還是在於轉化問題。 有一個原則: 你若想把積分裡頭的某個式子叫做 u, 就要看看 整個的積分式子 完全用 u 表示後 是否變簡單、 能解決了。(如果不能輕易地用 u 表示, 大多意味著式子將變 得更複雜。)

eg. 求 

e

x

dx,

若令 u := e

x

, 則 du =

12exxdx

, 

e

x

dx =  √

x du = 

ln u du — 再以 integration by part 解決。

若令 u :=

x, 則 du =

12dxx

, 

e

x

dx = 

ue

u

2 du = 

2ue

u

du — 再以 integration by part 解決。

若直接用 integration by part, 則 

e

x

dx = e

x

· x − 

x ·

e2xdxx

= e

x

x

12

 √

xe

x

dx, 更討厭 了。

• 其他積分技巧, 必須具備若干基本知識:

一, 實係數二次多項式的配方 — ax

2

+ bx + c = a(x +

2ab

)

2

b2−4ac4a

= ∗(x − ∗)

2

+ ∗ ; 二, 實係數分式 (有理式), 可以分解成

(x−∗) n

(∗(x−∗)2+∗)n

類型的和 ;

三, 實係數多項式, 可以分解成 (x − ∗)、(

∗(x−∗)2+∗

) 類型的乘積 ; 四, 三角函數的和、 分角、 倍角公式 —– 可由 i

def

=

−1, e

it

= cos t + i sin t

(Euler 公式) 很容易導出。

例如, (e

it

)

3

= e

i3t

= cos 3t + i sin 3t,

即 (cos t + i sin t)

3

= cos

3

t + 3 cos

2

t i sin t + 3 cos t i

2

sin

2

t + i

3

sin

3

t

= (cos

3

t − 3 cos t sin

2

t) + i(3 cos

2

t sin t − sin

3

t)所以 實部 cos 3t = cos

3

t − 3 cos t sin

2

t = 4 cos

3

t − 3 cos t,

虛部 sin 3t = 3 cos

2

t sin t − sin

3

t = 3 sin t − 4 sin

3

t 。 也可以這樣導: sin

3

t = (

eit−e2i−it

)

3

=

ei3t−3ei2te−it−8i+3eite−i3t−e−i3t

=

ei3t−3eit+3e−8i−it−e−i3t

=

3eit2i·4−3e−it

ei3t2i·4−e−i3t

=

3 sin t−sin 3t 4

∴ 

sin

3

t dt =

34



sin t dt

14



sin 3t dt

=

−34

cos t +

121

cos 3t 雖然這個做法本身不算高明, 只是為了說明不必背公式罷了。

sin

4

t = (

eit−e2i−it

)

4

=

ei4t−4ei3te−it+6ei2t(2i)e−i2t4 −4eite−i3t+e−i4t

=

ei4t−4ei2t+6−4e16 −i2t+e−i4t

=

ei4t+e16−i4t

ei2t+e4−i2t

+

166

=

cos 4t8

cos 2t2

+

38

∴ 

sin

4

t dt =

18



cos 4t dt

12



cos 2t dt +

38

t

=

321

sin 4t

14

sin 2t +

38

t

五,



sin

m

cos

n

(m, n ≥ 0) 的類型: m, n 至少一個為奇數時很簡單, 只要將基數次方的那個拿一次方進 d, 然後把留在 d 外的剩餘偶次方改成另一個即可, 如 

sin

m

x cos

3

x dx = 

sin

m

x cos

2

x d(sin x) =

 sin

m

x(1 − sin

2

x) d(sin x) = 

♠m

(1

♠2

) d

= · · ·, 根本就不必記什麼倍角公式。

(3)

m, n 皆為偶數時, 如果用 integration by part 來做就比較複雜, 相當於



sin



cos

的情況, 如:

 sin

2

x cos

2

x dx = 

sin

2

x(1 − cos

2

x) dx = 

sin

2

x dx 

sin

4

x dx. 下面有幾個例子:

1. 

sin

2

x dx = 

sin x d(cos x) = − sin x cos x + 

cos x(cos x dx) = − sin x cos x +  (1 sin

2

x)dx = − sin x cos x + 

1 dx 

sin

2

x dx, · · · 2. 

sin

4

x dx = 

sin

3

x d(cos x) = − sin

3

x cos x + 

cos x(3 sin

2

cos x dx) = − sin

3

x cos x + 3 

sin

2

x(1 − sin

2

x)dx = − sin

3

x cos x + 3 

sin

2

dx − 3 

sin

4

x dx, · · · 3. 

sin

6

x dx = 

sin

5

x d(cos x) = − sin

5

x cos x + 

cos x(5 sin

4

cos x dx) = − sin

5

x cos x + 5 

sin

4

x(1 − sin

2

x)dx = − sin

5

x cos x + 5 

sin

4

dx − 5 

sin

6

x dx, · · · 所以, 要算 

sin

6

x dx, 就得算 

sin

2

x dx 、 算 

sin

4

x dx, 挺麻煩的。

但是, 如果直接用第 (四) 點說過的 Euler 公式 sin

6

x =

eit−e−it 2i



6

= (1

  

e

i6t

− 6 e

i4t

+ 15

  

e

i2t

   +15 e −20

−i2t

− 6

   e

−i4t

+ 1 e

−i6t

)/( −64)

= (cos 6t − 6 cos 4t + 15 cos 2t − 10)/(−32),

∴ 

sin

6

x dx = (

16

sin 6t

64

sin 4t +

152

sin 2t − 10t)/(−32), 很乾脆。

六, 反三角函數 的 derivatives (請回去看 “Derivative & Differential” 的部分);

七, hyperbolic 函數 的 derivatives (有時間就說)。

Riemann Sum & Definite Integral

• Given f(x), I = [a, b], and a partition(分割) p whch breaks I into n pieces: a = x

0

< x

1

< · · · <

x

n−1

< x

n

= b. Riemann sum ( 黎曼和) is an “n-sum” defined as follows:

S

n

:=



n i=1

f (¯ x

i

) x

i

where ¯ x

i

is arbitrarily chosen from I

i

:= [x

i−1

, x

i

], x

i

:= |I

i

| = x

i

− x

i−1

. In particular, if ¯ x

i

:= x

i−1

for all i, then S

n

is called the left hand sum L;

if ¯ x

i

:= x

i

for all i, then S

n

is called the right hand sum R;

if ¯ x

i

:=

xi−12+xi

for all i, then S

n

is called the midpoint sum M (note that M =

L+R2

!!!).

p → 0 ” means “ max

i

|I

i

| → 0 ”.

Definite integral ( 定積分) 是 Riemann sum 的極限 (其 極限值 不一定存在 !!!):



b

a

f (x) dx

def

= lim

p→0



n i=1

f (¯ x

i

) x

i

其中 a 稱為 lower limit, b 稱為 upper limit, f (x) 稱為 integrant 。 如果 

b

a

f (x) dx 存在, 則說 f is

integrable on [a, b].

(4)

Left Hand Sum

Right Hand Sum

所以定積分的值 可藉由 Riemann sum 來估計, 其符號上也與 Riemann sum 吻合。 大致可以這樣描述:

和 長條形的高 長條形的寬

黎曼和 n



n i=1

f (¯ x

i

) x

i

n 個長條形加起來

定積分 ∞



b

a

f (x) dx ∞ 個很細的長條形加起來

• 常聽到有人這樣說: “ 

b

a

f (x) dx 等於 f 曲線下、x-軸上方、 介於 a、b 之間的面積 ”, 這樣的 “面積” 卻是隨 著 f 起伏 — 有時正、 有時負, 除非 f ≥ 0 on [a, b], 否則這句話語意不清不楚, 也跟我們的習慣不符。 我們 如果要講 真正的面積, 應該要用精確的方式來描述以避免混淆: 介於 a、b 之間,f 曲線 與 x-軸 所夾的 面積



b a

|f(x)| dx。

如果用 Riemann sum 來估計 

b

a

f (x) dx: 將 [a, b] 區間等分成 n 段 (i.e. 曲線下、x-軸上方的區域 被分成 n 條, 每條的寬度為 x :=

b−an

), 則 n 個長條的平均高度為



n

i=1

f (x

i

)

n =



n

i=1

f (x

i

) x

n x =



n

i=1

f (¯ x

i

) x b − a ,

n

−→

→∞



b

a

f (x) dx b − a . 根據前兩點, 可以 目測 函數大概的平均值:

橫線的高為平均值 ⇐⇒ 曲線下方 橫線上方夾的面積 = 橫線下方

曲線上方夾的面積 .

• 把 [a, b] 分成 n 段 (a = x

0

< x

1

< · · · < x

n−1

< x

n

= b) 。 若存在 F (x) 使得 f =

dFdx

, 則 F (x) 從 a 到

b 的總變化量 為 F (b) − F (a) :

(5)

F (b) − F (a) =



n i=1

[F (x

i

) − F (x

i−1

)] , 根據 Lagrange MVT,

=



n i=1

f (¯ x

i

) x

i

for some ¯ x

i

∈ (x

i−1

, x

i

) , 意即: 等於 某個 Riemann sum,

n

−→

→∞



b a

f (x) dx, 於是有 Fundamental Theorem of Calculus (FTC) :

[FTC] If F is an anti-derivative of f , i.e.

dFdx

= f , then



b

a

f (x) dx = F (b) − F (a).

• 從以上得知求定積分值的兩種基本方法:

1, 求 Riemann sum 通式後取極限 (如果無法求出通式, 只好用 Riemann sum 或其他數值方法粗略估計)。

2, 依 FTC, 求 integrant 的 anti-derivative (if exists) 後將 upper limit、lower limit 代入求差。

一般來說, 求 finite sum 的通式往往是很困難的。 光是簡單的 finite sum 公式就已經多得記不住了! 所以 finite sum 的極限問題 常常又會被轉換成 定積分的問題,

不過, 求 anti-derivative 也並非容易的事, 若是為了求定積分的型式解/精確解, 大部分的情況還非得這麼做 不可, 但任意函數的 anti-derivative, 型式上卻不一定求得出來。

• 一些 finite sum 公式 1. 令 S

n

= 

n

i=1

r

i

. 則 rS

n

− S

n

= r

n+1

− r, 即 S

n

=

r−r1−rn+1

。 2. 

n

k=1

cos kθ + i 

n

k=1

sin kθ = 

n

k=1

e

ikθ

= 

n

k=1

(e

)

k

=

e−e1−ei(n+1)θ

=

e−e1−ei(n+1)θ 1−e1−e−iθ−iθ

=

e−ei(n+1)θ2−2 cos θ−1+einθ

=

cos θ−cos(nθ+θ)−1+cos nθ

2−2 cos θ

+ i

sin θ−sin(nθ+θ)+sin nθ 2−2 cos θ

,



n

k=1

cos kθ =

cos θ−cos(nθ+θ)−1+cos nθ

2−2 cos θ

=

cos θ−1−cos nθ cos θ+sin nθ sin θ+cos nθ)

2−2 cos θ

=

cos nθ−12

+

sin nθ sin θ 2−2 cos θ

,



n

k=1

sin kθ =

sin θ−sin(nθ+θ)+sin nθ

2−2 cos θ

=

sin θ−sin nθ cos θ−cos nθ sin θ+sin nθ)

2−2 cos θ

=

sin nθ2

+

sin θ(1−cos nθ) 2−2 cos θ

. 3. 令 S

n

= 

n

i=1

i, 則 2S

n

=

1+2+···+(n−1)+n

+n+(n−1)+···+2+1

= n(n + 1), 即 S

n

=

n(n+1)2

4. 

n

i=1

(i + 1)

3

= 

n

i=1

(i

3

+ 3i

2

+ 3i + 1) = 

n

i=1

i

3

+ 3 

n

i=1

i

2

+ 3 

n

i=1

i + 

n i=1

1, 即 

n

i=1

i

2

=

(n+1)3−1−n−3

Pn

i=1i

3

=

2n3+6n2+6n+2−2−2n−3n2−3n

6

=

2n3+3n6 2+n

=

n(n+1)(2n+1)

6

5. 

n

i=1

(i + 1)

4

= 

n

i=1

(i

4

+ 4i

3

+ 6i

2

+ 4i + 1) = 

n

i=1

i

4

+ 4 

n

i=1

i

3

+ 6 

n

i=1

i

2

+ 4 

n

i=1

i + 

n i=1

1, 即 

n

i=1

i

3

=

(n+1)4−1−6

Pn

i=1i2−4Pn

i=1i−n

4

=

n4+4n3+6n2+4n+1−1−2n4 3−3n2−n−2n2−2n−n

=

n4+2n43+n2

=

n(n+1) 2

2

。 

n

i=1

i

4

、 

n

i=1

i

5

、· · ·, 依此類推。  6. 

n

i=1 1

i(i+1)

= 

n i=11

i



n i=1 1

i+1

= 1

n+11

. 7. 

n

i=1 1

i(i+1)(i+2)

= 

n i=1 1

i(i+1)



n

i=1 1 (i+1)(i+2)



/2 = [1

n+11

12

+

n+21

]/2 =

14

2(n+1)(n+2)1

。 8. 

n

i=1

( −1)

i−1

i =



n+1

2

if n is odd

−n2

if n is even 9. 

n

i=1

( −1)

i−1

i

2

= ( −1)

n−1 n(n+1)2

(6)

10. 

n

i=1

( −1)

i−1

i

3

=



(2n−1)(n+1)2

4

if n is odd

−n2(n+3)

4

if n is even 11. 

n

i=1

i(i + 1) · · · (i + k) =

k+21 (n+k+1)!(n−1)!

• 因為定積分是用極限定義的, 故而不是所有的定積分都存在的。

若 integrant f(x) 在 [a, b] 連續 或 段段連續 (piecewisely continuous), 則定積分



b a

f (x) dx 存在。

假設 integrant 在 [a, b] 上很好 (eg. 連續), 則對於任意的 c ∈ [a, b], 定積分算子 

b

a

=



c a

+



b c

, 即



b a

f (x) dx =



c a

f (x) dx +



b c

f (x) dx;



a

b

=



b

a

, 即



a

b

f (x) dx =



b

a

f (x) dx;



a a

= 0, 即



a a

f (x) dx = 0; 以上從 定積分的定義 一看便知。

萬一 integrant 不太好 (eg. 在某處極限值為無窮), 或, 定積分範圍 unbounded, 這時候 定積分不可以隨便 拆, 再次強調, 因為定積分是用極限定義的。 這樣的定積分叫做 improper integral(瑕積分)。

• 假裝 F 是 f 的 anti-derivative, i.e.



f = F ,



h(x) g(x)

f (t) dt =

F (t)

t=h(x)

t=g(x)

= F (

h(x)

) −F (

g(x)

), 所以

d dx



h(x) g(x)

f (t) dt



=

dxd

F (

h(x)

)

dxd

F (

g(x)

) = F



(

h(x)

)

·h(x)

−F



(

g(x)

)

·g(x)

= f (

h(x)

) · h



(x) − f(

g(x)

) · g



(x),

不用真的去求出 F 。

參考文獻

相關文件

有人說自己對信仰很虔 誠,但是信錯了,卻是無比 危險。也有人說,我什麼都 不信,不信沒有了不起,不

有題老掉牙的腦筋急轉彎: 「有一隻河馬要過河,牠不知道如何游泳,那

有題老掉牙的腦筋急轉彎: 「有一隻河馬要過河,牠不知道如何游泳,那

好了既然 Z[x] 中的 ideal 不一定是 principle ideal 那麼我們就不能學 Proposition 7.2.11 的方法得到 Z[x] 中的 irreducible element 就是 prime element 了..

你知道我國的國花是哪一種花,以及它

教師可讓學生在閱 讀本文前,先試著 回答教材封面上的 提問,再請學生閱

她寫道,當我們在生活中最想做的事情也是我們的義務時,最能 感受到 Ikigai 。關於 Ikigai ,感受就是最誠實的,如果我們知道如何

晚唐文學家、官員。其貌 不揚,性情傲慢,詼諧好 謔,其詩文多同情民間疾 苦,反映社會現實,魯迅