Download as pdf or txt
Download as pdf or txt
You are on page 1of 351

微積分

微分:描述「瞬間變化」的現象

(i) 平均速度→ 瞬間速度 (在 B 點時間的瞬間速度)


(ii) 割線斜率 → 切線斜率 (過 B 點的切線斜率)
A →B

積分:描述「無窮小累加」的現象。

  半圓
B:半圓的內接 n 個梯形(如下圖) n

(每個內接梯形面積 梯形面積→0 當 n   )

國立交通大學應用數學系 莊重教授 1
許多的 real world 中的物理、工程、經濟和生物現象,都可以用這兩種概念來精確描述,是
用來處理建模(Modeling)不可或缺的概念,也是開啟現代數學分析的起點。

這些現象的描述需要函數和極限來精準的表達,因此,函數和極限可說是微積分這棵大樹的
根基。

國立交通大學應用數學系 莊重教授 2
§1-5 Exponential Functions

§1-6 Inverse Functions and Logarithms

Definition of a function f : a function f is defined to be a correspondence of f between 2


sets A and B satisfying the following:

x  A   ! (存在唯一) y  B s.t. (使得) f (x) = y. Then f is called a function from A


(domain) to B.

在微積分常見的函數:

Polynomials, Trigonometric functions, Exponential and Logarithm functions

國立交通大學應用數學系 莊重教授 3
Composition of the functions f and g :
f g

f  g ( x)  f ( g ( x)).

反函數:

1
f 1 f 1 f 1 
代表 f 的反函數, 是反函數的符號, f .

4x 1
Example 1: Let f ( x)   y . Find the domain and range of f and the inverse of f.
2x  3

 3
Solution:Domain   x  R : x   
 2

4x 1 1 3y
Let  yx  f 1 ( y ).
2x  3 4  2y
 Range =  y  R : y  2 .
1  3x
 f 1 ( x)  .
4  2x

國立交通大學應用數學系 莊重教授 4
m0
Example 2:m  f (v)  . Find f 1 (m). Here m0 is mass at rest, and m is mass with speed
2
v
1
c2
v and c is the speed of the light.

m0
Solution: m .
v2
1 2
c

c
v .
m02
1 2
m
1
= f (m).

 5 120
Example 3: sin  2sin 1   sin 2  2 cos  sin   .
 13  169

Solution:

Properties of log.

log a a x  x , x  R ; a log a  x , x  0.
x
(i)

(ii) log a  xy   log a x  log a y , x, y  0.

x
(iii) log a  log a x  log a y , x, y  0
y

log c b
(iv) log a b  , a, b  0.
log c a


Example 4: sin tan 1 x   x
.
1  x2

國立交通大學應用數學系 莊重教授 5
 4  
Example 5: tan 1  tan  .
 3  3

1-5 Exponential Functions

指數函數 f ( x)  a x , a  0 .

1. 成長或衰退的非常快.

2.e
3.Applications

a3  a  a  a

3
a 2  a3

2  23.14....

Example 6: e 這個數?

國立交通大學應用數學系 莊重教授 6
Solution:幾何上: y  a x , a  0 , 恆過  0,1 點.

Facts:‧當 a  2 , 過  0,1 和 y  2 x 相切的切線斜率約為 0.7。

‧ 當 a  3 , 其相對的切線斜率約為 1.1。

 存在一實數 a  0, 使得其相對的切線斜率為 1.我們令此實數為 e .

此 e 為無理數約為 e  2.71828.

Example 7:Moon-Earth 的距離約為 384,400km,我們假設為 400,000km,又一張紙的厚度設


為 102 cm,請問摺幾次後紙張厚度超過 M-E 的距離?

Solution:

k : 紙張摺的次數
2k  107  4  105
12
 k  2
log 2
 k  42

Remark:當然紙張不可能摺 42 次,但這例子是告訴大家,指數的成長速度是驚人的。

國立交通大學應用數學系 莊重教授 7
Example 8:放射性元素衰退的函數

Rutherford (1871-1937) 發現放射性的元素衰退可以用指數函數來描述.

Let p(t) 代表在 t 時間某個放射性元素的密度,若假設此元素的 half-life 是 ,

則可導出 p(t).
t

Solution: p(t )  p0  2 

= p0  e  t

Example 9:The Age of the Uranium in Our Solar System

已知:(I) U half life 4.468 GYr (1GYr  109 years)


238

235
U half life 0.707 GYr

238 238
U (t ) U (0)
(II) 235  137.8 (可測量) 235
1.
U (t ) U (0)

問:How old is our Solar System?

對數函數: (指數函數的反函數)

國立交通大學應用數學系 莊重教授 8
(i) log a a x  x , x  R ; a loga  x , a, x  0.
x

(ii) log a  xy   log a x  log a y , a, x, y  0.

x
(iii) log a  log a x  log a y , a, x, y  0.
y

log c b
(iv) log a b  , a, b, c  0.
log c a

(v) log e x  ln x, x  0.

國立交通大學應用數學系 莊重教授 9
§2-2 ─ 2-3 Limit

g ( x)  g (a )
* f ( x)  函數上過 x 點和 a 點的割線斜率
xa

lim f ( x)  ?  g 在過 x=a 點的切線斜率。


x a

* lim f  x   L , lim f  x   L (右極限) , lim f  x   L (左極限)


xa xa xa

i. x  a , x 愈來愈靠近 a ,但從來不是 a .
ii. ‧極限存在  極限唯一  左極限  右極限.

‧左、右極限分別存在且相等  極限存在.

iii. ‧ L 不一定是 f  a  .

國立交通大學應用數學系 莊重教授 1
iv. If

 1. Polynomials

f : 2. Rational functions, a  Domain  f 

 3. The graph of f has no break,
 L  f  a .

*更一般來說,若 f : continuous at a, 則 L=f (a)

Example 1:

(1) 那些 a 使得上述左、右極限,分別存在。

Solution:(i) R  1 (也即只有 a  1 時 , 左極限不存在).

(ii) R  0,1 (也即在 a  0 or 1 時 , 右極限不存在).

(2) 那些 a 使得上述極限存在。

Solution: R  0,1, 2 (註)

國立交通大學應用數學系 莊重教授 2
*註-1:
1
Let xn  ,   R. Then lim xn  0
2n   n

1 1
lim sin  lim sin  lim sin   sin  .
n xn xn  0 xn xn 0
此表示當 x 由右邊趨近 0 時,若趨近路徑不相同時,極限不同。

*註-2:

lim f ( x) 我們可以說極限不存在,
x1

或寫成 lim f ( x )   且 lim f ( x )   ,


x 1 x 1

但不可寫成 lim f ( x )   !
x 1

*註-3:

若如右圖,則可寫成 lim f ( x )  
x 1

(3) 那些 a 使得 L  f  a  .

Solution: R  {0,1,2,3,4}


Example 2: lim x 2  1  ?
x 0

*註記:
Solution: lim  x 2  1  1
x 0 1.在極限的定義
中,x 趨近於 1,
x 1 但是 x 卻不能=1
Example 3: lim ?
x 1 x2  1 2. 計算極限,不
一定能直接帶進
x 1 1 1 去算。
Solution: lim  lim 
x 1 x  1 x 1 x  1 2
2

國立交通大學應用數學系 莊重教授 3
2x 2x
Example 4: lim ? lim ?
x3 x3 x3 x3

2x 2x
Solution: lim  lim  
x3 x3 x3 x3

2 x 2  3x
Example 5: lim ?
x 1.5 2 x  3

Solution:
2 x 2  3 x x(2 x  3)
lim   x  1.5
(i) 右極限:
x 1.5 | 2x  3 | (2 x  3)

2 x 2  3 x x(2 x  3)
lim    x  1.5
(ii) 左極限:
x 1.5 | 2 x  3 |  (2 x  3)

2 x 2  3x
lim
x 1.5 | 2 x  3 |
⇒ 不存在 *註記:
本題目是要提醒
 1 2  大家,兩個分數
Example 6: lim   2 ?
x 1 x  1
 x  1  相加減,應先通
分,合併成一個
 x 1  1 1 分數。
Solution: lim  2   lim 
x 1 x  1
  x 1 x  1 2

t2  9  3
Example 7: lim ?
t 0 t2

Solution:
*註記:

  
見根號可利用
t2  9  3 t2  9  3
lim (a  b)(a  b)
t 0
t2  t2  9  3   a2  b2
1 來化簡。
 lim
t 0
t2  9  3
1

6

國立交通大學應用數學系 莊重教授 4
 1 1
Example 8: lim    ?
t 0
 t 1 t t  *註記:
本題同時運用
Solution: 例題 6 與例題
1 1 t  7 之技巧。
合併: lim 

 t 1 t
t 0

(a  b)(a  b) (1  1  t )(1  1  t )
( ): lim
( a  b) t  0 t 1  t (1  1  t )

 1 
 lim 

t 0
 1  t (1  1  t ) 
1

2

6 x 2
Example 9: lim ?
x2 3  x 1

Solution:
6 x 2
lim
x2 3  x 1
(2  x)( 3  x  1)
 lim
x2 (2  x)( 6  x  2)
4
 2
2

3
1  cx  1
Example 10: lim ? *註記:
x 0 x
利用乘法公式:
Solution:
a3  b3 
去根號。
Let a=1+cx (a  b)(a 2  ab  b 2 )

1 2 1
(a  1)(a  a  1)
3 3 3
a 1
lim 2 1
 lim 2 1
x 0 x 0
x(a  a  1)
3 3
x(a  a  1)
3 3

cx c c
lim 2 1
 lim 2 1

x 0 x 0 3
x(a  a  1)
3 3
a  a 1
3 3

國立交通大學應用數學系 莊重教授 5
Example 11: lim  x   ? lim  x   ?
x2 x  2

Solution: lim  x   2 ; lim  x   1


x  2 x  2

3x 2  ax  a  3
Example 12: lim exits. Find a and its limit.
x 2 x2  x  2

Solution:

3   2   a  2   a  3  0
2
*註記:
 a  15 分母趨近於 0 當
3 x 2  15 x  18 x→-2,因此分子也
lim
x 2 x2  x  2 要趨近於 0 當
3  x  2  x  3 x→-2,才能保證極
 lim
x 2  x  2  x  1
限存在!
 1

f ( x)
Example 13:If lim  5 , find the following limits.
x 0 x2

f ( x)
(a) lim f ( x) (b) lim
x0 x 0 x

f ( x)
Solution: (a) lim f ( x)  0 (b) lim 0
x 0 x 0 x

 x  4, x  4
Example 14: lim f  x   exists. f ( x)   Find a.
x4
 8  ax, x  4

Solution: 右極限  0  左極限  8  4a

a2

國立交通大學應用數學系 莊重教授 6
Limit Laws. lim f  x  , lim g  x  exist.
xa xa

 lim f  x   g  x   lim f  x   lim g  x 


xa xa xa

Here   , , .

若 lim g ( x) 存在且不為 0,則*也可是÷。


xa

The Sandwich Theorem.

If f  x   h  x   g  x  , except possibly at a , for x near a , and

lim f  x   lim g  x   L , then lim h( x)  L .


xa xa x a

1
Example 15: lim x sin ?
x 0 x

Solution:

1
 x  x sin  x
x
1
 lim x sin 0
x 0 x

x 2 if x is rational
Example 16:If f ( x)  
0 if x is irrational

prove that lim f ( x)  0 .


x 0

國立交通大學應用數學系 莊重教授 7
Example 17:The figure shows a fixed circle c1 with equation ( x  1) 2  y 2  1 and a
shrinking circle c2 with radius r and center the origin. P is the point
(0,r), Q is the upper point of intersection of the two circle, and R is
the point of intersection of the line PQ and the x-axis. What happens
to R as c2 shrinks, that is as r  0  ?

國立交通大學應用數學系 莊重教授 8
§2-4 Definition of the Limit

*如果當 x 越來越接近 a(但不等於 a),則 f(x)越來越接近 L,則我們說

lim f ( x)  L
xa

以上概念如何用嚴謹的數學表達呢?

lim f ( x)  L
xa

Definition: lim f  x   L 
x 

Given   0 , there exists a   0 such that s.t.

if 0  x  a   , then f  x   L   .

Remarks:(i)  是任意先給,要多小就可給多小。

(ii) 給 L 的任一小的近旁(附近)( | f (x)-L | < ε),我們需找一


個 a 的夠小近旁 (0 < | x-a |< δ),使得在此找到的 a 的近旁,
除 a 之外,每個相對的 f (or y)值皆介於事先任意指定的 L 的
近旁。

(iii) x  a  0  x  a.

國立交通大學應用數學系 莊重教授 1
Example 1: lim  5 x  1  4
x 1

Proof by definition.

Proof :

草稿:

從目標著手:

若 | f ( x)  L |  (L的近旁)
| 5 x  1  4 | 
| 5 x  5 | 

| x  1| (a的近旁)
5


Given ε , choose   . We have that
5


if 0  x  1  , then | f ( x)  4 || 5 x  1  4 | 5 | x  1 | 
5

Example 2:Prove lim x 2  9 by definition.


x 3

Proof:

草稿:

從目標著手:

若 | x 2  9 | 
| ( x  3)( x  3) | 

國立交通大學應用數學系 莊重教授 2
若 2  x  4 , 也即 x  3  1 ,

則  x  3 x  3  7 x  3 .


若 x  3 也小於 , 則  x  3 x  3  7 x  3   .
7

  
Given   0 , 取   min 1,   1 和 較小的那一數.
 7 7

則 if x  3   then | x  3 | 1, and so | x  3 | 7

Hence, | x 2  9 || ( x  3)( x  3) | 7 | x  3 |  .

國立交通大學應用數學系 莊重教授 3
§2-5 Continuity

Definition:

f is continuous at x=a

⇔The graph of f has no break at x=a

⇔ lim f ( x)  f (lim x )  f ( a ) (極限和函數可交換)


xa xa

⇔Given ε>0, ∃ a s.t.

if | x - a |< δ, then | f (x) - f (a) |< ε.

*Three types of discontinuities:

1. Jump 2. Infinite 3. Removable

discontinuity at x=1. 1 1,
, if 0 1
1 , 1
1, if 0 3

discontinuity at x=0. discontinuity at x=1.

Definition:

f is continuous on I.

⇔f is continuous at every point in I.

1
國立交通大學應用數學系 莊重教授
*Functions that are continuous on their domains:

Polynomials.

Exponentials & Log functions.

Trig. & Inverse trig. functions.

Rational.

Root functions.

Example 1: lim x  ?
x 1

Solution: lim x  lim x  1  1


x 1 x 1

1 x 
Example 2: lim sin 1  ?

 1 x 
x 1

 1  1 
Solution: lim sin 1    sin 1 
x 1
1 x  2 6

Example 3: , 2
1 , 2

(i) Is f continuous at x=2?

(ii) If not, classify the type of discontinuity of f at x=2.

Solution:

 x2  x  2 
(i) lim   lim( x  1)  3  1 ⇒ No!
x2
 x  2  x 2

(ii) Removable discontinuity.

2
國立交通大學應用數學系 莊重教授
x7
Example 4: f1 ( x)  [ x] , f 2 ( x) 
| x7|

(i) Find, respectively, the set of discontinuities of f i , i =1, 2.

(ii) Classify the type of discontinuity of f i , i =1, 2.

Solution:

(i) f1 :discontinuous at all the integers.

f 2 :discontinuous at x=7.

(ii) All are jump discontinuity.

Example 5: 1, 3.
Find c so that f is continuous on (-∞,∞).
1 , 3.

0 , is irrational.
Example 6: Find the set of discontinuity of f .
1, is rational.

Solution:

因為有理數與無理數在實數線上接稠密(dense)(任意兩個不同的實數中
間,一定存在一個有理數和無理數),因此 f 在所有實數點上皆不連續。

0 , is irrational.
Example 7: Find the set of discontinuity of f.
, is rational.

Solution: lim f ( x)  0  f (0). ⇒在 0 點 f is continuous.


x 0

In fact, it is the only continuity.

⇒Discontinuity of f = R-{0}.

3
國立交通大學應用數學系 莊重教授
*The Intermediate Value Theorem (中間值定理) (IVT)

 f is cont. on [a,b].
 f (a) < N <f (b) or f (b) < N < f (a)

⇒∃ c ∈ (a,b) s.t. f (c) = N

Example 8:小明早上 7 點從溪頭出發,一路往上,爬上阿里山,於下午 4 點抵


達,在阿里山休息了一個晚上以後,隔天 7 點沿著相同路線往 下
走回溪頭,一樣在下午 4 點抵達。試說明小明在這兩天所經過的路
徑中,必然有一點小明在這兩天的同一時間經過。

Solution:

Let f (t) = (第一天小明在 t 時間的標高) - (第二天小明在 t 時間的標高)

⇒ f (7) < 0 and f (16) > 0

⇒∃ t s.t. f (t) = 0

*問:如果這條 “溪-阿路線” 不是一直往上(有上上下下的路段),以


上結論還是對嗎?

4
國立交通大學應用數學系 莊重教授
§2-6 Limit at Infinity; Horizontal Asymtotes

 Vertical Asymptotes (垂直漸進線) (V.A.)

Horizontal Asymptotes (水平漸進線) (H.A.)

Definition:

(i) If either of the following 4 limits holds,

lim f ( x )   ,
xc 

then x = c is called a V.A. of f.

(ii) If lim f ( x )  d or lim f ( x )  d ,


x   x  

then y = d is called a H.A. of f.

國立交通大學應用數學系 莊重教授
1
Vertical Asymptotes

Horizontal Asymptotes

3x 2  x  2
Example 1:Let f ( x)  , find lim f ( x )  ?
5x 2  4 x  3 x 

And find H.A. & V.A. of f if it has.

Solution:

3x 2  x  2 3x 2 3
lim  lim 
x  5 x 2  4 x  3 x  5 x 2 5

3
H.A.: y  .
5

國立交通大學應用數學系 莊重教授
2
V.A.:No.

( 5 x 2  4 x  3  0 for all x ⇔There is no c  R s.t lim(5 x 2  4 x  3)  0 .)


xc

Example 2:Find H.A. & V.A. of the following f .

2x 2  1 9x6  x
(i) f ( x)  , (ii) f ( x) 
3x  5 x3 1

Solution:

(i) (ii)
2 2
H.A.: y  or y   . H.A.:y = 3 or y = -3.
3 3

5 V.A.:x = -1.
V.A.: x  .
3

2x 2  1
f ( x) 
3x  5

國立交通大學應用數學系 莊重教授
3
*註

9x6  x
f ( x) 
x3  1

*註記:f (x)在此處沒定義,

因為根號裡面<0。


Example 3: lim x 2  1  x  ?
x 

Solution:

lim( x 2  1  x)
x 

( x 2  1  x)
 lim ( x 2  1  x)
x
( x  1  x)
2

1
 lim
x
x2  1  x
0

國立交通大學應用數學系 莊重教授
4
*註記:

1. 這個例子 y = x 稱為 y  x 2  1 的 slant(斜) asymptote。

2. 一般來說,若 f ( x)  ax  b when | x | is “large”( a  0 ),

且 lim[ f ( x )  ( ax  b )]  0 or lim [ f ( x )  ( ax  b )]  0 ,
x x  

則稱 y = ax + b 為 y = f (x)的 slant asymptote(斜漸進線)。

國立交通大學應用數學系 莊重教授
5
§2-7 Derivatives and Rates of Change

Definition:

f has a derivative at x = a (or f is differentiable at x = a) provided that


f ( a  h)  f ( a ) f ( x)  f (a )
lim exists or equivalently lim exists.
h0 h x a xa

This limit will be denoted by f ' (a) .

Remark:

Geometrically,

f ( a  h)  f (a )
(i) = the slope of the secant.
h

1
國立交通大學應用數學系 莊重教授
(ii) f ' (a) = the slope of the tangent of y = f (x) at x = a.

*註記:Generally speaking: f ' (a) = the rate of change of f at a.

i. 若 f (t) = position at time t.

⇒ f ' (a) = the instantaneous velocity at time t = a.

ii. f (x) = the cost to produce x(m) amount of fabric.

⇒ f ' (a) = the marginal cost when the production level is at x = a.

Example 1: f ( x)  x 2  8x  9 . Compute f ' (a) by definition.

Solution:

f ( x)  f (a)
lim
x a xa
( x 2  8 x  9)  (a 2  8a  9)
 lim
x a xa
 lim( x  a  8)
x a

 2a  8

Example 2:Find an equation of the tangent to y  x 2  8x  9 at (3,6) .

Solution:

Slope at x = 3: f ' (3)  2

Point: (3,6)

Point-slope form (點斜式): y  6  2( x  3)

2
國立交通大學應用數學系 莊重教授
Example 3:Let c = f (v), where v denotes the speed km  hr
 of the car, and c
means its gas consumption liter  hr
.
i. What is the meaning of the derivative f ' (v) ?

What is its unit?

ii. Write a sentence that can explains the meaning of the equation of
f ' (40)  0.1 .

Solution:

i. f ' (v) means the gas consumption rate if a car at speed v.

liter
Its unit: hr  liter .
km km
hr

ii. The gas consumption is decreasing by 0.1  liter as the speed


km

of the car reaches 40 km .


hr

Example 4:The cost of producing x meters of a fabric is C = f ( x ) dollars.

i. What is the meaning of the derivative f ' ( x ) ? What is its unit?


ii. In practical terms, what is the meaning of f ' (1000)  9 ?
iii. Which do you think is greater, f ' (50) or f ' (500 ) ? How about
f ' (5000 ) ?

Solution:

i. The meaning of f ' ( x ) is the marginal cost when the production

level is x. Unit= $
m
ii. 當公司生產量是 1000m,如果額外再生產 1 公尺長度的布料,
公司差不多只需額外花費 9 元。
iii. f ' (50) :低產量

f ' (500) :中產量

3
國立交通大學應用數學系 莊重教授
f ' (5000 ) :高產量

f ' (50) > f ' (500) , f ' (5000 ) > f ' (500) .

4
國立交通大學應用數學系 莊重教授
§2-8 The Derivative As a Function

Definition:

The derivative of y = f (x) is defined to be

f ( x  h)  f ( x)
f ' ( x)  lim whenever the limit exists.
h 0 h

Notations:

dy df
* f ' ( x)  y '    Df ( x )  D x f ( x ) .
dx dx

d dy d2y
* f ' ' ( x)  y ' '  ( ) 2
dx dx dx

d d2y d3y
* f ' ' ' ( x)  y ' ' '  ( 2) 3
dx dx dx

dny
*f (n)
( x)  y (n)
 n
dx

1
國立交通大學應用數學系 莊重教授
Example 1: f ( x )  x  1 . Compute f ' ( x ) by definition.

Solution:

( x  h)  1  x  1
f ' ( x)  lim
h 0 h
[( x  h)  1]  ( x  1)
 lim
h 0
h ( ( x  h )  1  x  1)
1
 lim
h 0
( x  h)  1  x  1
1

2 x 1

3x  1
Example 2: lim  f ' (0) . Find f.
x 0 x

Solution: f ( x)  3 x

Theorem:f has derivative at x = a


*註記:反之不對!
⇒ f is continuous at x = a. 見下頁之例子。

*Some cases that yield the nonexistence of derivative of f at x = a:

(i) f is continuous at x = a,

but is not differentiable at x = a.

例如:f (x)=| x |.

f has no derivatives at x =0.

2
國立交通大學應用數學系 莊重教授
(ii) f has infinite tangent at x = a.

1
例如: f ( x)  x 3 .

f has no derivatives at x =0,

but f is continuous at x = 0.

(iii) f has break at x = a.

例如:f (x) = [x]

f has no derivatives at all integers.

The set of discontinuous points

={all integers}.

*Roughly speaking, if f has a break, a corner or a sharp turn at x = a, then f

has no derivative there.

Example 3:f (x) = x | x |. Does f have a derivative at x = 0 ?

Solution:

x|x|
f ' (0)  lim  lim | x | 0 .
x 0 x x 0

3
國立交通大學應用數學系 莊重教授
 1 x0
 x sin , if
Example 4: f ( x)   x
 0 , if x0

Discuss the differentiability and continuity of f at x = 0.

Solution:

i. f is continuous at x = 0 by Sandwich Theorem.


f ( x)  0 1
ii. lim  lim sin (not exist)
x 0 x0 x 0 x

⇒ f is not differentiable at x = 0.

⇒ f is continuous at x = 0.

1 1
f ( x)  sin , x  0 f ( x)  x sin , x  0
x x

 2 1 x0
 x sin , if
Example 5: f ( x)   x
 0 , if x0

Discuss the differentiability and continuity of f at x = 0.

Solution:

f ( x)  0 1
f ' (0)  lim  lim x sin  0 .
x 0 x0 x 0 x

⇒ f is differentiable at x = 0.

⇒ f is continuous at x = 0.

4
國立交通大學應用數學系 莊重教授
Example 6:Let f ( x )  ax  b , f (0) = 1 and f ' (0)  1 . Find a and b.

Solution:

f ( 0)  1  b  b  1  a  2 .

5
國立交通大學應用數學系 莊重教授
§2-9 The Derivative As a Function

dy df
Notations: f ' ( x )  y '    Df ( x )  D x f ( x ) .
dx dx

Example 1: f ( x)  x 3  x . Compute f ' ( x ) by definition.

Solution:

f ( x  h)  f ( x)
f ' ( x)  lim
h 0 h
[( x  h)  ( x  h)]  ( x 3  x)
3
 lim
h 0 h
 3x  1

Example 2: f ( x)  x  1 . Compute f ' ( x ) by definition.

Solution:

( x  h)  1  x  1
f ' ( x)  lim
h 0 h
[( x  h)  1]  ( x  1)
 lim
h 0
h ( ( x  h )  1  x  1)
1
 lim
h 0
( x  h)  1  x  1
1

2 x 1

Example 3:f (x) = x | x |. Does f have a derivative at x = 0 ?

Solution:

x|x|
f ' (0)  lim  lim | x | 0 .
x 0 x x 0

1
國立交通大學應用數學系 莊重教授
§3-1 Derivatives of Polynomials and Exponential Functions

*這節將學多項式和指數的微分

公式:
Definition:
i. ( x n )'  nx n 1 . e is the number such that
ii. (e x )'  e x . eh  1
lim 1
iii. Let a  R . Then (af  g )'  af ' g ' h0 h
wherever f and g are differentiable.

Proof of (i):(For n  N )

( x  h) n  x n
f ' ( x)  lim
h0 h
h(nx  C2 x h  C3n x n3 h 2  ...  Cnn1 xh n2  h n1 )
n 1 n n2
 lim
h0 h
n 1
 nx

*註記:當 n  R , (i)式也是對的,證明要用到 chain rule 和對數的微分。

1
國立交通大學應用數學系 莊重教授
Proof of (ii)

e xh  e x  eh  1 
f ' ( x)  lim  lim e x    e x .
h0 h0
h  h 

eh  1
f '(0)  lim 1
h 0 h

Example 1:

( x 3  2 x 2  3 x  1)'  ?

Solution:

( x 3  2 x 2  3 x  1)'  3 x 2  4 x  3 .

Example 2:

b
Let y  ae x  , find y '  ?
x

Solution:

b
y '  ae x  .
x2

2
國立交通大學應用數學系 莊重教授
Example 3:Find the points on the curve y  x 3  x 2  x  1 , where the tangent is
horizontal.

Solution:

Let y '  3x 2  2 x  1  ( x  1)(3x  1)  0 , which means that there are two


1
horizontal tangent lines at x = 1 & x   .
3

1 32
For x = 1 or x   , y = 0 or y  , respectively.
3 27

1 32
⇒The points are ( 1 , 0 ) & ( , ) .
3 27

Example 4:

Find y  ax 2  bx whose tangent at ( 1 , 1 ) has equation y  3 x  2 .

Solution:

Passing ( 1 , 1 ) ⇒ f ' (1)  3

 a b 1  a  2
⇒ ⇒
2a  b  3 b  1

Example 6:Find a cubic function f ( x)  ax 3  bx 2  cx  d whose graph has


horizontal tangents at ( -2 , 6 ) & ( 2 , 0 ).

Solution:

f ' ( x)  3ax 2  2bx  c

Passing ( -2 , 6 ) ⇒  8a  4b  2c  d  6 .

Passing ( 2 , 0 ) ⇒ 8a  4b  2c  d  0 .

f ' ( 2)  0  12a  4b  c  0

f ' (2)  0  12 a  4b  c  0

3
國立交通大學應用數學系 莊重教授
3 9
⇒a  , b  0, c   , d  3.
16 4

Example 7:

x 2014  1
lim ?
x 1 x 1

Solution:

x 2014  1
lim  f ' (1) , where f ( x)  x 2014 .
x 1 x 1

⇒ f ' (1)  2014 .

Example 8:

 x2 ,x  2
Let f ( x)  
mx  b , x  2

Find the values of m and b that make f differentiable everywhere.

Solution:

2 x , x  2
f ' ( x)  
m ,x  2

Continuous at x = 2 ⇒ f (2  )  f (2  ) ⇒ 4  2 m  b .

Differentiable at x = 2 ⇒ f ' (2  )  f ' (2  ) ⇒ 4  m .

⇒ b  4 .

4
國立交通大學應用數學系 莊重教授
Example 9:

 1  2 x , x  1

Let g ( x )   x , 2
1  x  1
 x, x  1.

i. Find the set of points at which g is continuous.


ii. Find the set of points at which g is differentiable.

Solution:

 2, x  1

g ' ( x )   2 x,  1  x  1
 1, x  1.

i. g (1 )  1  g (1 )

g (1 )  1  g (1 )

The set of continuity of f is R.

ii. g ' (1 )  2  g ' (1 )

g ' (1 )  2  1  g ' (1 )

The set of differentiability of f is R-{1}.

5
國立交通大學應用數學系 莊重教授
§3-2 The Product and Quotient Rules

*一些微分法則:

公式:

i. Product Rule

( fg )'  f ' g  fg '

ii. Quotient Rule

f f ' g  fg '
( )' 
g g2

Proof of (i):

已知:f and g are differentiable.

求證: ( fg )'  f ' g  fg ' .

f ( x  h) g ( x  h)  f ( x) g ( x)
( fg )' ( x )  lim
h0 h

g ( x  h )[ f ( x  h )  f ( x )]  f ( x )[ g ( x  h )  g ( x )]
 lim
h0 h

(分子同時“+”同時“-” f ( x ) g ( x  h ) )

Since f and g are differentiable, and, hence continuous, the limit above
exists and equals to f ' ( x ) g ( x )  f ( x ) g ' ( x ) .

Remark:

iii. ( fgh )'  f ' gh  fg ' h  fg ' h

Question:Why formulas such as (i) & (iii) are “reasonable” ?


(考慮當 f , g , h 是多項式時的特例,為何(i)和(iii)是合理的)

1
國立交通大學應用數學系 莊重教授
Example 1:

x  3x x
Let f ( x )  , find f ' ( x ) .
x

Solution:

1 1
1 
f ( x)  x  3 x  f ' ( x)  x 2  3
2
2

Example 2:

d  h( x ) 
Let h ( 2)  4, h ' ( 2)  3 , find  
dx  x  x  2

Solution:

d  h( x )  h' ( x ) x  h( x )  3 2  4 5
    
dx  x  x  2 x 2
x2 4 2

Example 3:

f ( x)
Let u ( x )  f ( x ) g ( x ) , v( x )  .
g ( x)

(a) Find u ' (1) .

2
國立交通大學應用數學系 莊重教授
(b) Find v ' (5) .

Solution:

(a) u ' (1)  [ f (1) g (1)]'  f ' (1) g (1)  f (1) g ' (1)  2  1  2  ( 1)  0 .

 1 2
    2  3
f ' (5) g (5)  f (5) g ' (5)  3  3 2
(b) v ' (5)  2
 2
 .
[ g (5)] 2 3

3
國立交通大學應用數學系 莊重教授
§3-3 Derivatives of Trigonometric Functions

*欲得三角函數的微分,需先得知(I)式中的極限值。

I.

sin 
i. lim 1
 0 
cos  1
ii. lim 0
 0 

Proof of (I-i):

AB  < CD *註記:
i. Why ?
⇓ ⇓ ⇓
扇形 OAC 的面積<三角形 OCD 的面積
⇒ sin     tan  . 1
⇒ 
1
0.
2 2
 tan  1 ⇒  CD .
⇒1    .
sin  sin  cos 
ii. 利用(I-i)和半角公式可得(I-ii)。

⇒ lim  1.
 0 sin 

 
Similarly, lim  1 ⇒ lim  1.
 0 sin   0 sin 

1
國立交通大學應用數學系 莊重教授
(也就是說,當 θ 很小的時候,sinθ 差不多就是 θ!)

II.

i. (sin x)'  cos x ii. (cos x)'   sin x


iii. (tan x)'  sec x 2
iv. (cot x)'   csc 2 x
v. (sec x)'  sec x tan x vi. (csc x)'   csc x cot x

Proof of (II-i):

*註記:
sin( x  h)  sin( x)
(sin x)'  lim
h 0 h 嚴格的寫法,需先說明第三
sin( x) cos(h)  cos( x) sin(h)  sin( x)
 lim
h 0 h 等式兩個極限存在,因此第
cos(h)  1 sin(h)
 sin x lim  cos x lim 二等式等於第三等式。
h 0 h h 0 h
 cos x

Proof of (II-iv):

 cos x   sin x( sin x)  cos x(cos x)  1


'

(cot x)'        csc 2 x


 sin x   sin x  sin x
2 2

sin 3x
Example 1: lim ?
x 0 x

Solution:

sin 3 x sin 3x
lim  3 lim 3.
x 0 x x  0 3x

sin 2 3t
Example 2: lim ?
t 0 t2

Solution:

sin 2 3t (3t ) 2
lim 2  lim 2  9 .
t 0 t t 0 t

2
國立交通大學應用數學系 莊重教授
Example 3:

s
求 lim ?
 0 d

Solution:

s r  
lim  lim  lim  lim 1
 0 d  0 2r sin   0 2 sin   0 2  
2 2 2

Example 4:A semicircle with diameter PQ sits on an isosceles triangle PQR to form
a region shaped like a two-dimensional ice cream cone, as shown in the
figure. If A(θ) is the area of the semicircle and B(θ) is the area of the
A( )
triangle, find lim .
 0 B( )

Solution:


Known that the radius of the semicircle = 10 sin .
2

1  
⇒ A( )    (10 sin ) 2  50 sin 2 ( )
2 2 2

1
and B( )   10 2 sin   50 sin 
2

 
50 sin 2 ( ) ( )2
A( ) 2
⇒ lim  lim    lim 2  0 .
 0 B ( )  0 50 sin   0 

3
國立交通大學應用數學系 莊重教授
§3-4 The Chain Rule

*The chain rule:

I. Let F ( x)  f ( g ( x)) ,
*註記:
⇒ F ' ( x)  f ' ( g ( x)) g ' ( x) . i. Key to apply the
chain rule:Identufy u.
II. Let u  g (x) , y  F ( x)  f (u) , dy dy du dv
ii. 
dx du dv dx
dy dy du
⇒  .
dx du dx

III. y  a x ⇒ y'  a x ln a .

Example 1:Let y  ( x 4  3x 2  2) 5 , find y' ?

Solution:

y'  5( x 4  3x 2  2) 4  (4 x 3  6 x) .

Proof of (III):

y  a x  eln a  e x ln a .
x

Let u  x ln a ,

dy dy du
⇒   e u  ln a  a x ln a .
dx du dx

Example 2:Let y  esin x , find y' ?

Solution:

i. Let f ( x)  e x , g ( x)  sin x ⇒ f ( g ( x))  esin x ,

1
國立交通大學應用數學系 莊重教授
 f ( g ( x))'  f ' ( g ( x )) g ' ( x )  e sin x  cos x .

ii. Let u  sin x ,

dy dy du
⇒   e u  cos x  e sin x cos x .
dx du dx

Example 3:Let y  x  x , find y' ?

Solution:

Let u  x  x ,

dy dy du 1  2  1  2  1   1  
1 1 1 1
⇒   u 1  x   ( x  x ) 2 1  x 2  .
dx du dx 2  2  2  2 

Example 4:(Need to apply the chain rule three times)


Let y  tan sin e x , find y' ?
2

Solution:

Let u  sin e x , v  e x , w  x 2 ,
2 2

dy dy du dv dw
⇒   sec 2 u  cos v  e w  2 x
dx du dv dw dx

   
 sec2 sin e x  cos e x  e x  2 x .
2 2 2

Example 5:Let y  cot e sin x  , find y' ?

Solution:

2
國立交通大學應用數學系 莊重教授
    
1
1 
y'  cot e sin x 2   csc 2 e sin x  e sin x  cos x .
2 註記:y 在 x = 0
的倒數不存在。
Example 6:Let y  sincostan x , find y' ?

Solution:

y'  coscos(tan x)  sin(tan x) sec2 x .

Example 7:Let y | x | x 2 , find y' ?

Solution:

1
1  x
y '  ( x 2 ) 2  (2 x)  , x  0.
2 | x|

dy  1, x  0
⇒ 
dx  1, x  0.

dy d2y
Example 8:Let y  f (u) and u  g (x) , find and .
dx dx 2

Solution:

dy dy du
 .
dx du dx

d 2 y  d  dy   du dy d 2u
     
dx 2  dx  du   dx du dx 2
 d 2 y   du 
2
dy d 2u
  2      .
 du   dx  du dx
2

Proof of the chain rule:

Let u  g (x) , y  f (u)  f ( g ( x)) .

Known that

u  g ' (a)x   1x  [ g ' (a)   1 ]x where 1  0 as x  0 ,


3
國立交通大學應用數學系 莊重教授
and

y  f ' (b) u   2 u  [ f ' (b)   2 ]u where  2  0 as u  0 .

⇒ y  [ f ' (b)   2 ][ g ' ( a )   1 ]x

y
⇒  [ f ' (b)   2 ][ g ' (a )   1 ]
x

dy y
⇒  lim  lim [ f ' (b)   2 ][ g ' (a)   1 ]  f ' (b) g ' (a)  f ' ( g (a)) g ' (a) .
dx x0 x x0

*Applied project:Where should a pilot start descent?

An approach path for an aircraft landing is


shown in the figure and satisfies the following
conditions:

(i). The cruising altitude is h when descent


starts at a horizontal distance l from
touchdown at the origin.
(ii). The pilot must maintain a constant
horizontal speed v throughout descent.

(iii). The absolute value of the vertical acceleration should not exceed a constant k
(which is must less than the acceleration due to gravity).

1. Find a cubic polynomial P( x)  ax3  bx 2  cx  d that satisfies condition (i) by

imposing suitable conditions on P(x) and P' ( x) at the start of descent and at
touchdown.
6hv 2
2. Use conditions (ii) and (iii) to show that k.
l2
3. Suppose that an airline decides not to allow vertical acceleration of a plane to

exceed k  1385 km / h 2 . If the cruising altitude of a plane 11,000 m and the

speed is 480 km / h , how far away from the airplane should the pilot start
descent?
4. Graph the approach path if the conditions stated in Problem 3 are satisfied.

4
國立交通大學應用數學系 莊重教授
Solution:

1. Let y(t )  f (t )  P( x(t ))  ax3  bx 2  cx  d

 2h
 a 3
 P (0)  0 l
 P '(0)  0  c  d  0 
   3h
   al 3  bl 2  h   b  2
 P (l )  h 3al 2  2bl  0  l
  c0
 P '(l )  0
 d 0

2h 3 3h 2
 P( x)   x  2 x
l3 l

dy  dx   dx 
2.  3ax 2    2bx 
dt  dt   dt 

 3ax2v  2bxv

d2y 12h 6h
2
 6ax(t )v 2  2bv 2   3 v 2 x(t )  2 v 2
dt l l

d 2 y 6h 2
⇒  2 v for 0  x(t )  l
dt 2 l

6h 2
⇒ v k.
l2

6  (11)
3.  (480) 2  1385
l2

⇒ l  104.78 (km) .

4.

5
國立交通大學應用數學系 莊重教授
for l  104.78 (km) .

6
國立交通大學應用數學系 莊重教授
§3-5 Implicit Differentiation

*Question:一個二元方程式是否隱藏函數的關係?

Example:

(i). x  y  1 能否寫成

x  f ( x)  1 , where y  f (x ) ?

(ii). x 2  y 2  1 能否寫成

x 2   f ( x)   1 , where y  f (x ) ?
2

(iii). x 3  y 3  6 xy 能否寫成

x 3   f ( x )   6 x  f ( x )  , where y  f (x ) ?
3

(iv). 給一個二元方程式 g ( x, y )  0 ,能否將此方程式寫成

g ( x, f ( x))  0 ?

*註記:
很明顯(i)的答案是肯定的,(ii)、(iii)、(iv)的答案是較複雜的。數學系
大二高微課程中的隱函數定理(Implicit Function Theorem)會給出較完整
的答案。粗略的講,除了少數的點之外,其他點的局部附近,上述問題
的答案都是肯定的。

在初微的課程中,我們都假設:
The given equation determines y (respectively, x) implicitly as a
differentiable function of x (respectively, y) so that the method of implicit
differentiation can be applied.

1
國立交通大學應用數學系 莊重教授
Example 1:

dy dx
Let x 2  y 2  25 , find , and the equation of the tangent at ( 3 , 4 ).
dx dy

Solution:

 dy   dx 
2 x  2 y   0 2 x   2 y  0
 dx   dy 
dy x dx y
  .   .
dx y dy x

dy 3 3
m    ( y  4)   ( x  3) .
dx (3, 4) 4 4

dy
Example 2:Let x 3  y 3  6 xy , find ?
dx

Solution:

 dy   dy 
3 x 2  3 y 2    6 y  6 x 
 dx   dx 
dy 2 y  x 2
  .
dx y 2  2 x

dy
Example 3:Let sin(x  y)  y 2 cos x , find ?
dx

Solution:

 dy   dy 
cos( x  y )  1    2 y  cos x  y 2 sin x
 dx   dx 
dy cos( x  y )  y 2 sin x
  .
dx 2 y cos x  cos( x  y )

2
國立交通大學應用數學系 莊重教授
Example 4:Let f ( f 1 ( x))  x .

Find  f 1  ( x )  ?
'
(i).

(ii). If f (4)  5 , f ' (4) 


2
3
, find  f  (5)  ?
1 '

Solution:

(i). f ( f 1
'

( x ))  x  f ' ( f 1 ( x ))  f 1 ( x )  1
'

⇒  f 1  ( x ) 
' 1
.
f ' ( f 1 ( x ))

(ii).  f  (5)  32 .
1 '

Example 5:The Bessel function of order 0, y  J (x) , satisfies the differential


equation xy ' ' y ' xy  0 for all values of x and its value at 0 is
J ( 0)  1 .

(i). Find J ' (0)  ?


(ii). Use implicit differentiation to find J ' ' (0)  ?

Solution:

(i). 將 x = 0 代入微分方程,得 J ' (0)  y ' (0)  0 .


(ii). 將微分方程兩邊對 x 微分得

y' ' xy' ' ' y' ' y  xy'  0

1
 y ' ' (0)  J ' ' (0)   .
2

3
國立交通大學應用數學系 莊重教授
Example 6:The figure shows a lamp located three units to the right of the y-axis and

a shadow created by the elliptical region x 2  4 y 2  5 . If the point

(5,0) is on the edge of the shadow, how far above the x-axis is the
lamp located?

Solution:

Let ( a , b ) be a point on the ellipse.

將 x 2  4 y 2  5 對 x 微分,

x a
⇒ 2 x  8 yy'  0 ⇒ y '     (在橢圓上過點( a , b )的斜率)
4y 4b

 a 2  4b 2  5  a 2  4b 2  5  a  1
⇒ b a  2   .
   2
   b  1
 a  5 4b
a 4 b 5 a

1 c
⇒   c  2.
4 8

*反三角函數的微分:

1 1
i. (sin 1 x )'  ii. (cos 1 x)' 
1 x 2
1 x2
1 1
iii. (tan 1 x)'  iv. (cot 1 x)' 
1  x2 1 x2

4
國立交通大學應用數學系 莊重教授
1 1
v. (sec 1 x )'  vi. (csc 1 x)' 
x x 1
2
x x2 1
( csc 1 x , sec 1 x  third quadrant when x < 0)

Proof of (i):

y  sin 1 x

 x  sin y
 dy 
 1  (cos y )   
 dx 
dy 1 1
   .
dx cos y 1 x2

Proof of (ii):

*(Method 1):

y  cos 1 x
 x  cos y
 dy 
 1   sin y   
 dx 
dy 1 1
  
dx  sin y 1 x2

*(Method 2):


sin 1 x  cos 1 x 
2
1 1
 (sin x)' (cos x)'  0
1
 (cos 1 x )'  (sin 1 x)'  .
1 x2

5
國立交通大學應用數學系 莊重教授
Proof of (v):

y  sec 1 x
 x  sec y
 dy 
 1  sec y  tan y   
 dx 
dy 1 1
  
dx sec y  tan y x x 2  1

 3
(i) x > 0, 0  y  . (ii) x < 0,   y  .
2 2

Note that if sec 1 x  second quadrant when x < 0,

 1
 x0
dy  x x 2  1
then 
dx  1
x  0.
  x x 2  1

That is why in this book, sec 1 x is chosen to be in the third quadrant whenever

x < 0.

6
國立交通大學應用數學系 莊重教授
§3-6 Derivatives of Logarithmic Functions

*公式

(I).
d
log a x   1 .
dx x ln a

d 1
ln x  .
dx x

d 1
ln | x | .
dx x

(II). ( x r )'  rx r 1 , r  R .
1 n
 1
(III). e  lim(1  x)  lim1   .
x
x 0 n 
 n

n
 x
e  lim1   ,
x
x  0.
n 
 n

Proof of (I):

y  log a x
 x  ay
 1  a y  ln a  y '
1 1
 y'  y  .
a ln a x ln a

d d 1 1
if x  0, ln | x | ln( x)  ln | x | ln( x)   ,
dx dx x x

d d 1
if x  0, ln | x | ln x  ln | x | ln x  .
dx dx x

1
國立交通大學應用數學系 莊重教授
Proof of (II):

y  x r  ln | y | r ln | x |
y' r
 
y x
y
 y '  r  rx r 1 .
x

Proof of (III):

1
Let f ( x)  ln x  f ' ( x)   f ' (1)  1.
x

f (1  x)  f (1)
1  f ' (1)  lim *註記:最後一個等式用到連
x 0 x
ln(1  x) 1 續函數和極限可交換的性質。
 lim  lim ln(1  x)
x 0 x x 0 x

1
 
1

 lim ln(1  x)  ln lim(1  x) 


x
x
x 0
 x 0 
1
 lim(1  x) x  e.
x 0

Example 1:Let y  log( x 3  1) , find y '  ?

Solution:

3x 2
y'  .
(ln 10)( x 3  1)

3
x x2  1 4
Example 2:Let y  , find y '  ?
(3 x  2) 5

Solution:

3 1
ln y  ln x  ln( x 2  1)  5 ln(3 x  2)
4 2
y' 3 2x 15
   
y 4 x 2( x  1) 3x  2
2

 3 2x 15 
 y '      y.
 4 x 2( x  1) 3 x  2 
2

2
國立交通大學應用數學系 莊重教授
Example 3:Let y  x x , find y '  ?

(Hint:If y  x 2 , then y ' 2 x . If y  2 x , then y '  2 x ln 2 .)

Solution:

ln y  x ln x
y' x
  ln x 
y x
 y '  x x (ln x  1).

Example 4:Let y  x cos x , find y '  ?

Solution:

ln y  cos x ln x
y' cos x
   sin x  ln x 
y x
cos x
 y '  x cos x ( sin x  ln x  ).
x

d9 8
Example 5:Evaluate ( x ln x) .
dx 9

Solution:

d9 8
( x ln x)
dx 9
d8 x8
 8 (8 x 7 ln x  )  D 8 (8 x 7 ln x)
dx x
 D (8  7 x ln x  8 x 6 )  D 7 (8  7 x 6 ln x)
7 6

8!
 D(8! ln x)  .
x

3
國立交通大學應用數學系 莊重教授
§3-9 Related Rates

*Related Rates:討論某些量 x 對時間 t 的變化率(rate of change)的應用問題。

At what rate......x.....  dx
 means that  ? (即 x 對時間 t 的變化率).
How fast ...........x..... dt

Steps to solve related rates problems:

1. 引進 “符號” ,將題目(文字)轉換成 “圖”。


2. 找一方程式 “連結” 此圖。
d
3. 將方程式對時間 t 微分。( (此方程式))
dt

Example 1: Air is being pumped into a spherical balloon so that its volume increases
at a rate of 100 cm 3 s . How fast is the radius of the balloon increasing
when the diameter is 50 cm ?

Solution:

dV dr
Known that  100(cm3 s) , find ?
dt dt r  25

4 3
V r
3
dV dr
  4r 2
dt dt
dr 25
 
dt r 2

dr

dt r 25 25
 
1 cm
s
.

1
國立交通大學應用數學系 莊重教授
Example 2:A ladder 5 m long rests against a vertical wall. If the bottom of the ladder
1
slides away from the wall at a rate of m / s . How fast is the top of the
3
ladder sliding down the wall when the ladder is 3 m from the wall?

Solution:

dx 1 dy
Known that  (m / s) , find ?
dt 3 dt x 3

x 2  y 2  25
 dx   dy 
 2 x   2 y    0
 dt   dt 

And known that when x = 3, y = 4.

dy 1
  (m s ).
dt x 3 4

Example 3:A water tank has the shape of an inverted circular cone with base radius 2
m and height 4 m. If water is being pumped into the tank at a rate 2
m 3 min , find the rate at which the water level is rising when the water is
3 m deep.

Solution:

dV dh
Known that  2(m3 min) , find ?
dt dt h3

2
1 1 h 1
V  r 2 h     h  h 3
3 3 2 12
dV  2 dh
  h
dt 4 dt
dh 8
  (m min ).
dt h3 9

2
國立交通大學應用數學系 莊重教授
Example 4:A baseball diamond is a square with 30 m. A batter hits the ball and runs
toward first base with a speed of 8 m/s. At what rate is his distance from
the third base increasing when he is half way to first base?

Solution:

dx
Known that  8(m / s) ,
dt

dr
find ?
dt x 15

30 2  x 2  r 2
dx dr
 2 x  2r
dt dt

And known that when x = 15, r  15 5

dr 8 5
  (m / s ) .
dt x 15 5

Example 5:The minute hand on a watch is 8 mm long and the hour hand is 4 mm long.
How fast is the distance between the tips of the hands changing at one
o’clock?

Solution:

Known that the angular velocity:

minute hand: 2 (rad h)


hour hand: (rad h)
6

d  11
   2    (rad h) ,
dt 6 6

3
國立交通大學應用數學系 莊重教授
ds
find ?
dt   
6

s 2  64  16  64 cos 
ds d
 2s  64 sin 
dt dt


and known that when   , s  80  32 3
6

ds  88
 (mm h)  18.59(mm h) .
dt   3 80  32 3
6

4
國立交通大學應用數學系 莊重教授
§3-10 Linear Approximations and Differentials

*Given f (x),利用 “過 a 點的切線方程式” 來逼近當 x 靠近 a 的 f (x)。

 x  dx = initial error.
 Approximate error = dy  f ' (a )dx .
 Exact error = y  f (a  x)  f (a ) .
 dx and dy are called differentials.

*公式:

1. y  dy  f ' (a )dx when x  dx is small.

在實際問題上,我們常能以 dy (較好算)來逼近 y (較難算)。

2. L( x)  y  f (a )  f ' (a )( x  a )  f (a )  dy is the linear approximation or


tangent line approximation of f at a.

 y = L (x)是過( a , f (a))和 f (x)相切的切線


方程式。

 lim( f ( x)  L( x))  0 .
xa

(⇒誤差= | f ( x)  L( x) | 0 , as x  0 .)

f ( x)  L( x)
 lim 0
xa xa

(⇒誤差→ 0 的速度比 x  a  0 當

x → a 的速度還快).

1
國立交通大學應用數學系 莊重教授
Example 1:

(i). Find the linearization of f ( x)  x  3 at a = 1.

(ii). Use (i) to approximate 3.98 and 4.05 .

Solution:

1
1  1
f ' ( x)  ( x  3) 2  f ' (1) 
2 4
1
 L( x)  f (1)  f ' (1)( x  1)  2  ( x  1).
4

1
3.98  2  (0.98  1)  1.995 .
4

1
4.05  2  (1.05  1)  2.0125 .
4

x From L(x) Actual value


3 .9 0.9 1.975 1.97484176…
3.98 0.98 1.995 1.99499373…
4 1 2 2.00000000…
4.05 1.05 2.0125 2.01246117…
4. 1 1.1 2.025 2.02484567…
5 2 2.225 2.23606797…
6 3 2.5 2.44948974…

Example 2:The radius of a sphere was measured and found to be 21 cm with a


possible error in measurement of at most 0.05 cm. What is the
maximum error in using the value of radius to compute the volume of
the sphere? (Use differential to estimate such maximum error.)

Solution:

4 3
V r
3
dV
  4r 2
dr
 dV  4r 2 dr  4 (21) 2 (0.05)  277 cm3 .

2
國立交通大學應用數學系 莊重教授
Example 3:Approximate ln(1.05).

Solution:

Let y  ln x

dx 0.05
⇒ dy    0.05
x 1

⇒ ln(1.05)  ln 1  0.05  0.05.

Example 4:Suppose that the only information we have about a function f is that
f (1)  5 and the graph of its derivative is as shown.

(a) Use a linear approximation to estimate f (0.9) and f (1.1).

(b) Are your estimates in (a) too large or too small? Explain.

Solution:

Let L(x) be the tangent line of f (x) at x = 1.

⇒ L( x )  f (1)  f ' (1)( x  1)  5  2( x  1)

 f (0.9)  5  2(0.1)  4.8


⇒
 f (1.1)  5  2(0.1)  5.2.

3
國立交通大學應用數學系 莊重教授
Since f ' ( x)  0 and f ' ' ( x)  0 whenever x is real, we have that the graph

of f (x) near x = 1 may looks like the following:

The tangent line lies above the curve. Thus, the approximations in part (a)
are too large.

4
國立交通大學應用數學系 莊重教授
§4-1 Maximum and Minimum Values

* Absolute extreme (Global extreme)


* Relative extreme (Local extreme) *註記: f (c )  f (c )

Absolute maximum: f (c3 ) (i.e. f has an absolute maximum at x  c3 .)

Absolute minimum: f (a) .

Relative maximum: f (c1 ), f (c3 ), f (b) .

Relative minimum: f (a), f (c2 ), f (c4 ) .

*Note that f (c4 )  f (c1 ) .

1
國立交通大學應用數學系 莊重教授
Theorem:

f is continuous on [ a , b ] → f attains it’s absolute extreme.

*註記:
Assumptions of the theorem need to be satisfied.
Otherwise the assertion of the theorem fails.

* Not continuous at x = c. *Not continuous at x = a.

* No absolute maximum. *No absolute minimum.

2
國立交通大學應用數學系 莊重教授
Theorem:

f has a local extremum at x = c → f ' (c)  0 or f ' (c) does not exist.

*註記:
The converse of the theorem is not necessary true.

f ( x )  x 3 , f ' (0)  0 , but f (0) is neither a f ' (c) does not exist.
local min nor a local max.
f (c) is neither a local min nor a local max.

Definition:

If c is a critical point (c.p.) of f ⇔ f ' (c )  0 or f ' (c) does not exist.

Remark:

Extrema take place at critical points.

*註記:
A critical point is not necessarily a local extremum point.

*Steps to find absolute extrema for a continuous function defined on [ a , b ].

1. Find all c.p’s.


2. Compare the values of f at all c.p’s and endpoints.
3
國立交通大學應用數學系 莊重教授
1
Example 1:Find the extrema of f ( x)  x 3  3 x 2  1,   x  4.
2

Solution:

f ' ( x )  3 x 2  6 x  3 x ( x  2)

⇒ Critical points:x = 0.

1
x  0 4
2
13
f (x) 1 113
8

max : 113
⇒
min : 1.

Example 2:Let a, b > 0, find the extrema of f ( x )  x a (1  x ) b , 0  x  1.

Solution:

f ' ( x )  ax a 1 (1  x ) b  bx a (1  x ) b1
 x a 1 (1  x ) b1 a (1  x )  bx 
 x a 1 (1  x ) b1 a  ( a  b) x 

a
⇒ Critical points: x  0, , 1.
ab

a
x 0 1
ab
a b
 a   b 
f (x) 0     0
ab ab

 
a
a   b 
b

⇒ max :  a  b   a  b 
 min : 0.

4
國立交通大學應用數學系 莊重教授
 
Example 3:Find the extrema of F ( )  , 0    ,   0.
 sin   cos  2

Solution:

  (  cos   sin  )
F ' ( )  0
(  sin   cos  ) 2
   tan 1 


θ 0 tan 1 
2


F (θ)  
1 2

⇒ F is minimized when tan    .

*The Calculus of Rainbows

物理的背後,自然的法則,都有數學的痕跡
J. P. Serre: 1954 Fields
2000 Wolfs
2003 Abel

別的科學家探索上帝選擇的法則,
數學家探索上帝必須遵循的法則。

5
國立交通大學應用數學系 莊重教授
§4-2 The Mean Value Theorem

*Rolle’s Theorem:

Assumption:

(1) f is continuous on [ a , b ]
簡稱 f is smooth on [ a , b ]
(2) f is differentiable on ( a , b )
(3) f ( a )  f (b) (等高)
⇒  c  ( a , b ) s.t f ' (c )  0

*Smooth (平滑) + 等高:

1.數學: 有切線斜率為 0 的點 即有峰或谷 



2.物理: 有速度為 0 的時間

*Mean Value Theorem (MVT):

f is smooth on [ a , b ].

⇒  c  ( a , b ) s.t f (b )  f ( a )  f ' (c )(b  a ).

f (b)  f (a )
 割線斜率
ba

f ' (c)  切線斜率

數學上: 割線斜率=某一切線斜率
*若 f 在 [ a , b ] 是平滑的  
物理上: 平均速度=某一瞬間速度

1
國立交通大學應用數學系 莊重教授
Proof of MVT:

Proof:在 x-y 新座標系,將 Rolle’s Theorem 用在 y'  g ( x' ) 上.

⇒( a , f (a))、( b , f (b))都在新的 x 軸上.

⇒  c ' (0, b ' ) s.t g ' (c ) // x ' 軸

⇔  c  ( a , b ) s.t f ' (c ) // x ' 軸

f (b)  f (a )
⇔ f ' (c )  .
ba

Example 1: f ( x )  x 3  x, [ a, b ]  [0,2] , find c.

Solution:

60 2 3
 3c 2  1  c  .
20 3

Example 2:Let f be smooth, f (0)  3, f ' ( x )  5, 0  x  2.

How large can f (2) possible be ?

Solution:

f (2)  (3)
 f ' (c)  5  f (2)  7  The largest value can f (2) be is 7.
20

2
國立交通大學應用數學系 莊重教授
Example 3:Let f be smooth, f (0)  3, f ' ( x )  2, 0  x  4.

How small can f (4) possible be ?

Solution:

f (4)  (3)
 f ' (c)  2  f (4)  5  The smallest value can f (4) be is 5.
40

Example 4:Does there exist a function f s.t.

f (0)  1, f (2)  4 , and f ' ( x)  2 for all x ?

Solution:

4 1 5
  f ' (c ) ⇒ impossible.
20 2

1
Example 5:Prove that 1 x 1 x for x > 0.
2

Proof:

1
1 
Let f ( x)  1  x  f ' ( x )  (1  x ) 2
2

MVT
 f ( x )  f (0)  f ' (c )( x  0), c  (0, x)
1
1 
 1 x 1  (1  c ) 2 ( x )
2
1
1  1
 1  x  1  (1  c ) 2 ( x )  1  x.
2 2

1

( Since (1  c) 2
1 )

3
國立交通大學應用數學系 莊重教授
Example 6:Prove that | cos a  cos b || a  b | for all a and b.

Proof:

Let f ( x)  cos x , assume without loss of generality, that a  b .

MVT
 cos a  cos b  f ' (c )( a  b)  (sin c )(a  b)
| cos a  cos b || a  b | .

( Since | sin c | 1 )

Example 7:(Theorem)

If f ' ( x)  0 on ( a , b ) ⇒ f is constant on ( a , b ).

Proof:

Let x1 , x2  (a, b), x1  x2

⇒ f ( x1 )  f ( x2 )  f ' (c)( x1  x2 )  0, c  ( x1 , x2 )

⇒ f ( x1 )  f ( x2 )

⇒ f has the same value at any two numbers x1 , x2  (a, b)

⇒ f is constant on ( a , b ).

Example 8:Let f ' ( x)  g ' ( x) for all x  (a, b)

⇒ f ( x)  g ( x)  c for all x  (a, b) .(Here c is a constant)

Proof:

A direct consequence of Example 7.

4
國立交通大學應用數學系 莊重教授
§4-3 & §4-5 1st and 2nd Derivatives and Curve Sketching

* f ' , f ' ' 和 f 的圖形關係:

一、

1. f ' ( x)  0 on ( a , b ) ⇒ f is increasing on ( a , b ).

2. f ' ( x)  0 on ( a , b ) ⇒ f is decreasing on ( a , b ).

二、

1. 2.

concave up (C.U.) on ( a , b ) concave down (C.D.) on ( a , b )

⇔ 圖形在切線上方. ⇔ 圖形在切線下方.

f ' is increasing on ( a , b ) f ' is decreasing on ( a , b )

⇔ f ' ' ( x )  0 on ( a , b ). ⇔ f ' ' ( x)  0 on ( a , b ).

*註記:

完整的證明可由 2 階 Taylor's 展開式來證明。

三、Inflection point:the point at which concavity is reversed.(反曲點)

1
國立交通大學應用數學系 莊重教授
四、1st Derivative Test:

1.

f '  0 ⇒ f (c) is local an min.

*c is a critical point.

2.

f '  0 ⇒ f (c) is local an max.

*c is a critical point.

3.

f (c) is neither an min nor an max.

五、2nd Derivative Test:

c:critical point

1. f ' ' (c)  0 ⇒ f (c):local min (∵在 c 的附近,f is C.U.)

2. f ' ' (c)  0 ⇒ f (c):local max (∵在 c 的附近,f is C.D.)

3. f ' ' (c)  0 ⇒The test fails.

For example: f ( x)  x 3 , f ' ' (0)  0  f (0) is neither a min nor a max.

2
國立交通大學應用數學系 莊重教授
六、Curve Sketching:

1. Intercepts 2. Symmetry 3. Asymptotes


4. Local extrema 5. Inflection points

Example 1:Sketch the function f ( x)  2  15x  9 x 2  x 3 .

Solution:

f ( x)  2  15x  9 x 2  x 3  ( x  2)( x 2  7 x  1)

f ' ( x)  15  18x  3x 2  3( x  5)( x  1)

*Critical points:x = 1 and 5.

f ' ' ( x)  18  6 x  6( x  3)

x 0 1 2 3 5
y 2 -5 0 11 27

3
國立交通大學應用數學系 莊重教授
2 1

Example 2:Sketch the function f ( x)  x 3 (6  x) 3 .

Solution:

1 1 2 2
2  1 
f ' ( x )  x 3 ( 6  x ) 3  x 3 (6  x ) 3
3 3
1 2
1  
 x 3 (6  x) 3 (2(6  x)  x)
3
1 2
 
 x (6  x ) ( 4  x )
3 3

*Critical points:x = 0, 4 and 6.

4 2 1 5 1 2
1   2    
f ' ' ( x )   x 3 (6  x ) 3 ( 4  x )  x 3 (6  x ) 3 ( 4  x )  x 3 (6  x ) 3
3 3
4 5
 x 3 (6  x) 3  (6  x)(4  x)  2 x(4  x)  3x(6  x)
1  

3
8
 4 5
x (6  x ) 3
3

4
國立交通大學應用數學系 莊重教授
⇒ f (0) = 0 is a local min.

5
f (4)  2 3
is a local max.
x 0 4 6
5
y 0 23 0

( 6 , 0 ) is an inflection point.

Example 3:Sketch the function f ( x)  xe x .

Solution:

f ' ( x)  e  x  xe  x
 e  x (1  x)

*Critical point:x = 1.

5
國立交通大學應用數學系 莊重教授
f ' ' ( x )  e  x (1  x )  e  x
 e  x (2  x )
1
⇒ f (1)  is local max.
e

2
(2, ) is an inflection point.
e2
x 1 2
1 2
y
e e2

x3
Example 4:Sketch the function f ( x) 
x2 1

Solution:

x3 x
y  f ( x)   x 2
x 1
2
x 1

⇒Slant asymptotic:y = x.

6
國立交通大學應用數學系 莊重教授
x 2 ( x 2  3)
f ' ( x) 
( x 2  1) 2

*Critical point:x = 0.

 2 x( x 2  3)( x 2  1)
f ' ( x) 
( x 2  1) 4

x  3 0 3

3 3 3 3
y 0 
4 4

7
國立交通大學應用數學系 莊重教授
1
Example 5:For what values of c is the function f ( x )  cx  increasing on
x 3
2

( , ) ?

Solution:

2x c( x 2  3) 2  2 x
f ' ( x)  c  
( x 2  3) 2 ( x 2  3) 2

2x
Hope:find c > 0 s.t. c( x 2  3) 2  2 x  0  c  0
( x  3) 2
2

2x  6( x 2  1)
Let g ( x)   g ' ( x ) 
( x 2  3) 2 ( x 2  3) 3

因為 g 對稱於原點, lim g ( x )  0 ,且
x

1
⇒ the max of g is g (1)  .
8

1
⇒ If c  , then c( x 2  3) 2  2 x  0 for all x  (, ) .
8

⇒ f ' ( x )  0 for all x  (, ) .

1
*討論:1. What happens when c  ?
8
1
2. What happens when c  ?
8

8
國立交通大學應用數學系 莊重教授
§4-4 Indeterminate Form and L'Hospital's Rule

一、 Indeterminate form(不確定型)

0 
 0 1
0 

00 0 

*註記:

The followings are determinate forms:


 
  

二、 L'Hospital's Rule

f
1. :indeterminate forms.
g

f'
2. :determinate forms.
g'

f ( x) f ' ( x)
⇒ lim  lim .
x a g ( x ) x a g ' ( x )

*註記:解題常遇的狀況
f'
1. :indeterminate form ⇒ same procedure can be continued.
g'

(See examples 2, 6, 8.)


f
2. 1 , 0 0 ,  0 ⇒ take ln ⇒
g
(See examples 4, 5.)

1
國立交通大學應用數學系 莊重教授
Example 1:

sin x x2  1
1. lim ? 2. lim ?
x 0 x x1 x 1

Solution:

sin x cos x
1. lim  lim  1.
x 0 x x 0 1

x2  1 2x
2. lim  lim  2.
x1 x  1 x1 1

Example 2: lim( x  ln x)  ?
x 

Solution:

ln x ln x
lim( x  ln x)  lim x(1  )   . (∵ lim 0)
x  x  x x  x

ex
Example 3: lim 2  ?
x  x

Solution:

ex ex ex
lim  lim  lim  .
x  x 2 x  2 x x  2

*註記:

Generally speaking:

x x  x! e x  x n  ln x when x large.

2
國立交通大學應用數學系 莊重教授
Example 4: lim (1  sin 4 x) cot x  ?
x 0

Solution:

Let y  (1  sin 4 x) cot x

⇒ ln y  cot x  ln(1  sin 4 x)

ln(1  sin 4 x)

tan x

ln(1  sin 4 x)
⇒ lim ln y  lim
x 0 x 0 tan x

4 cos 4 x
 lim  4.
x 0 (sec x)  (1  sin 4 x)
2

⇒ lim y  lim (1  sin 4 x) cot x  e 4 .


x 0 x 0

x
 1
Example 5: lim1    ?
x
 x

Solution:

x
 1
Let y  1  
 x

 1
ln1  
 1  x
⇒ ln y  x ln1   
 x 1
x

 1
ln1  
 x   lim 1  1
⇒ lim ln y  lim
x x 1 x 1
1
x x

3
國立交通大學應用數學系 莊重教授
x
 1
⇒ lim y  lim1    e .
x x
 x

tan x  x
Example 6: lim ?
x 0 x3

Solution:

tan x  x sec 2 x  1 2 sec x tan x 1


lim 3
 lim 2
 lim  .
x 0 x x  0 3x x  0 6x 3

Example 7:

If f ' is continuous, f (2) = 0, f '(2) = 7, evaluate

f (2  3 x)  f ( 2  5 x)
lim .
x 0 x

Solution:

f (2  3x)  f (2  5 x)
lim
x 0 x
3 f ' (2  3x)  5 f ' (2  5 x)
 lim
x 0 1
 lim 3 f ' (2)  5 f ' (2)  56.
x 0

Example 8:For what values of a and b is the following equation true?

 sin 2 x b 
lim 3  a  2   0
x 0
 x x 

Solution:

 sin 2 x b 
lim 3  a  2 
x 0
 x x 
 sin 2 x  ax 3  bx 
 lim 
x 0
 x3 
 2 cos 2 x  3ax 2  b   f 
 lim   
x 0
 3x 2  g 

4
國立交通大學應用數學系 莊重教授
f
⇒ must be indeterminate form
g

⇒ 2  b  0 ⇒ b  2

 2 cos 2 x  3ax 2  2 
 lim 
x 0
 3x 2 
  4 sin 2 x  6ax 
 lim 
\
x 0
 6x 
  8 cos 2 x  6a 
 lim 
x 0
 6 
1
 ( 8  6 a )  0
6

4
⇒a  .
3

5
國立交通大學應用數學系 莊重教授
§4-7 Optimization

*微積分方法:求最大值與最小值,可利用下列兩種方法。

1. f is continuous on [ a , b ], 比較 critical points and endpoints.

x a critical points b
y

2. f has exactly one critical point c in the internal I.

If

⇒ f (c) is an absolute minimum.

If

⇒ f (c) is an absolute maximum.

1
國立交通大學應用數學系 莊重教授
Example 1:A cylindrical can is to be made to hold 1l of oil.

(i) Find the dimensions that will minimize the cost


h
the metal to manufacture the can? (  2)
r

(ii) Suppose the top and bottom discs are cut from
h 8
squares of side 2r. (   2.55 )
r 

(iii) How about discs cut from hexagons?

(ii) (iii)

Solution:

Known that V   r 2 h  1000

2000
Minimize A(r )  2r 2  2rh  2r 2  , 0  r  .
r

2000 4(r 3  500)


A' (r )  4r  2 
r r2

1
 500  3
⇒r    (cm)
  

2
國立交通大學應用數學系 莊重教授
 1

 500 
  is an absolute minimum.
3
⇒S 
   
 

1000 500
⇒h   23  2r .
2

 500  3
 
  

Example 2: A box with a square base and open top must have a
volume of 32000 cm 3 . Find the dimensions of the
box that minimize the amount of material of
material used.

Solution:

Known that V  x 2 h  32000

128000 
Minimize: x 2  4 xh  x 2   f ( x)
x

128000 2( x 3  64000)
f ' ( x)  2 x   , 0  x  .
x2 x2

⇒ x = 40, h = 20.

3
國立交通大學應用數學系 莊重教授
Example 3:A man launches his boat from point A on a bank of
a straight river, 5km wide, and wants to reach point
B, 5km down on the opposite bank, as quick as
possible. If he can row 6 km/h and run 8 km/h,
where should he land to reach B as soon as
possible?

Solution:

Let T be the time the man spend arriving B.

25  x 2 5  x
Minimize T ( x)   , 0 x5
6 8

11 2x  1
⇒ T ' ( x)    
  8
62 25  x 2 

Let T ' ( x)  0

1 x  1
   0

6  25  x 2  8

 4 x  3 25  x 2
 16 x 2  225  9 x 2
15
x  5.
7

x 0 5
35 5
y  1.458 2  1.179
24 6

He should row directly to B.

4
國立交通大學應用數學系 莊重教授
Example 4:A cone-shaped drinking cup is made from radius R by cutting out a
sector and joining the edges CA and CB. Find the maximum capacity
of such a cup.

Solution:

1 1
V (h)  r 2 h   ( R 2  h 2 )h
3 3
 
 R2h  h 3 , 0  h  R.
3 3

 V ' ( h)  ( R 2  3h 2 )
3
Let V ' (h)  0
1
h R
3

1 2 3
⇒V ( R)  R is the maximum.
3 9 3

*想一想:為達最大容量,角度θ要取多少?

 6
Ans:   2 1    66.06 .

 3 

5
國立交通大學應用數學系 莊重教授
Example 5:The upper right-hand corner of a piece of
paper, 12 cm by 8 cm, as in the figure,
is folded over to the bottom edge.
How would you fold it, so as to
minimize the length of the fold ? In
other words, how would you choose x
to minimize y?

Solution:

OCD ~ BAO
8 4 x4
 
y2  x2 x
 
 y 2  x 2  ( x  4)  4 x 2 , 4  x  8 ( why ?)
4x2 x3 
 y2   x2   f ( x), 4  x  8.
x4 x4

2 x 2 ( x  6)
 f ' ( x)  0
( x  4) 2
 x  6.

 y  6 3.

*想一想:這個問題和紙張的長邊長度有關嗎?

6
國立交通大學應用數學系 莊重教授
Example 6:An observer stands at a point P, one unit
away from a track. Two runners stand at
the point S in the figure and run along the
track. One runner runs three times as fast
as other. Find the maximum value of the
observer’s angle of sight between
runners?

Solution:

Runner B runs three times as fast as runner A

tan(   )  tan 
tan   tan(     ) 
1  tan(   ) tan 
3x  x 2x 
   f ( x), 0  x  .
1  3x 2 1  3x 2
2(1  3 x 2 )
 f ' ( x)  0
(1  3 x 2 ) 2
1
x ( x  0)
3

1
2
3 1
 tan   2

 1  3
1 3  
 3


  is the max angle of sight.
6

7
國立交通大學應用數學系 莊重教授
Example 7: Where should the point P be chosen
on the line segment AB so as to
maximize the angleθ?

Solution:

tan   tan(  (   ))   tan(   )


5 2

 tan   tan  
    x 3  x
 1  tan  tan    5  2   1
 x 3 x
3(5  x) 
 2  f ( x), 0  x  5.
x  3x  10
3( x 2  10 x  5)
f ' ( x)  2 0
( x  3x  10) 2
 x 52 5 (5  2 5  3不合)

 x  5  2 5 will maximize the angle  .

8
國立交通大學應用數學系 莊重教授
§4-9 Antiderivatives

*Definition:

If F' (x) = f (x) for all x  I , then F is called an antiderivative of f on I.

Example 1:Find two antiderivatives of f ( x)  x .

Solution:

x2 x2
F ( x)   1 , F ( x)  1
2 2

*Theorem:

If F is an antiderivative of f on I, then the most general antiderivative of f on I is


F ( x)  C , where C is an arbitrary constant.

u4  3 u
Example 2: f ' (u )  , find f (u).
u2

Solution:

3 1
 u3 
f ' (u )  u 2  3u 2
 f (u )   6u 2  C
3

1
國立交通大學應用數學系 莊重教授
Example 3: f ' ( x )  x (6  5 x ), f (1)  10 , find f (x).

Solution:

1 3
f '( x)  6 x 2  5 x 2

3 5
 f ( x)  4 x  2 x  C
2 2

 f (1)  4  2  C  10  C  4

3 5
 f ( x)  4 x 2  2 x 2  4.

Example 4:What constant acceleration is required to increase the speed of a car from
50 km/h to 80 km/h in 5s ?

Solution:

Let a(t )  k be the constant acceleration.

 V (t )  kt  C

V (0)  C  50, V (5)  5k  C  80

 k  6, C  50

 a (t )  k  6.

2
國立交通大學應用數學系 莊重教授
§5-1 Areas and Distances

*Question

How to find the area of a region whose boundary does not consist of just line
segment?

*Answer

一般的作法:∑ 小長方形,小長方形的底都在 x 軸上。

Example 1:Evaluate the area of a circle with radius r.

Solution:

想法:將圓形分為許多小三角形,然後利用夾擊。

1
國立交通大學應用數學系 莊重教授
下界:內接正 n 多邊形 ( S n )

上界:外切正 n 多邊形 (Tn )

n 2 2
Sn  r sin  r 2 當 n   .
2 n


Tn  nr 2 tan  r 2 當 n   .
n

⇒ A  r 2 .

Example 2:Evaluate the area under the curve f ( x )  x 2 on [ 0 , 1 ].

Solution:

想法:將此區域分成許多小長方形,然後利用夾擊。

2
國立交通大學應用數學系 莊重教授
把 [ 0 , 1 ] 分成 n 等分。假設 S = exact area

n 1
1 i n 1
1  i 1
因為 x 在[ 0 , 1 ]是遞增的,所以  f S  f 
i 0 n n i 0 n  n 

n 1
1  i  n1 i
2
(n  1)(n)(2n  1) 1
但 f  3  3
 當n .
i 0 n  n  i 0 n 6n 3

n 1
1  i  1  n1 (i  1) 2 n
i2 n
(n)(n  1)(2n  1) 1

i 0 n
f    
 n  i 0 n
3
 
i 1 n
3
 
i 1 6n 3
 當n .
3

1
⇒S  .
3

*Summary:irregular area

=∑ regular areas

=∑ 小長方形

=∑ 小三角形

Example 3:Determine a region whose area is equal to the given limit as follows:

10
n
2 2i 
lim   5   .
i 1 n  n
n

Solution:

3
國立交通大學應用數學系 莊重教授
4
國立交通大學應用數學系 莊重教授
§5-2 The Definite Integral

b
*本章將介紹定積分  a
f ( x)dx 的定義,幾何意義和性質。

n
ba
 Riemann sum =  f (x
i 1
*
i )x, x 
n

f ( x ) 0
 ∑ 小長方形面積

 Definite integral of f from a to


b
= f ( x) dx : lim Riemann sum
a n

n f ( x ) 0
= lim
n 
 f ( x )x
i 1
*
i  the area under the curve y = f (x) from a to b.

(一些無窮小項的無窮次累加)

 f (x) is called the integrand; a is the lower limit; b is the upper limit.

Theorem:

If f is continuous on [ a , b ].

b
⇒ 
a
f ( x)dx is well-defined.

That is, the limit of the Riemann sum is independent of the choice of xi*

1
國立交通大學應用數學系 莊重教授
b
 Well-definedness of a
f ( x) dx .

(*不等分的子區間也對)

 ∑:離散加法、∫:連續加法

Example 1:Evaluate the Riemann sum for f ( x)  x 2 for n  6 , xi* = the left

endpoints, a = 0, b = 3.

Solution:

1 2 1  55
2 2 2
3 5
0     1     2     .
2 2

2  2 2 2  8

 x  6 x  dx by the definition.
3
3
Example 2:Compute
0

Solution:

n
3  3i  n 3  27i 3 18i 
Sn   f   f   
i 1 n  n  i 1 n  n3 n 

81 n 3 54 n 81n 2 (n  1) 2 27 n(n  1) 81 27


4  2 
 i  i  4
 2
  27  .
n i 1 n i 1 4n n 4 4

1
Example 3:Evaluate 
0
1  x 2 dx by interpreting in terms of area.

Solution:

1 1

0
1  x 2 dx =四分之一的單位圓面積= .
4

2
國立交通大學應用數學系 莊重教授
Example 4:Find the “ ?’s ”, that is, identify f , a & b.

1 n 1

?
lim 2
  ? dx
n  n
i 1 i ?
1  
n

Solution:

1
a  0, b  1, f ( x)  .
1 x2

*註解:這種問題解答不是唯一。

*Properties of the integral

b a
 a
f ( x)dx    f ( x)dx.
b

a
 a
f ( x)dx  0

a  f ( x)   g ( x) dx   a
b b b
 f ( x)dx    g ( x)dx
a

(微分、積分一樣都是線性運算)

c b b
 a
f ( x)dx   f ( x)dx   f ( x)dx , for any c  R .
c a

b
 f ( x)  0 on [a, b]   f ( x)dx  0 .
a

b b
 f ( x)  g ( x) on [a, b]   f ( x)dx   g ( x)dx .
a a

b
 If m  f ( x)  M for a  x  b , then m(b  a )   f ( x)dx  M (b  a ) .
a

3
國立交通大學應用數學系 莊重教授
4
國立交通大學應用數學系 莊重教授
§5-3 The Fundamental Theorem of Calculus(TFTC)

*Theorem:(The fundamental theorem of calcucus)

Let f be continuous on [ a , b ].

x
Part I:If g ( x)   f (t )dt  g ' ( x)  f ( x).
a

b
Part II:  f ( x)dx  F ( x) |ba  F (b)  F (a ), where F is any antiderivative of f.
a

*Geometric Intuition

Part I

g ( x  h)  g ( x )  h  f ( x )
g ( x  h)  g ( x )
  f ( x)
h
 g ' ( x)  f ( x).

1
國立交通大學應用數學系 莊重教授
Part II

From part I ⇒ g(x) is an antiderivative of f .

 F ( x)  g ( x)  c
 F (b)  F (a )  [ g (b)  c]  [ g (a)  c]
b
 g (b)  g (a )   f (t )dt
a

b a
*  f (t )dt    f (t )dt
a b

4 1
Example 1:  dx  ?
1
x

Solution:

1 1
4 

1
x 2 dx  2 x 2 |14  4  2  2.

u 1 dg
Example 2: g (u )   dx , find ?
3 x x2
du

Solution:

dg 1
 2 .
du u u

3 1 u 1 dg
Example 3: g (u )   dx   2 dx , find ?
u x x 2 3 x x du

Solution:

dg 1
 2 .
du u u

2
國立交通大學應用數學系 莊重教授
u 1
Example 4: g (u )   dx
2 x x2

F  u   F (2) , where F ' ( x )  f ( x ) , find


dg
du
?

Solution:

   u 12 u 1  1 
1 1
dg 1  
 F' u u 2  f 2
  .
du 2 2 u u u 

g (t )dt  g  f ( x)  f ' ( x).


d f ( x)
dx a

g (t )dt  g  f ( x) f ' ( x)  g h( x)h' ( x).


d f ( x)
dx h ( x )

x2 1
Example 5: g ( x)   dt , find g'(x) = ?
tan x
2t4

Solution:

2x 1
g ' ( x)   (sec2 x).
2 x 8
2  tan x4

x t2 1  u4
Example 6:If F ( x)   f (t )dt , f (t )   du , find F " ( 2)  ?
1 1 u

Solution:

1  x 8 (2 x)
F ' ( x)  f ( x)  F " ( x)  f ' ( x) 
x2
 F " (2)  1  28  257 .

3
國立交通大學應用數學系 莊重教授
x 1
Example 7: Find the interval on which the curve y  f ( x)   dt is
0 1 t  t2

concave upward.

Solution:

1  (1  2 x)
y'   y" 
1 x  x 2
(1  x  x 2 ) 2

 1
   , .
 2

1 1 2 n
Example 8: lim    ?
n n
 n n n 

Solution:

1 1 n 1
3
2 2 2
lim       x dx  x 2 |10  .
n n 
 n n n 0 3 3

Example 9:Find a function f and a number a such that

x f (t )
6 dt  2 x for all x > 0.
a t2

Solution:

a f (t )
(i) 6   dt  2 a  a  9.
a t2

1 3
f ( x) 
(ii) 2
 x 2  f ( x)  x 2 .
x

4
國立交通大學應用數學系 莊重教授
§5-4 Indefinite Integrals

*Indefinite Integral:

 f ( x )dx = The most general form of the antiderivatives of f .

= F (x) + c, where F ' ( x )  f ( x).

Examples:

x n 1
 x dx   C. e dx  e x  C .
n x
(i) (ii)
n 1
1
(iii)  sin xdx   cos x  C. (iv)  x dx  ln | x | C.
1

1 dx  sin 1 x  C.
(v) 1 x 2
dx  tan 1 x  C. (vi)
1 x 2

2t 2  t 2 t  1
Examples 1:  dx  ?
t2

Solution:

2t 2  t 2 t  1
 
3
2
 t 2
dx   2  t  t  2 dx  2t  t 2  t 1  C.
3

Example 2:  10 x 4  sec 2 x dx  ?

Solution:

 10 x 
 sec 2 x dx  2 x 5  tan x  C .
4

1
國立交通大學應用數學系 莊重教授
Example 3:   x  2 | x |dx  ?
2

1

Solution:

 x  2 | x |dx   x  2 x dx   x  2 x dx


2 0 2

1 1 0

3 1 3 7
 x 2 | 01  x 2 | 02    2   .
2 2 2 2

2
國立交通大學應用數學系 莊重教授
§5-5 The Substitution Rules

*Two systematic methods to do integration:

1. The substitution rule (積分) ⇔The Chain rule (微分).

2. Integration by parts (積分) ⇔The Product rule (微分).

Example 1:  2 x 1  x 2 dx  ?

*Key:Just like doing differentiation by chain rule, we first need to identify u.

Solution:

Let u  1  x 2

du  3
 2x 
 
3
2 2 2
 
       
2 2 2
dx 2 x 1 x dx u du u C 1 x .

du  2 xdx  3 3

x
Example 2:  dx  ?
1  4x 2

Solution:

Let u  1  4 x 2

du 
 8 x  1 1
 
1
1 1 1 2 1 2 1
dx
1   
8  du  
8  u du  
4
u  C   1  4x 2
4
2  C.
 du  xdx  u
8 

*Summary:

 f ( g ( x))  g ' ( x)dx   f (u )du


↓ ↓
u du

1
國立交通大學應用數學系 莊重教授
Example 3:  x 3 cos x 4  2  dx  ?

Solution:

Let u  x 4  2

du 
 4x3 
1
dx

1
4
1
4
1
4

  cos udu  sin u  C  sin x 4  2  C. 
du  x 3 dx 
4 

x
Example 4:  dx  ?
x 1

Solution:

Let u  x  1  x  u  1

du  dx
(u  1)  12  
1
2
3 1
 dx    u  u du  ( x  1)  2( x  1) 2  C.
2 2

u   3

sin x
Example 5:  tan xdx   dx  ?
cos x

Solution:

Let u  cos x

du   sin xdx
du
    ln | u | C   ln | cos x | C   ln | sec x | C.
u

2
國立交通大學應用數學系 莊重教授
e ln x
Example 6:  dx  ?
1 x

Solution:

Let u  ln x

1 1 u2 1 1
du  dx   udu   .
x 0 2 0 2

4
Example 7:  2 x  1dx  ?
0

Solution:

Let u  2 x  1

du  2dx
1 3
1 9 2 1 29 1 26
  u du  u 9  .
2 1 3 1 3 3

Example 8:  sec 3 x  tan xdx  ?

Solution:

Let u  sec x

du  sec x  tan xdx


u3 sec 3 x
  sec 2 x  (sec x  tan x)dx   u 2 du  C   C.
3 3

3
國立交通大學應用數學系 莊重教授
x
Example 9:  4 dx  ?
x2

Solution:

Let u  x  2

du  dx
3 1 7 3
u2  4 8
 1
du   u 4  2u 4 du  ( x  2) 4  ( x  2) 4  C
4
7 3
u

4 2
Example 10:  f ( x) dx  10 , find  f (2 x) dx  ?
0 0

Solution:

Let u  2 x

du  2dx
2 1 4 1 4
  f (2 x) dx   f (u ) du   f ( x) dx  5.
0 2 0 2 0

  
Example 11:Prove that 0
xf (sin x) dx 
2 0
f (sin x)dx

(Hint: u    x .)

Solution:

Let u    x

du   dx
 0
  xf (sin x)    (  u ) f (sin(  u ))du
0 

  (  u ) f (sin u )du
0
 
   f (sin u )du   uf (sin u )du
0 0
 
   f (sin u )du   xf (sin x)dx
0 0

4
國立交通大學應用數學系 莊重教授
  
That is, 0
xf (sin x)dx    f (sin x)dx   xf (sin x)dx
0 0

  
  xf (sin x)dx 
2
f (sin x)dx.
0 0

 x sin x
Example 12:Use example 11 to evaluate 
0 1  cos 2 x
dx  ?

    
 0 xf (sin x)dx  0 f (sin x)dx 
 2 

Solution:

y sin x sin x
Let f ( y )   f (sin x)  
2 y 2
2  sin x 1  cos 2 x
2

 x sin x ex . 11   sin x
  0 1  cos x
2
dx 
2 
0 1  cos 2 x
dx

Let u  cos x

du   sin xdx
1 1  1 1
2
 du   du
1 1 u 2
2 1 1  u 2
2
 1 1         
 tan u          .
2  1 2  4  4    2 

*Symmetry:

a a
f ( x )  f ( x) ⇔ f:even function (偶函數)⇔對稱 y 軸⇒  f ( x)dx  2  f ( x)dx.
a 0

a
f ( x )   f ( x) ⇔ f:odd function (奇函數)⇔對稱原點⇒  f ( x)dx  0.
a

5
國立交通大學應用數學系 莊重教授
§5-6 The Logarithm Defined as an Integral

*Definition:

I. Properties of ln x.

(i) ln 1 = 0, ln x > 0, if x > 1; ln x < 0 if x < 1.

d 1
(ii)  ln x  .
dx x

(iii) ln x y  ln x  ln y.

Proof of (iii)

ax 1
Let f ( x)  ln ax, a  0  f ( x)   d
1 

1
 f ' ( x)  , a  0  ln ax  ln x  C
ax
pick x 1
 ln a  ln 1  C  C  ln a
 ln ax  ln x  ln a.

1
國立交通大學應用數學系 莊重教授
II. Define e to be such that

III. Exponential Function: e x  y  ln y  x

(inverse function of ln)

1 d
ln y  x  y'  1  y'  y  e x  e x .
y dx

IV.

(i) General Exponential Functions.

a x  eln a   e x ln a 
x d x
a  (ln a)a x .
dx

(ii) General Logarithm (inverse function of f ( x)  a x )

log a x  y  a y  x  (ln a)a y y '  1


 1  d  1 
 y'  a y    log a x    x.
 ln a  dx  ln a 
2
國立交通大學應用數學系 莊重教授
1
V. e  lim(1  x) .
x
x 0

Remark:

有些微積分的書先講積分,再提微分。如此則可先定義 y  ln x,再定義 y  e x ,

再定義 y  loga x 。這樣的好處可以避免需要解釋什麼是 2 ?

1 1 1 1 1 1
Example 1:      ln n  1      .
2 3 n 2 3 n 1

Solution:

3
國立交通大學應用數學系 莊重教授
§6-1 Areas Between Curves

*Keys:

 Σ(離散的加法符號)

∫(連續的加法符號)

An  N 維物體的體積

An 1  此物體 n-1 維截面的體積

⇒ An   An 1dx   (截面)n-1dx

Examples:

(a)

二維區域
A2 = Area between f and g from a to b.

A1 = f (x)-g (x) = 1 維截面(線段)

 A2    f ( x)  g ( x)  dx.
b

(b)

二維區域

A2   A1dy    f ( y )  g ( y ) dy
d d

c c

1
國立交通大學應用數學系 莊重教授
Example 1:

Find the area of the region enclosed by the parabolas y = x2 & y = 2x-x2.

Solution:

 y  x2

 y  2x  x
2

 x2  2x  x2
 x  0, 1
1
  1
A   2 x  x 2  x 2 dx  2  x  x 2 dx
0 0
 
1
 x x3  1
 2    .
 2 3 0 3

Example 2:

Find the area enclosed by the line y = x-1 and the parabolas y2 = 2x+6.

Solution:

 y  x 1
 2
 y  2x  6
 ( x  1) 2  2 x  6
 x  5,  1
 y  4,  2
1
A   2 2 x  6dx  
3
5

1
 
2 x  6  ( x  1) dx
4  y2  6 
   y 1 dy  18.
2
 2 

2
國立交通大學應用數學系 莊重教授
Example 3:Find the area of the region bounded by y = x2, the tangent line to this
parabola at (1,1), and the x-axis.

Solution:

y  x2
 y'  2 x
 y ' (1)  2

Tangent line at (1,1):

y  1  2( x  1)
y 1
x
2
1  y 1  1
A   y  dy  .
0
 2  12

Example 4:Find the number b such that the line y = b divides the region bounded by
the curve y = x2 and y = 4 into two region with equal area.

Solution:

1 2

2 0
  b
 
4  x 2 dx   b  x 2 dx
0

3
8 2
  b2
3 3
2
 b  4 3.

3
國立交通大學應用數學系 莊重教授
§6-2─6-3 Volumes by Cylindrical Shells

*公式:

V3   V2 dx



V3  

4 3
Example 1:Prove that the volume of the sphere with radius r is r .
3

Solution:

V  2  r '2 dx  2  (r 2  x 2 )dx
r r

0 0

§6-2
4
  r3
3

r
V  2  2  xhdx
0

 2  2  x r 2  x 2 dx
r

r §6-3
4 2 3

3
 r  x 
2 2

4
  r3
3

1
國立交通大學應用數學系 莊重教授
Example 2:Find the volume of the following graph.

Solution:

x r'

h r
r
 r' x.
h
h r 
2
h
V   r '2 dx     2  x 2 dx
0 0
h 
1
 r 2 h.
3

Example 3:A frustum of a pyramid with square base of side b, square top of side a,
and height h.

2
國立交通大學應用數學系 莊重教授
Solution:

h
V   r 2 dx
0

k a ah
 k 
h ba ba

xk r ba
  r  a x
k a  h 

2
 hba 
V   a  x  dx
0
 h 

3 h
h  ba 
 a  x
3(b  a )  h  0


3
 a  ab  b2  .
h 2

y  x
Example 4:Rotating  about the x-axis.
y  x
2

Solution:

Method 1:(截面為環狀)

1
V   ( r12   r22 )dx, r1  x, r2  x 2 .
0

1 2
  ( x 2   x 4 )dx 
0 15
Method 2:(截面為圓柱狀)

3
國立交通大學應用數學系 莊重教授
1
V   2 rhdy
0

 
1
  2 y y  y dy.
0

y  8

Example 5:Rotating  y  x 3 about the x-axis.
x  0

Solution:

V    64  x 6   dx(截面為環狀)
2

1
8
  2 y 3 ydy (截面為圓柱狀)
0

768
 .
7

 y  x  x2
Example 6:Rotating  about the line x = 2.
 y  0

Solution:

1
V   2 (2  x)( x  x 2 ) dx
0


 .
2

4
國立交通大學應用數學系 莊重教授
Example 7: A wedge is cut out of a circular cylinder of
radius 4 by two planes. One plane is
perpendicular to the axis of the cylinder. The
other intersects the first at an angle of 30̊
along a diameter of the cylinder. Find the
volume of the wedge.

Solution:

Method 1:
4
V   長方形截面dx
0

4  x 
  2 42  x 2   dx
0
 3

長 寬

128
 .
3 3

Method 2:
4
V   ABC截面dx
0

4
  AB  BCdx
0

416  x 2
 dx
0
3

128
 .
3 3

5
國立交通大學應用數學系 莊重教授
Example 8: Find the volume common to two spheres, each with radius r. If the
center of each sphere lies on the surface of other.

Solution:

Method 1:

r
V  2  y 2 dx
2
0
r  2  r 
2

 2    r   x   dx
2
0   2  

5
 r 3 .
12

Method 2:

0
V  2 r y 2 dx

2

 2  r  
2
0

 2 r  r   x   dx
 
2   2  
5
 r 3 .
12

Example 9:Find the volume common to two circular cylinders, each with radius r. If
the axes of the cylinders intersect at right angle.

*想一想:

1. 先想想看,交集區域或是交集區域集面樣子?

2. 若想不出來,試著用代數手法組成此交集區域。

6
國立交通大學應用數學系 莊重教授
Solution:

由對稱性,我們只考慮交集的 區域,即 x  0, y  0, z  0.

 當 z = 0  0  x  r ,0  y  r

(正方形,邊長 = r)

 當 z = r  x  0, y  0

(正方形,邊長 = 0)

 當 0 < z < r  0  x  r2  z2 , 0  y  r2  z2

(正方形,邊長= r 2  z 2 )

⇒當 z 固定, 0  z  r ,交集區域的橫截面為正方形。

r

⇒交集區域的體積 V  8 r 2  z 2 dz 
0
 16 3
3
r .

7
國立交通大學應用數學系 莊重教授
§6-5 Average Value of a Function

*公式:

The average fave of a function y = f (x) on [ a , b ] is

f ave 

a
f ( x)dx
.
ba

*註記:
b
(b  a) f ave  長方形面積  曲線底下由b到a的(有向)面積   f ( x)dx
a

*The Mean Value Theorem for Integrals:

If f is continuous on [ a , b ], then ∃ a c in [ a , b ] s.t.

1 b
b  a a
f (c)  f ave  f ( x)dx.

*Show that the average velocity of a car over a time interval [ t1, t2 ] is the same as
the average of its velocities during the trip.(平均速度 = 瞬間速度的平均值)

Proof:

s (t 2 )  s (t1 )
平均速度  , where s(t) = position function.
t 2  t1
t2

瞬間速度的平均值 
 t1
s ' (t )dt

s (t 2 )  s (t1 )
.
t 2  t1 t 2  t1
1
國立交通大學應用數學系 莊重教授
Example 1:

Use the diagram to show that if f is concave upward on [ a , b ], then

ab
f ave  f  .
 2 

Solution:

1 b
b  a a
f ave  f ( x)dx

1
  (area of trapezoid ABDF )
ba

1
  (area of rectangle ACEF )
ba

1   ab 
  f    (b  a ) 
ba   2  

 ab
 f .
 2 

2
國立交通大學應用數學系 莊重教授
§7-1 Integration by Parts

*公式:Integration by parts

 ∫ udv = uv − ∫ vdu.
b b
∫ udv = uv a − ∫ vdu.
b

a a

*Integration by parts(積分) ↔ Product rule(微分)


u = f ( x), v = g ( x);
( f ( x) g ( x) )' = f ' ( x) g ( x) + f ( x) g ' ( x)
⇒ ∫ ( f ( x) g ( x) )'dx = ∫  g ( x) f ' ( x)dx + ∫ 
f ( x) g ' ( x)dx
  
uv v du u dv

⇒ uv = ∫ vdu + ∫ udv

⇒ ∫ udv = uv − ∫ vdu.

*Keys:
1. Identify u and dv.
2. Easy to recover v from dv.
3.∫vdu is not complicated than ∫udv.

Example 1:

∫ x sin xdx = ?
Solution:

u = x du = dx
 ⇒
dv = sin xdx v = − cos x
⇒ ∫ x sin xdx = − x cos x + ∫ cos xdx = − x cos x + sin x + c.

Example 2:

∫ tan
−1
xdx = ?

Solution:
 dx
u = tan −1 x du =
 ⇒ 1+ x2
 dv = dx v = x
x 1
⇒ ∫ tan −1 xdx = x tan −1 x − ∫ dx = x tan −1 x − ln(1 + x 2 ) + c.
1+ x 2
2

1
國立交通大學應用數學系 莊重教授
Example 3:

∫ ln( x − 1)dx = ?
Solution:

 dx
u = ln( x − 1) du =
 ⇒ x −1
dv = dx v = x − 1

⇒ ∫ ln( x − 1)dx = ( x − 1) ln( x − 1) − ∫1dx = ( x − 1) ln( x − 1) − x + c.

Example 4:

∫ x e dx = ?
2 x

Solution:
u = x 2 du = 2 xdx
 ⇒ 
dv = e x dx v = e x
⇒ ∫ x 2 e x dx = x 2 e x − ∫ 2 xe x dx

u = 2 x du = 2dx
 ⇒ 
dv = e dx v = e
x x

∫ x e dx = x e −  2 xe − 2∫ e dx  = x e − 2 xe + 2e + c
2 x 2 x x x 2 x x x

Example 5:

∫e sin xdx = ?
x

Solution:

u = sin x du = cos xdx


 ⇒
dv = e dx v = e
x x

∫e sin xdx = e x sin x − ∫ e x cos xdx


x

u = cos x du = − sin xdx


 ⇒ 
dv = e dx v = e
x x

∫ e sin xdx = e sin x −  e cos x + ∫ e sin xdx 


x x x x

1
⇒ ∫ e x sin xdx = e x (sin x − cos x) + c
2

2
國立交通大學應用數學系 莊重教授
Example 6:

∫ cos x dx = ? (Hint:Substitution + Integration by parts)

Solution:
1
1 −2
Let u = x ⇒ du = x dx
2
⇒ 2∫ u cos udu
v = u dv = du
 ⇒
dw = cos udu w = sin u
(
⇒ 2 u sin u − ∫ sin udu )
= 2u sin u + 2 cos u + c
= 2 x sin x + 2 cos x + c.

Example 7:
1
∫x e
3 − x2
dx = ?
0

Solution:
Let u = x 2 ⇒ du = 2 xdx
1 1
2 0
1
2
1

0  2
1
[ ]
⇒ ∫ ue −u du =  − ue −u − e −u  = (−e −1 − e −1 ) + 1 = −e −1 + .
1
2

3
國立交通大學應用數學系 莊重教授
§7-2 Trigonometric Integrals

*題型:

 sin x  cosn xdx.


m
I.

 tan x  sec n xdx,  cot x  csc n xdx.


m m
II.

III.  sin mx  cos nxdx,  sin mx  sin nxdx,  cos mx  cos nxdx.

I.

1. m or n is odd:

u  sin x du  cos xdx


  
u  cos x du   sin xdx
 cos 2 x  sin 2  1.
 選擇偶數次方為 u,若 m、n 皆為奇數,則 u 可任意選擇。

 sin x cos 2 xdx   sin 2 x cos 2 x sin xdx   (1  u 2 )u 2 (  du ).


3

 cos x sin 4 xdx   cos 4 x sin 4 x cos xdx   (1  u 2 ) 2 u 4 du.


5

 cos3 x sin 2 x sin xdx  u 3 (1  u 2 )( du ). (u  cos x)


 
 cos x sin xdx   cos2 x sin 3 x cos xdx  (1  u 2 )u 3du. (u  sin x)
3 3

  

sin x
 tan xdx   cos x dx  ln | sec x | c.
2. m and n are even:

1  cos 2 1  cos 2
利用 cos 2   , sin 2   降階
2 2

1
國立交通大學應用數學系 莊重教授
 1  cos 2 
2
1
 sin d    2  d  4  (1  2 cos 2  cos 2 )d
4 2

1 1 1 1  cos 4 3 1 1
  sin 2   d   sin 2  sin 4  c.
4 4 4 2 8 4 32

II.

u  tan x du  sec2 xdx........(a)


  
u  sec x du  sec x tan xdx...(b)

 sec 2 x  tan 2 x  1.

1. n is even:利用(a)

 tan x sec xdx


3 4

  tan x sec x sec


2 2 2
xdx   u 3 (1  u 2 )du.

2. m is odd:利用(b)

 tan x sec xdx


3 3

  tan x sec x  tan x sec xdx   (u


2 2 2
 1)u 2 du.

3. m is even and n is odd:

sec x  tan x
(i).  sec xdx   sec x sec x  tan x dx  ln | sec x  tan x |  c.
 sec
3
(ii). xdx

u  sec x du  sec x tan xdx


  
dv  sec x v  tan x
2

  sec 3 xdx  sec x tan x   sec x tan 2 xdx



 sec x tan x   sec x sec 2 x  1 dx 
1
  sec 3 xdx  [sec x tan x  ln | tan x  sec x |]  c.
2

2
國立交通大學應用數學系 莊重教授
III. 將乘法變加法

1
1. sin A cos B  [sin( A  B)  sin( A  B)].
2

1
2. sin A sin B  [cos( A  B)  cos( A  B)].
2

1
3. cos A cos B  [cos( A  B)  cos( A  B)].
2

3
國立交通大學應用數學系 莊重教授
§7-3 Trigonometric Substitution

*題型:(利用三角代換法將根號除掉)

x  a sin 
1. a 2  x 2   a cos  ,   I  IV .

2. x 2  a 2   a tan  ,   I  III .


x  a sec x

x  a tan 
3. x 2  a 2    a sec  ,   I  IV .

9  x2
Example 1:  dx  ?
x2

Solution:

Let x  3 sin   dx  3 cos  d

9  x2
 x2
dx

3cos 
 d
9sin 2 

1  sin 2 
 d
sin 2 

  cot     c

9  x2 x
  sin 1  c.
x 3

1
國立交通大學應用數學系 莊重教授
1
Example 2:  dx  ?
x 2
x2  4

Solution:

Let x  2 tan  dx  2 sec2  d

1
x 2
x2  4
dx

2sec 2 
 d
4 tan 2  2sec 

1 sec 
4  tan 2 
 d

1 cos 
4  sin 2 
 d

Let sin   u  du  cos  d

1 1
4  u2
 du

11
 c
4u

1 1
 c
4 sin 

1 x2  4
  c.
4 x

2
國立交通大學應用數學系 莊重教授
x
Example 3:  dx  ?
x 4
2

Solution:

x
 x2  4
dx

 
1
 x 2  4 2  c.

*註記:若 substitution 的方法可解決,優先使用。

3 3
x3
Example 4:  2 dx  ?
4 x 
0 3
2
9 2

Solution:

3 3
Let x  tan   dx  sec 2  d
2 2

3 3
x3
 2
3
dx
 4x  9
0
2 2

27 3 3 2
 tan  sec 
 3 8 2 d
0 27 sec3 

3 3 tan 3 
16 0 sec 
 d

3 3 sin 3 
16 0 cos 2 
 d

3 3 (1  cos 2  )
16 0 cos 2 
 sin  d

3
國立交通大學應用數學系 莊重教授
3 12 1  u 2
16 1 u 2
 du (u  cos  )

1 u  1 du
3 1 2
16 2

3  1 1  3
  u  u 1   .
16  2  32

x
Example 5:  dx  ?
3  2x  x 2

Solution:

x x
 3  2x  x 2
dx  
 ( x  1) 2  4
dx

Let x  1  2 sin   dx  2 cos  d

1  2sin 
 2 cos  d
2 cos 

   2 cos   c

x 1
  sin 1  3  2 x  x 2  c.
2


cos t
Example 6:  2 dt  ?
0
1  sin 2 t

Solution:

Let sin t  u  cos tdt  du

1 1
 du
0
1 u 2

Let u  tan  du  sec2  d


4
國立交通大學應用數學系 莊重教授
 
 
   sec d  ln| sec  tan  | 04  ln 2  1 .
0

Example 7:

a  cx
 x
dx  ? (Hint:令 x = ?可以將√消掉?)

5
國立交通大學應用數學系 莊重教授
§7-4 Integration of Rational Function by Partial

Fraction

P ( x)
How to integrate  Q( x) dx ? Here P(x), Q(x) are polynomials?

P ( x) P( x) R( x)
Step1:Write as  S ( x)  , where deg R < deg Q.
Q( x ) Q( x) Q( x)

Step2:將 Q(x) 因式分解成一次或兩次的連乘積,即 Q(x)的因式基本型為


(ax2 + bx + c)n,和(ex + f)m, where b2 - 4ac < 0, and n & m are nonnegative
integers.

Step3:

R ( x)
i. 含(ex + f)m 的因式,將 寫成 partial fractions(部份分式)時,需含有
Q( x )
下列各項:

ex  f m  f1

f2

f3
 ... 
fm
……………(1)
ex  f ex  f 2
ex  f 3
ex  f m

ii. 同理,含(ax2 + bx + c)n 的因式,部份分式需含下列各項:

b1 x  c1 b2 x  c2 bn x  cn
ax 2
n
 bx  c    ...  ……..(2)
2 2

ax  bx  c ax  bx  c 2
 
ax 2  bx  c
n

*Why?

給一(m-1)次多項式 R(x),可將 R(x)唯一的表成

R( x)  f1 ex  f   f 2 ex  f 
m1 m 2
 ...  f m1 (ex  f )  f m (why?)

(即將 x 轉成 ex + f )

R( x) f1 f2 f m1 fm
    ...   .
ex  f  ex  f ex  f 
m 2
ex  f  m 1
ex  f m

Step4:

i. (1)式每一項都很容易逐項積分。
1
國立交通大學應用數學系 莊重教授
ii. (2)式每一項都可以透過配方法及 substitution 寫成

x   u 
 
u 2
r 
i

u2  r

 

i

u2  r

 

i

Direct substitution Trigonometric substitution

x 4  2x 2  4x  1
Example 1:  dx  ?
x3  x 2  x 1

Solution:

x4  2 x2  4 x  1 長除法 4x
 ( x  1) 
x3  x 2  x  1 ( x  1)   x  1
2

R( x) 4x a b c
   
Q( x) ( x  1)   x  1 2
x  1 x  1  x  12

 4 x  a   x  1  b  ( x  1)( x  1)  c  ( x  1)
2

x  1  a  1

x 1  c2

比較 2次項係數:0  a  b  b  1

 1  1 2
 原式   ( x  1)dx      dx
 x  1  x  1  x  1
2

x2 2
  x  ln | x  1|  ln | x  1|   c.
2 ( x  1)

2
國立交通大學應用數學系 莊重教授
2x 2  x  4
Example 2:  dx  ?
x3  4x

Solution:

2 x 2  x  4 2 x 2  x  4 a bx  c
   2
x3  4 x x  x2  4 x x  4

 2 x 2  x  4  a   x 2  4   x  (bx  c)

x  0  a 1

a  b  2
比較係數:  b 1
c  1

1 x 1
 原式    2 dx
x x 4

1 x 1 
   2  2  dx
 x x 4 x 4

x
 ln | x |  ln  x 2  4   tan 1    c.
1 1
2 2 2

4 x 2  3x  2
Example 3:  dx  ?
4x 2  4x  3

Solution:

4 x 2  3x  2
 4 x2  4 x  3 dx
 u  2 x  1  du  2dx 
x 1  
  1dx  
 x  u 1
dx
 2 x  1
2
2 
 2 

3
國立交通大學應用數學系 莊重教授
u 1
1
1
 x  22 du
2 u 2

1 u 1
4  u2  2
 x du

 x  ln  u 2  2  
1 1 u
tan 1  c.
8 4 2 2

1 x  2x 2  x3
Example 4:  dx  ?

x x2 1 
2

Solution:

1  x  2 x 2  x3 a bx  c dx  e
  2 
x  x 2  1 x x  1  x 2  12
2

 1  x  2 x 2  x 3   a  x 2  1  x  bx  c    x 2  1  x  dx  e 
2

x  0  a 1

 0  ab  b  1
 1  c

比較係數:
 2  2a  b  d e0
1  c  f  d 1

 原式  ln | x |  ln  x 2  1  tan 1 x 
1 1
 c.
2 2  x 2  1

4
國立交通大學應用數學系 莊重教授
1
Example 5:  dx  ?
x x 1

Solution:

1
Let u  ( x  1)  u 2  x  1  2udu  dx
2

1
x x 1
dx

2udu

u  u 2  1

 1 1 
    du
 u 1 u  1 

x  1 1
 ln  c.
x 1 1

5
國立交通大學應用數學系 莊重教授
1
Example 6:  dx  ?
3 sin x  4 cos x

Solution:

x  x x 2t
t  tan  tan x  tan    
 2 2  1 t
2
2

2t 1 t2
 sin x  , cos x 
1 t2 1 t2

dt  sec 2 dx  1  t 2  dx
1 x 1
2 2 2

2
 dx  dt
1 t2

P(t ) 1
原式   dt   2 dt
Q(t ) 2t  3t  2

即任一rational function of sin x & cos x

x
可改成rational function of t , t  tan .
2

6
國立交通大學應用數學系 莊重教授
§7-7 Approximate Integration

1. Midpoint Rule:(小長方形的高 = 小區間中點的 f 值)


a
b
   
f ( x ) dx  x  f x1  ...  f x n .

2. Trapezoidal Rule:(每小區間用梯形來逼近)

b x

a
f ( x)dx 
2
( y 0  2 y1  2 y 2  ...  2 y n 1  y n ).

3. Simpson’s Rule:(二小區間的 f 圖上三點用一拋物線來逼近)

1
國立交通大學應用數學系 莊重教授
找一拋物線Γ:y = ax2 + bx + c 經過( -h , y0 ), ( 0 , y1 ), ( h , y2 )

y0  ah 2  bh  c 

 y1  c   y0  y2  y0  4 y1  y2  2ah  6c
2


y2  ah 2  bh  c 

 ax  bx  c  dx  2   ax 2  c  dx
h h
 2
h 0


h
3
 2ah 2  6c 

h
  y0  y2  4 y1 
3

h
  y0  4 y1  y2 
3

也即

x
 y0  4 y1  2 y 2  4 y3  ...  4 yn1  y n  (n must be even)
b
a
f ( x)dx 
3

*How accurate those approximation are?

 k (b  a ) 3
 M
E  2
, k  max f ( n ) ( x) .
24 n a  x b

 k (b  a ) 3
誤差   ET  2
.
 12 n
 k (b  a )5
 ES  4
, k  max f ( 4) ( x) .
 180n a  x b

2
國立交通大學應用數學系 莊重教授
2 1
Example 1: Evaluate  dx by midpoint rule, n  5.
1 x

Solution:

2 1  1 1 1 1 1 
ln 2   dx  0.2       
1 x  1 .1 1 .3 1 .5 1 .7 1 .9 
 0.691908
 ln 2  0.691908.

3
國立交通大學應用數學系 莊重教授
§7-8 Improper Integrals

b
*What is the improper integral 
a
f ( x )dx ?

1. a   or b  .
2. f (c )   for some c  [ a , b ].

b
發生以上 1.或 2.情況,即可稱  f ( x)dx 為 improper integral.
a

*幾何上來說,improper integral 所圍出來的區域是無界的。

(1-a)  b
a
f ( x ) dx  lim  f ( x ) dx
b a

 0 
 f ( x)dx   f ( x)dx  f ( x)dx
(1-b)
  0
(1 a ) (1 a )

(2-a) c  a or b
b b b d
a
f ( x)dx  lim  f ( x)dx or  f ( x)dx  lim  f ( x)dx
d a d a d b a

(2-b) acb
b d b
a
f ( x)dx  lim  f ( x)dx  lim  f ( x)dx
d c a d c d

*c means the discontinuous points.

1
國立交通大學應用數學系 莊重教授
*一個 improper Integral 可能有好幾個缺點

 1 
0
ln xdx   ln xdx   ln xdx
0 1

1 c
 lim  ln xdx  lim  ln xdx
b 0 b c  1

*註記:
1. 要計算具有多個缺點的 improper integral,一定要將原 improper
integral 表成多個新的 improper integrals 的組合,其中每一個新的
improper integral 都只能有一個缺點。

2. 如果每一個只有一個缺點的 improper integral 所代表的無界區域


之面積皆為有界,即原 improper integral 稱之為收斂
(convergence),反之則稱為發散(divergence)。

 1 b 1
Example 1: Verify the convergence of  1 x p
dx  lim  p dx.
b  1 x

Solution:

 x  p 1 b
b 1  p 1
1 x p dx    p  1 1

p 1
b
ln | x | 1
 1 convergence p  1
  p dx   .
1 x
divergence p 1

2
國立交通大學應用數學系 莊重教授
1 1 1 1
Example 2: Verify the convergence of 0 x p dx 
b  0  b x p
lim .

Solution:

1 1 convergence p  1
0 x p dx  
divergence p 1
.

*Summary:

1
i. Example 1 中,p 要大(即 f ( x) 
跑到 0 的速度要夠快,當 x→∞
xp
時),無窮區域的面積才可能是有限。
1
ii. Example 2 中,p 要小(即 f ( x) 
跑到∞的速度要夠慢,當 x→0
xp
時),無窮區域的面積才有可能有限。

*Comparison Theorem: f  g  0

b b
i.  a
g ( x ) dx : diverges   f ( x ) dx : diverges.
a

b b
ii.  a
f ( x ) dx : converges   g ( x) dx : converges.
a

3
國立交通大學應用數學系 莊重教授
0
Example 3: Verify the convergenc e of 

xe x dx.

Solution:

Converges.

 1
Example 4: Verify the convergence of  dx.
 1  x2

Solution:

 1
 1  x2
dx

0 1  1
 dx   dx
 1  x 2 0 1  x2

0 
 tan 1 x  tan 1 x
 0

 
   
 

3 1
Example 5: Verify the convergence of  dx.
0 x 1

Solution:

3 1
0 x 1
dx

1 1 3 1
 dx   dx .
0 x 1 1 x 1
diverges diverges

4
國立交通大學應用數學系 莊重教授
1
Example 6: Verify the convergence of  ln xdx.
0

Solution:

1
0
ln xdx

 x ln x 0  x 0  1
1 1

1
*另解: ln x比 1
跑到的速度慢,當x  0時  converges.
2
x

 1
Example 7: Verify the convergence of  dx.
2 ln x

Solution:

1 1
  當x很大時  diverges.
x ln x


Example 8: Verify the convergenc e of  e  x dx.
2

0 Note that e^(-x^2)is one when evaluating at


zero. Hence, nothing is improper at zero.
To verify the convergence of the integral of
Solution: e^(-x^2) from 0 to infinity, one only needs to
check how quickly the speed of the function
e^(-x^2) goes to zero at infinity.
1
e x  x 2  e  x  x  2  converges.(compare with
2 2
) In fact, it goes zero much quicker than that of
x2 x^(-2) at infinity. Hence, such improper
integral converges.

 1  e x
Example 9: Verify the convergenc e of  dx.
1 x

Solution:

1  e x 1 1
  diverges.( compare with )
x x x

5
國立交通大學應用數學系 莊重教授

Example 10: Verify the convergenc e of  x 2e  x dx.
2

Solution:

ux dv  xe  x dx
2

1 2
du  dx v   e  x
2


 x 2 e  x dx
2


1 1   x2
2 0
  xe  x 
2
e dx
2 0

1   x2
2 0
 e dx.

1
(和 比較可得此瑕積分為收斂)
x2

歷屆大會考考古題精選:


1. If n us a positive integer, then  x n e  x dx  ?
0

(A) 1 ; (B) n ; (C) n! ; (D) .

 ln x
2. Evaluate  dx  __________.
1 x2

 ln x
3. The value of 
0 1  x2
dx is __________.

1 ln x
4. Evaluate the improper integral  dx  __________ .
0
x

 dx
5. Evaluate   __________ .
 4 x  4 x  5
2

6
國立交通大學應用數學系 莊重教授
§8-1 Arc Length

*公式:弧長

l   ds

  dx    dy 
2 2

 b
 1   f '(x)  dx
 dy 
2  b
 
 a 
1    dx   2

 dx   a

  
  
 
2
 d  dx  d
     dy 
  g '( y )   1 dy
2
  1
   dy  
c c


 t2   dx   dy  
2 2

        dt ; x  t1   a ; x  t2   b.
 t1   dt   dt  

1
國立交通大學應用數學系 莊重教授
1 1
Example 1: Evaluate the arc length of y 2  x 3 from (0, 0) to ( , ).
4 8

Solution:

3
y  x2

1
9
l   4 1 xdx
0 4

1
3 4
4 2 9  2 61
  1  x   .
9 3 4  216
0

1
Example 2: Evaluate the arc length of y  x 2  ln x from (1 , 1) to ( x , y).
8

Solution:

1
y '  2x 
8x

x  1
l  1   2t  dt
1
 8t 

x
1
 t 2  ln | t |
8 1

1
 x 2  ln | x | 1.
8

2
國立交通大學應用數學系 莊重教授
Example 3: Find the length of the curve y  
x

1
 t  1dt , 1  x  4.
3

Solution:

y '  x3  1

4
l  1  x 3  1dx
1

4
2 5 62
 x2  .
5 1 5

Example 4:Prove that the circumference of the circle with radius r is 2πr.

Prove:

1
y  f ( x)  r 2  x 2  f '( x)   x  r 2  x 2 

2

r2
 1   y ' 
2

r 2  x2

r 1
 圓周長  4r  r cos  d
0 r cos 

 2 r.

3
國立交通大學應用數學系 莊重教授
歷屆大會考考古題精選:

1. Let L(Ci ) represent the length of curve Ci ; 1  i  4. Which curve has the longest length?

(A) C1 (B) C2 (C) C3 (D) C4

With

L(C1 )   4 1  x 2 1  x 2  dx
1 1

2
L(C2 )   sin 2   4 cos 2  d
0

4   1 
L(C3 )   cos 2  sin 2 d
0   4 

 2t    2t 
2
L(C4 )  
2 2
dt.
0

2. Length of the curve y  e x , 0  x  1 is

(A) 1  e 2  2  ln  
1  e 2  1  1  ln  
2 1 .

(B) 1  e 2  2  ln  
1  e 2  1  1  ln  
2 1 .

(C) 1  e 2  2  ln  
1  e2  1 .

(D) - 1  e 2  2  ln  1  e2  1 . 
2 2

3. The length of the curve with equation x 3  y 3  1 is __________.

4
國立交通大學應用數學系 莊重教授
§8-2 Area of a Surface Revolution

*公式:Area of a Surface Revolution = S

1  2r2
(II) 圖之表面積=  l 2  l 2  lr2 .
2  l

   l1  l2  r2   l1r1

   r2  r1 l1  r2l2 

l1 r
  1
l1  l2 r2

  r2  r1  l1  r1l2 .

(I) 圖之表面積=  (I)圖之表面積   (r1  r2 )l2

  (r1  r2 )ds

 2 rds

r1  r2
r ( y  f ( x)當dx是無窮小時).
2

 S   2 rds.

1
國立交通大學應用數學系 莊重教授
 b 2
 2f ( x) 1    dx
dy
 a  dx 
S   2rds  
 d
2
 dx 
c 2y    1dy.
  dy 

 b 2
 2x 1    dx
dy
 a  dx 
S   2rds  
 d
2
 dx 
c 2g ( y )    1dy.
  dy 

Example 1:

Find the surface area of y  r 2  x 2 ,  r  x  r rotating about the x - axis.

Solution:

1
r2
y '    x   r 2  x 2  2  1   y ' 
2

r 2  x2

r r
S   2 r 2  x 2 dx
r
r  x2
2

r
 2 r  dx
r

 4 r 2 .

2
國立交通大學應用數學系 莊重教授
Example 2:

Find the surface area of y  x 2 from (1,1) to (2,4), rotating about the y - axis.

Solution:

1
x  y2

1  12
 x'  y
2

1 4 y
 1   x ' 
2

4y

4
1
1 4 y
S   2 y 2
dy
1 4y

4
 1  4 ydy
1

3 4

2 1
17 
2
 2 y   17  5 5 .
3 4 6
1

Alternate solution:

y '  2 x  1   y '  1  4 x 2
2

2
S   2 x 1  4 x 2 dx
1




17 17  5 5 . 

3
國立交通大學應用數學系 莊重教授
Example 3:

x2 y2
Find the surface area of 2  2  1, rotating about the x - axis.
a b

Solution:

b 2
y a  x2
a

  x   a2  x2  2
b 
 y' 
a

b2 x2  a 4  a 2 x2
 1   y ' 
2

a2  a2  x2 

a b 2 a4   a2  b2  x2
S  2  2 a  x2 dx
0 a a a2  x2

4 b a 4
 2 0
a   a 2  b 2  x 2 dx.
a

a2
x sin 
a 2  b2

4 b  2 a2
a 2 0
 a cos  cos  d
a 2  b2


4 a 2b   sin  cos  
   
a2  b2  2 2 0

4 a 2b  1 1 a 2  b 2 b a 2  b 2 
  sin  
a 2  b 2  2 a 2a 2 

 a 2b a 2  b2 
 2 b 2  sin 1 .
 a 2  b2 a 

4
國立交通大學應用數學系 莊重教授
§8-3 Applications to Physics and Engineering

I. Hydrostatic Pressure and Force

F mg  Ad
p     gd .
A A A

F : force m : mass g : gravity accelereation

  density of a fluid in metric system

  density of a fluid in ft  pound system

Water density : 1000 kg or 62.5 pd (含重力)


m3 ft 3

  gd (metric system)
(1) P (pressure)  
 d (ft  pound system)

Force against a vertical plate or wall or dam.


(2)

Example 1:A dam has the shape of the trapezoid. The height is 20m, and which is
1
國立交通大學應用數學系 莊重教授
50m at the top and 30m at the bottom. Find the force on the dam due to
hydrostatic pressure if the water level is 4m from the top of the dam.

Solution:

16
F   g (16  x )(30  x ) dx
0

Example 2:Find the hydro static force on one end of a cylindrical drum with radius
3ft if the drum is submerged in water 10ft deep.

Solution:

dA  2 9   7  x  dx
2

F  2 62.5 x 9   7  x  dx
10 2
4

7 x y 3
 
3
62.5(7  y ) 9  y 2 dy.

2
國立交通大學應用數學系 莊重教授
Example 3:Force against an inclined bottom.

Solution:

9

3
 dAx

9
   dAx
3

9
    20 xdy
3

dy 1636 409 409


   dy  dx
dx 6 3 3

9 20 409
  xdx.
3 3

 
*Center x, y of a discrete system.

n
M y   mi xi
i 1
n
M x   mi yi
i 1

My Mx
x n
, y n

m
i 1
i m
i 1
i

3
國立交通大學應用數學系 莊重教授
 
*Center x, y of a continuous system with uniform density ρ.

 f ( x)  g ( x) 
 x,  :center of infinitesimal
 2 
strip at x (the shaped part on the right).

b  f ( x)  g ( x)    b f 2
( x)  g 2 ( x) 
Mx  
a
 f (x)  g ( x)    a dx.
2 2

b b
M y   x    f ( x)  g ( x)     x  f ( x)  g ( x)  dx.
a a


1 b 2
a
f ( x )  g 2 ( x)  dx
y 2 b
  f ( x)  g ( x)  dx
a

x
 x  f ( x)  g ( x)  dx .
a
b
  f ( x)  g ( x)  dx
a

Example 4:Find the center of a semicircular plate with radius r.

Solution:

4
國立交通大學應用數學系 莊重教授
1 r
r r 2

2
 x 2 dx
 r
r
2

 x 2 dx
y 2  r
1 2
r r 2
2
r
1 1 x3  4r
 2  r 2 x    .
r 2  3  r 3

Example 5:Find the centroid of the region bounded by y = x and y = x2.

Solution:

A    x  x 2  dx 
1 1
0 6

M x    x 2  x 4  dx 
1 1
0 15

M y   x  x  x 2  dx 
1 1
0 12

1 2
x , y .
2 5

Theorem of Pappu:

5
國立交通大學應用數學系 莊重教授
b
V   2 x  f ( x)  g ( x)  dx
a

b
 2  x  f ( x)  g ( x)  dx
a

 2 ( xA)

 (2 x) A

  distance traveld by the region    the area of the region  .

6
國立交通大學應用數學系 莊重教授
§8-5 Probability

*Discrete Random Variables:例如擲骰子    1,2,3,4,5,6

Continuous Random Variables:例如國人的平均身高   0  x  250

*離散:

1
 若公正的骰子,則 p( x  1)   p( x  2)
6
 離散的 probability density function

f :   1,2,3,4,5,6  R   {0}
1
f (1)  f (2)  f (3)  f (4)  f (5)  f (6)  .
6

*連續:

 國人的身高   0  x  250 ,在 0 公分和 250 公分之間的實數有無窮


多個,因此算單一身高(例如 170.123 公分)的機率是無意義的,也是不
必要的,所以在考慮連續型的 random variables 和離散型 random
variables 的數學處理方法有很大的差別,在連續型我們是先猜測或判斷
這個 random variables 的 probability density function(pdf) 的可能形狀。

1. exponentially decreasing pdf:常用在等時間或產品出問題的時間


上。
2. 常態分佈的 pdf。
3. 通常 pdf 的定義域可以寫為 R,在不可能出現的範圍,函數值可設
為零。

 給定一個 continuous random variable 的 pdf,則一些相關的機率問題和


離散型很像,這兩者關係就如∫(連續的加法符號)和Σ(離散的加法符號)
的關係一樣。

Given X, f (pdf). Then:

b
 p (a  x  b)   f ( x)dx (和離散的觀念是一致的)
a

 在擲公正骰子的例子中:

1
國立交通大學應用數學系 莊重教授
1 1 1 1
p(2  x  4)  f (2)  f (3)  f (4)     .
6 6 6 2

6
平均值(期望值) :  kf (k )  
k 1

6
Variance(變異數, 方差) :  k    f (k )  Var ( X )
2

k 1

Given X(連續), f . Then

The mean(μ平均值) of f is defined by


   xf ( x) dx


Var ( X )   ( x   ) 2 f ( x ) dx


Example 1:

Suppose a problem such as waiting time, equipment failure times can be


modeled by a pdf which is exponentially decreasing. Find such pdf.

Example 2:

Suppose the average waiting time for a customer’s call to be answered by a


company representative is five minutes.

(a) Find the probability that a call is answered during the first minutes.

(b) Find the probability that a customer waits more than five minutes to be
answered.

*pdf of Normal Distributions:

2
國立交通大學應用數學系 莊重教授
例子:Test scores, heights, weight, annual rainfall…

  x   2
1
f ( x)  e 2 2

 2

( x )2
   

e 2 2
 2  ;  xf ( x)   ;  ( x   ) 2 f ( x)  
 

Example 3:Intelligence Quotient (IQ) scores are distributed normally with mean 100
and standard deviation 15. (Figure shows the corresponding probability
density function)

(a) What percentage of the population has an IQ score between 85 and 115?

(b) What percentage of the population has an IQ above 140?


3
國立交通大學應用數學系 莊重教授
§10-1 Curves Defined by Parametric Equation

*Parameter Equation: x = f (t ), y = g (t ).
Parameter Curve: {( x, y ) : x = f (t ), y = g (t )}.

Example 1:
Verify the curve x = cos t , y = sin t , 0 ≤ t ≤ 2π .

Solution:
The circle: x 2 + y 2 = 1

Example 2:
The curve traced out by a point P on the circumference of a circle as the
circle rolls along a straight line is called a cycloid. Find parametric equation
for the cycloid.

Solution:

p ( x, y )
x = rθ − r sin θ
y = r − r cos θ .

1
國立交通大學應用數學系 莊重教授
Example 3:
Find P(x,y) in terms of Q. What is its parametric curve?

Solution:
x = SO = a cos θ , y = SP = b sin θ
x y
⇒ cos θ = and sin θ =
a b
x2 y2
⇒ + = 1.
a2 b2

2
國立交通大學應用數學系 莊重教授
§10-2 Curves Defined by Parametric Equation

x  f (t ), y  g (t )

1. Tangents:

dy
dy dt dx
i.  , if 0
dx dx dt
dt

d  dy 
 
d y d  dy  dt  dx 
2
ii.   
dx 2 dx  dx  dx
dt

2. Areas:

b 
A   ydx   g (t ) f ' (t )dt .
a 

3. Arc Length:

2 2
  dx   dy 
a dx   dy 
b b
L  ds        dt .
2 2
a 
 dt   dt 

4. Surface Area:

b
S   2rds
a




2 2
  dx   dy 
2  g (t )      dt
  dt   dt 



 2 2
2  f (t )  dx   dy 
 
     dt
 dt   dt 



1
國立交通大學應用數學系 莊重教授
Example 1:

Given x  t 2 , y  t 3  3t , t  R. Find the equations of the tangents to the

above curve at ( 3 , 0 ).

Solution:

t 3  3t  0
 t  0 (不合) or  3
dy 3t 2  3 6
    3
dx 2t 2 3  
 Two tangents : y  3 ( x  3) and y   3 ( x  3).

Example 2:


Find the tangents to the cycloid x  r (  sin  ), y  r (1  cos  ) at   .

Solution:

dy sin 
  3
dx 1  cos  

 3 r
x  r   , y 

 2  2
  
 The tangent : 3 x  y  r   2 .
  

2
國立交通大學應用數學系 莊重教授
Example 3:

d2y
Let x  r (  sin  ), y  r (1  cos  ). Find .
dx 2

Solution:

dy sin 

dx 1  cos 

d 2 y d  dy 
  
dx 2 dx  dx 

d  dy 
 
  
dt dx
dx
dt

cos   cos    sin 2 



r 1  cos  
3

cos  
 .
r 1  cos  
3

3
國立交通大學應用數學系 莊重教授
Example 4:

Find the area and arc length under one arch of the cycloid

x  r (  sin  ), y  r (1  cos  ). 0    2 

Solution:

2
A   r  1  cos  1  cos   d
0

2
 r2   2 cos   cos 2  d   r 2
0

2
L  r 1  cos    sin 2  d
2
0

2
 r 2  2 cos  d
0

2 
 2r  sin d
0 

 8r .

Example 5:

Show that the surface area of a sphere of radius r is 4πr2.

Solution:


S   2rds  2  r  sin d  4r 2 .

4
國立交通大學應用數學系 莊重教授
§10-3 Polar Coordinates

I.

( x, y )  ( r ,  )
r 2  x2  y2
x  r cos 
y  r sin  y
tan  
x
i. r may be negative.
ii. 同一點( r ,θ)的表示法不唯一

    5   13 
  1,   1,   1, 
   4    


Example 1:   means a straight line.

Solution:

1
國立交通大學應用數學系 莊重教授
Example 2:r = 1 means a circle.

Solution:

II. Symmetry

對稱 x 軸 對稱 y 軸 對稱原點
θ 用-θ 代 θ 用 π-θ 代 r 用-r 代

方程式不變 方程式不變 方程式不變

2
國立交通大學應用數學系 莊重教授
Example 3: Sketch r  2 cos 4

Solution:

對稱 x 軸和 y 軸

 2 3 4
上圖是 θ 從 0     (即第一象限)的 r 的變化圖(依箭頭方向)。
8 8 8 8

將此箭頭圖 reflect on the x-axis and y-axis,我們得到一個 8-leaves rose 的圖。

III. Tangents to Polar Curves

Polar Curve:r = f (θ)

Its corresponding parametric equation:x = f (θ)cosθ, y = f (θ)sinθ.

dy
dy d f ' ( ) sin   f ( ) cos 
Slope of the tangent:   .
dx dx f ' ( ) cos   f ( ) sin 
d

3
國立交通大學應用數學系 莊重教授
Remark:

dy
i. Horizontal tangents:points at which  0.
d
dx
ii. Vertical tangents:points at which  0.
d

Example 4:

i. Sketch r = 1 + sinθ.
dy
ii. Find .
dx   
3

iii. Find the points on the curve r = 1 + sinθ where the tangent line is
horizontal or vertical.

Solution:

 
i. 對稱 y 軸,考慮    的部分
 

   
θ   0
 6 6 
1 3
r 0 1 2
2 2

dy
sin   r cos 
dy d cos  (1  2 sin  )
ii.  
dx dr (1  sin  )(1  2 sin  )
cos   r sin 
d

4
國立交通大學應用數學系 莊重教授
dy
  1.
dx   

dy  3 7 11
iii.  cos  (1  2 sin  )  0    , , , .
d   6 6

dx 3  5
 (1  sin  )(1  2 sin  )    , , .
d  6 6

5
國立交通大學應用數學系 莊重教授
§10-4 Area and Lengths in Polar Coordinates

I. Areas

 1 1  2
A  2 r d 
2 
f ( ) d .
2

II. Arc Length

x  f ( ) cos  y  f ( ) sin 
2
  dr 
L   dl   dx  2
 dy   
2
r 
2
 d .

 d 

III. Surface Area

r  f ( ),      , around the x  axis


2
  dr 
S   2ydl   2 f ( ) sin  r    d .
2
 d 



y
ds

1
國立交通大學應用數學系 莊重教授
Example 1:Find the area of the region that lies inside the circle r = 3sinθ and outside
the cardioid r = 1 + sinθ.

Solution:

r  3 sin   5
    or
r  1  sin   

 

A   6 3 sin    1  sin   d
1 2 2

2 


Example 2: Find the area of the region that lies inside both curves r = sin2θ,
r = cos2θ.

Solution:

2
國立交通大學應用數學系 莊重教授
r  cos 2 , 4-leaves rose

     
r  sin 2  cos   2   cos 2      cos 2    
     

r  sin 2 
  tan 2  1    .
r  cos 2 


1
灰色區域面積   cos 2 2 d .
 2


1  cos 4
  d
 4


  sin 4  
   
   

 1
   .
  16 

 1 
 總面積  16個灰色區域  16     1.
  16  

3
國立交通大學應用數學系 莊重教授
Example 3:Find the length of cardioid r = 1 + sinθ.

Solution:

 2
 dr 
L  2 
 r 
2
 d

  d 


 2  1  sin    cos 2  d
2



 2  2  2sin  d


4  4sin 2 
 2  d

 2  2sin 


cos 
 4   d u  2  2sin   du  2 cos  d

 2  2sin 

4
4 du 1
 2  4u 2  8.
0
u 0

4
國立交通大學應用數學系 莊重教授
§11.1 Sequences
Definition:
 A sequence is a function whose domain is N. (N is the set of all positive
integers.)

 In notation, we write f (n) = an .

Question:Convergence or divergence of {an}

Example 1:
Convergence or divergence?
1  
i. an  Conv. v. an  n sin   Conv.
n  2n 

ii. a n   1
n
Div. vi. an  ln n   ln n  1 Conv.

iii. an  n  2
n

Div. vii. an  1   Conv.


 n

iv.  n 
an  cos   Div. viii. an  n 2  1  n Conv.
  
Theorem 1:

lim f ( x )  L, x  R  lim f ( n)  L, n  N . (The converse is not true!)


x  n

Theorem 2:

lim | a n | 0, then lim an  0.


n n

Theorem 3:

r n 
n 1 converges iff  1  r  1.

1 國立交通大學應用數學系 莊重教授
Example 2:
ln n
Convergence or divergence? a n  .
n
Solution:
1
ln n (X)
lim  lim n  0
n  n n  n

1
ln x
lim  lim x  0
x  x x  x (O)
ln n
 By Theorem 1  lim 0
n  n

*註記:

i. 在離散點上講微分是無意義的.

ii. n n  n! en  n3  ln n when n is large.

Theorem 4:Let a n  be monotonic(單調) and bounded(有界) ⇒ a n  converges.

2 國立交通大學應用數學系 莊重教授
Example 3:
1
Prove that exist.
1
4
1
4 ...
4

Proof:
1 1
Let a1  , an 1  .
4 4  an
(i). Clearly, an is monotonic decreasing.

(ii). Moreover, an  0 for all n  N .

1. a1  0.
1 1 1
2. Suppose an  0 , then an1    .
4  an 4  0 4

By applying Theorem 4, we see that lim a n has a limit, say x.


n 

1
x  lim a n 1  lim .
n n 4  an
1
That is, x   x  2  5 (負不合,因為x  0)
4 x

3 國立交通大學應用數學系 莊重教授
§11.2 Series
Definition:

 Series:  ai  a1  a 2  ...  a n  ...
i 1
n
 The convergence/divergence of a series:(n-th) partial sum  S n   ai .
i 1

S n  converges/diverges ⇔ a i converges/diverges.
i 1

Theorem 1:(Geometric Series.)


 
r
r
i 1
i
converges  | r | 1 and  r i 
i 1 1 r
.

Theorem 2:

a
i 1
i converges  lim an  0.
n

 

 lim an  0   an diverges.
 n n 1 

Remark:

1 1
lim  0, but  is divergent.
n  n
n 1 n


1 1 1 1 1 1 1 1 1 1 1
                ...    ..... (Diverges)
n 1 n 1 2  4 5
3
 6 8  9
7    
16
1 1 1
  
2 2 2

Example 1:
Convergence or divergence?

  1 ⇒ diverges.
n
(i).
n 1

ln n  ln n 1 
(ii). 
n 1 n
⇒ diverges. 
 n
 when n  3 
n 

n  n 
(iii).  n 1
n 1
⇒ diverges. 
 n 1
 1 when n   

Example 2:

Convergence or divergence?  2 2 n 31 n .
n 1

1 國立交通大學應用數學系 莊重教授
Solution:
   n
4
2
n 1
2n
31 n
  4  3  3  3  
n 1
n n

n 1 3
4
r  1  diverges.
3

Example 3:

 n
1
Find the sum of the series  n  1   
n 1 2
.

Example 4:
The Cantor Set, named after the German mathematician Georg
Cantor(1845-1918), is constructed as follows. We start with the closed
1 2
interval [0,1] and removed the open interval  ,  . That leaves the two
3 3
 1 2 
intervals 0,  and  ,1 , and we remove the open middle third of each.
 3 3 
We continue this procedure indefinitely, at each step removing the open
middle third of every interval that remains from the proceeding step.
The Cantor set consists of the number that remain in [0,1] after all those
interval have been removed.

(i). Show that the total length of all the intervals that are removed is 1.
(ii). Give examples of some numbers in the Cantor Set.

Proof:
(i).
2 3 n 1
1 1 1 1
S  2   2 2    ...  2 2    ...
3  3 3 3
1   2   2  
2 2
2
 1        ...     ...
3   3   3  3 

1 1
 1
3 2
1
3
2 國立交通大學應用數學系 莊重教授
1 2 1 2 7 8
(ii). , , , , , ...
3 3 9 9 9 9

Example 5:

tan 1 n  1
 ln
n 1 tan 1 (n)
?

Example 6:
A sequence of right triangles A1, A2, A3, … is given in the figure below

i. Let an = Area ( An ). Determine an expression for an and find the limit


of an.
n
ii. Let bn   a k . Determine the limit of bn.
k 1

Solution:

 1
i.  a n  n  a n  0.
 2  n2

1
ii. .
2

3 國立交通大學應用數學系 莊重教授
§11.3 The Integral Test and Estimates of Sums

 Who:What kind of series can apple the integral test to check its convergence?
ai: (i) essentially positive
(ii) decreasing (11.3-1)
(iii) f (x) = ax is continuous



 What:  ai and  a x dx both converges or diverges.
1
i 1

Example 1:

1
Convergence or divergence?  p
( p - series)
n 1 n

 1  convergence, p  1
Recall:  p dx   , which implies the following theorem.
1 x
 divergence, p  1

Theorem 1:

1  convergence, p  1
n 
 divergence, p  1
p
n 1

Example 2:

1
Convergence or divergence? n
n 1
2
1
.

Solution:
 1 
 1 x 1
2
dx  tan 1 x
1

  
   (converge)
  

1
 (converge)
n 1 n  1
2

Example 3:

ln n
Convergence or divergence? n 1 n
.

Solution:

1 國立交通大學應用數學系 莊重教授

ln x 

1 x
dx   udu (u  ln x).
0

 diverges

ln n
 diverges
n 1 n

Example 4:

 a 1 
If   n  2  n  4  is convergent where a is a constant, then a = ?
n 1

Solution:
a = 1.

Example 5:

1
Convergence or divergence?  n ln n
n2
p
.

Solution:
 1  du
 x ln x 
2 p
dx  
2 up
(u  ln x)

Example 6:

Convergence or divergence? b
n 1
ln n
.

Solution:

   
   

 b ln n   e ln b   e ln n   n ln b
ln n ln b

n 1 n 1 n 1 n 1

ln b  1  b  e  divergence. 1


ln b  1  b  e 1  convergence.

Theorem 2:

Let ai  satisfy (11.3-1), and let Rn = S - Sn.


 n
Here S   ai and S n   ai .
i 1 i 1

 
Then  n 1
a x dx  Rn   a x dx
n

Proof:

2 國立交通大學應用數學系 莊重教授
 
Rn  a n 1  a n  2  ...   a x dx Rn  a n 1  a n  2  ...   a x dx
n n 1

Example 7:

1
Use Theorem 2 to estimate the sum of the series n
n 1
3
with n = 10.

Solution:
1  1

11 x 3
dx  S  S10   3 dx
10 x

1 1
  S  S10 
211 210
2 2

1 1
 S10   S  S10 
211 210
2 2

S10  1.197532
 1.201664  S  1.202532

Example 8:
1 1
Let t n  1   ...   ln n.
2 n

(a) Show that t n  0.

(b) Show that t n  t n 1  0.

(c) Prove that t n  1 for all n.

3 國立交通大學應用數學系 莊重教授
Solution:
(a)

由上圖得知 t n  0

(b)

由上圖得知 lnn  1  lnn  


1
0
n 1
 t n  t n 1  0
 t n is a decreasing sequence.
(c)

由(b)得, t1  t n for all n. 但 t1 = 1

 1  t n for all n.

4 國立交通大學應用數學系 莊重教授
§11.4 The Comparison Tests

 Who:  a n , a n  0, n (或從某項以後恆正/恆負)
n 1

(即對象為 essentially positive or negative series.)

 What:
1. 減法比較:

(i). a n  bn and a n converges   bn converges.

(ii). a n  bn and b n diverges   a n diverges.

2. 除法比較:
an
(i). lim  c  0 (尾巴的速度相同)
n bn

 Both  a n and  bn converge or diverge.

an
(ii). lim  0 ( an 跑到 0 的速度比較快)
n bn

If bn converges   a n converges.



If a n diverges   bn diverges.

an
*註記:若 lim   ( bn 跑到 0 速度比 an 快),可得類似結論。
n b
n

1 國立交通大學應用數學系 莊重教授
Example 1:
 
1 1
i. 
n 1 n  n  1
2 n
n 1
2 Conv.

 
1
ii. 
1
 Conv.
nn  1n  2 
3
n 1 n 1
n2
 
n3 1
iii.  n 2 n Conv.
n 1 2 n 1
 
1 1
iv.  sin n
n 1
n
n 1
Div.



n5 1
v.   4 Conv.
n 1
3
n7  n2 n 1
n 3

 
1
vi. 
n 1 1
1 n
1
Div.
n n 1
n
 
ln n 1
vii. 
n 1 ne n
e
n 1
n Conv

 1 
viii.  tan
n 1
1
 2 
1  n 
Conv.

Example 2:

If a n converges, where a n  0 , is it true that  sin a n is also

convergent?
Solution:
Yes.
Since a n  0 as n  .
sin a n
And  1 as n  .
an

  sin a n converges.

2 國立交通大學應用數學系 莊重教授
Example 3:

If a , b
n n are both convergent series with positive terms, is it true

that a b n n is also convergent?

Solution:
Yes.
For a n  0 and bn  0.
and a n bn approaches 0 even faster than a n (or bn ).

 a bn n converges.

3 國立交通大學應用數學系 莊重教授
§11.5 Alternating Series

Who:   1
n 1
 a n  a1  (a 2 )  a3  (a 4 )  ...
n 1

an  0 (or an  0) for all n. (交錯級數,正負相間 )

 What:
Theorem 1:
(i) a n is decreasing. 
(11.5 - 1)
(ii) a n  0 as n   

  (-1) n 1 a n converges.
n 1

 Why:

(i). a1  0

(ii). S 2 n  S 2 and S 2 n 1  S1

 S 2 n 1  S 2 n  a 2 n 1  0
 S1  S 2 .

1 國立交通大學應用數學系 莊重教授
Example 1:

Series Conv./Div.

1
i.  (1)
n 1
n

n
Conv.

(1) n 3n
ii. 
n 1 4n  1
Div.

ln n
iii.  (1)
n 1
n 1

n
Conv.


iv.  (1)
n 1
n
cos
n
Div.


v.  (1)
n 1
n
sin
n
Conv.


ln n p
vi.  (1)
n 1
n 1

n
Conv.


 f ( x) 
ln x  p  f ' ( x)  ln x  p1 ( p  ln x)  0, for large x.
 x2 
 x 
Theorem 2:(Error Estimate)

  1
n 1
an satisfies (11.5 - 1)
n 1

| Rn || S  S n | an1

Proof:

| Rn || S  S n || S n1  S n | an1 .

2 國立交通大學應用數學系 莊重教授
§11.6 Absolute Convergence and The Ratio and Root test

Definition:

i. a
n 1
n is said to be absolute convergence (AC)


if | a
n 1
n | is convergent.


ii. If an 1
n is convergent but not AC,


then a
n 1
n is called conditional convergence(CC).

Example 1:

  1
n 1
i. :CC.
n 1 n

  1
n 1
ii. :AC.
n 1 n2

Theorem 1:
AC ⇒ convergence (反之不對).

*Ratio and Root Tests(for AC)


 Who:Anyone.
 What:這兩個方法的精神都是在檢查尾巴項的行為。

且都以等比級數  a n r n 作為比較的對象。
n 1

i. Ratio Test:比前後項縮小的比例

an 1
 lim  L ( 若為等比級數,L即為公比 )
n  a
n

 適用對象:有“!”項.

ii. Root Test:開 n 次根號也為檢查尾巴項行為的方法之一

 lim n | a n |  L
n 

( 若為等比級數,則n | a 0 | r n | a 0 | n r  r,即L為公比 )

1 國立交通大學應用數學系 莊重教授
 適用對象:有 n or  n 項.
*結論:
i. L  1 AC
ii. L  1 Divergence

*註記:

1. n n  n! e n  n 2  ln n. 重量級在分母,必 AC.

2. P-series 用此 2 tests 都檢查不出來。

  1 
1 
iii. L  1  The test fails.   n 2

 n 1 n n 1 

(P-series 用此 2 tests 都檢查不出來。)

Example 2:
Test AC, CC or Div.
2

n2

n
i. n 1 AC
n , 
n 1 2 2 2
n

 n2 1  1
ii.   2 
n 1  2n  1 
,
2
AC


 3n 3
iii. 
n 1 n!
,
n 1
0 AC

2(n  1) 2

2 n n! , 
iv. 
n 1
( 1) n

5  8  ...  (3n  2)
3(n  1)  2 3 AC

5(n  1) 5

5 n n! , 
v. 
n 1
( 1) n

5  8  ...  (3n  2)
3(n  1)  2 3 Div.

2 國立交通大學應用數學系 莊重教授

(1) n

1 2

tan n
vi. , AC
n 1
1 n 1
tan n 




tan 1 n   3
vii. 
n 1 n n n 1
n2
AC

as n is large
*註:p-級數不需用(也不能用)此 2 tests.

3 國立交通大學應用數學系 莊重教授
Example 3:

(n!) 2
For which positive integers k is the series 
n 1 ( kn)!
convergent?

Solution:
n  1!2
k (n  1) !  (n  1) 2
n!2 (kn  1)(kn  2)...(kn  k )
kn!
 When k  2, L  1. (convergent)

*補充:
Sterling Formula
n n
n n  1 
  2n  n !   2n 1  .
e e  4n 
n
n
n !~   2n
e

Example 1:

4 n ( n !) 
Determine the convergence / divergence of the series 
n1 ( 2n) !
  an .
n1

Solution:
By using the Sterling formula, we have
2
 n  n 
  2n 
an 
n ! 4n ~  e   
2n
  as n  
4n
2n
 2n 
( 2n) !
  2 (2n)
 e 
 The series diverges.

4 國立交通大學應用數學系 莊重教授
§11.8 Power Series

Definition:  c n  x  a n  c 0  c1  x  a   c 2  x  a 2  ... is called a power series
n0

about a (centered at a) (or in (x - a)).

Question:For what values of x do the corresponding series converge?

越靠近 a (中心),越可能收斂。
 收斂半徑(radius of convergence)
 收斂區間(interval of convergence)

Example 1:

Find the interval of convergence and radius of convergence of 



x  3n .
n 1 n

Solution:
Using ratio test, we get

x  3n1
n 1 n x3
lim  lim  x  3.
n 
x  3n n  n 1
n

If x  3  1 , that is x  (2,4) , the power series converges (absolutely).

 Check end points:

x2

 1n  convergence.
n 1 n

1
x 4  divergence.
n 1 n

 interval of convergence : 2,4 .


 radius of convergence : r  1.

1 國立交通大學應用數學系 莊重教授
Example 2:
Find the interval of convergence and radius of convergence of

 1n x 2 n

n 1 2
2n
n!2
Solution:
By ratio test

x 2n 1
2 2( n 1) n  1!
2

 lim
n 
x 2n
2 2 n n!
2

x2
 lim  0 x  R
4n  1
n  2

 interval of convergence : - ,  
 radius of convergence : r  

*註:重量級在分母 n!2  x 2 n .

Example 3:

  1 x  1n converges
n 1
Find the values of x for which the series n
n 1 n3
Solution:

Example 4:

Find the interval of convergence and radius of convergence of  n! x
n 1
n

Solution:
By ratio test
 limn  1 (not exist x  R )
n 

 interval of convergence : 0.


 radius of convergence : r  0.

*註:重量級 n! x n 在分子。  


Example 5:
Find the interval of convergence and radius of convergence of

2 國立交通大學應用數學系 莊重教授
2 n  x  1
 n


n 1 n
.

Solution:
By ratio test
2 x  1n
 lim  2 | x  1 | x  R.
n  n 1
1 1 3
Let 2 | x  1 |  1 | x  1 |   x   , .
2 2 2
 Check end points:
1
x 

 1  convergence.
n

2 n 1 n

3 1
x   divergence.
2 n 1 n

1 3 
 interval of convergence : x   , .
2 2 
1
radius of convergence : r  .
2
Example 6:
Find a value of b that will make the radius of convergence of power series

bn x n

n2 ln n
equal to 5.

Solution:
bn xn
an 
ln n
an1 b n1 x n1 ln n ln n
lim  lim  n n | bx | lim | bx |
n a n ln( n  1) b x n ln( n  1)
n

1 1
By the Ratio Test, Let | bx | 1  1  bx  1  x
b b
1
 r  5  b  .
5

Example 7:

n n
For which α is the interval of convergence of  x equal to  1,1
n 1 n  1

Solution:

n n

n 1 n  1
x

3 國立交通大學應用數學系 莊重教授
4 國立交通大學應用數學系 莊重教授
Example 8:

If c
n 1
n x n converges with x = 4 and diverges when x = 6, then determine

the convergence of the following series.


Solution:
answers reasons

i. c
n 1
n convergence x=1

ii. c
n 1
n 8n divergence x=8

 c  3
n
iii. n convergence x = -3
n 1

  1 c
n
iv. n 9n divergence x=9
n 1

*註: If 4 | x | 6, then can' t determine whether it is convergent ot divergent.

Example 9:
 

 a x  2  b  x  3
n n
The power series n and n both converge at x = 6.
n 1 n 1

Find the largest interval over which both series must converge.
Solution:

Theorem:

For series  c n  x  a n , either one of the following 3 possibilities holds:
n 1

(i). r = 0:只有一點收斂
(ii). r   :兩端點須被檢驗才可知其收斂與否
(iii). r   :每一點接收斂

5 國立交通大學應用數學系 莊重教授
§11.9 Representations of Functions as Power Series

1
 源頭函數:  1  x  x 2  ......   x n , | x | 1.
1 x n 0

(i). 直系函數:

Example 1:

     1 x
 
1 1

n
   x2 , x 2  1 | x | 1.
n 2n

1 x 2

1  x 2
n 0 n0

Example 2:
n
1 1 1 1  x 
xn
       n 1 , | x | 2.
2 x 2 x 2 n 0  2  n 0 2
1
2

Example 3:

 n
 n3
x3 x3 x3  x

1
        1n x
, | x | 2.
x2 2  x 2 n0  2  n0 2n 1
1  
 2

(ii). 旁系函數:(related to 直系函數 by 微分和積分)

*註記:
1. Power series 在絕對收斂的範圍(即收斂區間)可作逐項微分或積分
的動作。
2. 有時須微分或積分不只一次才到直系。

1 國立交通大學應用數學系 莊重教授
Example 4:
(i). Find the power series representation of ln ( 1- x ).
(ii). Express ln 2 as a convergent infinite series with all positive terms.
Solution:
x2 x3 
x n1
ln


1  x

  c  x    ...  c  
d 23  n 0 n  1

dx 

1 
  x n  1  x  x 2  ......, | x | 1.
1 x n 0

Let x = 0 ⇒ ln 1 = 0 = c.

x n 1
ln 1  x    , | x | 1
n 0 n  1

xn
  , | x | 1.
n 1 n

Example 5:
(i). Find the power series representation of f ( x )  tan 1 x.

(ii). Let f ( x )   tan 1 tdt   an x n . Then a8  ?
x

0
n0

Solution:

x  c    1 x | x | 1.
1 n2n
tan

d  
n 0


dx


1
    1n x 2 n , | x | 1.
1 x 2
n 0

Let x = 0 ⇒ tan-10 = 0 = c + 0 ⇒ c 0.

 tan x  
1

 1n x 2 n1 , | x | 1.
n 0 2n  1

Example 6:
1
Find the power series representation of f ( x )  .
1  x 2

2 國立交通大學應用數學系 莊重教授
Solution:

1

1  x  n
2  nx n 1 , | x | 1.
  1
 

d

dx

1
  x n , | x | 1.
1  x n 0

Example 7:
1
Evaluate  dx as a power series.
1 x7
Solution:
1
1 x 7
dx

    1 x 7 n dx
n

n 0

    1 x 7 n dx
n

n 0

  7 n 1

    1
n x
   c | x | 1.
 n  0 7 n  1 

Example 8:

1.  nx
n 1
n 1
 ?, | x | 1.


2. (i)  nx
n 1
n
 ?, | x | 1.


n
(ii) 2
n 1
n
?


3. (i)  nn  1x
n2
n
 ?, | x | 1.

n2  n

(ii) 
n2 2n
?


n2
(iii) 
n 1 2
n
?

3 國立交通大學應用數學系 莊重教授
Solution:
1. For |x| < 1, we have

d    d  1 
 
 
d n 1
 nxn 1  
n 1 n 1 dx
x    xn    
dx  n 1  dx  1  x  1  x 2
.

2. (i) For |x|<1, we have


 
x
 nx
n 1
n
 x  nx n 1 
n 1 1  x 2
(此例子為旁系+直系)

1

n
(ii)  n  2
2
 2.
n 1 2  1
1  
 2

3. (i) For |x|<1, we have  nn  1x
n2
n

d   
   
 
2x 2
x 2  nn  1x n 2  x 2 
d
nx n 1  x 2   nx n1   .
 1  x 
3
n2 n  2 dx dx  n 2

2
1
2 

n n
(ii)  n   3  4.
2
2
n2 2 1
 
2


n2 
n2  n  n 
n2  n  n
(iii) 
n 1 2
n
 
n 1 2n
 
n 1 2
n
 
n2 2n
  n  4  2  6.
n 1 2

4 國立交通大學應用數學系 莊重教授
§11.10 Taylor and Maclaurin Series
Question:
i. How to find a power series representation at a of a function f in general?
ii. Will such power series representation equal to the function f itself?

*General Method:If f (x) has a power series representation at a, say



f ( x )   c n  x  a  , | x  a | R
n

n 0
(n)
f (a)
then cn  .
n!

Definition:

f ( k ) (a)
i. Taylor series of f at x = a is defined to be 
k 0 k!
( x  a) k .

ii. If a = 0, the corresponding Taylor series is called Maclaurin series.

n
f ( k ) (a )
iii. 
k 0 k!
( x  a ) k is called the n th-degree Taylor polynomial of f at a.

Remark:
f (x) is not necessarily equal to its Taylor series.

Example 1:
  x12
 if x  0.
Find the Maclaurin series of f ( x)  e
0 if x  0.
Solution:
 f ' (0)  f " (0)  ...  f ( n ) (0)  0
 The Maclaurin series of f ( x)  0, but f ( x)  0 whenever x  0.

Example 2:
Let f (x) = ex. Find its Maclaurin series.
Solution:

f ( n ) (0) n  x n
M.S.   x   . ( f ( n ) ( x)  e x ).
n 0 n! n 0 n!

1 國立交通大學應用數學系 莊重教授
Example 3:
Let f (x) = sin x. Find its Maclaurin series.
Solution:
f ' ( x)  cos x
f " ( x)   sin x
 M.S.  

 1 x 2 n1
n
.
f (3) ( x)   cos x n 0 ( 2n  1)!

f ( 4) ( x)  sin x

Example 4:
Find the Maclaurin series of f (x) = cos x.
Solution:

M.S.  

 1n x 2 n .
n 0 2n!

*Taylor Inequality(誤差估計):
n (k )
f (0)
Let f (x) - Tn (x) = Rn (x), where Tn   ( x  a) k is called the
k 0 k!
n th-degree Taylor polynomial of f at a.

If f ( n1) ( x)  M for | x  a | d ,
M n 1
then Rn ( x)  x  a for x  a  d .
(n  1)!

Example 5:

xn
Prove e x   for any x.
n 0 n!
Solution:
ed
Rn ( x)  | x |n1  0 as n   for any x.
(n  1)!

*Summary:

xn x x2 xn
i. e x    1    ...   ...
n 0 n! 1! 2! n!

x 2n x2 x4 x6
ii. cos x    1  1     ...
n

n 0 ( 2 n) ! 2! 4! 6!

x 2 n1 x3 x5 x7
iii. sin x    1  x     ...
n

n 0 (2n  1) ! 3! 5! 7!

xn x 2 x3 x 4
iv. ln(1  x)    1
n 1
 x     ...
n 0 n 2 3 4

2 國立交通大學應用數學系 莊重教授
*牛頓推廣 binomial 的展開,即將(a + b)k, k∈N 的展開,推廣至(a + b)k, k∈R.

Theorem:

k 
If k  R, | x | 1, then (1  x) k     x n ,
n 0  n 

 k  (k )(k  1)...( k  n  1) k 
   (n  1) and    1.
n n! 0

Remark:
目前我們學到 3 個方法的 Taylor series or power series representation.
1 f n (a)
(i) (ii) c n  (iii) 多項式展開.
1 x n!

Example 6:
1
f ( x) 
4 x
Solution:

1
f ( x) 
4 x
1

1 x 2
 1  
2 4
 1
1     x 
n

  2     
2 n0    4
 n 
1  (1) n  1  3  ...  (2n  1) n x
n
   (  1)
2 n0 2n  n! 22 n

1  3  ...  (2n  1) n
 x
n 0 23n 1  n!
  1  1   1 
  1         1  ...     n  1 
     2   2   2 
  2  n! 
 n  
 

3 國立交通大學應用數學系 莊重教授
Example 7:

 
1
Let f ( x)  1  x 2 2 . Find f (10 )
( 0)  ?
Solution:
1
 
 

f ( x)    2  x 2 (多項式展開)
n

n 0  
n 

f ( k ) ( 0) k
 x (Maclaurin Series)
k 0 k!

 k  10  n  5
1  1  3  5  7
1     
f (0)   2  2   2   2   2  7
(10 )
  2   8
10! 5  5! 2
 
7
 f (10) (0)  8 10!
2
Example 8:

 
1

Let f ( x)  1  x 3 2 . Find f (9 ) (0)  ?
Solution:
 1
 
 

f ( x)    2  x 3
n

n 0  
n 

f ( k ) ( 0) k
 x
k 0 k!

k 9n3
 1  3  5
 1     
f (0)     2   2   2 
(9)
5
  2   4
9! 3  3! 2
 
5
 f (9 ) (0)  4 9!
2

4 國立交通大學應用數學系 莊重教授
Example 9:
9 27 81
3    ...  ?
2! 3! 4!
Solution:
9 27 81
3    ...  e 3  1.
2! 3! 4!

Example 10:
1 1 1 1
    ...  ?
2! 4! 6! 8!
Solution:
1 1 1 1
    ...  1  cos1.
2! 4! 6! 8!

Example 11:
0.1 ln(1  t )
0 t
dt  ?

Example 12:

Find the coefficient of x5 in the Maclaurin series for f ( x )   cos x 2  dx.

Example 13:

 
Let g ( x)  cos x 2 . Find g (8) (0).

Example 14:
Find the first three nonzero terms in the Maclaurin series for the function

f ( x)  cos 1 ( x).

5 國立交通大學應用數學系 莊重教授
§11.11 Applications of Taylor Polynomial
I. Approximating Function by Polynomials
(Note: Approximating Functions by sin x and cos x leads to the subject of Fourier
expansion.)

II. Applications to Physics.


f ( k ) (a)
* f ( x)   ( x  a) k
k 0 k!
n
f ( k ) (a)
Tn ( x)   ( x  a) k
k 0 k!
Theorem:
M
| Rn ( x ) || f ( x )  Tn ( x) | | x  a |n1 , where | f ( n1) ( x ) | M .
( n  1)!

Example 1:
(i). What is the maximum error possible in using the approximation
x3 x5
sin x  x  
3! 5!
when  0.3  x  0.3 ? Use this approximation to find sin12 correct
to six decimal places.

(ii). For what values of x this approximation accurate to within 0.00005?


Solution:
(i).

x 7 0.3
7
   4.3  10 8
7! 7!

(用這節的誤差估計或者交錯級數的誤差估計皆一樣)

 sin 12  sin  0.20791169

| x |7
 0.00005 | x | 0.252 7  0.821.
1
(ii).
7!

1 國立交通大學應用數學系 莊重教授
Example 2:
Einstein’s theory of special relativity:

m0 m0 : the mass of the object when at rest


 m 
c : the speed of light  3  10 s
8m
v2
1
c2

 Kinetic energy : K  mc 2  m0 c 2

1
 Classical kinetic energy : K  m0 v 2
2
i. Show that when v << c, Kinetic energy≒Classical kinetic energy.

ii. Estimate its difference when | v | 100 m .


s
Solution:
 1  3   1  3  5 
 -  -        
i. 1  x  
1
2
1
 1 x   2  2  2  2  2  2  3
x  x  ...
2 2! 3!
1 3 5
 1  x  x 2  x 3  ...
2 8 16
1

 v2  2 1 v2 3 v4 5 v6
1  2   1    ...
 c  2 c 2 8 c 4 16 c 6
 2 2
1

 
mc  m0 c  m0 c 1  2   1

2 2 v 2
 c  
 
 1 v2 3 v4 
 m0 c 2  2  4
 ...
2 c 8c 
1
 m0 v 2
2
 2 2
1

     
ii. f ( x)  mc  m0 c  m0 c  1  2   1  m0 c 2 1  x  2  1 .
2 2 2 v 
1

 c    
 
M 2
| R1 ( x) | x , M  max | f " ( x) | .
2!

| f " ( x) |
3m0 c 2

3m0 c 2

 4.17  10 10 m0
   
5 5
2 2
4 1  v 2 2 4 1  100 2 2
c c

2 國立交通大學應用數學系 莊重教授
§12.2 Vectors
*Vector:
1. 幾何(物理)觀點:有長度、方向的量。

2. 代數觀點: OP  a, b, c  P  (a, b, c)

長度 | OP | a 2  b 2  c 2 .

3. 運算方式:
幾何:

 
代數: a  a1 , a 2 , a 3 , b  b1 , b2 , b3 

 
 a  b  a1  b1 , a 2  b2 , a 3  b3  .

1 國立交通大學應用數學系 莊重教授
Example 1:
A 100-lb weight hangs from two wires as shown below. Find the tension
force T1 and T2 in both wires and their magnitudes.

Solution:

| T1 | sin 50 | T2 | sin 32  mg



| T1 | cos 50 | T2 | cos 32

100
T1   85.64lb
sin 50  tan 32 cos 50
| T | cos 50
T2  1  64.91lb
cos 32

| T1 | | T1 | sin 50 j  | T1 | cos 50i  55.05i  65.60 j


| T2 | | T2 | sin 32 j  | T2 | cos 32i  55.05i  34.40 j

2 國立交通大學應用數學系 莊重教授
§12.3 The Dot Product
 
*Dot product(a scalar) a  b
 
Let a  a1 , a 2 , a 3 , b  b1 , b2 , b3  .

 
1. 代數意義: a  b  a1b1  a 2 b2  a 3 b3

   
幾何意義: a  b  a  b  cos

   
2. a  b  a  b  0.
 
a b
3. cos     .
ab
 
4. Scalar projection of b onto a :
  
a b
 b cos    .
|a|

 
5. Vector projection of b onto a :
    
a  b a  a  b  
     2 a.
a a  a 
   
6. a  b for some   R  a // b .

1 國立交通大學應用數學系 莊重教授
Example 1:
Find the scalar and vector projection of b = <1,1,2> onto a = <-2,3,-1>.
Solution:
a b  2  3 2 1
 
|a| 14 14
a b a 1  2,3,1  1 3 1
  , , .
|a| |a| 14 14 7 14 14

Example 2:
Find the angle between a diagonal of a cube and one of its edges.

Solution:

AC  0,0,1 
AB  1,1,1 
1 1
 cos BAC   BAC  cos 1 .
3 3

2 國立交通大學應用數學系 莊重教授
§12.4 The Cross Product
 
*Cross Product (a vector) a  b
 
Let a  a1 , a 2 , a 3 , b  b1 , b2 , b3  .

i j k
  a a3 a3 a1 a1 a2 
1. 代數意義: a  b   2 , ,   a1
 a2 a3
 b2 b3 b3 b1 b1 b2  b b2 b3
1

i  1,0,0  j  0,1,0  k  0,0,1 

  大小:| a || b | sin 
2. 幾何意義: a  b  
方向:right hand rule.

     
 a  b  a b sin   the parallelogram determined by a and b .

3. 物理意義:a force F acting on a rigid body at a point given by a


position vector r. Then the torque τ is defined to be   r  F .

   
4. a  b  0  a // b .
  
5. a  b   a, a  b   b .

1 國立交通大學應用數學系 莊重教授
6.
     
 Area of the parallelogram bounded by a and b  a b sin   a  b .

  
 Volume of the parallelepiped bounded by a , b , c
    
 
a  b  c  |
a||
cos

 |
   | b 
c|
高 底面積

7.
   
i. a  b  b  a.
      
ii.  
a  b  c  a  b  a  c.

     
iii.
   
a  b  c  a  b  c.
  
(和  可交換,由 a , b , c 張出的體積來理解 )

          
iv.
     
a  b  c  a  c b  a  b c  a  b  c .
(不可結合 )

Remark:
i  i  j   i  k   j.
1.
i  i   j  0  j  0.
    
2.
 
Why a  b  c 在b & c 所張的平面?
  
 
a  b  c 在哪兩個向量所張的平面?

2 國立交通大學應用數學系 莊重教授
Example 1:
Find the area of ΔPQR, where P(1,4,6), Q(-2,5,-1) and R(1,-1,1).
Solution:
PQ  3,1,7 , PR  0,5,5 
PQ  PR  40,15,15 
1 5
PQR  PQ  PR  82 .
2 2

Example 2:
  
Are a  1,4,7 , b  2,1,4  and c  0,9,18  coplanar(共面)?
Solution:
 1,4,7   2,1,4    0,9,18  
 1,4,7    18,36,18  0

 Coplanar.

3 國立交通大學應用數學系 莊重教授
§12.5 Equations of Lines and Planes

*Equation of lines:Given A and B, find the equation of the line AB.

AB.  x2  x1 , y2  y1 , z 2  z1 , AC  x  x1 , y  y1 , z  z1 
: a, b, c 

AB // AC  t  R s.t. AC  t AB.

(i). Parametric equation

 x  x1  t x2  x1 

 y  y1  t  y2  y1  , t  R.
 z  z  t z  z 
 1 2 1

(ii). Symmetric equation


x  x1 y  y1 z  z1
  , abc  0
a b c
y  y1 z  z1
( If a  0, bc  0  x  x1 ,  )
b c

Remark:

 a, b, c  is called the direction of the line AB.

1 國立交通大學應用數學系 莊重教授
*Equation of the plane:
Given the normal direction of the plane < a, b, c >
and a point ( x0, y0, z0 ) on the plane.

⇒ the equation of the plane:

i. a , b, c  x  x 0 , y  y 0 , z  z 0  0

ii. ax  by  cz  ax0  by0  cz0 ( d )

Example 1:
Line L though (2,4,-3), (3,-1,1). Find the distance between L and (0,0,0).

Solution:

BA   2,4,3 and BC  1,5,4


Vector projection of BA on BC.
 BA  BC  BC 1 5 4
 BD     , ,
 BC  BC 7 7 7
 
1 5 4
AD  AB  BD  2,4,3  , ,
7 7 7
15 23  25
 , ,
7 7 7
The distance  AD .

2 國立交通大學應用數學系 莊重教授
Example 2:
Find the equation of the plane through (1,3,2), (3,-1,6) and (5,2,0).
Solution:
法向量  2,4,4    4,1,2 
 12,20,14 
 2  6,10,7 
 6,10,7    x  5, y  2, z  0  0
 6 x  10 y  7 z  50.

Example 3:
i. Find the angles between two planes P1: x + y + z =1 and
P2: x – 2y + 3z = 1.
ii. Let l  P1  P2 . Find the equation of l.
Solution:
i. 平面夾角 = 法向量夾角
 1,1,1    1,2,3  2 42
 cos   
3 14 42 21
42
   cos 1.
21
ii. l 的方向和 P1,P2 平面的法向量垂直:
 1,1,1    1,2,3  5,2,3  直線L的方向。
x  y  z  1
  Let z  0  y  0, x  1.
 x  2 y  3z  1
x 1 y z
   .
5 2 3

3 國立交通大學應用數學系 莊重教授
Example 4:
Find the distance between two parallel planes 10x + 2y – 2z = 5 and
5x + y – z = 1.
Solution:

BC  Scalar projection of BA on BC .

BA  BC

BC
ax0  by0  cz0  d

a 2  b2  c2
 點到平面之距離.
BA  x 1 
 x0 , y1  y0 , z1  z 0 , BC  a, b, c 
5
Now, let x  0, y 
, z  0.
2
5
5 3
 平行平面之距離  2  .
27 18

Example 5:
Find the distance between two skew lines

x  1  t  x  2s
 
l1 :  y  2  3t , t  R, l 2 :  y  3  s , s  R.
z  4  t  z  3  4s
 

Solution:

4 國立交通大學應用數學系 莊重教授
Find P1 // P2 and l1  P1 , l 2  P2 .
 The normal line of P1 and P2 n  l1 , l 2 .
 n  1,3,1    1,1,4  11.  3.  2 
Find the distance between P1 and P2 .
 d (l1 , l 2 )  d ( P1 , P2 ).

5 國立交通大學應用數學系 莊重教授
§12.6 Cylinders and Quadrate Surface
Definition:
1. Cylinders:A surface consisting of all lines (called rulings) that parallel to a given
line and pass through a given plane curve.

Example:
z = x2 (Parabolic cylinder)

i. The rulings of the cylinder are parallel to the y-axis.

ii. The rulings of the cylinder pass through a given plane curve
z = x2 and y = 0.

iii. If one of the variables x, y or z is missing from the equation of a


surface, then the surface is a cylinder.

2. Quadratic Surface vs. Quadratic Curves


2nd – degree equation in 3 (resp. z) variable x, y and z (resp. x and y)

 Ax 2  By 2  J  0
平移和轉軸
高中:Quadratic Curves   2 ( 矩陣 )

 Ax  Hy  0

 Ax 2  By 2  Cz 2  J  0
平移和轉軸
大學:Quadratic Surfaces   2 ( 矩陣 )

 Ax  By 2  Iz  0

1 國立交通大學應用數學系 莊重教授
3. Standard Quadratic Surfaces

2 國立交通大學應用數學系 莊重教授
Example 1:
Match the equation with its graph (labeled I - VIII). Give reason for your
choice.

1. x 2  4 y 2  9 z 2  1 2. 9 x 2  4 y 2  z 2  1
3. x 2  y 2  z 2  1 4.  x 2  y 2  z 2  1
5. y  2 x 2  z 2 6. y 2  x 2  2 z 2
7. x 2  2 z 2  1 8. y  x 2  z 2

3 國立交通大學應用數學系 莊重教授
Example 2:
Identify the trace cross section of the surface x = 2y2 + 3z2 in the plane
x = 1.
(1) Ellipse but not circle (2) Parabola
(3) Hyperbola (4) Circle
(5) Two Parallel straight lines (6) Two intersection straight lines
(7) Point (8) Straight Line

4 國立交通大學應用數學系 莊重教授
Example 3:
Given the following graph:

Which equation in the following matches its graph as above?


A) 9x2 + 4y2 + z2 = 1 B) y = x2 – z2
C) x2 – y2 + z2 = 1 D) –x2 + y2 – z2 = 1

Example 4:
The graph

is the equation of
A) x2 + 4y2 + 9z2 = 1 B) x2 – y2 + z2 = 1
C) –x2 + y2 – z2 = 1 D) y2 = x2 + 2z2

5 國立交通大學應用數學系 莊重教授
§13.1 Vector Functions
Functions:
(i). f:R→R
(ii). f:R→Rm
(iii). f:Rn→R
(iv). f:Rn→Rm

(i) 型的函數之微分和積分是我們之前微積分課程學的東西。
(ii) 和 (iii) 型函數的微分和積分是這學期剩下的時間要學習的。
(ii) 型函數的微分和積分是 (i) 型函數的直接推廣;
(iii) 型較為複雜(why?)
(iv) 型函數的微分在高微的課程會學到。

1. Vector Functions or Vector – valued Functions


(ii) 型函數即積 Vector Functions.

r (t )  f (t ), g (t ), h(t )  f (t )i  g (t ) j  h(t )k , f , g , h是實函數.

2. Space curve:If f, g, h are continuous real–valued functions, then the orbit of

r (t )  f (t ), g (t ), h(t ) is called a space curve.

Example 1:

Sketch the curve r (t )  1  t ,2  5t ,1  6t

Solution:
It is a straight line.

Example 2:

Sketch the curve r (t )  cos t , sin t , t

Solution:

x2  y2  1
zt
This graph is called “helix”(螺旋).

1 國立交通大學應用數學系 莊重教授
Example 3:
Find a vector function that represents the curve of intersection of the two

surface:the cone z  x 2  y 2 and the plane z  1  y .

Solution:

1  y 2  x2  y2
 x2  1 2y

 t 2 1 t 2 1
r (t )   t , , 
 2 2 

2 國立交通大學應用數學系 莊重教授
Example 4:
Match the parametric equation with the graphs (labeled I-VI). Given
reasons for your choices.

1. x  t cos t , y  t , z  t sin t , t  0
1
2. x  cos t , y  sin t , z 
1 t 2 
1
3. x  t , y  ,z  t2
1 t 2

4. x  cos t , y  sin t , z  cos 2t
5. x  cos 8t , y  sin 8t , z  e 0.8t , t  0
6. x  cos 2 t , y  sin 2 t , z  t
Solution:
1. II
2. VI
3. V
4. I
5. IV
6. III

3 國立交通大學應用數學系 莊重教授
§13.2 Derivatives and Integrals of Vector Functions
Definition:
Let r (t )  f (t ), g (t ), h(t ) .
Then r (t )  f (t ), g (t ), h(t )
d
Here   lim , , 
t a dt
(極限) (微分) (積分)

* r ' (t )  the tangent vector to the curve defined by r at the point P.


(過 P 點的 r 曲線的切向量) = 在 t 時間的(瞬間)速度向量

PQ  OQ  OP  r (t  h)  r (t )  割向量
r (t )  r (t  h)
 lim  r ' (t )  過P點的切向量.
h0 h

Example 1:
Let x = t5, y = t4, z = t3, t ∈ R. Find the equation of tangent to the curve at
(1,1,1).
Solution:

r ' (t )  5t 4 ,4t 3 ,3t 2  5,4,3 .


t 1

1 國立交通大學應用數學系 莊重教授
Example 2:
Let r (t) = < cos t, sin t, t >. Find
(i) Velocity when t = 2π (ii) Distance traveled over [ 0, 2π ].
Solution:

(i). v(t )  r ' (t )   sin t , cos t ,1 t  2


 0,1,1

v (t )  速度 (speed)  2 .

2
(ii). d   v(t ) dt  2 2  2 2 
0

*Differentiation Rules
d
(i). u (t )  v(t )   u ' (t )  v(t )  u (t )  v' (t )
dt
d
(ii). u (t )  v(t )   u ' (t )  v(t )  u (t )  v' (t )
dt

d r ' (t )  r (t )
* r (t ) 
dt r (t )
Proof:
r (t )  r (t )  r (t )
2

d
 2 r (t ) r (t )  2r ' (t )  r (t )
dt
d r ' (t )  r (t ) 
 r (t ) 
dt r (t )

Example 3:
Let f ( x, y ) = x – y2. Find the tangent line to the level curve f ( x, y ) = 2 at
the point ( 3, -1 ).
Solution:

Let y  t  2  t 2
r (t )  (2  t 2 , t ,0)  r ' (t )  (2t ,1,0)
由(3,-1)可知t  1代入
r ' (1)  (2,1,0)  x  2t  3, y  t  1
 x  2 y  2t  3  2(t  1)  1

2 國立交通大學應用數學系 莊重教授
§13.3 Arc Length and Curvature

1. Arc length: r (t )  x(t ), y(t ) or x(t ), y (t ), z (t )

dx 2  dy 2 dx 2  dy 2  dz 2


b b
L L
a a
2 2 2 2 2
b  dx   dy  b  dx   dy   dz 
       dt           dt
a
 dt   dt  a
 dt   dt   dt 
b b
  r ' (t ) dt   r ' (t ) dt
a a

(i). 從物理角度看:
r' (t)代表物體在 t 時間的瞬間速度
|r' (t)|代表物體在 t 時間的瞬間速率
|r' (t)|Δt = 小範圍的距離
b
  r ' (t ) dt  代表此物體從t  a到t  b所走過的距離.
a

2. Arc length function ( or Distance Function )


t
s (t )   r ' (u ) du.
a

ds
  r ' (t )  距離的變化率  速度.
dt

Example 1:
3
Find the length of the curve r (t )  sin 2t , cos 2t ,2t 2 ,0  t  1.

2
(A)
27

13 13  8 (B)
13
9
(C) 
13 13  6
27
16
(D) .
9
Solution:
(A)

Example 2:
Let C be a curve described by x = f (t), y = g (t), α≦ t ≦β, where f ' and g '
are continuous on [ α, β ] and C is traversed exactly once as t runs from α to
β. Which one of the following is always true?

1 國立交通大學應用數學系 莊重教授
2 2
  dx   dy 
(A)       dt    

 dt   dt 
 dx dy
(B)   dt      
 dt dt
 dx dy
( C)   dt    
 dt dt
2 2
  dx   dy 
( D)       dt  ( y (  )  y ( ))  ( x(  )  x( ))
2 2
 dt
    dt
Solution:
(D)

Example 3:
Let the distance traveled by a particle with position

( x(t ), y (t ))  (sin 2 t , cos 2 t ) as t varies from t  0 to t  3 be d .


Then d  ?
(A) 2 (B) 0 (C) 6 2 (D) 4 2

Solution:
(C)

3. 將一個 curve 用 arc length(s) 來作參數式是一個非常有用的想法和技巧.


(如此的表達方式不隨著不同座標系統而改變)

r ' (t )
4. Unit tangent vector: T (t )  .
| r ' (t ) |

2 國立交通大學應用數學系 莊重教授
5. Curvature(曲率):a measure of how quickly the curve changes direction at a
given point.

Definition:
dT
  曲率 
ds

Example 4:
1
Show that the curvature of a circle with radius a is .
a

Theorem:
dT
(i). 
dT
 dt  T ' (t )  | r ' (t )  r" (t ) |
ds ds r ' (t ) | r ' (t ) |3
dt
(ii). Given a plane curve y = f (x), then its curvature κ at a given point x is

| f " ( x) |
 ( x) 
1   f ' ( x)  2
3
2

Proof:
ds
(i). r ' | r ' | T  T (1)
dt
d 2s ds
 r"  2 T  T' (2)
dt dt

(1)  (2)
2
 ds 
 r 'r"    T  T '.
 dt 
2 2
 ds   ds 
 r 'r"    | T || T ' |   | T ' |
 dt   dt 
r 'r" r 'r"
| T ' | 
 
ds
dt
2
| r '|2

| T ' | | r 'r"|
  
| r '| | r ' |3

6. Principal unit normal vector N (t).


T ' (t )
N (t )  .
| T ' (t ) |

3 國立交通大學應用數學系 莊重教授
7. Binormal vector B (t).
B ( t )  T ( t )  N (t )

4 國立交通大學應用數學系 莊重教授
§14.1 Functions of Several Variables
*函數型: f : R 2  R or f : R 3  R
(1) Domain (2) Range (3) Graph
(4) Level curves(等高線) or Surfaces.

Example 1:

f ( x, y )  9  x 2  y 2  z

(1) Domain (2) Range (3) Graph (4) Level curves


Solution:
(1) Domain : 9  x 2  y 2  0; ( x, y ) : x 2  y 2  9
(2) Range : z : 0  z  3
(3) Graph:

(4) Level curve : 9  x 2  y 2  k

1 國立交通大學應用數學系 莊重教授
Example 2:
f ( x, y )  4 x 2  y 2  z
(1) Domain (2) Range (3) Graph (4) Level curves
Solution:
(1) Domain : R 2
(2) Range : z : z  0
(3) Graph:

x2 y2
(4) Level curve : 4 x 2  y 2  k   1
 k
2
k 2
 
 2 
 

2 國立交通大學應用數學系 莊重教授
Example 3:
f ( x, y , z )  x 2  y 2  z 2  u
(1) Domain (2) Range (3) Graph (4) Level surfaces
Solution:
(1) Domain : R 3
(2) Range : u : u  0
(3) 四度空間
(4) Level surfaces : x 2  y 2  z 2  k

Example 4:
Match the function with its graph (labeled A-F).
i. z  sin xy ii. z  e x cos y
iii. z  sin x  y  iv. z  sin x  sin y
x y
 
v. z  1  x 2 1  y 2  vi. z 
1  x2  y 2

Solution:
i. C
ii. A
iii. F
iv. E
v. B
vi. D

3 國立交通大學應用數學系 莊重教授
§14.2 Limits and Continuity
*極限: f : D  R 2  R.
lim f ( x, y )  L.
( x , y )( a ,b )

Definition:
Given    a   0 s.t.
| f ( x, y )  L |  wherever 0  x  a 2   y  b 2 
and  x, y   D.

Recall: lim f ( x)  L.
x a

Given    a   0 s.t.


| f ( x)  L |  whenever 0  x  a   .

(i). 極限存在必唯一.

(ii). ( x, y )→( a, b ) (二維逼近)和 x→a (一維逼近)的差別:


 在 2 維有無窮多的方向逼近到( a, b )
 沿著曲線也可以

(iii). 驗證不存在:
 只需要找 2 個方向,其極限值不同.
 Polar coordinates

(iv). 驗證存在:
定義或夾擠或 polar coordinates.

Example 1:
x2  y2
Show that the limit of f ( x, y )  does not exist.
x2  y2
Proof:
Key:分子和分母為齊次,則可沿直線證明極限不存在.
1  m2
Let y  mx  f ( x, mx )  .
1  m2
1  m2 1  m2 1  m2
lim f ( x, mx )  lim  lim 
( x ,mx)( 0 , 0 ) ( x ,mx)( 0 , 0 ) 1  m 2 x0 1  m 2 1  m2
The limit changes as m changes  not exists.

1
Example 2:
2 2
3 3
x sin y x y
f ( x, y )   2 ,問 lim f ( x, y ) 是否存在.
x y
2 2
x  y2 ( x , y )  (0,0)

2
g
Let f 
, where g  x 3 sin y, h  x 2  y 2 .
h
h:齊次, 偶數次方;
2 5
g:齊次, (  1  次方 ),因 sin y 和 y 趨近於 0 的速度相同.
3 3
 分母跑到 0 的速度比分子跑到 0 還快.

Proof:
2 2 2
3 3 3
x sin x x sin x x sin x
令 y  x  f ( x, x)    
2 x2 2x  x 2x x
sin x
①  1 as x  0
x
2
x3
②   as x  0
2x

 lim f ( x, y ) 不存在.
( x , y )  (0,0)

Example 3:
x3  y 2
f ( x, y )   lim f ( x, y )  ?
x2  y 2 ( x , y )(0,0)

g
Let f 
,
h
h:齊次、偶數次方;
g:一項 3 次、一項 2 次
(類似 Example 1)

Proof:
x3  (mx)2 x  m2 m2
Let y  mx  f ( x, mx)    as x  0.
x 2  (mx)2 1  m2 1  m2
The limit changes as m changes.  limit not exist.

2
Example 4:
x2 y
f ( x, y ) 
x4  y 4
g
Let f 
, g:3 次; h:偶數齊次 (4 次).
h
 分母跑到 0 的速度比分子跑到 0 的速度快 (類似 Example 2)

Proof:
x3 x3 1
Let y  x  f ( x, x)  4  4    as x  0.
x x 4
2x 2x
 lim f ( x, y ) 不存在.
( x , y )  (0,0)

Example 5:
x2  y 2
若 f ( x, y)  , 則 lim f ( x, y )  ?
x  y3 ( x , y )  (0,0)

奇數次方

Proof:
因為分母不可為 0, x  y 3  0.
假設 x   y 3  y 3  0 比 y 2 項大即可, 讓 ( x, y) 沿著 y 軸前進  x 代 0 .
0  y2 1
f (0, y)     as y  0.
0 y 3
y
 lim f ( x, y ) 不存在.
( x , y )  (0,0)

Example 6:

3
x3 y sin 2 y x3 y 3
f ( x, y )   .
x2  y 2 x2  y 2
g
f  , h:偶數齊次; g: deg( g )  deg(h)  分子跑到 0 比分母快
h
 limit 存在且為 0
Proof:
By 夾擠,

x3 y 3 x2
0  f ( x, y )  2  2 xy 3  xy 3  0 as ( x, y )  (0,0)
x y 2
x y 2
把剩下項提出來
2
x
since 2 1 造一個分子和分母相同次方的式子
x  y2

 0  f ( x, y )  xy 3
 lim f ( x, y )  0 ── (*)
( x , y )  (0,0)

再一次夾擠:  f ( x, y)  f ( x, y)  f ( x, y)

Since (*) 、  f ( x, y)  0、 f ( x, y)  0 as ( x, y)  (0,0)

Hence lim f ( x, y )  0 as ( x, y )  (0,0) 原極限存在且為 0 .


( x , y )  (0,0)

x3 y sin 2 y x3 y 3 sin 2 y
f ( x, y)     0 as ( x, y)  (0,0)
x2  y 2 x2  y 2 y 2

sin 2 y
Since  1 as ( x, y)  (0,0).
y2

討論: lim f ( x, y ) 極限存在性


( x , y )  (0,0)

x3  y 4
(i) f ( x, y) 
x2  y 2
x2 y
(ii) f ( x, y) 
x2  y 2
x2  y 2
(iii) f ( x, y)  (討論題目講解請參見課程影音約 26:20 處)
x y
Example 7:

4
xy
f ( x, y ) 
x  y4
2

Proof:
x(mx)
Let y  mx  f ( x, mx) 
x  (mx)4
2

mx 2 m
   m as x  0.
x  m x 1  m4 x 2
2 4 4

 Limit changes as m changes.


 Limit not exist.

Example 8:
x2 y
f ( x, y) 
x2  y 4
g
f  , h:偶數次方; g: deg( g )  deg(某一項 h( x 2 )) 
h  交叉項
deg( g )  deg(某一項 h( y 4 )) 

h:偶數次方+交叉

① 分子的某一部分有分母的某一項  夾擠

x2
0  f ( x, y) = y y  limit 存在且唯一
0 x2  y 4

② 算幾項

xy
討論: f ( x, y ) 
x  y4
2

x2  y 4
 x y 2 , xy 2  算幾項
分母: 2
(算幾不等式)
Solution:
令 x  cy 2 ,  齊次
cy 4 c
f (cy 2 , y )   2  limit 不存在
c y y
2 4 4
c 1
* y  mx, f ( x, mx)  沿著任一直線近入原點
 極限存在且為 0, 但原問題極限不存在
xy 3
討論: f ( x, y) 
x2  y 4

5
x2  y 4
分母:偶數次、交叉項  (算幾)  x y 2  xy 2  算幾項
2
xy 3
分子的 degree 大於算幾項且可除盡.  y  夾擠
xy 2

x y2 1
0  f ( x, y ) = y  y  y  limit 存在且為 0
0 x y
2 4
2

x2  y 4 1 x y2
By 算幾不等式,  x y2   2
2 2 x  y4
討論:
xy 2
f ( x, y) 
x2  y6
交叉項、分母偶數次方、算幾項  xy 3 (次方大於分子且可除盡分子)
說明:
y5 1
f ( y3 , y)  6
   as y  0. limit 不存在.
2y 2y
 lim f ( x, y )  不存在.
( x , y )  (0,0)

Example 9:
x  y3
(i) f ( x, y ) 
x2  y 2
x y3
 
x2  y 2 x2  y 2
y3 x
當 y  x, 的極限存在, 但 2 的極限不存在,
x y
2 2
x  y2
x  y3
因此 limit 不存在.
x2  y 2

x2  y
(ii) f ( x, y ) 
x  y3
分母:奇數次方  limit 不存在.

Example 10:
xyz  y 2 z  x 2 z
f ( x, y , z ) 
x2  y 2  z 4

交叉項+偶數次方(分母)
6
xy  y 2  x 2 xy  y 2  x 2
加絕對值  f ( x, y, z )  2 z  z
x  y2  z4 x2  y2
 xy y2  x2  1  3
  2  2 
z    1 z  z
x y x y  2 
2 2
2

x2  y 2 xy 1
由算幾不等式  xy  2 
2 x y 2
2

3
0  f ( x, y, z )  z , 由夾擠 lim f ( x, y, z)  0
0 2 ( x , y , z )(0,0,0)

再一次夾擠, 得到原問題極限值存在且為 0 .

7
§14.3 Partial Derivatives

*Partial Derivative (偏導數) fx ( a, b ) of f with respect to x at ( a, b ).

Definition:
f ( a  h, b )  f ( a , b )
(i). f x (a, b)  lim
h 0 h
(將 y = b 固定,把 f 看成單變數 x 的微分)
(ii). 同理可定義對 y 的偏導數作用在( a, b )為
f ( a , b  h )  f ( a, b )
f y (a, b)  lim
h0 h
(將 x = a 固定,把 f 看成單變數 y 的微分)

*簡單來說,偏微就是將其他變量固定,對唯一變量作微分。因此偏微和上學期
的單變數函數微分是一樣的。

*按讚的問題:如何定義多變量函數的“全”微分或(正常)的微分?

Notation:
f f
 f x  f1 :  f y  f2.
x y

Example 1:

Let f ( x, y )  x 2  xy  y 2 , find f x , f y , f xx , f yy , f xy , f yx .

Solution:
f x  2 x  y (把y當常數對x微分)
f y  2 y  x (把x當常數對y微分)
  f   2 f
f xx     f11  2
x  x  x 2
  f 
 f x y  f xy     f12  1
y  x 
  f 
f   f yx     f 21  1
x  y 
y x

  f   2 f
f yy     f 22  2
y  y  y 2

Example 2:
f (x,y,z) = xyz, x > 0, find fz(2,3,0).

1 國立交通大學應用數學系 莊重教授
Example 3:

 2x2  3 y 2 ( x4  e y )
 ,x y
f ( x, y )   x y Find f x (0,0)
0 ,x y

Theorem:
(i). (Clairau’s Theorem)
If fxy and fyx are continuous on a region D, then

f xy ( a , b )  f yx ( a , b ) for and a , b   D.

 
(ii). f xyy   f x  y y , f yxy , f yyx are continious on D, then

f xyy a , b   f yxy a , b   f yyx a , b  for a , b   D.

Example 2:
 2u  2u
Let u  x, y   e x sin y. Prove that u :   0.
x 2 y 2
Proof:

u x  e x sin y u y  e x cos y
u xx  e x sin y u yy  e x sin y
 u xx  u yy  0 (Laplace's Equation)

Example 3:
 2u 2  u
2
Let u  x, t   f ( x  at ). Prove that 2  a .
t x 2
Proof:

ut  af ' ( x  at ) u x  f ' ( x  at )


utt  a 2 f ' ' ( x  at ) u xx  f ' ' ( x  at )
 ttt  a 2 u xx (Wave Equation)

Example 4:
z z
Let xyz  cos x  y  z . Find , .
x y
Solution:
將 z 想成以 x 和 y 為獨立變數的函數
(Take partial derivative with respect to x )

2 國立交通大學應用數學系 莊重教授
z  z 
 yz  xy   sin  x  y  z   1
x  x 
z  sin  x  y  z   yz
 
x xy  sin  x  y  z 
Similarly,
z  sin  x  y  z   xz
 
y xy  sin  x  y  z 

Example 5:

 
1
f ( x, y )  x 3  y 3 3 e sin y . Find f x (1,0).
Solution:

f ( x,0)  3 x 3  x  f ' ( x)  1
 f x (1,0)  1.
( f x (1,0) 將y固定為0對x的微分.)

Example 6:

 x 3 y  xy 3
 , ( x, y )  (0,0).
f ( x, y )   x 2  y 2
0 , ( x, y )  (0,0).

(1) Find f x ( x, y ), f y ( x, y ) for ( x, y )  (0,0).

(2) Find f x (0,0), f y (0,0).

(3) Find f xy (0,0), f yx (0,0).

Solution:
(1) For ( x, y )  (0,0) , we have

x 4 y  4x 2 y3  y 5 x 5  4 x 3 y 2  xy 4
f x ( x, y )  , f y ( x, y )  .
x 2
 y2 
2
x 2
 y2 
2

(2) By definition, we have


f ( h,0)  f (0,0)
f x (0,0)  lim 0
h0 h
f (0, h)  f (0,0)
f y (0,0)  lim 0
h 0 h

3 國立交通大學應用數學系 莊重教授
(3)
Let
 x4 y  4x2 y3  y5
 ,  x, y   (0,0).
g ( x, y )  f x ( x , y )   
x2  y2
2

0 ,  x, y   (0,0).

 h5
g (0, h)  g (0,0) 4
 g y (0,0)  f xy (0,0)  lim  h  1.
h 0 h h
Let
 x 5  4 x 3 y 2  xy 4
 ,  x, y   (0,0).
h ( x , y )  f y ( x, y )   
x2  y2
2

0 ,  x, y   (0,0).

l5
h(0, l )  g (0,0) l 4
 hx (0,0)  f yx (0,0)  lim   1.
l 0 l l
Since f xy (0,0)  f yx (0,0), by Clairaut's Theorem
f xy and f yx are not continuous near (0,0).
Check:
If ( x, y )  (0,0) , then fxy ( x, y ) and fyx ( x, y )分母、分子皆為次
數 4 的齊次項。
 lim f xy ( x, y) and lim f yx ( x, y) do not exist.
( x , y )( 0, 0 ) ( x , y )( 0, 0 )

4 國立交通大學應用數學系 莊重教授
§14.4 Tangent Planes and Linear Approximation

*切線方程式

設此切面方程式為
A( x  x0 )  B ( y  y 0 )  ( z  z 0 )  0 (1)
Let x = x0, then
B ( y  y 0 )  ( z  z 0 )  0 為過 P 點和曲線 C1 : z  f ( x0 , y ) 相切的直線方程式 T1.

 f y ( x0 , y 0 )  T1的斜率   B.

Similarly, f x ( x0 , y0 )  T2的斜率   A.

*公式:
(i). 切面的法向量為

A, B,1   f x ( x0 , y0 ), f y ( x0 , y0 ),1

(ii). 切面方程式為

z  z 0  f x ( x0 , y 0 )( x  x0 )  f y ( x0 , y 0 )( y  y 0 )

Example 1:
z = 2x2 + y2. 找過 P(1,1,3)的切面方程式.
Solution:

f x ( x, y )  4 x  f x (1,1)  4.
f y ( x, y )  2 y  f y (1,1)  2.
Tangent plane : 4( x  1)  2( y  1)  z  3.

*Linear approximation of z = f ( x, y ) at ( a, b ).
(以切平面來逼近曲面)

z  f ( a, b)  f x ( a, b)( x  a )  f y ( a, b)( y  b).

1 國立交通大學應用數學系 莊重教授
Example 2:

z  x 2  y 2 at (3,4). Find z (3.01, 3.99).

Solution:

 
1
1 2  3
f x ( x, y )  x  y 2 2 (2 x)  f x (3,4) 
2 5
 
1
1  4
f y ( x, y )  x 2  y 2 2 (2 y )  f y (3,4) 
2 5
3 4
 z  5  (0.01)  (0.01)  4.998  (3.01) 2  (3.99) 2 .
5 5
*Differentiable of f at ( a, b ):
Definition:
If z  f (a  x, b  y )  f (a, b)
 f x (a, b)x  f y (a, b)y   1x   2 y,.

誤差

then,  1 ,  2  0 as ( x, y )  (0,0) (切面  曲面)

Example 3:

 xy
 , ( x, y )  0
f ( x, y )   x 2  y 2
0 , ( x, y )  0

Solution:
f x (0,0)  f y (0,0)  0
Tangent plane through (0,0) : z  0.
1
But f ( x, y ) whenever x  y  0.
2
 f is not differentiable at (a, b).

2 國立交通大學應用數學系 莊重教授
Theorem:
f is differentiable at ( a, b ) provided that
(i). fx, fy exist near ( a, b ).
(ii). fx, fy continuous at ( a, b ).

Remark:Differentiable ⇒ Continuous.

*Differentiable
Recall:
 1 – D:

 2 – D:

3 國立交通大學應用數學系 莊重教授
Example 4:
z  f ( x, y )  x 2  3 xy  y 2
(i). Find dz.
(ii). Use differentials to estimate f (2.05, 2.96).
Solution:
(i). dz  (2 x  3 y )dx  (3 x  2 y )dy
(ii). dz  (2.2  3.3)(0.05)  (3.2  2.3)(0.04)  0.65
(令a  2, b  2  x  0.05, y  0.04).
*註 Δz = f (2.05, 2.96) – f (2,3) = 0.6449.

Example 5:

Use differentials to estimate the maximum error in the calculated volume of


the cone.
Solution:
1
V  r 2 h
3
2 1
dV  hrdr  r 2 dh
3 3
 20

4 國立交通大學應用數學系 莊重教授
§14.5 The Chain Rule

*The Chain Rule


 dz dx dy
 z (t )  f ( x(t ), y (t ))  dt  f x dt  f y dt

u (t )  f ( x(t ), y (t ), z (t ))  dz  f dx  f dy  f dz
 dt
x
dt
y
dt
z
dt
Example 1:
z  f ( x, y )  x 2  xy  y 2 , x  cos t , y  sin t.
Solution:
z  f ( x, y )  x 2  xy  y 2
z  cos 2 t  cos t sin t  sin 2 t
dz
 2 cos t ( sin t )  ( sin t ) sin t  cos t cos t  2 sin t cos t
dt
 (2 cos t  sin t )( sin t )  (cos t  2 sin t ) cos t
dx dy  dx   dy 
 (2 x  y )  ( x  2 y )  f x    f y  .
dt dt  dt   dt 
*Tree Diagram
z  (t , s )  f ( x (t , s ), y (t , s ))

 z x y
 t  f x t  f y t

 z  f x  f y
 s x
s
y
s

*Implicit Differentiation
If f ( x, y, z )  0 and z  g ( x, y )
 f ( x, y, g ( x, y ))  0
dy z
 fx  fy  fz 0
dx x
dy z f
Since  0  x.
dx x fz
z fy
Similarly  .
y fz

1 國立交通大學應用數學系 莊重教授
Example 2:
u  x 4 y  y 2 z 2 , x  rse t , y  rs 2 e  t , z  r 2 s sin t.
u
Find .
s r 2
s 1
t 0

Solution:

u
s r 2
     
 4 x 3 y re t  x 4  2 yz 2 2 sre t  2 y 2 z r 2 sin t 
s 1
t 0

 128  64  192

Example 3:
z
x 3  y 3  z 3  6 xyz  1, find .
x
Solution:
z z
3x 2  3z 2 6 yz  6 xy  0.
x x
z  x  2 yz
2
  2 .
x z  2 xy

Example 4:
Let f has continuous 2nd – order partial derivatives.

x  r 2  s 2 2z
z  f ( x, y ),  , find 2 .
 y  2rs r

Solution:
z
 f x 2r  f y 2 s
r
2z
  f xx 2r  f xy 2 s 2r  2 f x   f yx 2r  f yy 2 s 2 s
r 2
 4r 2 f xx  8rsf xy  4 s 2 f yy  2 f x
( f xy  f yx )

2 國立交通大學應用數學系 莊重教授
Example 5:
dP
PV = 8.31T. Find when T = 300 K and is increasing at a rate of 0.1K/s,
dt
and V = 100L and is increasing at a rate of 0.2L/s.
Solution:

8.31T 8.31 300


P   24.93
V 100
dP dV dT
V P  8.31 (1)
dt dt dt
dT dV
 0.1,  0.2, T  300,V  100, P  24.93
dt dt
dP
代入(1)式求 .
dt
Example 6:

 x  r cos
z  f ( x, y ), 
 y  r sin 

2z 2z
(i). Find ,
r 2  

 2 z  2 z  2 z 1  2 z 1 z
(ii). Prove that     .
x 2 y 2 r 2 r 2  2 r r

Solution:
z
(i).  f x cos   f y sin 
r
2 z
  f xx cos   f xy sin   cos    f yx cos   f yy sin  sin 
r 2
 f xx cos 2    f xy sin  cos   f yy sin 2 
z
 f x  r sin    f y r cos 

2 z
 2
 
 f xx  r sin    f xy r cos   r sin  

 
 f x  r cos    f y  r sin    f yx  r sin    f yy r cos  r cos  
 r  sin 2 f xx  2r 2 cos  sin  f xy  r 2 cos 2 f yy  r cos f x  r sin f y .

(ii). 可由(i)得.

3 國立交通大學應用數學系 莊重教授
Example 7:
If g ( s, t ) = f (s2 – t2, t2 – s2 ) and f is differentiable. Show that g satisfies
g g
t s  0.
s t
Proof.
g
 2sf x  2sf y
s
g
 2tf x  2tf y
t
g g
t s 0
s t

4 國立交通大學應用數學系 莊重教授
§14.6 Directional Derivatives and Gradient Vector

*方向導數:過點( x0, y0 ), 沿著u  a, b , a 2  b 2  1,方向的微分

Definition:過點( x0, y0 ), 沿著 u 方向的微分


u  a, b , a 2  b 2  1

Du f ( x0 , y0 )  lim
 
f OP  hu  f (OP)
h 0 h
f  x0  ha, y0  hb   f ( x0 , y0 )
 lim
h 0 h
 g ' (0) , where g (h)  f ( x0  ha, y0  hb)

Remark:

1. f x  Df i , i  1,0

2. f y  Df j , j  0,1

Theorem:

Du f ( x0 , y 0 )  f x ( x0 , y 0 ), f y ( x0 , y 0 )  a, b
 af x ( x0 , y 0 )  bf y ( x0 , y 0 )

Proof.
Let g (h)  f ( x0  ah, y0  bh)
Then Du f ( x0 , y0 )  g ' (0)

g ' ( h)  f x a  f y b
 g ' (0)  f x ( x0 , y0 )a  f y ( x0 , y0 )b

1 國立交通大學應用數學系 莊重教授
Remark:
If the direction derivative of f at ( x0, y0 ) in any direction u, then f is not
necessary differentiable at ( x0, y0 ).

*The gradient vector (梯度向量) of f at ( x0, y0 )


Definition:

f x ( x0 , y 0 ), f y ( x 0 , y 0 ) : f

Du f ( x0 y0 )  f  u

Example 1:
f ( x, y )  x 3  3xy  6 y 2 . Find the directional derivative of f at (1,2)
in the dirction of the vector 3 ,1 .

Solution:

3 1
Du f (1,2)  3x 2  3 y,3x  12 y x 1  ,
y 2 2 2
 3 3  21
 .
2
Example 2:
A( 1, 2 ), B( 4, 6 ), C( 5, -1 ), D( 6, 14 ). Let f be a function of two variable
that has continuous partial derivatives.
AB AC AD
Let u1  , u2  , u3  .
AB AC AD
If Du1 (1,2)  1, Du2 (1,2)  1, find Du3 (1,2)  ?
*Facts

1. Du f  f  u  f在u方向的變化率

2. max Du f | f | when u // f (same direction)


u

 f  u | f || u | cos , | u | 1
| f | if   .

3. min Du f   | f | when u // f (opposite direction)


u

2 國立交通大學應用數學系 莊重教授
4.
(i). f  levelcurve.
(ii). f  any curveson the levelsurface.

Proof.
(i). Consider   f  x (t ), y (t )   C .
dx dy
 fx  fy 0
dt dt
 dx dy 
 f   ,   0
 dt dt 
(ii). Consider  : f ( x, y, z)  C
Let f  x (t ), y (t ), z (t )   C be any curve on the level surface  : f ( x, y , z )  C .
 dx dy dz 
Then f   , ,   0
 dt dt dt 

5. Considersurface  : z  f ( x, y). Let g ( x, y, z )  f ( x, y)  z  0


則Γ可當成 g 函數的一個 Level surface. 此 g 函數的 gradient 為

g  f x , f y ,1 . (即將二維函數看成三維函數的等高曲面).

由(4. ii.) ▽g 為過點 P ( x0, y0, z0 )和Γ相切的平面的法向量.

3 國立交通大學應用數學系 莊重教授
Example 3:
x2 y2 z 2
Given a level surface:    3. 求過( -2, 1, -3 )且與此等高面相
4 1 9
切的切面方程式.
Solution:

x 2z 2
n ,2 y ,   1,2,
2 9 x  2 3
y 1
z  3

2
切面方程式  1,2,  x  2, y  1, z  3  0
3

  x  2  2 y  1   z  3  0
2
3
Example 4:

 f : z  x 2  y 2
 求過( -1, 1, 2 )和其交集的曲線相切的切線方程式.
 g : 4 x 2  y 2  z 2  9

Solution:
此切線的方向和f , g垂直
 切線的方向為f  g.

f  2 x,2 y,1   2,2,1


g  8 x,2 y,2 z  2  4,1,2
 2,2,1   4,1,2  5,8,6
x 1 y 1 z  2
   .
5 8 6

4 國立交通大學應用數學系 莊重教授
§14.7 Maximum and Minimum Values

*單變數函數和多變數函數的差異
1. 鞍點(多變數函數)
2. 平滑單變數函數,兩個 local max ⇒ 一個 local min.
平滑多變數函數,兩個 local max ⇏ 一個 local min.

*How to find such points?

(1) Find critical points:

(i). f x ( a, b)  f y ( a, b)  0

(ii). fx or fy does not exist at ( a, b ).

(2) 2nd Derivative Tests:

Let   f xx (a, b),   f xy (a, b)  f yx (a, b),   f yy (a, b)


 
Set D       .
 

(i). D  0,    (or   )
 f ( a, b) local minimum and (a , b) is a minimum point.
(ii). D  0,   0(or   0)  f ( a, b ) local maximum.
(iii). D  0  ( a, b) is a saddle point.
(iv). For any other cases, the test fails.

1 國立交通大學應用數學系 莊重教授
Why?
(2)-(i)的條件中
  0  在x軸方向(a, b, f (a, b))是凹向上.
D  0  其他所有方向也凹向上 .

Proof.
u  h, k .
Du f (a, b)  f x h  f y k .
Du2 f  Du ( Du f )   f xx h  f xy k h   f yx h  f yy k k
 f xx h 2  2 f xy hk  f yy k 2
 ah 2  2hk  k 2
k  k 2
2

 h    ( )   .

   

If    D  0  Du2 f  0 for any direction u.


 All directions at a, b, f (a, b)  are concave up.
Example 1:
f ( x, y )  x 4  y 4  4 xy  1. Find local max, min and saddle point.
Solution:
 f x  4 x 3  4 y  0

 f y  4 y  4 x  0
3

 (0,0), (1,1), (1,1) are critical points.


f xx  12 x 2 f xy  4 f yy  12 y 2
D( x, y )  144 x 2 y 2  16

D(0,0)  16  0.
 (0,0) is a saddle point.

D(1,1)  128  0, f xx (1,1)  12  0.


 f (1,1)  1 is a local min.

D(1,1)  128  0, f xx (1,1)  12  0.


 f (1,1)  1 is also a local min.

2 國立交通大學應用數學系 莊重教授
Theorem:
f is continuous on a closed and bounded set D.
⇒(i) There exist absolute minimum and absolute maximum.
(ii) Those extreme points occur at the critical points of f or the boundary of D.

Example 2:

Find the saddle points of the function f ( x, y )  x 3  3 xy 2  3x 2  3 y 2  4.

Example 3:
Find the local maximum and minimum and saddle points of the function

f ( x, y )  x 3  y 2  3xy  5

Example 4:
f ( x, y )  2 x 2  x  y 2  2, x 2  y 2  4. Find absolute extreme.
Solution:

f x  4x 1 1
 x   , y  0.
fy  2y 4

 1 
( x, y )   ,0  x2  y2  4
 4 
17 x2  x  2
f ( x, y ) 
8 2 x2
17 7
values  4,8,
8 4
max  8 occurs at x  2, y  0.
17 1
min   occurs at x   , y  0.
8 4

3 國立交通大學應用數學系 莊重教授
Example:
f ( x, y )  x 2  2 xy  2 y on 0  x  3,0  y  2.
Find absolute max and min.
Solution:

f x  2x  2 y
 x  1, y  1.
f y  2 x  2

x0 x3 y0 y2


( x, y ) (1,1)
0 y2 0 y2 0 x3 0 x3

f ( x, y ) 1 2y 9  4y x2 x  22
value 1 0,4 1,9 0,9 0,4
0:absolute minimum.
9:absolute maximum.

Example:
A box with open top with constraint:

Solution:
ab  2bc  2ac 3 2 2 2
 4a b c
3
64  4a 2 b 2 c 2
4  abc
Maximum volume = 4 when ab = 2bc = 2ac
⇒ a = 2, b = 2, c = 1.

Example:
( x, y , z ) satisfies x  2 y  3 z  6. Find max V  xyz.
Solution:
6 3 4
 6 xyz  xyz 
3 3
4 2
Max V  when x  2 y  3 z  x  2, y  1, z  .
3 3

4 國立交通大學應用數學系 莊重教授
§14.8 Lagrange Multipliers
*Problem:
Maximize or Minimize functions f ( x, y ) or f ( x, y, z ) under certain constraints.
cases 1 2 3
objective function f ( x, y ) f ( x, y , z ) f ( x, y , z )
g ( x, y , z )  k
constraints g ( x, y )  k g ( x, y , z )  k and
h ( x, y , z )  k

*Lagrange Multipliers:解上述問題的一個方法

想法:
(i). 極值產生的地方:
f (變動)的 level curve or level surface 和
g (固定)的 level curve or level surface 相切.

(ii). Level curve of f  f .

(i)  (ii)  f // g .

結論:Extrema occur when


(I). f  g for some  (cases 1 and 2).
(II). f  g  h for some    (case 3).

1 國立交通大學應用數學系 莊重教授
Example 1:
A rectangular box without a lid is to be made from 12m2 of cardboard. Find
the maximum volume of such box.
Solution:
(Method I)
f ( x, y, z )  xyz
constraint g : g ( x, y, z )  2 xy  2 yz  xz (1)

f  yz, xz , xy
g  2 y  z , 2 x  2 z , 2 y  z
 yz   (2 y  z )

f // g
  xz   (2 x  2 z )
 xy   (2 y  x)

 y 2y  z
 
 x 2x  2z 2 y  x (2)
 z 2x  2z 
    z  2 y (3)
 y 2y  x x  z
x 2y  x 
 
 z 2y  z
將(2), (3)代入(1)
 4 y 2  4 y 2  4 y 2  12
 y 1
 x  2, z  2
 V  4.
(Method II)
12 2 xy  2 yz  xz
 
1
  4x2 y 2 z 2 3
3 3
 64  4 x 2 y 2 z 2
 4  xyz
 Maximum volume  4.

2 國立交通大學應用數學系 莊重教授
Example 2:
f ( x, y )  x 2  2 y 2 , g ( x, y )  x 2  y 2  1.
Solution:
(Method I)

1.算幾不等式

高中解法2.柯西不等式
3.配方法

 f ( x, y )  x 2  2 y 2  1  y 2 , (1  y  1).
 f的最大值  2 ; f的最小值  1.

(Method II)

f  2 x , 4 y , g  2 x, 2 y
 x  x
  x  0 or y  0.
2 y   y
 (0,1) and (1,0)
 max f  2, min f  1.

Example 3:

 x  y  z  1 (1)
f ( x, y, z )  x  2 y  3z. Constraints :  2
 x  y  1 (2)
2

Solution:
(Method I)
(1)
f ( x, y, z )  x  2 y  31  x  y   2 x  5 y  3
By 柯西不等式
  
 x 2  y 2  2   5 2   2 x  5 y 
2 2

 29  2 x  5 y   29

29
3  2 x  5 y  3   3
29

max min

3 國立交通大學應用數學系 莊重教授
(Method II)
f  1,2,3 1     x

g  1,1,1  2       y
3  
 h  2 x , 2 y ,0 

2 x  2 x 2
   (since   0)
2  y  5 y 5
2 5
Since x 2  y 2  1  x  ,y
29 29
7
 z 1
29
 max  3  29 , min  3  29.

Example 4:

x 2  y 2  z 2  4. Find max or min of


x  32   y  12  z  12 . Where those extreme occur?
Solution:
(Method I)

  6 2 2 
min  11  2 occurs at  , ,  and
  11 11 11 

max  11  2 occurs at  6 2 2 
, , .
  11 11 11 

4 國立交通大學應用數學系 莊重教授
Example 5:
 f ( x, y , z )  x  y  z

1 1 1
x  y  z 1

Solution:
  1 2  1 2 2


 x  y  
2 2
2
z     



 1  

  x   y   z  
   (1  1  1) 2  9
 
1 1 1
  x  y  z       x  y  z   9
x y z
 min  9.
Example 6:

 f ( x, y , z )  x 2  2 y 2  2 z 2

x  y  z  1 (1)
x  y  2z  2 (2)

Solution:
(Method I)
1,1,1  1,1,2  3,1,2
x  y  1 3 1
Let z  0   x ,y .
x  y  2 2 2
 (1)  (2)之直線方程式為
 3
 x  2  3t

 1
 y    t , t  R. (3)
 2
 z  0  2t


將(3)代入 f 利用配方法可得極值.

(Method II) Lagrange Multipliers

5 國立交通大學應用數學系 莊重教授
Example 7:
The plane x + y + 2z = 2 intersects the paraboloid z = x2 + y2 in an ellipse.
Find the points on this ellipse that are nearest to and farthest from the
origin.
Solution:
 f ( x, y , z )  x 2  y 2  z 2

Max or Min  x  y  2 z  2 h
z  x 2  y 2
 g
h  1,1,2 , g  2 x,2 y,1 , f  2 x,2 y,2 z
 f   1,1,2   2 x,2 y,1
x y
1
 x  or  1
2
1 1 1
 Two points to check are  , ,  and  1,1,2 .
2 2 2
1 1 1 3
 f  , ,   & f (1,1,2)  6.
 
222 4 farthest
nearest

Example 8:
Find the maximum of f ( x, y, z ) = xy + y2 on the intersection of y – x = 0
and x2 + y2 + z2 = 4.

Example 9:
What is the highest point on the plane curve that is given by the intersection
of x + y + z = 0, x2 + y2 + z2 = 1

Example 10:
Find the volume of the largest rectangular box in the first octant with three
faces in the coordinate planes and one vertex in the plane x + 2y + 3z = 9.

6 國立交通大學應用數學系 莊重教授
§15.1 Double Integrals over Rectangles
Problem:
z  f ( x, y )  房子的屋頂( f  0)
D  [a, b]  [c, d ]  房子的地基( f  0)
 a rectangle
則此房子的體積(Volume)為何?

Definition:
The double integral of f over a rectangle D is
m m
lim  f ( xij , yij )A  volume under the roof z  f ( x, y ) on
n 
i 1 j 1  
 底

D( f  0)  若f  0,此式代表屋子的體積.

Remark:

 f x , yij  A is called double Riemann sum


m n
(i). ij
i 1 j 1

= 一堆小長方形之體積和
= 這是二維的算法

(ii). Midpoint Rule:Double Riemann sum with ( xij, yij ) being center of the
corresponding rectangle.

 f ( x, y)dA
(iii). Average value of f on D  D
 房子的平切高度.
area D
(iv). Properties of double integral.
(v). linear: af  bg  dA  a  f dA  b  g dA.
D D D

(vi).  f   g
D D
provided that f  g on D.

1 國立交通大學應用數學系 莊重教授
Example 1:

屋頂:f ( x, y )  1  x 2
地基:D  [1,1]  [2,2].

Solution:

Evaluate 1  x 2 dA  圓柱體的一半
D

1
  (1) 2  4  2 .
2

Example 2:
z  x 2  y 2 .D  [0,1]  [0,1]. Using midpoint rule to compute the
double Reimann sum with n  m  2.
Solution:

1 1 1  3 3 
 x  3 1 1 3
2
 y 2 dA   f  ,   f  ,   f  ,   f  , 
D
4 4 4 4 4 4 4  4 4 

2 國立交通大學應用數學系 莊重教授
§15.2 Iterated Integrals
*Double Integral:二維計算屋子體積的方法。
*Iterated Integral:一維計算屋子體積的方法。(要算兩次)

(i).
d

c
f ( x, y )dy  A( x)
 固定x,房子的縱截面面積
b

a
A( x)dx  將所有縱截面面積連續相加

    f  x, y dy dx    f ( x, y )dydx


b d b d

a  c  a c

 一維算法算2次.

同理可得,先固定 y的縱截面面積算法
d b
而得   f ( x, y ) dxdy.
c a

Problem:
什麼樣的屋頂 f ( x, y )  z 此三種屋子的體積算法相等?

Theorem:(Fubini’s Theorem)
If f is continuous on D(屋頂沒破,
) then
b d d b
 f ( x, y)dA  
D

a c
f ( x, y )dydx  
c  a
f ( x, y )dxdy.

1 國立交通大學應用數學系 莊重教授
Remark:
(i). In fact, f 只有些許小裂縫,三種體積算法也是一樣。

(ii). Clairaut’s Theorem:


When the order of partial differentiation does not matter?

Fubini’s Theorem:
When the order of iterated integrals does not matter?

Example 1:
Find  y sin( xy ) dA, R  [1,2]  [0,  ].
R

Solution:
 2
 y sin( xy)dA  
R
0 
1
y sin( xy)dxdy

   cos xy  1 dy
 2
0

   cos 2 y  cos y dy
0

1 
  sin 2 y  sin y 0
2 0

 0(有地下室,體積相消.)

Example 2:

 x  3 y dA, R  [0,2]  [1,2].


2

Solution:
2

  x  3 y dxdy    
2 2 2 1 2 2 
2
 x  3 y x   1 2  6 y dy  12
2 2
1 0 1
 2 0

  x  3 y dydx   xy  y 
2 2 2
3 2
2
dx  12.
0 1 0 1

Example 3:

 x 2  y 2  z  16

x  2
Find the volume enclose by .
y  2
The coordinate planes

2 國立交通大學應用數學系 莊重教授
Solution:
屋頂:z  16  x 2  y 2
地基:[0,2]  [0,2]

 16  x 
2 2 160
V  2
 y 2 dxdy  .
0 0 3

Example 4:
Find the volume of the solid in the first octant bounded by the cylinder
z = 9 – y2 and the plane x = 2.
Solution:

屋頂:z  9  y 2
地基:[0,2]  [0,3]

Example 5:
x y
If f is continuous on [a, b]  [c, d ] and g ( x, y )    f ( s, t )dtds for
a c

a  x  b, c  y  d .Prove that g xy  g yx  f ( x, y ).

Proof.
FTC y FTC
gx  c
f ( x, t )dt  g xy  f ( x, y).

 x f ( s, t )ds dt
Fubini y
g ( x, y )  
c  a 
FTC x FTC
 gy  a
f ( s, y)ds  g yx  f ( x, y ).

3 國立交通大學應用數學系 莊重教授
§15.3 Double Integrals over General Regions
*General Regions
(1) Type I

(2) Type II

*只要屋頂“不太壞”(如:沒破洞,只有些許裂縫)
則 general region 的邊界 “不太壞”(如:沒斷點),
則一維和二維計算面積方式仍相同。

i.e.
b g2 ( x)
(Type I)  f ( x, y)dA   
D
a g1 ( x )
f ( x, y )dydx

(Type II)  f ( x, y )dA   


d h2 ( y )
f ( x, y )dxdy
c h1 ( y )
D

1 國立交通大學應用數學系 莊重教授
Summary:
1. D 可能是
(i) Type I
(ii) Type II
(iii) 是 Type I 也是 Type II
(iv) 兩者皆不是但可表成兩種的聯集

2. If D1  D2  D, D1  D2  Boundary   fdA   fdA   fdA.


D D1 D2

3. Linear:  f  g dA    fdA   gdA.


D D D

4. If m  f ( x, y )  M , then mA( D )   f ( x, y ) dA  MA( D ).


D

Here A(D) = 地基的面積.

5.  f ( x, y)dA  0
D
provided that

(i). D 對稱 y 軸
(ii). 固定 y,f ( x, y ) is an odd function.

Example 1:

 x 
tan x  y 3  4 dA D : x 2  y 2  2
2

Solution:

 x 
tan x  y 3  4 dA
2

  x 2 tan xdA   y 3 dA   4dA


D D D

 8

2 國立交通大學應用數學系 莊重教授
Example 2:

 y  2 x 2
D x  2 y dA, D :  y  1  x 2

Solution:

1 1 x 2 32
 
1 2 x 2
( x  2 y ) dydx 
15

Example 3:

 y  x 1
D xydA, D :  2
 y  2x  6
Solution:

4 y 1
 y2 xydxdy  36
2 3
2

3 國立交通大學應用數學系 莊重教授
Example 4:
1 1
  sin y dydx
2
0 x

Solution:

1 1
Type II:   sin y dydx (不好算)
2
0 x

1 y 1 1
Type I:   sin y 2 dxdy   y sin y 2 dy   sin udu
0 0 0 0

1
1 1 1
  cos u   cos 1 
2 0 2 2

4 國立交通大學應用數學系 莊重教授
Example 5:

Solution:

  xydA   xydA
D1 D2

1 1 x 2
1 y2
  xydydx    xydxdy
1 1 1 1

 0(利用對稱性)
Example 6:
1 2y 3 3 y
 f ( x, y)dA   
D
0 0
f ( x, y )dxdy  
1 0
f ( x, y )dxdy. Find D.

Solution:

5 國立交通大學應用數學系 莊重教授
Example 7:

Solution:
(利用對稱性)

 (2  3x  4 y)dA
D

  2dA   3 xdA   4 ydA


D D D

 100

6 國立交通大學應用數學系 莊重教授
§15.4 Double Integrals in Polar Coordinates
*極座標積分

R  (r ,  ) : a  r  b,      , 將角度和半徑切很細時

Aij  Area of Rij 


2
 1
2

ri  ri 1   ri  ri 1 r
1 2 2

當等分成" 無窮 " 細時
Aij  dA  rdrd 

Theorem:
 b
(i).  f ( x, y)dA   
R
a
f (r cos  r sin  ) rdrd

(ii). D  (r , ) :      , h1 ( )  r  h2 ( )
 h2 ( )
  f ( x, y )dA    f ( r cos   r sin  ) rdrd .
 h1 ( )
D

1 國立交通大學應用數學系 莊重教授
Example 1:

 (3x  4 y )dA. D : 1  x 2  y 2  4, y  0.
2

Solution:

 3x  4 y dA
2

 3r cos  4r 
 2
 2
sin 2  rdrd
0 1

15



2

2 
4 x 2

1 x 2
3x  4 y  dydx.
2

Example 2:

z  1  x 2  y 2
Find the volume of 
z  0
Solution:

 1  x 
 y 2 dA D : x 2  y 2  1.
2


 1  r  rdrd  2 .
2 1
 2
0 0

Example 3:
Find the area of r  cos 2 (Area  Volume with height 1)
Solution:

cos 2
Area  4   (1)rdrd
 0


cos 2
 4   rdrd
 0




Example 4:

under z  x 2  y 2

Find the volume of the solid that liesinside x 2  y 2  2 x.
above z  0

2 國立交通大學應用數學系 莊重教授
Solution:

V   x 2  y 2 dA  地基
D : x  1  y 2  1
2
D

   
2 cos 
r 2 rdrd D : r  2 cos 
 0

3 屋頂

 z  x2  y2
z  r2

Example 5:

x 2  y 2  4

Find the volume of  x 2 y 2 z 2
   1
16 16 64

Solution:
地基
2 2 D : x2  y2  4
V  2  2 16  r rdrd
2
0 0 D:r  2

8


64  24 3  屋頂

z  64  4 x 2  4 y 2
 64  4r 2
 2 16  r 2

Example 6:

below x 2  y 2  z 2  1
Find the volume of the solid that lies 
above z  x 2  y 2

Solution:

 x 2  y 2  z 2  1

 z  x 2  y 2

 x2  y2  x 2
 y2  1
2

1
 x2  y2  .
2

3 國立交通大學應用數學系 莊重教授
地基

 1  r  r rdrd 1
1
2
V  D : x2  y2 
 2 2
0 0 2



2  2  r
2
2

屋頂

z  1 x2  y2  1 r 2
z  x2  y2  r

Example 7:
Evaluate the iterated integral by converting to polar coordinates
2 2 x x2
 0 0
x 2  y 2 dydx.

Solution:

y  2 x  x 2  x 2  y 2  2 x  r  2 cos 

2 2 x x2

0 0
x 2  y 2 dydx

2 cos 
   r 2 drd
0 0

16
 .
9

Example 8:
Use polar coordinates to combine the sum
1 x 2 x 2 4 x 2
  1
2
1 x 2
xydydx  
1 
0
xydydx  
2 0  xydydx

into one double integral. Then evaluate the double integral.


Solution:
15
.
16

4 國立交通大學應用數學系 莊重教授
§15.5 Applications of Double Integrals
I. Density and Mass

ΔAij:細切割的小面積,在此小區域中 ρ( x, y ) 差別不太大,可取其中一點

( xij* , y ij* ) 作為密度。

此小區域的重量    xij* , y ij* Aij


整個切割區域的重量     xij* , y ij* Aij
i, j

無窮切割
  總重量    ( x, y )dA.
, i , j 

D

*結論:
(i). 若 ρ( x, y )代表 D 區域的 density
 total mass m    ( x, y )dA.
D

(ii). 若 ρ( x, y )代表 electric charge 在 D 區域的強度(charge density)


 total charge Q    ( x, y )dA.
D

1 國立交通大學應用數學系 莊重教授
II. Moments and Centers of Mass

M x (with respect to a particle)  m1d1


M y (with respect to a particle)  m1 d 2

M x   y  x, y dA
D

M y   x  x, y dA
D

 The center ( x , y ) of mass of a lamina on D with density  ( x, y ) is


My 1
x   x ( x, y )dA
m m D
Mx 1
y   y ( x, y )dA
m m D

2 國立交通大學應用數學系 莊重教授
Example 1:
The density at any point on a
semicircular lamina is
proportional to the distance
from the center of the circle.
Find the center of the lamina.

Solution:
ρ( x, y )對稱 y 軸 ⇒ center 在 y 軸上
⇒ 只要算 y 即可

 k x 2  y 2 ydA  x 2  y 2 ydA
y D
 D

 k x  y dA  x 2  y 2 dA
2 2

D D

 a a 3
 a a4
分母:  r drd 
2
分子:  r sin  drd 
3
0  3 0 0 2
a4
3a
 y  23  .
a 2
3

3 國立交通大學應用數學系 莊重教授
III. Probability:
*A pair of continuous random variables X & Y.(e.g. X:身高 , Y:體重.)

Let f ( x, y ) be the joint density function. Then


(i). f ( x , y )  0.
(ii).  f ( x, y)dA  1.
R2

(iii). P ( X , Y )  D    f ( x, y )dA.
D

*Expected values:
(i). X:random variable with probability density function f.

 mean    xf ( x) fx.


(ii). X and Y:random variables with joint density function f ( x, y ), then


1. X  mean (expected values of X )   xf ( x, y )dA
R2

2. Y  mean (expected values of Y )   yf ( x, y )dA


R2

4 國立交通大學應用數學系 莊重教授
§15.6 Surface Area
*單變數函數
弧長→用線段逼近
*多變數函數
Surface Area→用切面面積逼近

過 Pij 的切面來逼近
過 Pij 的曲面.

( Pij  P( xi , y j ) )

a  xi  0 j  f x xk
b  0i  yj  f y yk
曲面面積  S  切面面積
 切面面積 | a  b |
 1  f x2  f y2 xy 

 1  f x2  f y2 A

 作無窮切割後
dS  1  f x2  f y2 dA

*公式:地基為 D,屋頂為 z = f ( x, y ).
 其屋頂面積  S   dS   1  f x2  f y2 dA.
D D

Example 1:
z = x2 + 2y
Solution:

1  2 x   2 2 dydx
1 1
S 
2
0 x


1
12

27  5 5 . 

1 國立交通大學應用數學系 莊重教授
Example 2:
Find surface area of z  x 2  y 2 under z  9.
Solution:

S  1  4 x 2  4 y 2 dA
x 2  y 2 9
2 
     r  rdrd
0 




37 37  1 

Example 3:
Find the surface area of z  y 2  x 2 between x 2  y 2  1 and x 2  y 2  4.
Solution:
S  1  4 y 2  4 x 2 dA  極座標轉換
1 x 2  y 2  4

Example 4:
Find the area of the finite part of the paraboloid y = x2 + z2 cut off by the
plane y = 25.
Solution:

x 2  z 2  y
地基   x 2  z 2  5 2 ( y  0)
 y  25

屋頂 y  x 2  z 2
S  1  4 x 2  4 z 2 dA
x 2  y 2 52
2 
 r 1  4r 2 drd
0 



6
101 101  1.

2 國立交通大學應用數學系 莊重教授
§15.7 Triple Integrals
*屋頂:u = f ( x, y, z )
地基:在三維空間的物體 E.

*Triple Integral:

 f ( x, y, z )dV    f ( x, y, z )dz  dA


u2 ( x , y )
(1)
u1 ( x , y ) 
E D

*註記:

Fubini Theorem:屋頂夠好(沒三維破洞,或只有有限的二維或一維

的裂縫),則 Triple Integral 可寫成遞回式(iterated)的三個一維積分。

Example 1:

 zdV , where E is the solid bounded by the four planes


E

x  0, y  0, z  0 and x  y  z  1.
Solution:

 zdV
E
1 1 x 1 x  y
   zdzdydx
0 0 0

1

24
1 1 z 1 y  z
   zdxdydz
0 0 0

1 國立交通大學應用數學系 莊重教授
Example 2:

y  x2  z 2
 x  z dV . E is bounded by 
2 2
.
E y  4

Solution:

  x 2  z 2 dV
E

    2 2 x 2  z 2 dy dA
4

 x y 

  
D

 x 2  z 2 4  x 2  z 2 dA 
x  z 4
2 2


2

 2  4 x 2
4 x 2
4  x 2
 z2  x 2  z 2 dzdx

 r 4  r drd
2 
 2 2
0 

128
 .


Alternate solution:


E  D'  y  x 2 , y  x 2 

2 國立交通大學應用數學系 莊重教授
 y x2 
    x 2  z 2 dz dA
D'  
 y x 2

2 4 y x2
   x 2  z 2 dzdydx (較難算)
2 x 2  y  x2

Example 3:
Use a triple integral to find the volume of the tetrahedron T bounded by the
planes x + 2y + z = 2, x = 2y, x = 0 and z = 0.
Solution:

2 x 2 y
V   1dzdA
0
D
2 x
1 2 x  2 y
 x  
2 1dzdydx
0 0
2

1
 .
3

3 國立交通大學應用數學系 莊重教授
Example 4:
1 1 1 y
Rewrite    f ( x, y, z )dzdydx as an equivalent iterated integral in
0 x 0

the five other orders.


Solution:

1 y
  fdzdA
0
D
1 y2 1 y
   fdzdxdy
0 0 0
1 1 z y2
   fdxdydz
0 0 0
1 1 y y2
   fdxdzdy
0 0 0
1 1 x 1 z
   fdydzdx
0 0 x
1 1 z 2 1 z
   fdydxdz
0 0 x

4 國立交通大學應用數學系 莊重教授
Example 5:
Which of the following iterate integrals are equal to the integral?
1 1 x 2 x

0 0 
0
f ( x, y, z )dzdydx.

1 z 1 x 2
(A) 
0 0 0
f ( x, y, z )dydzdx

1 x 1 x 2
(B)  
0 0 0
f ( x, y, z )dydzdx

1 1 z 2 1 z 2
(C) 
0 0  z
f ( x, y, z )dxdydz

1 1 z 2 1 y 2
(D) 0 0  z
f ( x, y, z )dxdydz

Solution:
(B),(D).

5 國立交通大學應用數學系 莊重教授
§15.8 Triple Integrals in Cylindrical Coordinates
*Cylindrical Coordinates (C.C.)
E  D  u1 ( x, y ), u 2 ( x, y ) (圓柱狀適用C.C.)
D : 用polar coordinate來表達
 h1 ( ) u 2
  f ( x, y, z )dV     rf r cos  , r sin  , z dzdrd
 h2 ( ) u1
E

Example 1:
A solid E lies within the cylinder x2 + y2 = 1,
below the plane z = 4, and above the paraboloid
z = 1 – x2 – y2. The density at any point is
proportional to its distance from the axis of the
cylinder. Find the mass of E.

Example 2:

Evaluate 
2

2  4 x
4 x 2
2 
2

x2  y2
x 2

 y 2 dzdydx.

Solution:

 
2

2  4 x
4 x 2
2 
2

x2  y2
x 2

 y 2 dzdydx   x 2  y 2 dV
E
2  2
  r 2 rdzdrd
0  r
2 2
  d  r 3 (2  r )dr
0 0


2
1  16
 2  r 4  r 5    .
 5 0 5

1 國立交通大學應用數學系 莊重教授
Example 3:
1 1 y 2 x2  y2

0 0  x  y2
2
xyzdzdxdy

Solution:

 
xy 2
2

x  y2  x2  y2   dA
2

D

sin 2 2
  
0 0
1



r  r 4 r 3 drd 
1
 .
96

2 國立交通大學應用數學系 莊重教授
§15.9 Triple Integrals in Spherical Coordinates
*Spherical Coordinates(S.C.)
E = 球狀物體

Let E  (      ) | a    b      , c    d 

 f ( x, y, z )dV
E
d  b
   f (     )  2 sin  dd d .
c a

Example 1:

e x  dV
3


2
 y2 z2 2

Solution:
   4
  e

  sin dd d  e  1.
0   

1 國立交通大學應用數學系 莊重教授
Example 2:
3

0 0
9 y 2

18  x 2  y 2

x2  y2
x 2

 y 2  z 2 dzdxdy.

Solution:

  1
32  
 4 
  2     sin dd d
0 0 0

  1
 486  .

 5 

Example 3:
Find the volume of the solid that lies within the sphere x2 + y2 + z2 = 4,

above the xy – plane and below the cone z  x 2  y 2 .

Solution:

 x 2  y 2  z 2  4
 2  x 2  y 2  2.
 x  y  z2


 2
V   
2
1    sin  d d d
0 0

8 2
 
3

Example 4:
Use spherical coordinates to find the volume of the solid that lies above the

cone z  x 2  y 2 and below the sphere x2 + y2 + z2 = z.

Solution:

2 cos 
V (E)       sin  d d d
0  

  cos  
2   2 
 d  sin   
 d   sin  cos 3 d  .
0 0
 3   0  0 

2 國立交通大學應用數學系 莊重教授
§15.10 Change of Variables in Multiple Integrals


a  
xu , y u  lim    x u , y u u  a
u  0  u

Similarly,

b  
xv , y v  lim  b  x v , y v v  
v  0  v

 
 將和在 x  y 平面的向量放入三維空間,
 
以計算由和所張出的平行四邊形面積 
 
xu xv
 .
yu yv

1 國立交通大學應用數學系 莊重教授
T u , v   x, y    x(u , v), y (u , v) 

a  AB  x u0  u , v0 , y u0  u , v0    x (u0 , v0 ), y (u0 , v0 ) 
  x u0  u , v0   x u0 , v0 , y u0  u , v0   y u0 , v0 
 x y 
  ,  u
 u u 

同理

  x y   x y 
b  AC   v, v   v , 
 v v   v v  u0 ,v* 

當u , v很小時
x x x x
 
R的面積  a  b  u v uv  u v S的面積.
y y y y
u v u v

Definition:
The Jacobian of the transformation T given by x = g ( u, v ) and y = h ( u, v ) is
x x
 ( x, y ) u v  (行列式值 ) .

 (u , v) y y
u v

2 國立交通大學應用數學系 莊重教授
*註記:

(i). 當 Δu, Δv 夠小時,轉換後的面積倍率為 Jacobian 的絕對值。

(⇒dA = dxdy = |Jacobian| dudv)

(ii). 若 T 為 Linear Transformation, 則任一區域 S(不須小)經 T 轉換後之

區域 R 面積為原面積的|Jacobian|倍。

Theorem:

  x, y 
(i).  f ( x, y)dA   f x (u, v), y (u, v) u, v  dudv.
R S

  x, y , z 
(ii).  f ( x, y, z)dV   f x (u, v, w), y (u, v, w), z (u, v, w) u, v, w dudvdw.
R v

*註記:
  x, y , z    x, y 
(1)   2 sin  . (2)  r.
  ,  ,    r ,  

Example 1:
x y

 e
x y
dA
R

Solution:
Let u  x  y
v x y
1
x (u  v)
2
1
y  (u  v)
2
 ( x, y )
u u
1
  e v dA   e v dA
S
 (u , v) 2 S

 
u
1 2 v v 3
  
2 1 v
e dudv  e  e 1
4

3 國立交通大學應用數學系 莊重教授
Example 2:

x2 y2 z2
 dV
E
E:  
a2 b2 c2
1

Set x  au , y  bv, z  cw.


4
  abc dV  abc.
u 2  v 2  w 2 1
3

Example 3:

 e
x y
dA. R :| x |  | y | 1
R

Solution:
u  x  y, v  x  y
1 1
x (u  v), y  (u  v)
2 2
 ( x, y ) 1

 (u , v) 2
1
  e x  y dA   e u dA
R S
2
1 1 1 u
2 1 1
 e dudv  e  e 1 .

Example 4:
x y

 e
x y
Evaluate the integral dA , where D is the trapezoidal region with
D

vertices ( 1, 0 ), ( 2, 0 ), ( 0, -2 ), ( 0, -1 ).
Solution:
3  1
 e  .
4 e

4 國立交通大學應用數學系 莊重教授
向量微積分(向量分析)

符號:粗體代表向量,如 r, ; 正常體代表純量,如 r, F

廣泛應用於:物理和工程,電磁場和流體的動態.

數學上學什麼?
(I) :幾個微分有關的量
1. Gradient(梯度):grad ( f ) = ∇f (向量場).
描述在某點附近,純量場 f 增加率最大的方向.
2. Divergence(散度): div ( F ) = ∇ ⋅ F (純量場).
描述在某點附近,向量場 F 的發散或匯聚的程度.
3. Curl(旋度): curl ( F ) = ∇ × F (向量場).
描述在某點附近,向量場 F 的旋轉程度.

(II) :四個重要的定理(都是微積分基本定理的推廣,
尤其是高維度的推廣)
1. 梯度定理 : ∫ ∇f ⋅ d=
r f (b) − f (a) ,
C
(一維: 曲線 )

b and a 是曲線C 的終點和起點.


一個函數的某種微分型式在某一 n 維區域的 n 重積分量(積分)=原函
數在此區域邊界的 ( n − 1 ) 重積分量(積分).
 ∂Q ∂P 
2. Green's Theorem : ∫∫  −  dA= ∫∂D F ⋅ dr= ∫∂D P dx + Q dy.
(二維 )
D 
∂x ∂y 
F = P, Q

3. Stokes' Theorem : ∫∫ ∇ × F ⋅=
dS ∫ F ⋅ dr.
∂S
S

4. Divergence Theorem :
(三維 )
∫∫∫ div ( F ) dV = ∫∫ F ⋅ dS.
E ⊂ R3 ∂E

⊂ Stokes′ Theorem
5. Green′s Theorem
⇒ Divergence Theorem .

1 國立交通大學應用數學系 莊重教授
§16.1 Vector Fields
符號:粗體代表向量,如 r, ; 正常體代表純量,如 r, F

主題:

(i) Vector Field F: F : D ⊂ R n → R n , n =2, 3.


(ii) Conservative Vector Field F:∃ f : R n → R s.t. ∇f = F ;
Such f is called a potential function of F.
(iii) Curl and Divergence of F.

Example 1: F (x, y ) = 〈− y, x〉

GmM
Example 2: Gravitation Force F ( x ) = − 3
x;
(Field) x

m, M are masses of two objects, x = (x, y, z ).


 mM 
 Gravitation ∝ 2 
 r 

2 國立交通大學應用數學系 莊重教授
εqQ
Example 3: Electric Force F ( x ) = 3
x q, Q are electric charges (電荷).
(Field) x

(i) qQ > 0 ⇒ the force is repulsive.


(ii) qQ < 0 ⇒ the force is attraction.

Example 4:Gradient Fields ∇f :此處 f 是個多變數的存量函數


也即 f : R n → R, n > 1.
Definition: a vector field F is called a conservative vector field
if ∃ a scalar function f s.t. ∇f = F.

3 國立交通大學應用數學系 莊重教授
(ii) - a:Given F, check if F is conservative vector field (CVF)?
(ii) - b:If yes, how to find a potential function f ?

Example 1: F (x, y ) = 〈− y, x〉 = 〈 M , N 〉 . Is F a CVF?

Solution:If ∃ f s.t. F = ∇f =〈 f x , f y 〉, then f x =M and f y =N ,


∂M ∂M
However, = f xy = − 1 and = f yx = 1. Hence, f xy ≠ f yx , (→←) .
∂y ∂x
Thus, F is not conservative .

Example 2: Is the gravitational field F a CVF?


GmM
=F ( x ) Gravitational Field = − 3
x, y , z .
(x 2 2
+y +z )
2 2

GmM
Solution:f x, y, z = 1
.
(x 2 2
+y +z )
2 2

?
Example 3: F (x, y ) = 〈 2xy, x 2 − y 2 〉 = 〈 M , N 〉 = f x , f y .
Find a potential function f of F.
y2
Solution:f (x, y ) = x 2 y + g1 ( y ) = x 2 y − + g 2 ( x).
2
y2
⇒ f (x, y ) = x 2 y − + k.
2

Theorem : (檢查F,二維,是否是保守場的充分必要條件)
已知: (i) Let F : D ⊂ R n → R n , D : open desk , F = 〈 M , N 〉.
(ii) M , N have continuous first partial derivatives on R.

Theorem 16.3.5

結論: F = 〈 M , N 〉 is conservative ← → ∂M =∂N
.
Theorem 16.3.6 ∂y ∂x
∂M ∂N
Remark : 若已知(i),(ii)滿足,且 ≠ ,則 F is not conservative.
∂y ∂x

4 國立交通大學應用數學系 莊重教授
How about the counterpart Theorem in space?
(三維的相對定理)
先介紹 curl F ( F 的旋度)

Definition:Let F (x, y, z ) = 〈 M , N , P〉

∂ ∂ ∂
Define:Curl F (x, y, z ) = ∇ × F ( x, y, z ) = , , × 〈 M , N , P〉
∂x ∂y ∂z
∂ ∂ ∂
= ∂x ∂y ∂z
M N P
∂P ∂N ∂M ∂P ∂N ∂M
= − , − , − .
∂y ∂z ∂z ∂x ∂x ∂y

 Physical (Intuitive) Interpretation of the curl of F. (見習題§16.5-37)


F:velocity field of a fluid flow 中放入一個球心固定的球

則 球的轉軸 = curl F
1
球的轉速 = curl F(球心) .
2
 If curl F = 0, then F is said to be irrotational.
 Curl F(x, y, z)代表向量場 F 在(x, y, z)附近的旋轉的方向和大小程度.

Theorem : (檢查F,三維,是否是保守場的充分必要條件)
已知: F = M , N, P , M , N , P : continuous 1st partial derivatives on an
open space in space Q.

Theorem 16.5.3

結論: F is conservative . ← → curl F (x, y, z) = 0, for all (x, y, z) in Q.
Theorem 16.6.4

5 國立交通大學應用數學系 莊重教授
Divergence (散度) of a Vector Field F = M , N , P .

 div F = ∇ ⋅ F = M x + N y + Pz .
 If div F = 0, then F is said to be incompressible .
 div F (x, y, z ) = the net rate of outward flux per unit volume at (x, y, z ) .
=描述在(x, y, z)點附近, 向量場 F 的發散或匯聚的程度.

> 0 a source,

 div F(x, y, z ) = 0 ⇒ ( x, y, z ) incompressible,
< 0 a sink.

6 國立交通大學應用數學系 莊重教授
§16.2 Line (Curve) Integrals
名詞:

(i) C = r (t ), a ≤ t ≤ b, is a smooth curve:r′(t ) is a continuous on [ a, b ] and r′(t ) ≠ 0 for a < t < b.

(ii) C is a piecewise smooth curve:C = C1 ∪ C2 ∪ ... ∪ Cn , Ci , i = 1, 2, ... , n, are smooth curves.

4 類型的 line integrals

(i) F : vector fields (a Force). Work done by F along C .

∫ C
F ⋅ dr = ∫ M dx + N dy, where F =
〈 M , N 〉 and dr =
〈 dx, dy〉
= the line integral of F along C.
b
∫ C
F
= ⋅ dr ∫ F ( r(t ) ) ⋅ r′(t )dt
a
b r′(t )
= ∫ F ( r (t ) ) ⋅
a r′(t )
r′(t ) dt

= ∫ F ⋅ T ds.
C

b dx 2 dy 2
(ii) ∫ ( x, y ) ds
f= ∫ f ( x, y ) (dx=
) 2 + (dy ) 2 ∫ f ( x(t ), y(t ) ) ( ) + ( ) dt .
C C a dt dt
(line integral of f along C with respect to arc length)
b
(iii) ∫ f ( x, y ) dx = ∫ f ( x(t ), y(t ) ) x′(t ) dt .
C a

b
(iv) ∫ f ( x, y ) dy = ∫ f ( x(t ), y(t ) ) y′(t ) dt .
C a

Facts:

(i) ∫ f ( x, y ) ds = ∫
C −C
f ( x, y ) ds .

(ii) ∫ f ( x, y ) dx = − ∫ f ( x, y ) dx .
−C C

(iii) ∫ f ( x, y ) dy = − ∫ f ( x, y ) dy .
−C C

(iv) ∫−C
F ⋅ dr = − ∫ F ⋅ dr .
C

1 國立交通大學應用數學系 莊重教授
Example 1:

Let F( x, y ) = x, 0 ,
C1 : r (t ) = 〈t , t 〉 , C2 : r (t ) = 〈t , t 2 〉 , 0 ≤ t ≤ 1 ,
−C1 : r (t ) = 〈1 − t , 1 − t 〉 , 0 ≤ t ≤ 1.

Solution:
1 1
1 2 2 1 2(1 − t ) 2 2
(i) ∫C1 x ds ∫0
= t 2 dt = = ∫ x ds ∫
= (1 − t ) 2 dt =
− = .
2 0 2 − C1 0 2 0
2

1 1 1 1
(ii) ∫ x dx =∫ t dt = =∫ F ⋅ dr, where F =〈 x, 0〉 , ∫ x dx =∫ (1 − t ) d ( −t ) =− .
C1 0 2 C1 − C1 0 2
3 1
2 2 2 1 1
( ) ( )
1
(iii) ∫ x ds =∫0 t 1 + 4t dt = 1 + 2
4t   = 5 5 −1 .
C2 3  8  0 12

1 1
(iv) ∫C2 x dx ∫0 t dt ==
=
2 ∫C2
F ⋅ dr. F=
〈 x, 0〉

Example 2: F
= y 2 , x . Compute
= ∫ F ⋅ dr, i 1, 2, Ci如下圖.
Ci


C1
y 2 dx + x dy

Solution : C1 : r (t ) = (1 − t ) −5, − 3 + t 0, 2 = 5t − 5, 5t − 3 0 ≤ t ≤1

1
( 5t − 3)2 5 + ( 5t − 5 ) 5 dt = 5
⇒ ∫ y 2 dx + x dy =
∫ −
C1 0  6
5
 y 2 (−2 y ) + ( 4 − y 2 )  =
2
∫C2
y 2 dx + x =
dy ∫ −3   dy 40 .
6

技術:直線參數式
r1
r0
C : r (t ) =(1 − t )r0 + tr1

在 Example 1 ∫ C1
F ⋅ dr = ∫
C2
F ⋅ dr, 但 Example 2 中 ∫ C1
F ⋅ dr ≠ ∫ F ⋅ dr
C2

(答案:在 Example 1 中的 F 是 conservative, 但 Example 2 中的 F 不是,


在§16.3 會看得更清楚).
2 國立交通大學應用數學系 莊重教授
Example 3: Evaluate ∫ C
( y + z ) dx + ( x + z ) dy + ( x + y ) dz , where
C1 C2

C : line segments from (0, 0, 0) to (1, 0, 1) and from (1, 0, 1) to (0, 1, 2) .

Solution 1 : C1 : t , 0, t C2 : (1 − t ) 1, 0, 1 + t 0,1, 2 =−
1 t, t, 1 + t

F = <y + z , x + z , x + y >
dr = < dx, dy, dz >

∫C
( y + z ) dx + ( x + z ) dy + ( x + y ) dz= ∫ C1
F ⋅ dr + ∫
C2
F ⋅ dr
1 1
= ∫ (t + t ) dt + ∫ ( −(1 + 2t )+2+1) dt
0 0

2 1 1
=t + (2t − t 2 ) = 1 + 1 = 2.
0 0

Solution 2 : (16.3 線積分的基本定理)


f ( x, y, z )= xy + xz + yz ⇒ ∇f = F

∫C
F ⋅ dr = ∫C1
F ⋅ dr + ∫ F ⋅ dr
C2

= f (1, 0, 1) − f (0, 0, 0) + f (0, 1, 2) − f (1, 0, 1) = 2.

Example 4: Evaluate ∫ F ⋅ dr, where F =


sin x, cos y, xz and

r (t )= t 3 , − t 2 , t , 0 ≤ t ≤ 1.
1 1 1
Solution
= : ∫ F ⋅ dr ∫ 3t
2
sin t 3 ) dt + ∫ −2t cos(−t 2 ) dt + ∫ t 4 dt
0 0 0

5 1
1 1 t
= − cos t 3 + sin(−t 2 ) +
0 0 5 0

1
=− cos1 + 1 − sin1 +
5
6
=− cos1 − sin1.
5

3 國立交通大學應用數學系 莊重教授
§16.3 The Fundamental Theorem for Line Integrals

*名詞介紹:
(i) smooth curves; piecewise smooth curves (= paths).
(ii) closed curves : initial point = terminal point.
(iii) open region :

(iv) connected :

(yes) (no)
(v) simple curve : a curve that does not intersect itself anywhere
between its endpoints.

(no) (yes)

(vi) Simply connected region : No hole + No separate pieces.

(yes) (no) (no)

(vii) ∫C
F ⋅ dr is independent of path :

∫C1
F ⋅ dr= ∫C2
F ⋅ dr for any C1 , C2 having the
same initial points and the same terminal points.

1 國立交通大學應用數學系 莊重教授
Line integral 的基本定理

Recall:
b
∫ F ′ ( x=
) dx F (b) − F (a) (微積分基本定理, FTC)
a

Theorem (16.3.2)(梯度定理) Let F = P, Q .

已知: (i) F = ∇f (保守場).


(ii) ∇f is continuous on C.
(iii) C : (piecewise) smooth curve r (t ), a ≤ t ≤ b.

結論: ∫ F ⋅ dr = ∫ ∇ f ⋅ dr = f ( r ( b ) ) − f ( r ( a ) ) .
C C

F ⋅ dr = ∫ ∇f ( r ( t ) ) ⋅ r′ ( t ) dt
b
Proof : n=3 ∫C a

 dx b dy dz 
= ∫
 f x dt + f y dt + f z dt  dt
a

b d
=∫
a dt
(
f ( r ( t ) ) dt )
FTC
= f (r (b )) − f (r ( a )).

n = 2 : Similar.

1 1
Example 1: F ( x, y )
= xy, x 2 = ; C2 : x y 2=
C1 : y x= ; C3 : y x 3 ;
2 4

起點: ( 0, 0 ) ,終點: (1,1) Compute ∫


Ci
F ⋅ dr, i =
1, 2,3 .

x2
Solution : F = ∇f , where f ( x, y ) = y.
4
1
r f (1,1) − f ( 0, 0=
⇒ ∫ F ⋅ d= ) for=i 1, 2,3 .
Ci 4

Theorem (16.3.3) ∫ C
F ⋅ dr is independent of path in D ⇔ ∫ F ⋅ dr =
0
C

for every closed path C in D.

2 國立交通大學應用數學系 莊重教授
Theorem (16.3.4) 已知: (i) F : D ⊂ Rn → Rn , n =
2,3, D : open and connected.

(ii) F : continuous on D.

結論: ∫C
F ⋅ dr is independent of path in D.

F is conservative.

Proof : ( ⇐ ) Trivial.

( ⇒ ) Constructive proof : 實際找一個 potential function f s.t. ∇f =F.

(i) = ( n 3 can be similarly proved ) :


n 2=
Let f ( x,=
y) ∫ F ⋅ dr,
C

where C is a path in D with a fixed initial point ( a, b )


Figure
and terminal point ( x, y ) .

(ii) f ( x, y ) is well-defined. (What? and Why?)

(iii) Find a particular C :

Since D is open, ∃ ( x1 , y ) ∈ D with x1 < x. Let

=C a path C1 ∈ D from ( a, b ) to ( x1 , y ) followed by the horizontal


line segment C2 from ( x1 , y ) to ( x, y ) (See above Figure).

(iv) Claim ∇f =F. Let F = M , N .

f ( x, y ) = ∫ F ⋅ dr = ∫ F ⋅ dr + ∫ F ⋅ dr
C C1 C2

= ∫
C1
F ⋅ dr + ∫
C2
Mdx + Ndy x= t
x
= ∫ F ⋅ dr + ∫ M ( t , y ) dt. Here dy= 0 (C2 : 水平線段)
C1 x1

∂f
0 + M ( x, y ) . ( ∫ F ⋅ dr 是和x無關的相對常數)
=
∂x C

Similar Construction (how?), we have


∂f
= N ( x, y ) .
∂y

3 國立交通大學應用數學系 莊重教授
有無檢查 F 是否保守場的方法:

n=2

已知: (i) D (定義域) : open simply-connected region.

(ii) F = M , N : M , N : continuous first-order partial derivatives.

∂M ∂N
結論: F is conservative on D ⇔ =.
∂y ∂x

(⇒) Clairaut's Theorem.

( ⇐) Green's Theorem (§16.4).

n=3 F = M , N, P

同 n = 2 類似的已知.
結論: F is conservative on D ⇔ Curl F =
0 for all points in D.

Theorem (Conservation of Energy) : In a conservative vector field,


the sum of its potential energy and its kinetic energy remains a constant at any point.
This is the reason why the vector field is called conservative.

Proof :

(i) Let F = ∇f

P(A) = 位能 at A 點 = − f ( A ) (why?)
F = Gravitaional field
1 2
K(A) = 動能 at A 點 = m r′( A) .
2

Wanted : P ( A ) + K ( A ) = P ( B ) + K ( B ) .
加速度
B ↑
∫ r f ( B ) − f ( A=
F ⋅ d= ) P ( A) − P ( B ) . a mr′′(t.)
F m=
=
A


1 B d 1
 r′ ( t ) 2= m (  r′( B) 2 −  r′( A) 2 )= K ( B ) − K ( A ) .
B

A
m∫
mr′′ ⋅ r′dt=
2 A dt 2
⇒ P ( A) + K ( A) = P ( B ) + K ( B ) .

4 國立交通大學應用數學系 莊重教授
§16.4 Green's Theorem (‘二維’的微積分基本定理)
* 名詞介紹:
一個區域 D 的邊界是 C positive orientation : 沿著邊界 C 走的方向要使得
D 永遠是在 C 的左側

(i) (ii)

(counterclockwise 逆時鐘方向) (外邊界是逆時鐘, 裏邊界是順時鐘)

Green’s Theorem:

已知 : (i)
C : positively oriented,
piecewise smooth,
simple closed curve.
(ii) F = P, Q : P, Q : continuous partial derivations on D′.

∂ ∂
∂x ∂y  ∂Q ∂P 
結論 : ∫∫ P
D Q
dA =∫∫ 
D 
−  dA = ∫C Pdx + Qdy =∫C F ⋅ dr.
∂x ∂y 

Remarks: (i) 符號: ∫ Pdx + Qdy= ∫ Pdx + Qdy= ∫ Pdx + Qdy= ∫ Pdx + Qdy
C C C ∂D

(ii) n 維區域 D 的邊界 ∂D 是 n − 1 維,微積分基本定理的精神之一


就是一個函數的某種微分的 n 重積分作用在 D,等於原函數的

( n − 1) 重積分作用在 ∂D .
∂Q ∂P
(iii) If - = 1, then ∫ Pdx + Qdy = A( D) .
∂x ∂y ∂D

因此若選 (i) Q = x, P = 0 ; or
(ii) Q = 0, P = - y ; or
1 1
(iii) Q = x, P = - y.
2 2
都可透過 line integral 來求面積.
(iv) Theorem 16.3.3 (檢查保守場的充分條件) :
Green's Theorem + Theorem 16.3.2 - 16.3.4 .
(v) 可推廣:若 D 是 (i) finite union of simple regions

D
如 或(ii) region with holes 如 .

1 國立交通大學應用數學系 莊重教授
* 以此圖的 D 為例,中間有個洞(hole)
外邊界為 C1 ,裏邊界為 C2 .

對上圖 Green's Theorem 仍然適用: F = P, Q .

∂ ∂
(i) ∫∫ ∂x ∂=y dA ∫
C1 ∪ C2
F ⋅ dr , 此處 C1 , C2 都是正向,
D
P Q
也即 C1 是逆時鐘, C2 是順時鐘.
∂ ∂
(ii) if F is conservative, then ∂x ∂y = 0 , and, hence,
P Q


C1
− ∫ F ⋅ dr =
F ⋅ dr =
C2 ∫ F ⋅ dr.
− C2

Here C1 and C2 都是逆時鐘.

Proof of (i) : 將 D 分成 D1 和 D2 如右圖.


則 Green's Theorem 可分別用在 D1 和 D2 ,
其相對應的正向邊界(逆時鐘)分別為 ∂D1 和 ∂D2 .

∂ ∂ ∂ ∂ ∂ ∂
∫∫D=
∂x ∂y dA ∫∫ ∂x ∂y dA + ∫∫ ∂x ∂y dA
P Q D1
P Q D2
P Q
= ∫ ∂D1
F ⋅ dr + ∫
∂D2
F ⋅ dr

= ∫ ∂D1 ∪∂D2
F ⋅ dr

= ∫C1 ∪ C2
F ⋅ dr . (why?)

註: AB 和 CD , 正反方向皆有, 互相抵消, 剩下 C1 ∪ C2 .

2 國立交通大學應用數學系 莊重教授
先算兩個例子,再回來證明定理

Example 1 ∫C
x 4 dx + xy dy .

Solution : ∫C
x 4 dx + xy dy
1 1− y
= ∫∫=
ydA ∫∫
0 0
y dx dy

1 1 1
∫ ( y − y ) dy = 2 − 3 = 6 .
1
2
=
0

x2 y 2
Example 2 + = 1 算橢圓面積.
a 2 b2
−1 1
Solution : F= y , x = P, Q
2 2

A(=
D) ∫∂D
Pdx + Qdy =x a cos θ=
, y b sin θ , 0 ≤ θ ≤ 2π
  1
2π  1 
= ∫  −  − b sin θ  a sin θ + a ( cos θ ) b cos θ  dθ
0
  2  2 
= π ab.
Proof : Special case : D : type I ∩ type II region = simple region

∂P b g 2 ( x ) ∂P
− ∫∫ −∫ ∫
dA = dy dx
D
∂y a g1 ( x ) ∂y

− ∫ ( P ( x, g 2 ( x) ) − P ( x, g1 ( x) ) ) dx
b
=
a
b b
= ∫ P ( x, g1 ( x) ) dx − ∫ P ( x, g 2 ( x) ) dx
a a

= ∫C1
Pdx + ∫ Pdx + ∫ Pdx + ∫ Pdx
C2 C3 C4

= ∫C
Pdx.

C1 : x = g1 ( y )
C3 : x = g 2 ( y )
∂Q
Similarly, ∫∫ ∂x
D
dA = ∫ Qdy.
C

3 國立交通大學應用數學系 莊重教授
Example 3 Evaluate : ∫ ( 3 y − e ) dx + ( 7 x +
C
sin x
)
y 4 + 1 dy
P Q

Solution : ∫ ( 3 y − e ) dx + ( 7 x +
C
sin x
)
y 4 + 1 dy

= ∫∫ ( 7 − 3) dA =4 × 9π =36π .
x 2 + y 2 ≤32

Example 4 Evaluate : ∫ C
y 2 dx + 3 xydy

∫ y dx + 3xydy
2
Solution : C

= ∫∫ ( 3 y − 2 y ) dA
D
π 2 π 2
= ∫ ( r sin θ ) rdrdθ ∫
∫=
0 1 0
sin θ dθ ∫ r 2 dr
1

 8 1  14
=2 ⋅  −  = .
3 3 3

4 國立交通大學應用數學系 莊重教授
−y x
Example
= 5 F ( x, y ) = , 2 P, Q
x + y x + y2
2 2

Prove that ∫ C
2π for any positively
F ⋅ dr =

oriented simple closed path that encloses the origin.

∂P y 2 − x2 ∂Q
Proof : =
(i) = .
( x 2 + y 2 ) ∂x
2
∂y

(ii) By Green's Theorem,


= 0 ∫ C ∪( − C1 )
F ⋅ dr .

(iii) 由(ii) 得
2π  −a sin t a cos t 
0= ∫
C
F ⋅ dr = ∫ C1
F ⋅ dr = ∫
0 
 a
2
a (− sin t ) +
a 2
a cos t  dt

= 2π .

Example 6 Evaluate : ∫
C
y 3 dx − x3 dy C : x2 + y 2 =
4

∫ y dx − x dy
3 3
Solution :
C

=∫∫ ( −3 x − 3 y ) dA =
π 2 2 2
−3∫ ∫ 2 2
−6π ∫ r 3 dr
r 2 rdrdθ =
0 0 0
x2 + y 2 ≤ 4

 24 
( )  =
=−6π −24π .
 4

5 國立交通大學應用數學系 莊重教授
Example 7 Evaluate : ∫ C
F ⋅ dr, where F =
y − cos y, x sin y

and C : ( x − 3) + ( y + 4 ) =
2 2
4

 ∂Q ∂P 
Solution : (註:C 是順時鐘) ⇒ ∫ C
− ∫∫ 
F ⋅ dr = −  dA
 ∂x ∂y 
=− ∫∫ ( sin y − 1 − sin y ) dA =4π .
D

2 xy y 2 − x2
=
Example 8 Let F( x, y ) , . Find ∫ F ⋅ dr = ? , where
( x2 + y 2 ) ( x2 + y 2 )
2 2 C

C is any positively oriented simple curve that encloses the origin.

C1 : x 2 + y 2 =
a2.

2 xy y 2 − x2 ∂P ∂Q
Solution : (i)
= P = , Q ⇒
= (skip) .
(x + y2 ) (x )
2 2 2
2 2
+y ∂y ∂x

(ii) By Green's Theorem

0= ∫
C ∪( − C1 )
F ⋅ dr ⇒ ∫C
F ⋅ dr = ∫
C1
F ⋅ dr.

(iii) ∫C1
F ⋅ dr

 2a 2 cos θ sin θ
2π a 2 ( sin 2 θ − cos 2 θ ) 
= ∫ 
0 
a ( − sin θ ) + a ( cos θ )  dθ

a4 a4
 
2π − sin θ cos θ − cos θ 2π − cos θ
2 3
= ∫ = dθ ∫= dθ 0.
0 a 0 a

6 國立交通大學應用數學系 莊重教授
Example 9 =
A ∫C
2 xydx + ( x 2 + 2 x)=
dy ?

x2 y 2 2
C1 : = + 1 C2 : x= + y2 1
9 4
C = C1 ∪ ( −C2 )

Solution : A
= ∫∫ ( 2 x + 2 − 2 x ) dy
D
= 2Area ( D
= ) 2 ( 6π − π=) 10π
Green's Theorem can be extended to regions with holes.

Example 10 Find the positively oriented simple closed curve C


for which the value of the line integral

∫ ( y 3 − y ) dx − 2 x 3 dy ( =
B)
C

is a maximum.

Solution: By the Green's Theorem, we have that


f ( x, y )
=

B = ∫∫ ( −6 x 2 − 3 y 2 + 1) dA
D

⇒ C : 6x2 + 3 y 2 =
1 (逆時鐘)
會讓 B 有最大值.

7 國立交通大學應用數學系 莊重教授
_____________________________________________________________________
以下要提 Green's Theorem 和 Divergence Theorem 及 Stoke's Theorem
的(數學)關係

(I) 和 Stoke's Theorem 的關係:Stoke's Theorem F ⋅ dr ∫∫ ( curl F ) ⋅ NdS .


∫=
C
D

將二維的 F 放入三維空間:得

∂Q ∂P ∂Q ∂P
F( x, y, z ) = P, Q, 0 ⇒ curl F = − , , − .
∂z ∂z ∂x ∂y
∂Q ∂P
⇒ curl F ⋅ 0, 0,1 := curl F ⋅ k = − .
∂x ∂y
Green's Theorem
 ∂Q ∂P 
⇒ ∫ F ⋅=
dr dA ∫∫ ( curl F ) ⋅ kdA.
∫∫  ∂x − ∂y  =
C
D D

⇒ (1) Green's Theorem 是 Stoke's Theorem 放在二維平面的情境下的特殊情形,


也即若 S 可放入三維空間中的 xy 平面,且 F 在 z 方向沒有分量,則相對應
的 Stoke's Theorem 變成 Green's Theorem 的型式.
(2)二維的一個函數的某種微分型式的 surface integral = 原函數一維的線積分
作用在此表面的邊界 C.
物理意義:

(3) ∫Cα
F ⋅ dr= ∫Cα
F ⋅ TdS= circulation of F around Cα .

Cα :半徑為 α 的圓( α 很小)

∫∫ (curl F) ⋅ NdS ≈ (curl F) ⋅ N(πα


2
(4) )

circulation of F around Cα
(5) 由(3), (4) ⇒ (curl F ) ⋅ N =
lim .
α →0 area of disk Sα
= rotation of F about N .
= the measure of the rotation
effect of the fluid about N .

8 國立交通大學應用數學系 莊重教授
(II) 和 Divergence Theorem 的關係
數學關係:
Divergence Theorem : ∫∫ F ⋅ NdS = ∫∫ F ⋅ dS = ∫∫∫ div F dV .
S S Q

(一個函數的某種微分型式的三重積分作用在 Q ⊂ R 3 的積分
等於原函數用二重積分作用在 Q 的邊界 S )

以上這個定理的‘特殊情形’ (二維型式)可由 Green's Theorem 導出

∫ F ⋅ NdS =
C
∫∫ div Fd A
D
( Divergence Theorem 的二維型式).

(i) 利用弧長將 C 參數化得 r ( s ) = x( s ), y ( s ) ,s 代表弧長

dr ( s )
⇒ =x′( s ), y′( s ) =
T=unit tangent (why?).
ds
 dr (t )
(t ) x(t ), y (t ) ⇒ = x′(t ), y′(t )
 why? r=
 dt
dr (t ) dr (t ) dr (t )
⇒=T dt = dt= dt= dr  .
dr (t ) ds 
r (t ) ds 
dt dt

(ii)=N y′( s ), − x′( s ) . (why?)

 ∂P ∂Q 
(iii) ∫C
F ⋅ NdS = ∫ Pdy − Qdx =∫ −Qdx + ∫ Pdy =∫∫ 
 ∂x
+
∂y
 dA

↑D
= ∫∫ div F dA. Green's Theorem
D

9 國立交通大學應用數學系 莊重教授
物理意義:
(iv) F 代表 ρV, where ρ= constant density of a fluid, v = its velocity.

(v) ( F ⋅ N ) ∆S = 每單位時間流體流出 ∆S 的流量(flux).

(vi) ∫ F ⋅ NdS =
S
the net flux of F across S .

(vii) 取 S = Sα (半徑為 α 的球表面, 球心為 ( x0 , y0 , z0 ) )

Q = Qα (半徑為 α 的球體), α 很小.


(viii)右式 = ∫∫∫ div F dV ≈ div F V (Qα ) .

flux of F across Sα
(ix) div F ( x0 , y0 , z0 ) ≈ .
V (Qα )
(x) α → 0 ⇒ div F ( x0 , y0 , z0 ) =flux per unit volume at ( x0 , y0 , z0 ).

(xi)  div F ( x0 , y0 , z0 ) > 0 : the net flow is outward near ( x0 , y0 , z0 )


( x0 , y0 , z0 ) is called a source.
 div F ( x0 , y0 , z0 ) < 0 : the net flow is inward near ( x0 , y0 , z0 )
( x0 , y0 , z0 ) is called a sink.
 div F = 0 for all points. Then field is called divergence free
or incompressible.
(xii) Divergence Theorem:一個三維區域 Q 的進出相抵的總流量
等於其二維邊界 ∂Q 進出相抵的總流量.

10 國立交通大學應用數學系 莊重教授

You might also like