You are on page 1of 6

第二章 微分

2.1 導數與導函數

定義. 給定 f (x),a ∈ dom f 。


f (a + h) − f (a)
• f 在 a 的導數(derivative)f ′ (a) 定義為 f ′ (a) = lim 。若 f ′ (a) 存在,則稱 f 在 a 可
h→0 h
微(分)(differentiable)。
f (x + h) − f (x)
• f 的導函數 f ′ (x) 定義為 f ′ (x) = lim 。
h→0 h
註.
:求 f ′ (x) ⇐⇒ f (x)(對 x)微分
• 求導函數之過程稱為微分(differentiation)
dy df d
• 給定 y = f (x),其導函數可記為 f ′ (x) = f ′ = y ′ = = = f (x) = Df (x) = Dx f (x)。
dx dx dx
dy
• f 在 a 的導數可記為 f ′ (a) = 。
dx x=a
1
例. 求 f (x) 之導函數 f ′ (x): 1. f (x) = x 2. f (x) = x2 3. f (x) = x4 4. f (x) =
x
解.
(x + h) − x h
1. f ′ (x) = lim = lim = lim 1 = 1。
h→0 h h→0 h h→0

(x + h)2 − x2 2xh + h2
2. f ′ (x) = lim = lim = lim (2x + h) = 2x。
h→0 h h→0 h h→0

(x + h)4 − x4 4x3 h + 6x2 h2 + 4xh3 + h4


3. f ′ (x) = lim = lim = lim (4x3 + 6x2 h + 4xh2 + h3 ) = 4x3 。
h→0 h h→0 h h→0


1
− 1
x − (x + h) −h −1 −1
4. f (x) = lim x+h x
= lim = lim = lim = 2 = (−1) x−2 。
h→0 h h→0 h (x + h) x h→0 h (x + h) x h→0 (x + h) x x
結論. xα (α ∈ R)之導函數為 α xα−1 。
定義.
• 若 f 在 (a, b) 上每一點均有導數,則稱 f 在 (a, b) 可微(分)。
定理. 若 f 在 a 可微,則 f 在 a 連續。
2.2 微分規則
定理 (四則運算). 令 f 、g 可微,c ∈ R。則
• (c)′ = 0
• (c f )′ = c f ′
• (f ± g)′ = f ′ ± g ′
• (f · g)′ = f ′ · g + f · g ′
 ′
f f ′ · g − f · g′
• =
g g2
x−1 1
例. 求導函數: 1. x5 2. 3.
x+1 x2 +3
解.
1. (x5 )′ = (x · x2 · x2 )′ = (x)′ · x2 · x2 + x · (x2 )′ · x2 + x · x2 · (x2 )′ = x4 + x · (2x) · x2 + x3 · (2x) = 5x4
 ′
x−1 (x + 1) · (x − 1)′ − (x − 1) · (x + 1)′ 2
2. = 2
=
x+1 (x + 1) (x + 1)2
 ′
1 (x2 + 3) · (1)′ − 1 · (x2 + 3)′ −2x
3. = =
x2 + 3 (x2 + 3)2 (x2 + 3)2
定理 (鏈鎖律(chain rule)). 若 f (u) 在 u = g(x) 可微,g(x) 在 x 可微,則 f ◦ g 在 x 可微:
(f ◦ g)′ (x) ≡ (f (g(x)))′ = f ′ (g(x)) · g ′ (x)
s
√ 1 x−1
例. 求導函數: 1. (x3 − 1)2023 2. x2 + 1 3. 2 4.
x +3 x+1
解.
1. 令 f (u) = u2023 ,g(x) = x3 − 1,則 f ′ (u) = 2023 u2022 ,(x3 − 1)2023 = f (g(x))。
由鏈鎖律 ((x3 − 1)2023 )′ = (f (g(x)))′ = f ′ (g(x)) · g ′ (x) = 2023 · (x3 − 1)2022 · (3x2 )。
√ 1 √
2. 令 f (u) = u = u 2 ,g(x) = x2 + 1,則 f ′ (u) = √ , x2 + 1 = f (g(x))。
1

2 u
√ ′ ′ ′ ′ 1 x
由鏈鎖律 ( x2 + 1) = (f (g(x))) = f (g(x)) · g (x) = √ 2 · (2x) = √ 2 。
2 x +1 x +1
1 −1 1
3. 令 f (u) = ,g(x) = x2 + 3,則 f ′ (u) = 2 , 2 = f (g(x))。
u ′ u x +3
1 −1 −2x
由鏈鎖律 2
= (f (g(x)))′ = f ′ (g(x)) · g ′ (x) = 2 2
· (x2 + 3)′ = 2 。
x +3 (x + 3) (x + 3)2
s
√ x−1 1 x−1
4. 令 f (u) = u,g(x) = ,則 f ′ (u) = √ , = f (g(x))。
s x+1 2 u x+1
!′  
x−1 ′ ′ ′ 1 x−1 ′ 1 2
由鏈鎖律 = (f (g(x))) = f (g(x)) · g (x) = q x−1 · = q x−1 =
x+1 2 x+1 x+1 2 x+1 (x + 1)2
1
q 。
(x − 1)(x + 1)3
結論. 若 f (g(x)) = x,則等式兩邊對 x 微分 =⇒ (f (g(x)))′ = 1 =⇒ f ′ (g(x)) · g ′ (x) = 1 =⇒
1
g ′ (x) = ′ 。
f (g(x))
f (x) ex ln x xα sin x cos x tan x sin−1 x cos−1 x tan−1 x

1 1 1 1
f ′ (x) ex α xα−1 cos x − sin x sec2 x √ −√
x 1 − x2 1 − x2 1 + x2

2.3 自然指數、對數與微分
定義 (自然指數 e 與 ex 微分).

• 給定 a > 0,求 f (x) = ax 之導函數


df f (x + h) − f (x) ax+h − ax ah − 1 ah − 1
• = lim = lim = lim ax · = ax · lim
dx h→0 h h→0 h h→0 h h→0 h
ah − 1 d x
• 令 C(a) = lim ,則 a = C(a) · ax
h→0 h dx
• 觀察:C(a) 隨 a 遞增;對於某個介於 2,3 間的 a,C(a) = 1。

h 10−1 10−2 10−3 10−4 10−5 10−6 10−7


2h − 1
0.7177 0.6956 0.6934 0.6932 0.6931 0.6931 0.6931
h
3h − 1
1.1612 1.1047 1.0992 1.0987 1.0986 1.0986 1.0986
h
5 −1
h
1.7462 1.6225 1.6107 1.6096 1.6095 1.6094 1.6094
h
10h − 1
2.5893 2.3293 2.3052 2.3028 2.3026 2.3026 2.3026
h

eh − 1 d x
• 定義 C(e) = 1 =⇒ lim = 1,則 e = C(e) · ex 。 ln x ≡ loge x
h→0 h dx

1
性質. (ex )′ = ex ; (ln x)′ = 。
x
1
。令 f (u) = eu ,g(x) = ln x,則 f ′ (u) = eu ,f (g(x)) = x;故 g ′ (x) =
解. 由定義 eln x = x(x > 0)
f ′ (g(x))
1 1
=⇒ (ln x)′ = = 。
eln x x
性質. (ax )′ = ax · ln a, ∀ a > 0。

證. a = eloge a ≡ eln a =⇒ ax = ex ln a 。令 f (u) = eu ,g(x) = x ln a,則 f ′ (u) = eu ,f (g(x)) = ex ln a = ax ;


故 (f (g(x)))′ = f ′ (g(x)) · g ′ (x) = ex ln a · (x ln a)′ = ax · ln a。

結論. C(a) = ln a。

性質. (xα )′ = α xα−1 (α ∈ R)


 1 1
解. xα = eln x = eα ln x 。故 (xα )′ = (eα ln x )′ = eα ln x · α ·
α
= xα · α · = α xα−1 。
x x
Q

tan h
1
sin h

h S
O cos h R
1

2.4 三角函數微分
sin h
性質. lim =1
h→0 h

sin h sin h sin h


證. 由面積關係 ∆OP R ⩽ 扇形 OP R ⩽ ∆OQR =⇒ sin h ⩽ h ⩽ =⇒ ⩽ 1, cos h ⩽ =⇒
cos h h h
sin h sin h
cos h ⩽ ⩽ 1。由 lim cos h = 1 與夾擊定理,lim = 1。
h h→0 h→0 h

cos h − 1
性質. lim =0
h→0 h
h h h h h h cos h − 1
解. 由 cos h = cos + = cos2 − sin2 = 1 − 2 sin2 =⇒ cos h − 1 = −2 sin2 ,則 lim =
2 2 2 2 2 2 h→0 h
2 sin2 h2 sin2 h sin h h sin h h sin H h
lim − = − lim h 2 = lim h 2 · sin = lim h 2 · lim sin = lim · lim sin = 1 · 0 = 0
h→0 h h→0
2
h→0
2
2 h→0 2 h→0 2 |H→0 {z H } h→0 2
令H≡ h
2

性質. (sin x)′ = cos x


sin(x + h) − sin x sin x cos h + cos x sin h − sin x cos h − 1 sin h
證. (sin x)′ = lim = lim = lim sin x +cos x =
h→0 h h→0 h h→0 h h
cos h − 1 sin h
sin x lim + cos x lim = cos x
h→0 h h→0 h
性質. (cos x)′ = − sin x
 π ′ π  π ′
證. (cos x)′ = sin −x = cos −x · − x = − sin x
2 2 2
性質. (tan x)′ = sec2 x
 ′
sin x cos x · cos x − (− sin x) · sin x 1
證. (tan x)′ = = 2
= = sec2 x
cos x cos x cos2 x

2.5 反三角函數微分
1
性質. (sin−1 x)′ = √
1 − x2
證. sin(sin−1 x) = x,x ∈ [−1, 1]。令 f (u) = sin u,g(x) = sin−1 x,則 f ′ (u) = cos u,f (g(x)) = x;故
1 1 1
g ′ (x) = ′ =⇒ (sin−1 x)′ = −1 =√ 。
f (g(x)) cos(sin x) 1 − x2
1
性質. (cos−1 x)′ = − √
1 − x2
證. cos(cos−1 x) = x,x ∈ [−1, 1]。令 f (u) = cos u,g(x) = cos−1 x,則 f ′ (u) = − sin u,f (g(x)) = x;故
1 1 1
g ′ (x) = ′ =⇒ (cos−1 x)′ = = −√ 。
f (g(x)) − sin(cos x)
−1
1 − x2
1
性質. (tan−1 x)′ =
1 + x2
證. tan(tan−1 x) = x,x ∈ (−∞, ∞)。令 f (u) = tan u,g(x) = tan−1 x,則 f ′ (u) = sec2 u,f (g(x)) = x;故
1 1 1
g ′ (x) = ′ =⇒ (tan−1 x)′ = 2 −1 = 。
f (g(x)) sec (tan x) 1 + x2

2.6 對數微分法
g ′ (x)
性質. (ln g(x))′ = 。
g(x)
1
證. 令 f (u) = ln u,則 f ′ (u) = ,ln g(x) = f (g(x))。由鏈鎖律 (f (g(x)))′ = f ′ (g(x)) · g ′ (x) =⇒ (ln g(x))′ =
u
1 ′ g ′ (x)
· g (x) = 。
g(x) g(x)
s
(x4 + 12)(x5 − x2 + 2)
,求 f ′ (x)。
4
例. f (x) =
x3 + 1
1 (x4 + 12)(x5 − x2 + 2) 1 
解. ln f (x) = ln = ln(x 4
+ 12) + ln(x 5
− x 2
+ 2) − ln(x 3
+ 1) ;等式兩邊對 x
4 x3 + 1 4 s
f ′ (x) 1  4x3 5x4 − 2x 3x2  ′ 4 (x + 12)(x − x + 2)
4 5 2 1  4x3
微分得 = + − =⇒ f (x) = · +
f (x) 4 x4 + 12 x5 − x2 + 2 x3 + 1 x3 + 1 4 x4 + 12
5x4 − 2x 3x2 
− 。
x5 − x2 + 2 x3 + 1
π
例. f (x) = (cos x)(sin x) ,0 < x < ,求 f ′ (x)。
2
解.

= e(sin x) ln(cos x) =⇒ f ′ (x) = e(sin x) ln(cos x) · cos x · ln(cos x) +
(sin x)
•(解一)f (x) = (cos x)(sin x) = eln(cos x)
 − sin x    − sin x 
sin x · = (cos x)(sin x) · cos x · ln(cos x) + sin x ·
cos x cos x
  − sin x 
•(解二)log f (x) = sin x · ln(cos x) =⇒ f ′ (x) = (cos x)(sin x) · cos x · ln(cos x) + sin x ·
cos x

2.7 隱函數微分
例. 求圓 x2 + y 2 = 25 上點 (3, −4) 之切線方程式。
解.
√ x
•(顯函數微分)在點 (3, −4) 附近 y = − 25 − x2 =⇒ y ′ = √ ,故點 (3, −4) 之切線斜率為
25 − x2
3 3 3
√ = ,切線方程式為 (y + 4) = (x − 3)。
25 − 32 4 4
•(隱函數微分)令點 (3, −4) 附近 y 為 x 之函數(y = y(x)) ,圓方程式寫作 x2 + y(x)2 = 25;兩邊同對
x 3 3
x 微分:2x + 2y(x) · y ′ (x) = 0 =⇒ y ′ (x) = − 。點 (3, −4) 之切線斜率為 y ′ (3) = − = ,切
y(x) y(3) 4
3
線方程式為 (y + 4) = (x − 3)。
4
dy
例. 若 xy + ex + ey = 1,求 。
dx
解. 令 y 為 x 之函數(y = y(x)) ,等式寫作 x·y(x)+ex +ey(x) = 1; 兩邊對 x 微分: x·y ′ (x)+y(x)+ex +ey(x) ·y ′ (x) =
x
dy y(x) + e
0 =⇒ (x + ey(x) ) · y ′ (x) = −(y(x) + ex ) =⇒ ≡ y ′ (x) = − 。
dx x + ey(x)
例. 若 x2 ey + 4x cos y = 5,求在 y = 0 時之 y ′ 。

解. 令 y 為 x 之函數(y = y(x)) ,等式寫作 x2 ey(x) +4x cos y(x) = 5;兩邊對 x 微分:2x·ey(x) +x2 ·ey(x) ·y ′ (x)+
4 cos y(x)−4x·sin y(x)·y (x) = 0。當 y(x) = 0,上式為 2x·e0 +x2 ·e0 ·y ′ (x)+4 cos 0−4x·sin 0·y ′ (x) = 0 =⇒

4 + 2x
2x+x2 ·y ′ (x)+4 = 0 =⇒ y ′ (x) = − 。由 x2 ey +4x cos y = 5 知 y = 0 時 x2 +4x = 5 =⇒ x = −5 ∨ x = 1,
x2
4 − 10 6 4+2
則 y ′ (−5) = − = ,y ′
(1) = − = −6。
(−5)2 25 12

雜題
例. 令 f (x) = ex + x,求 (f −1 )′ (e + 1)。
1
解. 令 g(x) ≡ f −1 (x),則 g(f (x)) = x。等式兩邊對 x 微分:g ′ (f (x)) · f ′ (x) = 1 =⇒ g ′ (f (x)) = 。由
f ′ (x)
1 1
f (1) = e + 1,g ′ (e + 1) = g ′ (f (1)) = = 。
f ′ (1) e+1
例. 若 F (x) = f (x · f (x · f (x))),且 f (1) = 2,f (2) = 3,f ′ (1) = 4,f ′ (2) = 5,f ′ (3) = 6,求 F ′ (1)。
 ′
解. 由鏈鎖律 f (x · f (x · f (x))) = f ′ (x · f (x · f (x))) · (x · f (x · f (x)))′ 。又 (x · f (x · f (x)))′ = f (x · f (x)) + x ·
 ′
f ′ (x · f (x)) · (x · f (x))′ = f (x · f (x)) + x · f ′ (x · f (x)) · (x · f ′ (x) + f (x))。故 F ′ (1) = f (x · f (x · f (x))) =
   x=1
′ ′ ′ ′ ′
f (x · f (x · f (x))) · f (x · f (x)) + x · f (x · f (x)) · (x · f (x) + f (x)) = f (f (f (1))) · f (f (1)) + f (f (1)) ·
   x=1

(f (1) + f (1)) = 6 · 3 + 5 · (4 + 2) = 198。

例. f ,g 為可微函數且 f (g(x)) = x。若 f ′ (x) = 1 + (f (x))2 ,求 g ′ (x)。


1 1 1
解. f (g(x)) = x 兩邊對 x 微分得 f ′ (g(x)) · g ′ (x) = 1 =⇒ g ′ (x) = = = 。
f ′ (g(x)) 1 + (f (g(x)))2 1 + x2

You might also like