Calculus107A1Chapter04
Calculus107A1Chapter04
gl/8FNtRj 1
x x
We say that something is true near c, we mean that it is true on “some open interval
containing c.”
y y
x x
Example 3. State the absolute (and local) maximum (and minimum) values of the function
y = f (x).
efbompPs1hs
y
y = f (x)
1
x
1
Figure 3: Find absolute (and local) maximum (and minimum) values of the function.
Solution.
Theorem 4 (The Extreme Value Theorem, 極值定理, page 278). If f is continuous on a closed
interval [a, b], then f attains an absolute maximum value f (c) and an absolute minimum value
f (d) at some numbers c and d in [a, b].
y y y
x
x x
Theorem 6 (Fermat’s Theorem 費馬定理, page 279). If f has a local maximum or minimum
at c, and if f ′ (c) exists, then f ′ (c) = 0.
X3SRnYvweSQ
條件 “f ′ (c) exists” 很重要。 反例: 。
一般而言, 費馬定理的反敘述不對, 例如: 。
Proof. Here we prove the local maximum case. Since f (c) ≥ f (x) if x is sufficiently close
to c, this implies that if h is sufficiently close to 0, with h being positive or negative, then
f (c) ≥ f (c + h), or equivalently, f (c + h) − f (c) ≤ 0.
If h > 0, we have f (c+h)−f
h
(c)
≤ 0. Since f ′ (c) exists, we get
f (c + h) − f (c)
f ′ (c) = lim =
h→0 h
f (c+h)−f (c)
If h < 0, we have h ≥ 0. Since f ′ (c) exists, we get
f (c + h) − f (c)
f ′ (c) = lim =
h→0 h
Hence f ′ (c) = 0.
Solution. We compute
f ′ (x) =
(2) Find the values of f at the endpoints of the interval, that is, f (a) and f (b).
(3) The largest and smallest of the values from (1) and (2) are absolute maximum value
and absolute minimum value, respectively.
Theorem 2 (Rolle’s Theorem, page 287). Let f be a function that satisfies the following three
hypotheses:
(I) f (x) = k, a constant. We have f ′ (x) = 0, so the number c can be taken to be any
number in (a, b).
(II) f (x) > f (a) for some x in (a, b). By the , f has a maximum
somewhere in [a, b]. Since f (a) = f (b), it must attain this maximum value at a number
c in the open interval (a, b). Then f has a at c, and f is differentiable
at c. By ′
, we know f (c) = 0.
(III) f (x) < f (a) for some x in (a, b). By the , f has a minimum
value in [a, b], and since f (a) = f (b), it attains this local minimum value at a number
c ∈ (a, b). By , f ′ (c) = 0.
Solution. x6lRgE7n8o4
y y y
x x x
Example 4 (page 287). Prove that x3 + x − 1 = 0 has exactly one real root.
Solution.
Theorem 5 (The Mean Value Theorem, 平均值定理, page 288). Let f be a function that
satisfies the following hypotheses:
ZtR_UIq3vxQ
f (b) − f (a)
f ′ (c) = or equivalently, f (b) − f (a) = f ′ (c)(b − a).
b−a
h(x) =
We will verify that h(x) satisfies the three hypotheses of Rolle’s Theorem.
(1) The function h is continuous on [a, b]: It is the sum of f and a first-degree polynomial,
both of which are continuous.
(2) The function h is differentiable on (a, b): Both f and the first-degree polynomial are
differentiable. In fact, we have
h′ (x) =
h(a) =
h(b) =
均值定理也是要注意 「連續」、「可微」、「存在」。
為什麼這個定理要叫做 「平均值定理」?
Theorem 6. If f ′ (x) = 0 for all x in an interval (a, b), then f is constant on (a, b).
58cSDtk3T9M Proof. Let x1 and x2 be any two numbers in (a, b) with x1 < x2 . Since f is differentiable
on (a, b), it must be differentiable on (x1 , x2 ) and continuous on [x1 , x2 ]. By applying the
to f on the interval [x1 , x2 ], we get a number c such that x1 < c < x2
and
Therefore f has the same value at any two numbers x1 and x2 in (a, b). So f (x) is constant
on (a, b).
Theorem 6 提供一個刻劃常數函數的方法。
4.2 The Mean Value Theorem goo.gl/ZUU6e5 7
Corollary 7. If f ′ (x) = g ′ (x) for all x in an interval (a, b), then f − g is constant on (a, b);
that is, f (x) = g(x) + c where c is a constant.
x
注意 f (x) = |x| 與 g(x) = 1, 它在 x ∈ (−1, 1) 當中並不滿足推論當中的條件。
|x−y|
Example 8. Show that tan x2 − tan y2 ≥ 2 for any x, y ∈ (−π, π).
• f (t) is .
• f (t) is .
x y |x − y|
tan − tan ≥ .
2 2 2
Theorem 9 (Cauchy’s Mean Value Theorem, (柯西均值定理) Appendix F, A45). Suppose
that the functions f and g are continuous on [a, b] and differentiable on (a, b), and g′ (x) 6= 0
for all x in (a, b). Then there is a number c ∈ (a, b) such that biygd5TQf38
Proof. The key point is to find a new function F (x) and apply the Mean Value Theorem.
F (x) =
8 4.4 Indeterminate Forms and l’Hospital’s Rule goo.gl/QwjMrw
ln x x2
PwmK2Ha2SAA
lim , or lim .
x→∞ x − 1 x→∞ ex
L’ Hospital’s Rule (page 305). Suppose f and g are differentiable and g′ (x) 6= 0 on an open
interval I that contains a (except possibly at a). Suppose that a limit has an indeterminate
form of type 00 or ∞
∞ . Then
f (x) f ′ (x)
lim = lim ′
x→a g(x) x→a g (x)
定理也適用於單邊極限。
(k)
(x) L (x) L L (x)
lim fg(x) = lim fg (x) = · · · = lim fg (x)
′
可以串聯至有限次可微分函數。 x→a x→a x→a
= M.
′ (k)
Example 2.
t−ln(1+t)
aBKa8sOdzCM
(a) Find lim+ t2 .
t→0
√
t−ln(1+t)
(b) Use (a) to find lim+ t .
t→0
Solution.
4.4 Indeterminate Forms and l’Hospital’s Rule goo.gl/QwjMrw 9
Solution.
如何把函數分配至分子或分母是一門學問。
We can try to convert the difference into a quotient (for instance, by using a common
denominator (通分), or rationalization (有理化), or factoring out a common factor (提公因式))
so that we have an indeterminate form of type 00 or ∞
∞.
Solution.
Each of these three cases can be treated either by taking the natural logarithm: let y =
(f (x))g(x) , then ln y = g(x) ln f (x) or by writing the function as an exponential: (f (x))g(x) =
eg(x) ln f (x) . In either method we are led to the indeterminate product g(x) ln f (x), which is of
type 0 · ∞.
Solution.
取對數算出極限值後, 記得還原。
4.4 Indeterminate Forms and l’Hospital’s Rule goo.gl/QwjMrw 11
x
lim o_0cpMZYcps
x→0 1 + sin x
x − sin x
lim
x→∞ x + sin x
1 ( ∞ ),L
1 x2 ∞ −2 x13 2
lim+ 1 = lim+ 1 = lim+ 1 = lim+ 1 . . . 情況變好, 再用一次
x→0 x2 e x x→0 e x x→0 e ·
x − x12 x→0 xe x
1
lim+ 1
x→0 x2 e x
tan x − x
lim
x→0 x − sin x
tan 3x
lim+ √
x→0 1 − cos 2x
• l’Hospital Rule 某種程度是“大絕”, 但並非萬能。
(sin x)ex
lim
x→∞ (x + sin x)e2x
1 x
1 ln(1 + x)
lim 1 + = lim (1 + x) x = lim =
x→∞ x x→0 x→0 x
1 x
1 ln(1 + x)
lim 1 + = lim (1 + x) x = lim =
x→0 x x→∞ x→∞ x
12 4.4 Indeterminate Forms and l’Hospital’s Rule goo.gl/QwjMrw
Appendix
Proof of l’Hospital’s Rule (Appendix A46)
f ′ (x)
We are assuming that lim f (x) = 0 and lim g(x) = 0. Let lim = L. Define
x→a g (x)
EH5tz1psN8c ′
x→a x→a
( (
f (x) if x 6= a g(x) if x 6= a
F (x) = , G(x) = .
0 if x = 1 0 if x = 1
Then both F and G are continuous on I since f and g are continuous on {x ∈ I|x 6= a} and
lim F (x) = lim f (x) = 0 = F (a), lim G(x) = lim g(x) = 0 = G(a).
x→a x→a x→a x→a
Furthermore, F and G are differentiable on (a, x) (or (x, a)) since F ′ = f ′ and G′ = g′ . Since
G′ 6= 0, by the Cauchy’s Mean Value Theorem, there is a number y such that a < y < x (or
x < y < a) and
Hence
f (x) F (x) F ′ (y) f ′ (y)
lim+ = lim+ = lim+ ′ = lim+ ′ = L,
x→a g(x) x→a G(x) y→a G (y) y→a g (y)
F ′ (y) f ′ (y)
f (x) F (x)
and lim = lim− = lim− ′ = lim− ′ = L.
x→a− g(x) x→a G(x) y→a G (y) y→a g (y)
Therefore,
f (x)
lim = L.
x→a g(x)
f ( 1t ) L f ′ ( 1t ) · − t12 f ′ ( 1t )
f (x) f ′ (x)
lim = lim+ 1 = lim+ ′ 1 = lim = lim .
t→0 g ( ) · − 12 t→0+ g ′ ( 1 ) x→∞ g ′ (x)
x→∞ g(x) t→0 g( )
t t t t
4.4 Indeterminate Forms and l’Hospital’s Rule goo.gl/QwjMrw 13
Limit Laws (page 99). Suppose that lim p(x) and lim q(x) exist. Then
x→a x→a
L’ Hospital’s Rule (page 302). Suppose f and g are differentiable and g′ (x) 6= 0 on an open
interval I that contains a (except possibly at a). Suppose that
or that
0 ∞
(In other words, we have an indeterminate form of type 0 or ∞ .) Then
f (x) f ′ (x)
lim = lim ′
x→a g(x) x→a g (x)
這兩個定理可以搭配起來靈活運用, 比方說:
Theorem 9. Suppose that p(x), q(x) satisfy the assumptions of Limit Laws with lim p(x) 6= 0,
x→a
and suppose f (x), g(x) satisfy the assumptions of L’Hospital Rule. Then
8H-9SUDxCqo
(a) If f ′ (x) > 0 on an interval, then f is increasing on that interval.
Proof.
Example 1. Find where the function f (x) = 3x4 − 4x3 − 12x2 + 5 is increasing and where it
is decreasing.
The First Derivative Test (page 294). Suppose that c is a critical number of a continuous
function f .
ehahVquKqMk
(a) If f ′ changes from positive to negative at c, then f has a local maximum at c.
(c) If f ′ does not change sign at c (for example, if f ′ is positive on both side of c or negative
on both sides), then f has no local maximum or minimum at c.
y y y
x x x
Example 2. Find the local minimum and maximum values of the function f (x) = 3x4 −
4x3 − 12x2 + 5 in Example 1.
Solution.
x −1 0 2
f 0 5 −27
f′
Definition 3 (page 296). If the graph f lies above all of it tangents on an interval I, then
it is called concave upward (凹口朝上) on I. If the graph f lies below all of it tangents on an
interval I, then it is called concave downward (凹口朝下) on I. 9-0b-5pEFvM
x x
(a) If f ′′ (x) > 0 for all x in I, then the graph of f is concave upward on I.
(b) If f ′′ (x) < 0 for all x in I, then the graph of f is concave downward on I.
Proof of (a). Since f ′′ (x) > 0 in I, we know that f ′ (x) is increasing in I. Given x0 ∈ I, the
tangent line equation to the graph of f (x) at (x0 , f (x0 )) is
First, we know that F (x0 ) = 0. Next, we compute F ′ (x) = f ′ (x) − f ′ (x0 ), which implies
F ′ (x0 ) = f ′ (x0 ) − f ′ (x0 ) = 0. Since F ′ (x) < 0 for x < x0 and F ′ (x) > 0 for x > x0 , we know
that F (x0 ) is a local (and hence absolute) minimum at x = x0 in I. That means F (x) ≥ 0
for all x ∈ I, thus f (x) ≥ f ′ (x0 )(x − x0 ) + f (x0 ) for all x ∈ I.
16 4.3 How Derivatives Affect the Shape of a Graph goo.gl/11C7Ku
Definition 4 (page 297). A point P on a curve y = f (x) is called an inflection point (反曲
點) if f is continuous there and the curve changes from concave upward to concave downward
505tEz7OtPc
or from concave downward to concave upward at P .
y y
x x
Example 5. Find the concave upward and downward intervals, and inflection points of the
function f (x) = 3x4 − 4x3 − 12x2 + 5 in Example 1. Sketch the graph of f .
Solution. We compute
f ′′ (x) = .
So
x −1 x1 0 x2 2
f 0 f (x1 ) 5 f (x2 ) −27
f′ − 0 + 0 − 0 +
f ′′
f is concave upward on .
f is concave downward on .
(a) If f ′ (c) = 0 and f ′′ (c) > 0, then f has a local minimum at c. EU_LBaZWe4k
Solution.
Solution. jFFuiBKJP4M
18 4.5 Summary of Curve Sketching goo.gl/gJhoUh
f (x)
lim = m 6= 0 and lim (f (x) − mx) = b.
x→∞ x x→∞
Conversely, we have
FBWCqsr2iyk
交 Intercepts: y-intercept f (0), x-intercepts: let y = 0 and solve for x.
極 Local maximum and minimum values: find the critical numbers of f (f ′ (c) = 0 or
f ′ (c) does not exist.)
二 Concavity and points of inflection: compute f ′′ (x) and use the Concavity Test.
圖 Sketch the Curve: use the information in items 1–7, draw the graph.
4.5 Summary of Curve Sketching goo.gl/gJhoUh 19
2x2
Example 1 (page 317). Sketch the curve y = f (x) = x2 −1 .
Solution. eI0fbbIgRy0
A. The domain is .
D. Since
2x2
lim = ,
x→±∞ x2 − 1
2x2 2x2
lim+ = lim− =
x→1 x2 − 1 x→1 x2 − 1
2x2 2x2
lim + 2 = lim − 2 =
x→−1 x − 1 x→−1 x − 1
y′ = .
f ′′ (x) = .
We know f ′′ (x) > 0 on and f ′′ (x) < 0 on . Thus the curve is concave
upward on the interval and concave downward on . It has
no point of inflection since .
2
Example 2 (page 317). Sketch the curve y = f (x) = √x .
x+1
3W1Yt_jtLQg
Solution.
A. The domain is .
C. Symmetry: None.
D. Since
x2
lim √ = ,
x→∞ x+1
x2
lim + √ = ,
x→−1 x+1
y′ = .
We see that f ′ (x) = 0 when , so the only critical number is . Since f ′ (x) > 0
when and f ′ (x) < 0 when , f is increasing on and decreasing
on .
f ′′ (x) = .
Since the numerator is always , we know f ′′ (x) > 0 for all x in the domain of
f , which means f is concave upward on and there is no point of inflection.
Solution. 1Qp4US5GRcA
A. The domain is .
C. Symmetry: None.
D. Since
lim xex = ,
x→∞
x
lim xex = lim = ,
x→−∞ x→−∞ e−x
y′ = .
F. Since f ′ (−1) = 0 and f ′ changes from negative to positive at x = −1, f (−1) = −e−1 is
a by the First Derivative Test.
f ′′ (x) = .
cos x
Example 4 (page 319). Sketch the curve y = f (x) = 2+sin x .
wbkisiSCwIU
Solution.
A. The domain is .
C. Symmetry: f is neither even nor odd. Since f (x + 2π) = f (x) for all x, f is
and has period . Thus, the following steps we only consider 0 ≤ x ≤ 2π and then
extend the curve by translation.
D. Asymptotes: None.
y′ = .
F. From part E and First Derivative Test, the local minimum value is and
local maximum value is .
f ′′ (x) =
Solution. NwfDfOYvDcc
A. The domain is .
D. Since
y′ = .
f ′′ (x) = .
Since f ′′ (x) < 0 for all x, the curve is on and has no inflection
point.
x3
Example 6 (page 320). Sketch the curve y = f (x) = x2 +1 .
aoV6RJZFQ2Y
Solution.
A. The domain is .
x3
f (x) = = ,
x2 + 1
x
f (x) − x = − = .
x2 +1
So the line is a .
y′ = .
f ′′ (x) = .
2. Draw a diagram: In most problems it is useful to draw a diagram and identify the
given and required quantities on the diagram.
5. If Q has been expressed as a function of more than one variable, use the given informa-
tion to find relationships among these variables. Then use these equations to eliminate
all but one of the variables. Thus we get Q = f (x).
6. Use the methods of Section 4.1 and 4.3 to find the absolute maximum or minimum
value of f .
Example 1 (Snell’s Law, 斯乃爾定律, page 268). Let v1 be the velocity of light in air and v2
the velocity of light in water. According to Fermat’s Principle, a ray of light will travel from
a point A in the air to a point B in the water by a path ACB that minimizes the time taken. kZ6gWTJvVNY
Show that
sin θ1 v1
= ,
sin θ2 v2
where θ1 (the angle of incidence) and θ2 (the angle of refraction) are known.
Solution.
26 4.7 Optimization Problems goo.gl/gNJP2d
Example 2 (搬家俱, page 268). A steel pipe is being carried down a hallway a m wide. At
the end of the hall there is a right-angled turn into a narrower hallway b m wide. What is the
eQpoM26CaM4
length of the longest pipe that can be carried horizontally around the corner?
Solution.
Example 3 (看畫、 教室的風水, page 269). A painting in an art gallery has height h and is
hung so that its lower edge is a distance d above the eye of an observer. How far from the wall
t2MdXHcMYZI should the observer stand to get the best view? (In other words, where should the observer
stand so as to maximize the angle θ subtended at his eye by the painting?)
Solution.
4.7 Optimization Problems goo.gl/gNJP2d 27
Example 4. A right circular cone is inscribed in a sphere of radius r. Find the largest
possible volume of such a cone. In this case, what is the height and radius of the cone?
hbKrEiTBiqA
Solution.
Example 5 (折紙問題, page 269). The upper right-hand corner of a piece of paper, 30 cm by
20 cm, 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? FzTOC_OCRC0
Solution.
28 4.7 Optimization Problems goo.gl/gNJP2d
Example 6.
N-KwPosBmfE
(a) Find the point (denote P ) on the line y = x2 that is closest to the point Q(3, 0).
Solution.
Example 7 (電影的極佳位置).
CzCCC_7mTJg
4.9 Antiderivative goo.gl/q3mCPB 29
F (x) + C,
Proof. If F and G are any two antiderivative of f , then F ′ (x) = f (x) = G′ (x). Form the
corollary of the Mean Value Theorem (Section 4.2 Corollary 8), we know G(x) − F (x) = C,
where C is a constant. So G(x) = F (x) + C.
This is a table of antidifferentiation formulas. We use the notation F ′ (x) = f (x) and
G′ (x) = g(x).
gwp9cLFo8Ac
Example 3. Find the most general antiderivative of the function. (Let F (x) is the antideriva-
tive of the function f (x).)
F (x) =
F (x) =
30 4.9 Antiderivative goo.gl/q3mCPB
nb2j0fedk9w
(1) f ′ (x) = 2 cos x + sec2 x, − π2 < x < π2 , f ( π3 ) = 4.
Solution.