Math 1007 Notes
Math 1007 Notes
Hua
Contents
Precalculus Review 3
Chapter 1 – Functions 7
1.1 Functions and their graphs . . . . . . . . . . . . . . . . . 7
1.2 Combining Functions: Shifting and scaling func-
tions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3: Trigonometric functions . . . . . . . . . . . . . . . . . . . 10
1.5 Exponential functions . . . . . . . . . . . . . . . . . . . . . . 13
1.6 Inverse functions and Logarithms . . . . . . . . . . . 15
1
Chapter 4. Applications of Derivatives 43
4.1 Extreme values of functions on Closed Intervals 43
4.2 The Mean Value Theorem . . . . . . . . . . . . . . . . . . 44
4.3 Monotonic functions and the first derivative
test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.4 Concavity and curve sketching . . . . . . . . . . . . . . 47
4.5 Indeterminate Forms and L’Hopital’s Rule . . . 51
4.8 Antiderivatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Chapter 5. Integrals 54
5.1- 5.2 Area, Sigma notation and limits of finite
sum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.3 The Definite Integral . . . . . . . . . . . . . . . . . . . . . . . 54
5.4 The Fundamental Theorem of Calculus . . . . . . 56
5.6 Area Between Curves . . . . . . . . . . . . . . . . . . . . . . 58
2
Precalculus Review
x−n = 1
xn
, x ̸= 0.
√ √
x1/n = n
x, xm/n = n
xm .
(xm )n = xmn .
xn y n = (xy)n .
For Example,
x3/2 + 5x2
= x(1 + 5x1/2 ).
x1/2
3. Factoring Polynomials
Polynomial P (x) = an xn + an−1 xn−1 + · · · + a1 x + a0 has a zero at x = a IFF
P (a) = 0
IFF
P (x) = (x − a)Q(x).
a0
P (x) = 0 has a rational root x = a IFF a is a factor of .
an
3
Example 1. Factor P (x) = 3x3 − 5x2 + 8x − 4.
−4
Solution: Factors of : ±1, ±2, ±4, ± 13 , ± 23 , ± 34 .
3
Note that P (2/3) = 0. A factor is 3x − 2.
a2 − b2 = (a − b)(a + b).
a3 − b3 = (a − b)(a2 + ab + b2 )
a3 + b3 = (a + b)(a2 − ab + b2 ).
(a ± b)2 = a2 ± 2ab + b2 .
Solution:
x4 + x2 + 1 = x4 + 2x2 + 1 − x2
= (x2 + 1)2 − x2
= (x2 + 1 − x)(x2 + 1 + x).
4. Solving inequalities
−2x − 3 ≤ −13.
4
Solution: We have
The next step would be to divide both sides by −2. Since −2 < 0, the sense of the inequality
is inverted, and so
−10
−2x ≤ −10 ⇒ x ≥ ⇒ x ≥ 5.
−2
x2 + 2x − 35 < 0.
On the last row, the sign of the product (x + 7)(x − 5) is determined by the sign of each of
the factors x + 7 and x − 5.
From the sign diagram above we see that
Notice that we exclude both x = −7 and x = 5 in the set, as (x + 7)(x − 5) vanishes there.
5. Absolute Values
|x| ≤ t ⇐⇒ −t ≤ x ≤ t.
5
|x| ≥ t ⇐⇒ x ≥ t or x ≤ −t.
Solution:
|2x − 1| ≤ 1 ⇐⇒ −1 ≤ 2x − 1 ≤ 1 ⇐⇒ 0 ≤ 2x ≤ 2 ⇐⇒ 0 ≤ x ≤ 1 ⇐⇒ x ∈ [0, 1] .
Solution:
√ √
x x( x + 4 + 2) x( x + 4 + 2) √
√ = √ √ = = x + 4 + 2.
x+4−2 ( x + 4 − 2)( x + 4 + 2) x
6
Chapter 1 – Functions
Function: A function y = f (x) from a set D to a set Y is a rule that assigns a unique
element f (x) ∈ Y to each element x ∈ D. (x is called independent variable, y is called
dependent variable).
Domain of the function y = f (x): D = The set of all values of the independent variable
x for which the function is defined.
Range of the function: R = The set of all values of f (x) as x varies throughout D.
7
Algebraic function: functions using algebraic operations (+, -, ×, ÷ and taking roots)
starting with polynomials. E.g.,
8
1.2 Combining Functions: Shifting and scaling
functions
New Functions:
Vertical stretch by a factor of c: f (x) → cf (x), c > 1;
Vertical shift up (or down) by k: f (x) → f (x) + k, k > 0 (or k < 0);
Horizontal shift to the right (or left) by h: f (x) → f (x − h), h > 0 (or h < 0);
Composite function f (g(x)) or f ◦g(x). The domain of f ◦g(x) is the set of all x ∈ D(g)
such that g(x) ∈ D(f ).
√
Example 9. Let f (x) = 2x − 4. Find the new function after shifting downward by 2
units, then shifting left by 3 units, then compressing vertically by 4 units.
p
Solution: 14 ( 2(x + 3) − 4 − 2).
√ √
Example 10. Let f (x) = 2x − 4, g(x) = 3 − 2x.
p √
Then f (g(x)) = 2 3 − 2x − 4 with
p D(f√ ◦ g) = {x ≤ −0.5} (the solution of 3 − 2x ≥ 0
√
and 2 3 − 2x − 4 ≥ 0). g(f (x)) = 3 − 2 2x − 4, D(g ◦ f ) = {2 ≤ x ≤ 3.125} (the
√
solution of 2x − 4 ≥ 0 and 3 − 2 2x − 4 ≥ 0).
9
1.3: Trigonometric functions
t
Radian ⇆ Degree: t degree = 180
π.
Consider a right triangle:
opposite adjacent sin t
sin t = , cos t = , tan t = ,
hypothenuse hypothenuse cos t
1 1 1
sec t = , csc t = , cot t = .
cos t sin t tan t
Basic relations:
Half-angle formula.
1 − cos 2x 1 + cos 2x
sin2 x = , cos2 x = .
2 2
Periods: sin x and cos x have period 2π, tan x and cot x have period π.
Graphs.
10
sin x
1
0.8
0.6
0.4
0.2
−0.2
−0.4
−0.6
−0.8
−1
0 pi/2 pi 3pi/2 2pi
cos x
1
0.8
0.6
0.4
0.2
−0.2
−0.4
−0.6
−0.8
−1
0 pi/2 pi 3pi/2 2pi
tan x
6
−2
−4
−6
−6 −4 −2 0 2 4 6
Example 11. Find all values of x in the interval [0, 2π] such that sin2 x − 3 cos2 x = 0.
π 2π 4π 5π
Solution: 3
, 3, 3, 3.
Example 12. Find cos x where x ∈ [ π2 , 2π] such that sin x = 0.8.
11
y −1
Solution: tan x = x
= 5
.
π
Example 14. Evaluate sin 12 .
π 4π 3π
Solution: 12
= 12
− 12
.
Special inequalities:
12
1.5 Exponential functions
P (t) = P0 at , a > 0, a ̸= 1,
a = P (t + 1)/P (t).
.
If we use base e = 2.71828, then we have Natural Exponential Function:
P (t) = P0 at = P0 ekt , a = ek ,
Special cases:
Half-life (exponential decay): The time required for the quantity to be reduced to half.
Let H be the half-life, then
1 1
P (t + H) = P (t) ⇒ P (t) = P0 ( )t/H .
2 2
Doubling-time (exponential growth): The time required for the quantity to be doubled.
Let D be the doubling time, then
13
Example 15. A bacterial culture starts with 500 bacteria and doubles in size every hour.
a) How many are there after t hours?
b) How many are there after 10 minutes?
Solution: a) Let P (t) be the number after t hours. Then P (0) = 500, P (t+1) = 2P (t).
D = 1.
P (t) = (500)2t/1 = (500)2t .
b) P (10/60) = (500)210/60 = (500)21/6 .
Compounded continuously:
A = P ert .
Example 19. Suppose $12000 is put into an account that pays 2.4% annually. How much
will be in the account after 10 years?
a) compounded continuously.
b) compounded quarterly. What is the effective rate?
Solution: a)
A = P ert = 12000e0.024(10) = 12000e0.24 .
b)
4(10)
r nt
0.024
A=P 1+ = 12000 1 + = 12000 (1.006)40 .
n 4
14
1.6 Inverse functions and Logarithms
One-to-one function: y = f (x) is 1-1 ⇔ for each y ∈ R, there is only one x ∈ D. Hori-
zontal line test can be used to check this ⇔ f (x1 ) ̸= f (x2 ) for any x1 ̸= x2 in D.
The graph of f −1 and the graph of f are symmetric about the line y = x.
Cancelation: f (f −1 (y)) = y.
f −1 (f (x)) = x
Solution:
Strategy:
1) Write y = 3x+2
5x−4
;
3y+2
2) Switch x and y: x = 5y−4 ;
4x+2
3) Isolate y: y = 5x−3 ;
4) Answer: y = f −1 (x) = 4x+2
5x−3
.
15
1. loga (BC) = loga B + loga C,
2. loga ( B
C
) = loga B − loga C,
3. loga (B n ) = n loga B,
5. aloga B = B,
6. loga 1 = 0.
logc b
7. Change of base: loga b = logc a
.
ax = ex ln a .
16
Inverse Trig Function Restriction (Range) Meaning
−1
t = arcsin x or t = sin (x) − π2 ≤ t ≤ π2 sin t = x
t = arccos x or t = cos−1 (x) 0≤t≤π cos t = x
t = arctan x or t = tan−1 (x) − π2 < t < π2 tan t = x
1.5
0.5
−0.5
−1
−1.5
−2
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
arccos x
3.5
2.5
1.5
0.5
0
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
arctan x
1.5
0.5
−0.5
−1
−1.5
−10 −8 −6 −4 −2 0 2 4 6 8 10
17
Example 28. Find the exact values of the following expressions: (a) arcsin(1) (b) arctan(−1)
√ √
(c) tan−1 ( 3) (d)sin[cos−1 ( 23 )]
18
Chapter 2 – Limits and Continuity
The average rate of change of y = f (x) with respect to x over the interval [x1 , x2 ] is
Instantaneous rates of change and tangent lines: What is a tangent line at point P
on a curve? We chose another point Q on the curve. The line P Q is called a secant line.
When Q tends to P, the secant PQ will tends to a line, which is called a the tangent line of
the curve at P.
Example 31. Estimate the slope of the tangent line to the parabola y = x2 at the point
(2, 4).
Solution:
x2 − 4
m= .
x−2
x m
2.1 4.1
2.01 4.01
2.001 4.001
1.9 3.9
1.99 3.99
1.999 3.999
19
2.2 Limit of a Function and limit laws
Definition 2. We write
lim f (x) = L
x→a
and say ”as x approaches a, the limit of f (x) is L.” If L is a finite number, we say that the
limit exists, otherwise, the limit does not exist.
Example. Estimate the limit of
x2 − 1
lim .
x→1 x − 1
lim (cf (x) ± dg(x)) = c lim f (x) ± d lim g(x), c, d are constants.
x→a x→a x→a
Example 32.
2 2 3x4 + 8x − 2 3(1)4 + 8(1) − 2
lim (x − 3) = 1 − 3 = −2, lim = = −9.
x→1 x→1 x−2 1−2
20
Special case:
f (x)
lim where g(a) = 0.
x→a g(x)
f (x)
If f (a) ̸= 0, then limx→a g(x)
does not exist.
f (x)
If f (a) = 0, then simplify g(x)
first, then study the limit.
Example 33.
3x4 + 8x − 2 x−2
lim ∄, lim = 1.
x→2 x−2 x→2 x − 2
Example 34.
x2 − 4
lim = lim (x + 2) = 4,
x→2 x − 2 x→2
2
(h + 1) − 1 h(h + 2)
lim = lim = lim (h + 2) = 2,
h→0
√ h h→0
√ h h→0
√
x+4−2 ( x + 4 − 2)( x + 4 + 2) x
lim = lim √ = lim √
x→0 x x→0 x( x + 4 + 2) x→0 x( x + 4 + 2)
1 1
= lim √ = .
x→0 x+4+2 4
Theorem 2. The Sandwich Theorem (The Squeeze Theorem): If f (x) ≤ g(x) ≤ h(x) near
x = a, and limx→a f (x) = limx→a h(x) = L, then limx→a g(x) = L.
21
2.4 One-sided limits
Definition 3. We write
lim f (x) = L
x→a−
and say that the limit of f (x) is L as x approaches a from the left. Similarly, We write
lim f (x) = L
x→a+
and say that the limit of f (x) is L as x approaches a from the right.
Theorem 3.
lim f (x) = L ⇔ lim− f (x) = L and lim+ f (x) = L.
x→a x→a x→a
lim H(t) = 1,
t→2
|x|
Example 38. lim ∄.
x→0 x
|x| |x|
∵ lim− x
= −1, lim+ x
= 1.
x→0 x→0
22
Limits of trig functions:
Famous result:
sin h
lim = 1.
h→0 h
This will imply that
cos h − 1 cos2 h − 1 sin h sin h
lim = lim = lim = 0.
h→0 h h→0 h(cos h + 1) h→0 h cos h + 1
Example 41.
sin 2x sin 2x 3x 2x 2
lim = lim · · = .
x→0 sin 3x x→0 2x sin 3x 3x 3
2.5 Continuity
Definition 5. If limx→a− f (x) = f (a), then f (x) is continuous from the left at x = a; if
limx→a+ f (x) = f (a), then f (x) is continuous from the right at x = a.
23
Theorem 5. Polynomials, rational functions, root functions, trig functions, inverse trig
functions, exponential functions and logarithmic functions are continuous in their domain.
Example 46.
√ √
1− x 1− x 1 π
lim arcsin( ) = arcsin(lim ) = arcsin( ) = .
x→1 1−x x→1 1 − x 2 6
Example 47.
x+2
f (x) = , g(x) = x2 , consider a = 2 and a ̸= 2.
x−4
Theorem 7. (The Intermediate Theorem) If f (x) is continuous on [a, b], and N between
f (a) and f (b), then ∃c ∈ [a, b] such that f (c) = N .
Example 48.
4 −9x
+ =0
x − 5 (x + 1)(x − 2)(x + 3)
has solutions in (0, 1).
4 −9x
Proof. Let f (x) = x−5 + (x+1)(x−2)(x+3) . Then f (x) is continuous on [0,1]. f (0) = −4/5,
f (1) = 1/8. The conclusion follows from The Intermediate Theorem.
Solution:
lim− f (x) = 1 − k, lim f (x) = 1 − 1 + 4 = 4. Since lim f (x)∃, 1 − k = 4,, i.e., k = −3.
x→1 x→1+ x→1
To be continuous at x = 1, f (x) = lim f (x), we have 2 + 3c = 4, c = 2/3.
x→1
24
2.6 Limits involving infinity; Asymptotes of graphs
Part 1: Limits at ∞, HA
Definition 6. The line y = L is called a horizontal asymptote of the curve y = f(x) if either
3x2 −x−1
Example 50. f (x) = 2x2 +3x
has horizontal asymptote y = 32 .
0,
if n < m;
an xn +an−1 xn−1 +···+a0 an
Example 51. lim bm xm +bm−1 xm−1 +···+b0 = b
, if n = m; .
x→∞
n
±∞, if n > m.
π π
lim tan−1 x = or lim tan−1 x = − .
x→∞ 2 x→−∞ 2
Solution:
√ √
√ ( x2 + 1 − x)( x2 + 1 + x) 1
2
lim ( x + 1 − x) = lim √ = lim √ = 0.
x→∞ x→∞ x2 + 1 + x x→∞ x2 + 1 + x
Thus, HA: y = 0 .
25
Solution:
√ √
√ ( x2 + 5x + 1 − x)( x2 + 5x + 1 + x)
2
lim ( x + 5x + 1 − x) = lim √
x→∞ x→∞ x2 + 5x + 1 + x
5x + 1 5
= lim √ = .
x→∞ x2 + 5x + 1 + x 2
5
Thus, HA: y = 2
.
Definition 7.
lim f (x) = ∞
x→a
lim f (x) = −∞
x→a
Definition 8. The line x = a is called a vertical asymptote of the curve y = f (x) if at least
one of the following statements is true:
Example 58. Find the infinite limits, limits at infinity, and asymptotes for the function f
from its graph.
1
Example 59. f (x) = x
has HA: y = 0 and VA: x = 0.
Example 60. Find the horizontal and vertical asymptotes of the graph of the function
√
2x2 + 1
f (x) = .
4x − 8
26
Solution: √ √ √ √
2x2 + 1 2 2x2 + 1 2
lim = , lim =− .
x→∞ 4x − 8 4 x→−∞ 4x − 8 4
√ √
Thus, HA: y = 42 and y = − 4
2
.
VA: 4x − 8 = 0 ⇒ x = 2.
The notation lim f (x) = ∞ is used to indicate that the values of f(x) become large as
x→∞
x becomes large. Similar meanings are for
27
Chapter 3. Derivatives
Solution:
f (5 + h) − f (5) (5 + h)2 − 52
f ′ (5) = lim = lim = 10.
h→0 h h→0 h
Definition 10. Let P = (a, f (a)) be a point on the curve y = f (x). The tangent of f (x) at
P is the line through P with slope
y = f (x) = 3x2 − 6x + 1
28
Solution: a = 2, f (a) = 1.
Example 66. Find the tangent line to the hyperbola xy = 4 at the point (1, 4).
Example 67. Find the slope of the tangent line to the curve y = √1 at the point (0, 1).
x+1
Solution: a = 0,
√ 1
√
f (0 + h) − f (0) 0+h+1
−1 1− h+1
m = lim = lim = lim √
h→0 h h→0 h h→0 h h + 1
−h 1
= lim √ √ =− .
h→0 h h + 1(1 + h + 1) 2
Definition 11. The derivative of the function y = f (x) is the function f ′ (x):
f (x + h) − f (x)
f ′ (x) = lim .
h→0 h
29
Definition 12. (One sided derivatives):
f (a+h)−f (a)
Right-hand derivative at a: f ′ (a+) = lim+ h
.
h→0
f (a+h)−f (a)
Left-hand derivative at a: f ′ (a−) = lim− h
.
h→0
√
Example 68. Let f (x) = x − 3. Find f ′ (x) and state the domains of f and f ′ .
Solution:
√ √
′ f (x + h) − f (x) x+h−3− x−3
f (x) = lim = lim
h→0 h h→0 h
√ √ √ √
( x + h − 3 − x − 3)( x + h − 3 + x − 3)
= lim √ √
h→0 h( x + h − 3 + x − 3)
h 1 1
= lim √ √ = lim √ √ = √ .
h→0 h( x + h − 3 + x − 3) h→0 x + h − 3 + x − 3 2 x−3
The domain of f : x − 3 ≥ 0, x ≥ 3.
√
The domain of f ′ : x − 3 ≥ 0 and 2 x − 3 ̸= 0 , x > 3.
Solution: (
1, if x > 0;
f ′ (x) = f ′ (0)∄.
−1, if x < 0.
30
3.3 Differentiation rules
(ex )′ = ex , (ax )′ = ax ln a.
Example 71. Let f (x) = 4x3 + 6x2 − 23x + 7. Find the equation of the tangent line at
(1, −6).
Solution: f ′ (x) = 12x2 + 12x − 23. Let y = mx + b be the tangent line. Then
m = f ′ (1) = 1, ⇒ y = x + b.
√
Example 72. Find the equation of the tangent line to f (x) = 2 x − 3 at (4, 1).
Example 73. Find the equation of the line(s) that pass through the point P (2, 9) and are
tangent to f (x) = −x2 + 2x. Sketch the graph.
Solution: f ′ (x) = −2x + 2. Let (a, f (a)) be a point on the curve whose tangent line
goes through P (2, 9). Then m = −2a + 2 ⇒
f (a) − 9
= −2a + 2, ⇒ a = −1, 5.
a−2
When a = −1, m = 4 ⇒ y = 4x + 1;
When a = 5, m = −8 ⇒ y = −8x + 25.
31
Example 74. At what point(s) on the curve y = ex is the tangent line
a) parallel to y = 3x − 2?
b) perpendicular to y = −2x?
Product rule:
[f (x)g(x)]′ = f ′ (x)g(x) + f (x)g ′ (x).
Quotient rule: ′
f ′ (x)g(x) − f (x)g ′ (x)
f (x)
= .
g(x) g(x)2
√
Example 75. Let f (x) = ( x + x2 )(x3 + x). Calculate f ′ (4).
Example 76. Let f (x) = (x3 + 4x2 )(x5 + x + 1). Calculate f ′ (1) and the tangent at (1, 15).
x2 −4
Example 77. At what point(s) on the curve y = x+1
is the tangent line
a) parallel to y = 3x?
b) perpendicular to y = −0.5x?
32
√
x2 +2x+4
a) Let y ′ = 3 ⇒ (x+1)2
=3⇒ 2x2 + 4x − 1 = 0 ⇒ x = −1 ± 6
2 √
.
2
b) y ′ = − −0.5
1
= 2 ⇒ x(x+1)
+2x+4
2 = 2 ⇒ x2 + 2x − 2 = 0 ⇒ x = −1 ± 2
3
.
dy (n−1)
′′ ′′ d df d dy (n) (n) d
y (x) = f (x) = = , y (x) = f (x) = .
dx dx dx dx dx dx
Example 78. Let f (x) = 4x3 + 6x2 − 23x + 7. Then f ′′ (x) = 24x + 12, f ′′′ (x) = 24 and
f (4) (x) = 0.
Example 79.
1
(xn )(n) = n!, ( )(n) = (−1)n n!x−n−1 .
x
x
Example 80. Let f (x) = ex
. Calculate f (n) (x).
Solution:
1−x
f ′ (x) = ,
ex
−(2 − x)
f ′′ (x) = ,
ex
(3 − x)
f ′′′ (x) = ,
ex
..
.
(−1)n+1 (n − x)
f (n) (x) = .
ex
The derivative f ′ (a) is the instantaneous rate of change of f (x) with respect to x at a.
33
Solution:
4
dV V (r + h) − V (r) π(r + h)3 − 43 πr3
= lim = lim 3
dr h→0 h h→0 h
4 (r + h)3 − r3 4 3r2 h + 23rh2 + h3
= π lim = π lim = 4πr2 .
3 h→0 h 3 h→0 h
The derivative is the surface area.
change in distance ∆s
average velocity = v̄ = vavg = = .
change in time ∆t
Instantaneous velocity, or velocity, or rate of change at t is
f (t + h) − f (t)
v(t) = lim = f ′ (t).
h→0 h
Speed:
speed = |v(t)|.
Acceleration:
a(t) = v ′ (t) = f ′′ (t).
Jerk:
j(t) = a′ (t) = f ′′′ (t).
Solution:
34
a) s(0) = 0, v(0) = s′ (0) = 63, a(0) = s′′ (0) = −30.
b) v(1) = s′ (1) = 36, v(4) = s′ (4) = −9.
c) s′ (t) = 3t2 − 30t + 63 = 0, ⇒ t = 3, 7.
d) s′ (t) = 3t2 − 30t + 63 > 0, ⇒ 0 < t < 3, or t > 7.
e) s′′ = 0 ⇒ t = 5.
s = t2 − 3t + 5.
Solution:
t2 − 3t + 5 − 3
v(1) = lim = −1.
t→1 t−1
It means move backward.
t2 − 3t + 5 − 9
v(4) = lim = 5.
t→1 t−4
It means move forward.
Example 84. A spherical balloon is being inflated. Find the rate of change of the volume
with respect to the radius when the radius is 2cm.
35
3.5 Derivatives of trigonometric functions
(sin x)′ = cos x, (cos x)′ = − sin x, (tan x)′ = sec2 x, (sec x)′ = sec x tan x, ...
1+cos x
Example 85. Differentiate csc x, cot x, ex cos(x), 1+sin x
, ex sin x.
Example 87. Given the position function s = f (t) = 2 sin(t), calculate the velocity and
acceleration at t = π3 .
Chain Rule:
df (g(x)) df (v) dg(x) dy dy du
[f (g(x))]′ = f ′ (g(x))g ′ (x), = · , v = g(x), = · .
dx dv dx dx du dx
Solution: f ′ (x) = 100(x2 − x − 1)99 (x2 − x − 1)′ = 100(x2 − x − 1)99 (2x − 1).
Example 89. Let h(x) = g(f (x)), where f ′ (2) = 3, f (2) = 4, g ′ (3) = −5, g(4) = 8,
g ′ (4) = 7. Find h′ (2).
Solution: h′ (x) = g ′ (f (x))f ′ (x) ⇒ h′ (2) = g ′ (f (2))f ′ (2) = g ′ (4)(3) = 7(3) = 21.
p √
Example 90. Let y = x+ x2 + x. Calculate y ′ .
36
Solution:
1 1 √
p y′ =
√ (x + x2 + x)′
2 x + x2 + x
1 1 1 2 ′ 1 2x + 1
= p √ 1+ √ (x + x) = p √ 1+ √
2 x + x2 + x 2 x2 + x 2 x + x2 + x 2 x2 + x
Solution:
f ′ (x) = 2x cos x2 .
g ′ (x) = 2 sin x cos x.
h′ (x) = (cos x)esin x .
k ′ (x) = cos(cos(tan x)))(− sin(tan x))(sec2 x).
37
3.7 Implicit differentiation
isolate y ′ .
Solution: 1)
d 2 d y − 2x
(y + x2 ) = (xy + 3), ⇒ 2yy ′ + 2x = y + xy ′ , ⇒ y ′ = .
dx dx 2y − x
Solution:
1 − sec2 (xy + x) (y + 1)
sec2 (xy + x) (y + xy ′ + 1) = 1 + y ′ , y ′ = .
x sec2 (xy + x) − 1
38
Normal line: The normal line of f (x) at (a, f (a)) is the line which is perpendicular to the
tangent line at the point.
Example 94. Let y 2 + x2 = xy + 3. Find the equation of the normal line to the curve at
(1, 2).
Solution:
1′
m⊥ = − |(1,2) = −3, ⇒ y = −3x + 5.
y′
df −1 (x) 1
= ′ −1 .
dx f (f (x))
d 1 f ′ (x)
(ln x) = , (ln f (x))′ = ,
dx x f (x)
1 f ′ (x)
(loga |x|)′ = , (loga f (x))′ = , ...
x ln a f (x) ln a
Change base:
logc b
loga b = .
logc a
39
Solution:
f ′ (x) = x′ ln x + x(ln x)′ = ln x + 1.
(ln x)′ x − x′ ln x 1 − ln x
g ′ (x) = .
x2 x x2
e
h′ (x) = ex ln x + .
x
Example 96. Let f (x) = ln(x2 + x + 1). Find the tangent line to the function at the point
(0,0).
Solution:
2x + 1
f ′ (x) = .
x2 + x + 1
m = f ′ (0) = 1.
The tangent line is
y = x.
Logarithmic differentiation
x2 +x+5
Example 97. Differentiate (a): y = (x+1)2
, (b) y = xx , (c) y = (sin x)x .
Solution:
(a):
y′ 2x + 1 2 2x + 1 2
2
ln y = x ln(x +x+5)−2 ln(x+1), ⇒ = 2 − , ⇒ y ′ = y( 2 − ).
y x +x+5 x+1 x +x+5 x+1
(b):
y′ 1
ln y = x ln x, ⇒ = ln x + x · , ⇒ y ′ = xx (ln x + 1).
y x
(c):
y′ cos x cos x
ln y = x ln sin x, ⇒ = ln sin x + x · , ⇒ y ′ = xx (ln sin x + x · ).
y sin x sin x
Number e
1
e = lim (1 + x)1/x = lim (1 + )x .
x→0 x→∞ x
40
3.9 Inverse trigonometric functions
Solution:
√ 1 x 3 √ 0.06
x ≈ 3 + (x − 9) = + , 9.06 ≈ 3 + = 3.01.
6 6 2 6
41
Remark. dy represents the amount that the tangent line rises or falls (the change in the
linearization). ∆y represents the amount that the curve y = f (x) rises or falls when changes
by an amount dx.
Solution. We have:
f (2) = 23 + 22 − 2(2) + 1 = 9,
f (2.01) = (2.01)3 + (2.01)2 − 2(2.01) + 1 = 9.140701,
∆y = f (2.01) − f (2) = 0.140701,
In general,
dy = f ′ (x)dx = (3x2 + 2x − 2)dx.
When dx = ∆x = 0.01,
dy = [3(2)2 + 2(2) − 2]0.01 = 0.14.
Example 102. The radius of a sphere was measured to be 21 cm with a possible error of
at most 0.05 cm. What is the maximum error in using this value of the radius to compute
the volume of the sphere?
dV = 4πr2 dr.
42
Chapter 4. Applications of Derivatives
Absolute (Global) Maximum and Minimum: f (x) has a Global (Absolute) Maximum
at p if f (p) ≥ f (x) for all x in the domain; f (x) has a Global (Absolute) Minimum at
p if f (p) ≤ f (x) for all x in the domain;
Local (or relative) extreme: f (x) has a local minimum at p if f (p) ≤ f (x) for points
x near p; f (x) has a local maximum at p if f (p) ≥ f (x) for points x near p;
Critical point (critical number): A point p in the domain such that f ′ (p) = 0 or f ′ (p)
undefined is called a critical number, (p, f (p)) is a critical point, f (p) is a critical
value.
EXTREME VALUE THEOREM: If f(x) 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].
FERMAT’s THEOREM: If f has a local maximum or minimum at c, and if f ′ (c) exists,
then f ′ (c) = 0.
CLOSED INTERVAL METHOD: To find a global maximum or minimum for f (x) on a
closed interval [a, b]:
43
Example 104. Find the global maximum and minimum of the function
Sol: Step 1) f ′ (x) = 6x2 − 6x − 12, f ′ (x) = 0 ⇒ x = −1, 2, f ′ (x) is defined anywhere.
Hence x = −1 is the only one critical number in (−2, 0).
Step 2) global minimum = min{f (−2), f (−1), f (0)} = min{3, 14, 7} = 3;
global maximum = max{f (−2), f (−1), f (0)} = max{3, 14, 7} = 14.
Example 105. Find the global maximum and minimum of the function
Solution:
f ′ (x) = (2x + 2x2 )e2x , f ′ (x) = 0, x = −1, 0.
f (−2) = 4e−4 , f (−1) = e−2 , f (0) = 0, f (2) = 4e4 .
max = f (2) = 4e4 , min = f (0) = 0.
ROLLE’s THEOREM: Let f be a function that satisfies the following three hypotheses:
1. f is continuous on the closed interval [a, b]
3. f(a) = f(b)
44
Then, there is a number c in (a, b) such that
f (b) − f (a)
f ′ (c) = .
b−a
Example 106. Let
f (x) = x3 − 2x2 + 1, [0, 2].
Find all numbers c that satisfy the conclusion of the Mean Value Theorem.
Solution:
f (b) − f (a) f (2) − f (0)
f ′ (c) = ⇒ f ′ (c) = ⇒ 3c2 − 2c = 0 ⇒ .
b−a 2−0
c = 0, 23 . Since c ∈ (0, 2), c = 32 .
f (8)−f (5)
Example 107. Let f (x) = ln(x − 4). Find c such that f ′ (c) = 3
.
Solution:
f (8) − f (5) 1 ln(8 − 4) − ln(5 − 4) ln 4
f ′ (c) = ⇒ = = .
8−5 c−4 3 3
3
c= ln 4
+ 4.
Theorem. If f ′ (x) = 0 for all x in an interval (a, b), then f is constant on (a, b); If
f ′ (x) = g ′ (x) for all x in an interval (a, b), then f (x) − g(x) is constant on (a, b).
45
4.3 Monotonic functions and the first derivative test
Solution:
(a) f ′ (x) = 3x2 − 6x = 3x(x − 2). Let f ′ (x) = 0. We have 3x(x − 2) = 0, which gives
x = 0, 2.
(b) Look at the following table
x −∞ < x < 0 0 < x < 2 2 < x < ∞
′
f (x) + - +
f (x) increase decrease increase
Therefore,
The intervals of increase: −∞ < x < 0, 2 < x < ∞.
The intervals of decrease: 0 < x < 2
(c) Note that at x = 0, f ′ (x) changes from + to -; at x = 2, f ′ (x) changes from - to +.
By the First Derivative Test, f (x) has a local maximum at x = 0 and a local minimum at
x = 2.
Solution:
(a) g ′ (x) = 1 + 2 cos x, g ′ (x) = 0 ⇒ x = 2π/3, 4π/3.
(b) Look at the following table
x 0 < x < 2π/3 2π/3 < x < 4π/3 4π/3 < x < 2π
f ′ (x) + - +
f (x) increase decrease increase
Therefore,
The intervals of increase: 0 < x < 2π/3, 4π/3 < x < 2π.
46
The intervals of decrease: 2π/3 < x < 4π/3
(c) Note that at x = 2π/3, f ′ (x) changes from + to -; at x = 4π/3, f ′ (x) changes from
- to +. By the First Derivative Test, f (x) has a local maximum at x = 2π/3 and a local
minimum at x = 4π/3.
47
Example 112. Consider the function
x
f (x) = .
x2 − 1
Study the concavity and find all the points of inflection.
f ′′ (x) = 0, ⇒ x = 0.
x −∞ < x < −1 −1 < x < 0 0<x<1 1<x<∞
′′
f (x) - + - +
f (x) concave down concave up concave down concave up
1. D = {x ̸= 0}.
3. f ′ (2) = f ′ (−2) = 0; f ′ (x) > 0 when 0 < x < 2 and −2 < x < 0; f ′ (x) < 0 when x > 2
and x < −2.
4. f ′′ (−3) = f ′′ (3) = 0; f ′′ (x) > 0 when x > 3 and −3 < x < 0; f ′′ (x) < 0 when x < −3
and 0 < x < 3.
Example 114. Use the first and second derivatives of f (x) = e1/x , together with asymptotes,
to sketch its graph.
Solution: Notice that the domain of f is {x|x ̸= 0}. So, we check for vertical asymptotes
by computing the left and right limits as x → 0.
lim e1/x = 1,
x→±∞
48
The Chain Rule gives:
e1/x
f ′ (x) = − ,
x2
we have f ′ (x) < 0 for all x ̸= 0. Thus, f is decreasing on (−∞, 0) and on (0, ∞) . There is
no critical number. So, the function has no maximum or minimum.
′′ e1/x (2x + 1)
f (x) = ,
x4
f ′′ (x) > 0 when x > −1/2(x ̸= 0), and f ′′ (x) < 0 when x < −1/2. So, the curve is concave
downward on (−∞, −1/2) and concave upward on (−1/2, 0) and on (0, ∞).
The inflection point is (−1/2, e−2 ).
A. DOMAIN
B. INTERCEPTS
C. SYMMETRY
1. EVEN FUNCTION: f(-x) = f(x) for all x in D. the curve is symmetric about the
y-axis. This means that our work is cut in half.
2. ODD FUNCTION: f(-x) = -f(x) for all x in D. the curve is symmetric about the
origin. This means that our work is cut in half.
3. PERIODIC FUNCTION: f(x + p) = f(x) for all x in D, where p is a positive
constant. The smallest such number p is called the period.
D. ASYMPTOTES
49
E. INTERVALS OF INCREASE OR DECREASE: use I/D Test.
50
Example 117. Sketch the graph of:
2x2 sin x
f (x) = 2 , f (x) = xex , f (x) = , f (x) = ln(1 − x2 ).
x −4 2 + cos x
Example 118. Sketch the graph of f if f satisfies all of the following:
(i) f ′ (x) > 0 on (−∞, 1), f ′ (x) < 0 on (1, ∞);
(ii) f ′′ (x) > 0 on (−∞, −2) and (2, ∞), f ′′ (x) < 0 on (−2, 2);
(iii) lim f (x) = −2, lim f (x) = 0;
x→−∞ x→∞
(iv) f (−2) = 0, f (1) = 5, f (2) = 3.
In this section, we are going to deal with the limit with the form:
0 ∞
, , 1∞ , 0 · ∞, 00 , ...
0 ∞
f (x) 0 ∞
L’Hospital’s rule: If g(x)
becomes 0
or ∞
as x → x0 , where x0 is finite or ∞, then
f (x) f ′ (x)
lim = lim ′ .
x→x0 g(x) x→x0 g (x)
−
Remark. x → x0 can be replaced by any of the symbols x → x+
0 , x → x0 , x → ∞, or
x → −∞.
51
Solution:
x2 2x 2 0
lim x2 e−x = lim x
= lim x = lim x = lim x = 0.
x→∞ x→∞ e x→∞ e x→∞ e x→∞ e
1 x
To solve the second limit, let y = 1 − x , then
ln 1 − x1
1
ln y = x ln 1 − = 1 .
x x
1 1
ln 1 − x x2
lim ln y = lim 1 = lim = −1. ⇒
x→∞ x→∞ x→∞ − 12 (1 − 1 )
x x x
1
lim y = .
x→∞ e
4.8 Antiderivatives
Definition 19. A function F is called an antiderivative of f on an interval I if F ′ (x) = f (x)
for all x in I.
Some basic results:
52
x2 −1
= (x−1 − x−3 )dx = ln |x| + 1
R R
Example 121. x3
dx 2x2
+ C.
4x2 − 22
Example 122. Given f ′ (x) = sin x + .
x3
(a) Find f (x).
Solution: (a)
(b)
f (1) = 3 ⇒ − cos 1 + 11 + C = 3 ⇒ C = cos 1 − 8.
Thus f (x) = 4 ln |x| + 11x−2 + cos 1 − 8.
Its initial position is 2 units to the right of the origin(when t=0). Find the position of the
object and acceleration after 4s.
Solution: Let s(t) be the position. Then s(0) = 2. Since s′ (t) = v(t),
3
s(t) = 2t − t2 + t3 + C.
2
s(0) = 2 ⇒ C = 2 and
3
s(t) = 2t − t2 + t3 + 2. ⇒
2
s(4) = 50, a(4) = v ′ (4) = 21.
53
Chapter 5. Integrals
We want to estimate the area of the region S bounded by the continuous func-
tion y = f (x) (where f (x) ≥ 0), x = a, x = b and the x-axis.
n
X b−a
GRS(General Riemann Sum) = f (ci )∆x, xi−1 ≤ ci ≤ xi , ∆x = .
i=1
n
Definition 20. Let f (x) ≥ 0. The area of the region below the continuous function y = f (x),
over [a, b] is:
Area = lim Rn = lim Ln = lim Mn .
n→∞ n→∞ n→∞
Definition 22. Let f (x) ≥ 0. The area of the region below the continuous function y = f (x),
over [a, b] is:
Z b
Area = f (x) dx.
a
Generally, Z b
f (x)dx = area above x-axis - area below x-axis.
a
54
R5
Example 124. Calculate 0
f (x)dx, where
x, 0 ≤ x ≤ 1;
1, 1 ≤ x ≤ 2;
f (x) =
3 − x, 2 ≤ x ≤ 3;
p
− 1 − (x − 4)2 , 3 ≤ x ≤ 5.
Solution: Z 5
f (x)dx = area above x-axis - area below x-axis
0
(1 + 3)1 1 π
= − π(1)2 = 2 − .
2 2 2
55
Example 126. Find an upper bound and a lower bound to
Z 5π/6
sin x dx.
π/3
Example 127. Find the area under the curve f (x) = 1/x over [1, 2].
Z b
1
Average value (mean value) of f (x) from a to b = f (x)dx.
b−a a
56
Example 129.
Z x
d
f (t)dt = f (x),
dx 0
Z x2 Z u
d d du
f (t)dt = f (t)dt · = 2xf (x2 ), u = x2 ,
dx 0 du 0 dx
Z x3 Z 0 Z x3 !
d d
f (t)dt = f (t)dt + f (t)dt = −2xf (x2 ) + 3x2 f (x3 ).
dx x2 dx x2 0
Rx 2
Example 130. Let g(x) = a et dt. Calculate g ′ (2) and g ′′ (2).
R2
Example 131. Calculate 0 3t dt.
1 t
Solution: Let f (t) = 3t , then F (t) = ln 3
3 + C.
Z 2
8
3t dt = F (2) − F (0) = .
0 ln 3
Solution:
Z b Z 2
′ 1
f (b) = f (a) + f (x)dx ⇒ f (2) = f (0) + f ′ (x)dx = 1 + x4 |20 = 5.
a 0 4
Total area
Example 133. Find the area of the region between the x-axis and the graph of f (x) =
x3 − 2x2 − 3x, −1 ≤ x ≤ 3.
57
5.6 Area Between Curves
Theorem. If f (x) ≥ g(x) for a ≤ x ≤ b, then the area of the region bounded by
y = f (x), y = g(x), x = a, x = b
is Z b
(f (x) − g(x))dx.
a
Example 134. Calculate the area of the region bounded by
y = x2 − 4x + 7, y = −x2 + 4x + 1.
Solution:
Step 1. Find intersections: Let
x2 − 4x + 3 = 0, ⇒ x = 1, x = 3.
Step 2. In (1, 3): −x2 + 4x + 1 > x2 − 4x + 7. Therefore
Z 3
area = [(−x2 + 4x + 1) − (x2 − 4x + 7)]dx
1
Z 3
2 3
= (−2x + 8x − 6)dx = − x + 4x − 6x |31
2 2
1 3
2 3 2 2 3 2
= − (3) + 4(3) − 6(3) − − (1) + 4(1) − 6(1)
3 3
8 8
= 0 − (− ) = .
3 3
y = x2 − 4x + 7, y = −x2 + 4x + 1, x = 0, x = 2.
Solution: Step 1. Find intersections: Let (−x2 +4x+1) = (x2 −4x+7), ⇒ x2 −4x+3 =
0, ⇒ x = 1, x = 3.
58
Step 2. By using the intersections, the interval (0, 2) is divided into (0, 1) and (1, 2). In
(0, 1): x2 − 4x + 7 > −x2 + 4x + 1; In (1, 2): −x2 + 4x + 1 > x2 − 4x + 7. Therefore
Z 1 Z 2
2 2
area = [(x − 4x + 7) − (−x + 4x + 1)]dx + [(−x2 + 4x + 1) − (x2 − 4x + 7)]dx
0 1
Z 1 Z 2
2
= (2x − 8x + 6)dx + (−2x2 + 8x − 6)dx.
0 1
Example 136. Find the area of the region bounded by the parabolas y = 2x−x2 and y = x2 .
y = ex , y = 4e−x , y = 1.
59
Solution: Intersections:
1) From ex = 4e−x , x = ln 2;
2) From ex = 1, x = 0;
3) From 4e−x = 1, x = ln 4.
Thus Z ln 2 Z ln 4
A= x
(e − 1)dx + (4e−x − 1)dx.
0 ln 2
x = f (y), x = g(y), y = c, y = d
y = x − 1, y 2 = 2x + 6.
60
Solution: Z 4
1
A= [(y − 1) − ( y 2 − 3)]dy = 18.
−2 2
61