Calculus I
Calculus I
Calculus I
1
1 Functions
函數 (function): 兩集合間的一種對應關係 (relation).
Definition 1.1 Let A and B be nonempty subsets of IR.
f : A −→ B is a function from A into B, if
Example. The area A of a circle depends on the radius r, also the area of a
circle is a function of r: A = A(r) = πr2 .
函數類別:
2. Symmetry(對稱型函數):
3. Monotone(單調函數):
2
(b) Transcendental functions (超越函數): 包含 Trigonometric func-
tions(三角函數), exponential functions, logarithmic functions 等.
f (x) = xa ,
where a ∈ IR, a 6= 0.
Definition 1.4 For a fixed real number a > 0 and a 6= 1, the function
f : IR −→ (0, ∞) defined by
f (x) := ax
1. ax ay = ax+y .
ax
2. ay
= ax−y .
3. (ax )y = axy .
4. (ab)x = ax bx .
3
Proof. 公式證明在課本第六章
Example.
Remark.
• 何謂” 指數成長”?
3. (f /g)(x) := f (x)/g(x).
where A ⊆ Df and Df ◦g ⊆ Dg .
4
Rate of Change-Tangents to Curves
(課本的 § 1.4)
令 y = f (x) 為以 x 為變數的函數.
Solution.
5
2. the slope (斜率) of the line through the points (x1 , f (x1 )) and (x2 , f (x2 ).
在幾何上,此直線稱為割線 (secant).
Example. Find the slope of the parabola y = x2 at the point P (2, 4). Write
an equation for the tangent to the parabola y = x2 at this point.
6
2 Limit of a Function
(課本的 §1.5, §1.6, §1.7.)
Example.
x2 −1
1. How does the function f (x) = x−1
behave near x = 1 ? 即 lim f (x) =?
x→1
{ x2 −1
, if x6=1.
2. f (x) = x−1 Then lim f (x) =?
1 , if x=1. x→1
7
Example. If f is the identity function(恆等函數) or a constant func-
tion(常數函數), then limf (x) exist, ∀ c ∈ IR.
x→c
{
x2 + 1 , if x6=1.
Example. Let g(x) =
1 , if x=1.
Solution.
x→1 1←x
x 0.9 0.99 0.9999 · · · 1 · · · 1.0000001 1.0001 1.001 1.01
g(x) 1.81 1.9801 19998 · · · 1 · · · 2.0000002 2.0002 2.002001 2.0201
g(x) → 2 2 ← g(x)
So, lim g(x) = 2.
x→1
Note. In finding lim f (x), we never consider x = a. In fact, f (x) need not
x→a
even be defined when x = a. The only thing that matters is how f is defined
near a.
8
sinx
Example. Guess the value of lim x
.
x→0
cos 5x
Example. Find lim (x3 + 10000
).
x→0
x f (x) = x3 + cos 5x
10000
1 1.000028
0.5 0.124920
0.1 0.001088
0.05 0.000222
0.01 0.000101
0.005 0.00010009
0.001 0.00010000
9
Definition 2.2 (單邊極限: Right Limit and Left Limit)
令 y = f (x) 定義在區間 (interval) I, a, L ∈ IR, a 可以是在 I 裡,也可以
不在裡面但在附近。符號
1. (右極限)
lim+ f (x) = L, or f (x) −→ L as x → a+
x→a
2. (左極限)
lim f (x) = L, or f (x) −→ L as x → a−
x→a−
1. lim f (x) = L
x→a
⇔ at least one of lim+ f (x) and lim− f (x) does not exist, or both exist
x→a x→a
but unequal.
10
√
t2 +9−3
Example. Estimate the value of lim t2
.
t→0
√
2
t f (t) = t +9−3
t2
±0.001 0.166667
±0.0001 0.166670
±0.00001 0.167000
±0.00 · · · 01 0.000000
11
Example. Evaluate each values of the limits.
(f)lim g(x) = 2.
x→5
{
x2 , if x > 2.
Example. 分段定義函數 f (x) =
x + 1 , if x ≤ 2.
Then lim f (x) does not exist.
x→2
1. 數據表
3. ϵ − δ 的極限定義
12
Suppose that lim f (x) = 3.
x→2
If we take ϵ = 2, 則可以選 δ = 1/10, 此時若 x 滿足 0 <| x − 2 |< 0.1, 則
Case 1. 若 x > 2, 則 | f (x) − 3 |=| x2 − 3 |< 2 = ϵ.
Case 2. 若 x < 2, 則 | f (x) − 3 |=| x + 1 − 3 |=| x − 2 |< 2 = ϵ.
−4) 2
Example. Prove that lim 4(xx−2 = 16.
x→2
Proof. Let ϵ > 0 be given.
4(x2 −4)
To show that ∃ δ > 0 such that 0 <| x − 2 |< δ implies | x−2
− 16 |< ϵ.
4(x2 −4)
First, to find δ : Consider | x−2
− 16 |=| 4x − 8 |= 4 | x − 2 |.
So we may take δ = ϵ/4.
Then we see that: ∀ ϵ > 0, take δ = 4ϵ , then
2 −4)
0 <| x − 2 |< δ, implies | 4(xx−2 − 16 |=| 4x − 8 |= 4 | x − 2 |< 4δ = ϵ.
2 −4)
Thus, lim 4(xx−2 = 16.
x→2
ϵ
|(4x − 5) − 7| = |4x − 12| = 4|x − 3| < ϵ ⇔ |x − 3| < .
4
Hence if we take δ = 4ϵ ,then
δ ϵ
0 < |x − 3| < δ ⇒ |(4x − 5) − 7| = |4x − 12| = 4|x − 3| < 4 · = 4 · = ϵ.
4 4
By the definition of the limit, we have lim 4x − 5 = 7.
x→3
13
Example. Show that lim x2 = 9.
x→3
Proof. Let ϵ > 0, since, if take x near 3, then we can assume that 0 <
|x − 3| < 1, and then
√
Example. Show that lim+ x = 0.
x→0√ √
Proof. Let ϵ > 0, since | x − 0| < x < ϵ ⇔ 0 ≤ x < ϵ2 ,
14
Theorem 2.4 (Limit Laws (極限基本運算規則))
If lim f (x) = L and lim g(x) = M exist, where L, M ∈ IR, then
x→a x→a
4. lim f (x)
= L
, if M 6= 0.
x→a g(x) M
√ √ √ √
6. lim n f (x) = n L, if n ∈ IN, n f (x) is defined near a, and n L is
x→a
defined.
8. lim x = a.
x→a
Proof. 1. Let ϵ > 0. Since lim f (x) = L, hence, for ϵ/2 > 0, ∃ δ1 > 0 such
x→a
that
Since lim g(x) = M , hence for ϵ/2 > 0, ∃ δ2 > 0 such that
x→a
15
Corollary 2.5 1. lim xn = an , if n ∈ IN.
x→a
p(x)
3. If r(x) = q(x)
is a rational function and a is in the domain of r, that
is q(a) 6= 0 , then lim r(x) = lim p(x)
= r(a).
x→a x→a q(x)
Note.
Most of the theorems of limit are still valid for one-sided limits just give
some modified and replaced ”x → a ” by ”x → a+ ”, or ”x → a− ”.
Note.
√ √ √
1. lim x and lim x do not exist, because x is not defined near −4
x→−4
√
x→0 √ √ √
and 0. But lim x = 4 = 2 and lim+ x = 0 = 0.
x→4 x→0
√ √
2. lim 3
x= 3
−8 = −2.
x→−8
√ √ √
3. lim 9 − x2 and lim
9 − x2 do not exist, because 9 − x2 is not
x→4 x→3 √ √ √
defined near 4 and 3. But lim 9 − x2 = 5 and lim + 9 − x2 =
√ x→−2 x→−3
0 = 0.
Note. f (x) = g(x) for all x in an open interval containing a, except possibly
at a ⇒ lim f (x) = lim g(x).
x→a x→a
x2 −1
Example. (Rational Functions of x). Find lim .
x→1 x−1
Solution. Since when x 6= 1,
x2 −1 (x+1)(x−1)
x−1
= x−1
= x + 1,
x2 −1
hence lim = lim x + 1 = 2.
x→1 x−1 x→1
16
(3+h)2 −9
Example. (Rational function of h). Find lim h
.
h→0
Solution. 2
−9 (9+6h+h2 )−9 (6h+h2 )
lim (3+h)
h
= lim h
= lim h
= lim h + 6 = 6.
h→0 h→0 h→0 h→0
√
t2 +9−3
Example. lim t2
=?.
t→0√
2 2
Solution. lim t2 +9−3
t2
= lim t2(t(√+9)−9)
t2 +9+3
= lim t2 (√t2t +9+3) = lim (√t2 +9+3)
1
= 16 .
t→0 t→0 t→0 t→0
{
x + 1 , if x6=1.
Example. Determine whether lim g(x) exists if g(x) =
x→1 π , if x=1.
Solution.
{ √
x − 4 , if x>4.
Example. Determine whether lim f (x) exists if f (x) =
x→4 8 − 2x , if x<4.
lim |x| = 0
x→0+
17
Example. Show that lim |x|
x
does not exist.
x→0
|x| −x
Proof. Since lim− x
= lim− x
= lim− (−1) = −1,
x→0 x→0 x→0
Note. The greatest integer function is defined by [x] =the largest integer
that is less than or equal to n, if n ≤ x < n + 1 and n ∈ ZZ. Thus,
x − 1 < [x] ≤ x, ∀ x ∈ IR.
Example. Show that lim [x] does not exist.
x→3
Proof. Since [x] = 2 for 2 < x < 3, hence
Theorem 2.6 Suppose that f (x) ≤ g(x) for all x in an open interval con-
taining a, except possibly at a. And both lim f (x) and lim g(x) exist.
x→a x→a
1
lim x2 sin = 0.
x→0 x
Note.
√
1. 比較 lim x2 sin(1/x), lim x sin(1/x) and lim x sin(1/x).
x→0 x→0 x→0
2. lim x2 sin x1 6= (lim x2 )(lim sin x1 ), since lim sin x1 does not exist.
x→0 x→0 x→0 x→0
19
3 Limits Involving Infinite
(課本的部分 §1.5 與部分 §3.4 .)
1. lim f (x) = ∞
x→a
:⇔ f (x) can be made arbitrarily large by taking x to be sufficiently close
to a on both sides of a but x 6= a.
:⇔ ∀ a large B > 0, ∃δ > 0 such that
2. lim f (x) = −∞
x→a
:⇔ f (x) can be made arbitrarily large negative by taking x to be suffi-
ciently close to a on both sides of a, but x 6= a.
:⇔ ∀ −B < 0, ∃δ > 0 such that
Note. Similar definitions can be given for the one-sided infinite limits:
lim f (x) = ∞, lim− f (x) = ∞, lim+ f (x) = −∞, lim− f (x) = −∞.
x→a+ x→a x→a x→a
20
Example. lim 1
2 = ∞.
x→0 x
Example. lim+ 1
x−1
= ∞. lim 1 = −∞.
x→1 x→1− x−1
1. lim f (x)
= ∞, if g(x) > 0 for all x near a, except possibly at a.
x→a g(x)
2. lim f (x)
= −∞, if g(x) < 0 for all x near a, except possibly at a.
x→a g(x)
Example. Find
(x−2)2
1. lim
x→2 x −4
2
x−3
2. lim+ x2 −4
x→2
21
Definition 3.2 The line x = a is a vertical asymptote(垂直漸近線) of
the curve y = f (x)
2x
Example. Does the curve y = x−3
have a vertical asymptote?
Solution.
Note. Most of the limit laws also hold for limits at infinity just replaced
”x → a ” by ”x → ∞” or ”x → −∞”.
22
Example. Prove that lim x1 = 0.
x→∞
Proof. Let ϵ > 0, since
1 1
| − 0| < ϵ ⇔ <ϵ
x |x|
1
⇔ |x| >
ϵ
1 1
⇔ x < − or x > ,
ϵ ϵ
if we take N = 1ϵ ,then
1
x>N ⇒ x> >0
ϵ
1
⇒ |x| = x >
ϵ
1 1
⇒ | − 0| = < ϵ.
x |x|
1
Thus, lim = 0.
x→∞ x
2. lim 1r = 0.
x→−∞ x
lim (f (x))
x→±∞
an−1 a2 a1 a0
= lim an xn (1 + 1/x + · · + 1/xn−2 + 1/xn−1 + 1/xn
x→±∞ an an an an
= lim an xn = ±∞
x→±∞
3x2 −x+2
Example. lim
5x 2 +4x+1 =?
x→−∞
Solution.
23
5x2 +8x−3
Example. lim 3x2 +2
=?
x→∞
Solution.
2x3 −1
Example. lim 11x+2
=?
x→−∞
Solution.
√
2x2 +1
Example. Find the horizontal asymptotes of the graph of f (x) = 3x−5
.
Solution.
24
Example. Find the horizontal and vertical asymptotes of the curve
x+3
y= .
x+2
Solution.
25
Note. If n ∈ IN is even ⇒ we write lim xn = ∞; if n ∈ IN is odd ⇒ we
x→±∞
write lim xn = ∞ and lim xn = −∞.
x→∞ x→−∞
(x2 +x)
Example. lim .
x→∞ 3−x
√
Example. Evaluate lim ( x2 + 1 − x).
x→∞
Solution.
26
4 Continuity (連續性)
極限與連續的關係
Definition 4.1 Let a ∈ IR. A function f is said to be continuous at a
:⇔ lim f (x) = f (a).
x→a
:⇔ 1. f (a) is defined (that is, a is in the domain of f ),
2. lim f (x) = L exist.
x→a
3. L = f (a).
If a function f is not continuous at a, then f is said to be discontinuous at
a, or say that f has a discontinuity at a
If lim f (x) = f (a) for all a ∈ Df , then we say that f is a continuous
x→a
function.
Example. Where are each of the following functions discontinuous?
x2 −x−2 (x−2)(x+1)
(a) f (x) = x−2
= x−2
is discontinuous at 2.
(d)f (x) = [x] is discontinuous at each n ∈ IN , because lim [x] does not
x→n
exist.
Based on these examples, the following definitions are used to categorize
various types of discontinuities.
27
2. (The discontinuity is called a jump discontinuity): If lim+ f (x) and
x→a
lim− f (x) both exist but are not equal.
x→a
2 −1
Figure 1: Types of discontinuities. In plot (a), upper left, f (x)= xx−1 has
a discontinuity at x = 1 that can be removed by defining f (1)=2. In plot (b),
upper right, the function f defined by f (x) = x + 1 for x 6= 1, f(1)=3 has a
discontinuity at x = 1 that can be removed by redefining f (1) to be equal to
2. In plot (c), lower left, the Heaviside function has a jump discontinuity in
its graph at . In plot (d), lower right, the function f (x) = x12 is discontinuous
at x =0 because of its vertical asymptote.
28
Definition 4.2 (right and left continuity ) Let f be a function of x and
a ∈ IR.
1. f is continuous from the right at a
:⇔ lim+ f (x) = f (a).
x→a
Example. f (x) = [x] is continuous from the right but discontinuous from
the left at each , because, if n ∈ IN, then
29
3. f is a continuous function, because it is continuous on its domain Df =
{x ∈ IR|x 6= 0} .
√
Example. Show that f (x) = 1 − 1 − x2 is continuous on [−1, 1].
Proof. If a ∈ (−1, 1), then 1 − a2 > 0, thus,
√ √
lim f (x) = lim (1 − 1 − x2 ) = 1 − 1 − a2 = f (a).
x→a x→a
√
lim− f (x) = lim− (1 − 1 − x2 ) = 1 = f (1).
x→1 x→1
1. f ± g is continuous at a.
2. c · f is continuous at a.
3. f · g is continuous at a.
4. f /g is continuous at a, if g(a) 6= 0.
Thus,
Therefore, f + g is continuous at a.
Remark.
30
2. A rational function is continuous whenever it is defined, that is, it is
continuous on its domain.
3. If an integer n is even
√
⇒ f (x) = n
x is continuous on [0, ∞).
4. If an integer n is odd
√
⇒ f (x) = n
x is continuous on (−∞, ∞).
Remark. The following types of functions are continuous functions, that is,
they are continuous on their domains:
1. polynomial functions,
2. rational functions,
4. trigonometric functions.
31
Thus, g is continuous on the intervals (−∞, −1),(−1, 1) ,(1, ∞).
√
(3) Since x is continuous on (0, ∞), x+1
x−1
is continuous on (−∞, 1) ∪
(1, ∞) , and x2 +1 is continuous on (−∞, ∞) , hence h is continuous on
x+1
32
Example. Where are the following functions continuous?
1
(a) h(x) = sin(x2 ) (b) F (x) = √
x2 +7−4
.
33
5 Derivatives and Rates of Change
Definition 5.1 We present three kinds of change on geometric relative with
derivatives (導數).
2. (切線斜率) The slope of the tangent line to the curve y = f (x) at the
point (a, f (a)) is
34
P, Q 為曲線 y = f (x) 上相近兩座標點,h 是這兩點在 x-軸的距離。
令 P = (a, f (a)), Q = (x, f (x)) = (a + h, f (a + h)). 通過 P, Q 的直線
P Q 稱為曲線 y = f (x) 上過 P, Q 的割線 (secant line), 其斜率 (Slope) 為
∆y
∆x
= f (a+h)−f
h
(a)
= f (x)−f
x−a
(a)
.
固定 P 點,讓 Q 延曲線 y = f (x) 往 P 滑動,則直線 P Q 斜率亦隨之改變
(h 變小)。當 P = Q, 此直線定義為曲線 y = f (x) 上在點 P 的切線 (The
tangent line to the curve y = f (x) at the point (a, f (a)) (or, at a)). 此切線
斜率 (the slope of the tangent line to the curve y = f (x) at a) (若可測) 則
定義為
∆y f (a + h) − f (a) f (x) − f (a)
lim = lim = lim .
∆x→0 ∆x h→0 h x→a x−a
切線斜率 (the slope of the tangent line to the curve y = f (x) at a) 又稱為
導 (函) 數.
Definition 5.2 The derivative of a function f at a (函數 f 在點 a 的
導數), denoted by f ′ (a), is
f (a + h) − f (a) f (x) − f (a) ∆y
f ′ (a) := lim = lim = lim .
h→0 h x→a x−a ∆x→0 ∆x
35
3. The rate of change of y = f (x) with respect to a is f ′ (a).
Example.
36
6 The Derivative as a Function
Definition 6.1 Given a function f , define a new function f ′ by
f (x + h) − f (x)
f ′ (x) = lim ,
h→0 h
then f ′ is called the derivative (導函數) of f .
Note.
1. f ′ (x) 的另外一種表示法:
f (z) − f (x)
f ′ (x) = lim .
z→x z−x
√
Example. Let f (x) = x − 1. Find the derivative of f and state the
domain of f ′ .
Solution. f ′ (x) = 2√x−1
1
.
The domain of f : Df = [1, ∞).
The domain of f ′ : Df ′ = Df − {1} = (1, ∞).
37
Example. Find f ′ , if f (x) = 1−x
2+x
.
1−(x+h)
− 1−x
Solution. limh→0 f (x+h)−f
h
(x)
= limh→0 2+(x+h)h 2+x
−3h −3
= limh→0 h(x2 +4x+4+xh+2h) = (2+x) 2.
38
Example. Where is f (x) = |x| differentiable?
Solution. The function
f can also be written as the piecewise-defined func-
− x , if x < 0.
tion f (x) = |x|= 0 , if x = 0.
x , if x > 0.
If x < 0 , then x + h < 0 for all sufficiently small h 6= 0 , so
f (x + h) − f (x)
f ′ (x) = lim
h→0 h
−(x + h) − (−x)
= lim
h→0 h
−h
= lim = −1.
h→0 h
If x = 0, then
|h|
lim f (0+h)−f
h
(0)
= lim does not exist, since
h→0 h→0 h
|h| |h| −h
lim+ h
= lim+ h
h
= 1, and lim− h
= lim− h
= −1 are different.
h→0 h→0 h→0 h→0
39
Note. A function f is not differentiable at a, if one of the following is true:
1. f is discontinuous(不連續) at a;
3. The curve y = f (x) has a vertical tangent (垂直切線) at (a, f (a)), that
is, f is continuous at a and lim |f ′ (x)| = ∞.
x→a
′′
Example. Let f (x) = x3 − x. Find and interpret f (x).
Solution.
f (x + h) − f (x)
f ′ (x) = lim
h→0 h
[(x + h)3 − (x + h)] − [x3 − x]
= lim
h→0 h
3x h + 3xh + h3 − h
2 2
= lim
h→0 h
= lim 3x2 + 3xh + h2 − 1
h→0
= 3x − 1.
2
40
Then,
′′ f ′ (x + h) − f ′ (x)
f (x) = lim
h→0 h
[3(x + h)2 − 1] − [3x2 − 1]
= lim
h→0 h
3x + 6xh + 3h2 − 1 − 3x2 + 1
2
= lim
h→0 h
= lim (6x + 3h)
h→0
= 6x.
′′
We can interpret f (x) as the slope of the curve y = f ′ (x) at the point
(x, f ′ (x)). Moreover,
′′ ′′
(3) f (x + h) − f (x)
f (x) = lim
h→0 h
6(x + h) − 6x
= lim
h→0 h
= 6,
41
7 Basic Differentiation Formulas
Theorem 7.1 1. d
dx
(c) = 0, where c ∈ IR .
d
2. dx
(x) = 1.
Proof.
1. Let f (x) = c for all x ∈ IR, then
d n (x + h)n − xn
(x ) = lim
dx h→0 h
[x + (n1 )xn−1 h + · · · + (nn−1 )xhn−1 ] − xn + hn
n
= lim
h→0 h
(n1 )xn−1 h + (n2 )xn−2 h2 + · · · + (nn−1 )xhn−1 + hn
= lim
h→0 h
n n−1
= lim ((1 )x + (2 )x h + · · · + (nn−1 )xhn−1 + hn−1 )
n n−2
h→0
= (n1 )xn−1 = nxn−1 .
Note:
n!
(nk ) = .
k!(n − k)!
1
Example. Differentiate f (x) = x2
.
Solution.
f (x) = x12 = x−2 , so
f ′ (x) = −2x−2−1 = −2x−3 .
√
3
Example. Differentiate y = x2 .
Solution.√3
y = x2 = x2/3 , so
dy
dx
= 23 x(2/3)−1 = 23 x−1/3 .
42
Remark. The normal line(法線) to a curve C : y = f (x) at a point P is
the line through P that is perpendicular (垂直) to the tangent line at P .
Example.
√ Find equations of the tangent line and normal line to the curve
y = x x at the point (1, 1).
Solution. √
Let f (x) = √ x x. Then
dy
dx
= f ′ (x) = 23 x.
So the slope of the tangent line at (1, 1) is f ′ (1) = dx
dy
|x=1√= 32 .
Then the equation of the tangent line to the curve y = x x at (1, 1) is
3 3 1
y − 1 = (x − 1) or y = x − .
2 2 2
√
Then the equation of the normal line to the curve y = x x at (1, 1) is
2 2 5
y − 1 = − (x − 1) or y = − x + .
3 3 3
1. d
dx
(cf (x)) d
= c dx (f (x)), where c ∈ IR.
2. d
dx
(f (x) ± g(x)) = d
dx
(f (x)) ± d
dx
(g(x)).
2. d
dx
(f (x) + g(x)) = lim (f +g)(x+h)−(f
h
+g)(x)
h→0
= lim f (x+h)+g(x+h)−f
h
(x)−g(x)
h→0
= lim f (x+h)−f (x)+g(x+h)−g(x)
h
= lim ( f (x+h)−f
h
(x)
+ g(x+h)−g(x)
h
)
h→0 h→0
= lim f (x+h)−f
h
(x)
+ lim g(x+h)−g(x)
h
, since the both limits exist.
h→0 h→0
d d
= dx (f (x)) + dx (g(x)).
43
Example. Find d
dx
(x8 + 12x5 − 4x4 + 10x3 − 6x + 5)
Solution.
d 8
(x + 12x5 − 4x4 + 10x3 − 6x + 5)
dx
dx8 dx5 dx4 dx3 dx d5
= + 12 −4 + 10 −6 +
dx dx dx dx dx dx
= 8x7 + 60x4 − 16x3 + 30x2 − 6 + 0
= 8x7 + 60x4 − 16x3 + 30x2 − 6.
Example. Find the points on the curve y = x4 − 6x2 + 4 where the tangent
line is horizontal.
Solution.
dy
dx
= 4x3 − 12x = 4x(x2 − 3).
If the tangent line to this curve is horizontal (水平線), then the slope of the
dy
tangent line is 0, i.e., dx = 0.
√
dy
= 4x 3
− 12x = 4x(x 2
− 3) = 0, if x = 0 or x = ± 3.
dx √
Thus, the given curve√has horizontal √ tangent lines at x = 0 and x = ± 3
(i.e., at points (0, 4), ( 3, −5), (− 3, −5)).
44
The Product and Quotient Rules
Proof.
1. By the definition of the derivative,
d
dx
(f (x)g(x))
f (x+h)g(x+h)−f (x)g(x)
= lim h
h→0
f (x+h)g(x+h)−f (x+h)g(x)+f (x+h)g(x)−f (x)g(x)
= lim h
h→0
f (x+h)[g(x+h)−g(x)]+[f (x+h)−f (x)]g(x)
= lim h
h→0
= lim {f (x + h) [g(x+h)−g(x)]
h
+ g(x) [f (x+h)−f
h
(x)]
}
h→0
lim f (x + h) = f (x).
h→0
Thus, d
dx
(f (x)g(x)) = f ′ (x)g(x) + f (x)g ′ (x).
45
Solution.
d(xg(x)) dg(x) dx
h′ (x) = = x + g(x)
dx dx dx
′
= xg (x) + g(x).
Then, h′ (3) =
x2 +x−2 dy
Example. Let y = x3 +6
. Find dx
.
Solution.
2 +x−2) 3
dy (x3 + 6) d(x dx
− (x2 + x − 2) d(xdx+6)
=
dx (x3 + 6)2
=
√
Example. Find a equation of the tangent line to the curve y = (1+xx2 ) at
(1, 12 ).
Solution.
dy
Find the value dx |x=1 . √
An equation of the tangent line to the curve y = (1+xx2 ) at (1, 12 ) is then
1 dy
y= + |x=1 (x − 1)
2 dx
46
8 Derivatives of Trigonometric Functions
The Sine and Cosine Functions
Theorem 8.1
sin θ
lim = 1.
θ→0 θ
π
Proof. 1. Suppose first that θ is positive and less than 2
. Consider the
picture:
47
sin(7x)
Example. Find lim .
x→0 4x
48
Example. Prove that lim cos(θ)−1
θ
= 0.
θ→0
1. d
dx
sin x = cos x, (x ∈ IR).
2. d
dx
cos x = − sin x, (x ∈ IR).
d sin(x + h) − sin(x)
sin x = lim
dx h→0 h
(sin x cos h + cos x sin h) − sin(x)
= lim
h→0 h
sin x(cos h − 1) + cos x sin h
= lim
h→0 h
= (sin x) · 0 + (cos x) · 1 = cos x.
2.
d cos(x + h) − cos(x)
cos x = lim
dx h→0 h
(cos(x) cos(h) − sin(x) sin(h)) − cos(x)
= lim
h→0 h
cos(x)(cos(h) − 1) sin(h)
= lim − lim sin(x)
h→0 h h→0 h
cos(h) − 1 sin(h)
= lim cos(x) · lim − lim sin(x) · lim = − sin x.
h→0 h→0 h h→0 h→0 h
d
Example. Find dx
(tan x).
49
Solution.
d d sin x
(tan x) = ( )=
dx dx cos x
2. d
dx
cos x = − sin x, for x ∈ IR.
50
3. d
dx
tan x = sec2 x, for x 6= ± π2 , ± 3π
2
· ··).
4. d
dx
cot x = − csc2 x, for x 6= 0, ±π, ±2π · ··).
5. d
dx
sec x = (sec x)(tan x), for x 6= ± π2 , ± 3π
2
· ··).
6. d
dx
csc x = −(csc x)(cot x), for x 6= 0, ±π, ±2π · ··).
y ′ = sec x tan x.
y ′′ = sec3 x + sec x tan2 x.
sec x
Example. Differentiate f (x) = 1+tan x
. For what values of x does the graph
of f have a horizontal tangent ?
Solution.
51