Geao
Geao
Geao
Lecture Note
Contents
3 Continuity 18
1
5 Techniques of Differentiation 23
5.1 Higher Derivative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8 Implicit Differentiation 34
8.1 Logarithmic Differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.1.1 Derivatives of Functions of the form y = f (x)g(x) . . . . . . . . . . . . . . . 37
9 Application of Derivative 38
9.1 Absolute Extrema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
9.2 L’Hopital’s Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
0 ∞
9.2.1 For Indeterminate limits i.e., form , or . . . . . . . . . . . . . 41
0 ∞
9.2.2 For Indeterminate limits i.e., form (∞ · 0, or ∞ − ∞) . . . . . . . . . . 43
9.2.3 Indeterminate limits i.e., form (1∞ , or 00 and ∞0 ) . . . . . . . . . . . . 43
10 Anti-derivative (Integration) 44
10.1 Constants, Power, Exponential . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.2 Trigonometric Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.3 The Indefinite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
10.4 Properties of the Indefinite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . 45
10.5 Properties of The Definite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . 46
2
10.6 Integration by Substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10.7 Integration by Part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
10.7.1 Repeated Integration by Parts . . . . . . . . . . . . . . . . . . . . . . . . . 51
10.8 Integration by Partial Fractions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
10.8.1 Integration of Improper Rational . . . . . . . . . . . . . . . . . . . . . . . 52
10.8.2 Integration of Proper Rational Fraction . . . . . . . . . . . . . . . . . . . . 53
10.8.3 Linear Factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
10.8.4 Repeated Linear Factors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
10.8.5 Irreducible Distinct Factors . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3
1 Real Valued Function
Definition 1.2. A function f is said to be a real-valued when the range is a set of real numbers.
Figure 2: A function from a set D to a set Y assigns a unique element of Y to each element in D.
Definition 1.3. Let f (x) be a function defined on an interval I and assume x1 and x2 be any two
point on the I then
4
1.2 Greatest Integer Function (Floor Function)
(i). b4.2c =
1
(ii). =
2
(iii). b−3c =
2
(iv). − =
3
Definition 1.5. Domain is all possible input values x ∈ A, while the Range is the set of all
values of f (x) as x varies through A.
Examples 1.6. Verify the range and domain as contained in the following table
y = x2 (−∞, ∞) [0, ∞)
1
y= x
(−∞, 0) ∪ (0, ∞) (−∞, 0) ∪ (0, ∞)
√
y= x [0, ∞) [0, ∞)
√
y= 4−x (−∞, 4] [0, ∞)
√
y= 1 − x2 [−1, 1] [0, 1]
T
1. (f + g)(x) = f (x) + g(x) and Domain: Df Dg
5
T
2. (f − g)(x) = f (x) − g(x) and Domain: Df Dg
T
3. (f g)(x) = f (x)g(x) and Domain: Df Dg
f f (x) T
4. g
(x) = g(x)
and Domain: Df Dg g(x) 6= 0.
(i). f (2)
(ii). f (−1)
(iii). f ( 23 )
(iv). f (c + 2).
Solutions: In class
evaluate
(i). g(0)
(ii). g( 19
2
)
(iii). f (7)
Solutions: In class
6
1.5 Even and Odd Functions
Example 1.11. Determine which of the following functions is either EVEN, ODD or NEITHER
(i). f (x) = 3
(ii). g(x) = x2 + 1
(iii). h(x) = x2 + x
x
(iv). k(t) = x2 −1
Solutions: In class
(b). (f og)(x).
Solutions: In class
(b). (f og)(−3).
Solutions: In class
7
1.7 Idea about Graph of a function
If f is a function with domain D, its graph consists of the points in the Cartesian plane whose
coordinates are the input-output pairs for f . In set notation, the graph is {(x, f (x))|x ∈ D}.
8
2 Limit and Continuity
lim f (x) = L
x→a
provided that we can make the values f (x) as close as we like to L, and keep them that close, by
taking x sufficiently close to; but different from, a. If there is no such number, we say that the
limit of f (x) as x approaches a does not exist (DNE). It is a two-sided limit because we are
approaching a from both sides.
1 1
(a) lim k = k (b) lim x = a (c) lim− = −∞ (d) lim+ =∞
x→a x→a x→0 x x→0 x
That is, the limits exist and have values L1 and L2 , respectively. Then:
9
Moreover, these statements are also true for the one-sided limits as x → a− or as x → a+ .
f (x)
Remark 2.4. A quotient in which the numerator and denominator both have a limit of zero
g(x)
0
as x → a is called an indeterminate form of type .
0
Example 2.5. Find the limits.
5x3 + 4
(a) lim (x2 − 4x + 3) (b) lim (x7 − 2x5 + 1)35 (c) lim
x→5 x→1 x→2 x − 3
Solution:
x2 − 6x + 9 2x + 8 x2 − 3x − 10 x3 − 1
(a) lim (b) lim 2
(c) lim (d) lim
x→3 x−3 x→−4 x + x − 12 x→5 x2 − 10x + 25 x→1 x − 1
x−1
(e) lim √
x→1 x−1
Solution:
x2 − 6x + 9 0
(a) lim =
x→3 x−3 0
x2 − 6x + 9 (x − 3)2
lim = lim = lim (x − 3) = 0
x→3 x−3 x→3 x − 3 x→3
2x + 8 0
(b) lim =
x→−4 x2+ x − 12 0
2x + 8 2(x + 4) 2
lim 2 = lim = lim (x − 3) = −
x→−4 x + x − 12 x→−4 (x + 4)(x − 3) x→−4 7
10
x2 − 3x − 10 0
(c) lim 2
=
x→5 x − 10x + 25 0
x2 − 3x − 10 (x + 2)(x − 5) x+2 7
lim 2 = lim 2
= lim =
x→5 x − 10x + 25 x→5 (x − 5) x→5 x − 5 0
x+2 x+2
lim = −∞ lim =∞
x→5− x − 5 x→5+ x − 5
x2 − 3x − 10 x+2
∴ lim 2 = lim does not exist.
x→5 x − 10x + 25 x→5 x − 5
x3 − 1
(d) limx→1 =3
x−1
√ √
x−1 x+1 (x − 1)( x + 1) √
(e) limx→1 √ √ = limx→1 = limx→1 ( x + 1) = 2
x−1 x+1 x−1
The left-hand limit of f (x) has x approaches a is L, or the limit of f (x) as x approaches a
from left is L, Here x most be less than a i.e., x < a.
The right-hand limit of f (x) has x approaches a (from right) is L, or the limit of f (x) as x
approaches a from right is L. Here x here x most be greater than a i.e., x > a.
ii. If
lim f (x) 6= lim+ f (x)
x→a− x→a
then
lim = L
f (x)→a
11
does not exist DNE.
Solution:
|x| 1
x > 0,
f (x) = =
x
−1 x < o
and
lim f (x) = −1
x→0−
so
lim f (x) 6= lim+ f (x)
x→0− x→0
therefore
lim f (x)
x→0
DNE.
For functions that are defined piecewise, a two-sided limit at a point where the formula changes
is best obtained by first finding the one-sided limits at that point.
12
Find
(a) lim f (x) (b) lim f (x) (c) lim f (x)
x→−2 x→0 x→3
Solution:
(a) For lim f (x), we need to find lim − f (x) and lim + f (x)
x→−2 x→−2 x→−2
1
lim − f (x) = lim − = −∞
x→−2 x→−2 x+2
lim + f (x) = lim + (x2 − 5) = (−2)2 − 5 = −1
x→−2 x→−2
(c) For lim f (x), we need to find lim− f (x) and lim+ f (x)
x→3 x→3 x→3
∴ lim f (x) = 4.
x→3
1 1 1 1 2 x+2
(a) lim (b) lim+ (c) lim− (d) lim (e) lim + (f ) lim .
x→0 x2 x→0 x x→0 x x→0 x x→−1 x+1 x→2 x2 − 4
13
1
(a) lim = ∞.
x→0 x2
1
(b) lim+ = ∞.
x→0 x
1
(c) lim− = −∞.
x→0 x
1 1 1
(d) lim does not exist since lim+ 6= lim−
x→0 x x→0 x x→0 x
2
(e) lim + = ∞.
x→−1 x+1
x+2 x+2 1
(f) lim 2
= lim = lim .
x→2 x − 4 x→2 (x + 2)(x − 2) x→2 x − 2
1 1
lim+ = ∞ and lim− = −∞.
x→2 x−2 x→2 x − 2
1 1 x+2
Since lim− 6= lim− , we say that lim 2 does not exist.
x→2 x − 2 x→2 x − 2 x→2 x − 4
Here, we discuss limits of the form lim f (x). Note the following
x→±∞
c
iii. lim = 0, n > 0 (for any constant c.)
x→±∞ xn
c c
For lim n we assume that n is such that n is defined for x < 0.
x→−∞ x x
Example 2.11. Find (a) lim (7x5 − 4x3 + 2x − 9) (b) lim (−4x8 + 17x3 + 1)
x→−∞ x→−∞
2 3 2
3x + 5 4x − x 5x − 2x + 1
(c) lim (d) lim (e) lim
x→∞ 6x − 8 x→−∞ 2x3 − 5 x→∞ 1 − 3x
14
(a) lim (7x5 − 4x3 + 2x − 9) = lim 7x5 = −∞
x→−∞ x→−∞
3x + 5 3x 1
(c) lim = lim = .
x→∞ 6x − 8 x→∞ 6x 2
4x2 − x 4x2 2
(d) lim 3
= lim 3
= lim =0
x→−∞ 2x − 5 x→−∞ 2x x→−∞ x
5x3 − 2x2 + 1
3 2
5x 5x
(e) lim = lim = lim = −∞
x→∞ 1 − 3x x→∞ −3x x→∞ −3
and
√
lim x2 = lim |x| = −∞
x→−∞ x→−∞
√ √
x2 + 2 x2 + 2
Example 2.12. Find (a) lim (b) lim
x→+∞ 3x − 6 x→−∞ 3x − 6
√ √
x2 + 2 x2 |x| x 1
(a) lim = lim = lim = lim =
x→+∞ 3x − 6 x→+∞ 3x x→+∞ 3x x→+∞ 3x 3
√ √
x2 + 2 x2 |x| −x 1
(b) lim = lim = lim = lim =−
x→−∞ 3x − 6 x→−∞ 3x x→−∞ 3x x→+∞ 3x 3
√ √
Example 2.13. Find (a) lim x6 + 5 − x3 (b) lim x6 + 5x3 − x3
x→+∞ x→+∞
√
(a) Note that both x6 + 5 and x3 are large when x is large. So, it’s difficult to see what happens
to their difference, so we use algebra to rewrite the function. We first multiply numerator and
√
denominator by the conjugate radical and recall that x6 = x3 for x → ∞.
√ √ √x6 + 5 + x3
lim x6 + 5 − x3 = lim x6 + 5 − x 3 · √
x→∞ x→∞ x6 + 5 + x3
x6 + 5 − x6 5
= lim √ = lim √
x→∞ x6 + 5 + x3 x→∞ x6 + x3
5 5
= lim 3 3
= lim = 0.
x→∞ |x | + x x→∞ 2x3
15
√
(b) Similarly, both x6 + 5x3 and x3 are large when x is large. So, as in part a, we have
√ √ √x6 + 5x3 + x3
lim x6 + 5x3 − x3 = lim x6 + 5x3 − x3 · √
x→∞ x→∞ x6 + 5x3 + x3
x6 + 5x3 − x6 5x3
= lim √ = lim √
x→∞ x6 + 5x3 + x3 x→∞ x6 + x3
5x3 5x3 5
= lim 3 3
= lim 3
= .
x→∞ |x | + x x→∞ 2x 2
2.6 Trigonometric
Theorem 2.14. If c is any number in the natural domain of the stated trigonometric function,
then
x2 − 1 x2 − 1 x2 − 1
lim cos = lim cos = cos lim = cos lim (x + 1) = cos 2.
x→1 x−1 x→1 x−1 x→1 x − 1 x→1
Theorem 2.16.
sin 7x
Example 2.17. Find lim .
x→0 4x
Solution:
16
cos x cos x lim cos x cos 0
Solution: lim x cot x = lim x = lim = x→0 = =1
x→0 x→0 sin x x→0 sin x sin x 1
lim
x x→0 x
tan x sec 2t
Example 2.19. Find lim 3t
.
x→0
Theorem 2.20 (The Squeezing Theorem (Sandwith)). Let f, g, and h be functions satisfying
for all x in some open interval containing the number c, with the possible exception that the
inequalities need not hold at c. If g and h have the same limit as x approaches c, say
then f also has this limit as x approaches c, that is, lim f (x) = L
x→c
1
Example 2.21. Find lim x sin .
x→0 x
Solution:
1
− 1 ≤ sin ≤1
x
1
− |x| ≤ x sin ≤ |x|
x
1
lim (−|x|) ≤ lim x sin ≤ lim |x|
x→0 x→0 x x→0
1
0 ≤ lim x sin ≤0
x→0 x
1
lim x sin = 0.
x→0 x
17
3 Continuity
1. f (c) is defined.
x2 − 4 (x − 2)(x + 2)
lim f (x) = lim = lim = lim (x + 2) = 4.
x→2 x→2 x − 2 x→2 x−2 x→2
Example 3.4. What can you say about the continuity of the function
√
f (x) = 9 − x2 ?
18
Solution: Note that the domain of this function is the closed interval [3, 3]. So, we will need
to investigate the continuity of f on the open interval (3, 3) and at the two endpoints; −3 and 3.
If c is any point in the interval (3, 3), then
√ q √
lim f (x) = lim 9 − x2 = lim (9 − x2 ) = 9 − c2 = f (c)
x→c x→c x→c
√ q √
lim− f (x) = lim− 9 − x2 = lim− (9 − x2 ) = 9 − 9 = 0 = f (3)
x→3 x→3 x→3
√ q √
lim + f (x) = lim + 9 − x2 = lim + (9 − x2 ) = 9 − 9 = 0 = f (3)
x→−3 x→−3 x→−3
Theorem 3.5. If the functions f and g are continuous at c, then the following new functions are
continuous at c.
1. f +g 2. f − g 3. f g
f
4. , if g(c) 6= 0 and has a discontinuity at c if g(c) = 0.
g
(b) A rational function is continuous at every point where the denominator is nonzero, and has
discontinuities at the points where the denominator is zero.
19
Solution: Since f and g are continuous, we have
∴ lim [3f (x) + f (x)g(x)] = 3 lim f (x) + lim f (x) lim g(x)
x→2 x→2 x→2 x→2
∴ f (2) = 4.
Theorem 3.8 (The Intermediate Value Theorem). If f is continuous on a closed interval [a, b]
and k is any number between f (a) and f (b), where f (a) 6= f (b). Then there exists a number c in
(a, b) such that f (c) = k.
√
Example 3.9. Use I.V.T. to show that there is a root of the equation 3
x = 1 − x in the interval
(0, 1).
√
Solution: Consider the function f (x) = 3
x − 1 + x = 0, where x ∈ [0, 1]
iii. f (0) < 0 < f (1); that is k = 0 is a number between f (0) and f (1).
Now, since f is continuous between 0 and 1, so the Intermediate Value Theorem says there is a
number c between 0 and 1 such that f (c) = 0.
20
4 Differentiation of Real Valued Function
i If y = f (x), then we define the average rate of change of y with respect to x over the
interval [x0 , x1 ] to be
Remark 4.1.
F Velocity can be viewed as rate of change−the rate of change of position with respect to time.
F In the case where y is a linear function of x, say y = mx + b, the slope m is the rate of change
of y with respect to x.
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
is called the derivative of f with respect to x. The domain of f 0 consists of all x in the
domain of f for which the limit exists (First Principal).
21
Example 4.3. Find the derivative of
√
(i.) f (x) = x2 , (ii.) g(x) = x
Solution:
0 f (x + h) − f (x) (x + h)2 − x2
(i.) f (x) = lim = lim
h→0 h h→0 h
x2 + 2xh + h2 − x2
= lim
h→0 h
2xh + h2
= lim = lim (2x + h) = 2x
h→0 h h→0
√ √
0 f (x + h) − f (x) x+h− x
(ii.) f (x) = lim = lim
h→0 h h→0 h
√ √ √ √
x+h− x x+h+ x x+h−x
= lim ×√ √ = lim √ √
h→0 h x+h+ x h→0 h( x + h + x)
h 1
= lim √ √ = lim √ √
h→0 h( x + h + x) h→0 x + h + x
1 1
=√ √ = √
x+ x 2 x
Differentiability
F If f is differentiable at each point of the open interval (a, b), then we say that it is differ-
entiable on (a, b), and
F similarly for open intervals of the form (a, +∞), (−∞, b), and (−∞, +∞). For the case
(−∞, +∞), we say that f is differentiable everywhere.
Example 4.5.
22
(b) Find a formula for f 0 (x).
Solution:
f (x + h) − f (x)
(a) We prove that f = |x| is not differentiable at x = 0 by showing that the limit lim
h→0 h
does not exist at x = 0.
But
|h| −1,
h<0
=
h
1,
h>0
|h| |h|
Thus, lim− = −1 and lim+ = 1.
h→0 h h→0 h
5 Techniques of Differentiation
23
Example 5.2.
d 4 d −5
(i). [x ] = 4x4−1 = 4x3 , [x ] = −5x−5−1 = −5x−6
dx dx
d d √ d 1/2 1 1− 1 1
(ii). [x] = x1−1 = 2x0 = 1, [ x] = x = 2x 2 = √ .
dx dx dx 2 x
d
[c] = 0.
dx
d d d d √
Example 5.4. [1] = 0, [−3] = 0, [π] = 0, − 2 = 0.
dx dx dx dx
d d
[cf (x)] = c [f (x)]
dx dx
d d d
[f (x) ± g(x)] = [f (x)] ± [g(x)]
dx dx dx
Example 5.5.
d d d
(a) [2x6 + 9x−9 ] = [2x6 ] + [9x−9 ] = 12x5 + (−9)x−10 = 12x5 − 9x−10
dx dx dx
√ d √
√ √
d x − 2x d x 2x d d
(b) √ = √ −√ = [1 − 2 x] = [1] − [2 x]
dx x dx x x dx dx dx
1 1
=0−2 √ = −√ .
2 x x
24
dy
Example 5.6. Find if y = 3x8 − 2x5 + 6x + 1.
dx
Solution:
dy d d d d d
= [3x8 − 2x5 + 6x + 1] = [3x8 ] − [2x5 ] + [6x] + [1]
dx dx dx dx dx dx
= 24x7 − 10x4 + 6.
dy d2 y d3 y d4 y d5 y
y0 = , y 00 = , y 000 = , y (4) = , y (5) = ,···
dx dx2 dx3 dx4 dx5
F These are called, in succession, the first derivative, the second derivative, the third derivative,
the fourth derivative, the fifth derivative, and so forth.
F The number of times that f is differentiated is called the order of the derivative.
dn y dn
y (n) (x) = f (n) (x) = = [f (x)]
dxn dxn
and the value of a general nth order derivative at a specific point x = x0 can be denoted by
dn y dn
y (n) (x0 ) = f (n) (x0 ) = = [f (x)]
dxn x=x0 dxn x=x0
Example 5.7. Given that f (x) = 3x4 − 2x3 + x2 − 4x + 2. Find f 000 (0) and f (6) (x).
25
Solution:
f (5) (x) =0
d d d
[u(x)v(x)] = u(x) [v(x)] + v(x) [u(x)].
dx dx dx
dy ds
Example 6.1. Find and if
dx dt
√
(i.) y = (4x2 − 1)(7x3 + x), (ii.) s = (1 + t) t
Solution:
(i). If u = 4x2 − 1 and v = 7x3 + x, then u0 = 8x and v 0 = 21x2 + 1. So, by product rule, we
26
have:
dy
=uv 0 + vu0 = (4x2 − 1)(21x2 + 1) + (7x3 + x)8x
dx
=(84x4 + 4x2 − 21x2 − 1) + (56x4 + 8x2 ) = 140x4 − 9x2 − 1.
√ 1
(ii). If u = 1 + t and v = t, then u0 = 1 and v 0 = √ .
2 t
So, by product rule, we have:
√
ds 0 0 1 √ 1 t √ 1 + 3t
=uv + vu = (1 + t) √ + t = √ + + t= √ .
dt 2 t 2 t 2 2 t
d d
d u(x)
v(x) [u(x)] − u(x) [v(x)]
= dx dx .
dx v(x) [v(x)]2
Solution:
27
(ii). If u = x2 − 1 and v = x4 + 1, then u0 = 2x and v 0 = 4x3 .
So, by quotient rule, we have:
Definition 7.1.
d d
sin x = cos x csc x = −csc x cot x
dx dx
d d
cos x = − sin x sec x = sec x tan x
dx dx
d d
tan x = sec2 x csc x = −csc2 x
dx dx
dy
(1). Find if y = x sin x.
dx
dy sin x
(2). Find if y = .
dx 1 + cos x
Solution:
dy
= uv 0 + vu0 = x cos x + sin x.
dx
28
(2). If u = sin x and v = 1 + cos x, then u0 = cos x and v 0 = − sin x.
So, by quotient rule, we have:
1 d 3 3x2
(a) p [x ] = √ .
1 − (x3 )2 dx 1 − x6
1 d x ex 1
(b) p [e ] = √ =√ .
ex (ex )2 − 1 dx ex e2x − 1 e2x − 1
Definition 7.3. If g is differentiable at x and f is differentiable function at g(x), then the com-
posite function f ◦ g is differentiable at x. Moreover, if
dy dy du
= · (7.1)
dx du dx
29
That is
d 0 0
f (g(x)) = f (g(x))g (x.)
dx
dy
Example 7.4. Find if y = cos(x3 ).
dx
du dy
Solution: If u = x3 , then y = cos u. So, = 3x2 and = − sin u.
dx du
Now, applying Formula (8.1) yields
dy dy du
= · = −3x2 sin u = −3x2 sin(x3 ).
dx du dx
dw
Example 7.5. Find if w = tan x and x = 4t3 + t.
dt
Solution: In this case the chain rule computations take the form
dw dw dx
= · .
dt dx dt
dw dx
w = tan x =⇒ = sec2 x and x = 4t3 + t =⇒ = 12t2 + 1.
dx dt
So, we have
dw
= sec2 x · (12t2 + 1)
dt
=(12t2 + 1) sec2 (4t3 + t).
dy
Example 7.6. Find if y = tan2 x.
dx
Solution:
du dy
If u = tan x, then y = u2 . So, = sec2 x and = 2u.
dx du
Now, applying Formula (8.1) yields
dy dy du
= · = 2u · sec2 x = 2 tan x sec2 x.
dx du dx
dy √
Example 7.7. Find if y = x2 + 1.
dx
30
Solution:
√ du dy 1
If u = x2 + 1, then y = u. So,
= 2x and = √ .
dx du 2 u
Now, applying Formula (8.1) yields
dy dy du 1 x x
= · = 2x · √ = √ = p .
dx du dx 2 u u (x2 + 1)
d du d n du
[f (u)] = f 0 (u) [u ] = nun−1
dx dx dx dx
d du d du
[sin u] = cos u [cos u] = − sin u
dx dx dx dx
d du d du
[tan u] = sec2 u [cot u] = − csc2 u
dx dx dx dx
d du d du
[sec u] = sec u tan u [csc u] = − csc u cot u
dx dx dx dx
√
(a) sin 2x (b) tan(x2 + 1) (c) x3 + csc x (d) [x2 − x + 2]3/4
√ √
(e) (1 + x5 cot x)−8 (f ) sin( 1 + cos x) (g) sec ωx
Solution:
d d
(a) [sin 2x] = cos 2x [2x] = 2 cos 2x.
dx dx
d d
(b) [tan(x2 + 1)] = sec2 (x2 + 1) [x2 + 1] = 2x sec2 (x2 + 1).
dx dx
d √ 3 1 d 3 3x2 − csc x cot x
(c) x + csc x = √ [x + csc x] = √ .
dx 2 x3 + csc x dx 2 x3 + csc x
d 2 3/4 3 d
(d) [x − x + 2] = (x2 − x + 2)−1/4 [x2 − x + 2]
dx 4 dx
3
= (x2 − x + 2)−1/4 (2x − 1).
4
31
d d
(e) [(1 + x5 cot x)−8 ] = −8(1 + x5 cot x)−9 [1 + x5 cot x]
dx dx
d √ √ d √
(f) sin( 1 + cos x) = cos( 1 + cos x) [ 1 + cos x]
dx dx
√
√ 1 d − sin x cos( 1 + cos x)
= cos( 1 + cos x) · √ [1 + cos x] = √ .
2 1 + cos x dx 2 1 + cos x
d √ √ √ d √ √ √ 1 d
(g) [sec ωx] = sec ωx tan ωx [ ωx] = sec ωx tan ωx · √ [ωx]
dx √ √ dx 2 ωx dx
ω sec ωx tan ωx
= √
2 ωx
Definition 7.9.
1
If y = ln x then y0 =
x
1
If y = loga x then y0 =
x ln a
g 0 (x)
If y = loga g(x) then y0 =
g(x) ln a
g 0 (x)
If y = ln g(x) then y0 =
g(x)
32
Solution:
(x2 + 1)0 2x
2
= 2y0 =
x +1 x +1
2
x sin x
Example 7.11. Differentiate y = ln √ .
1+x
Solution
x2 sin x √
1
y = ln √ =⇒ y = ln(x2 sin x) − ln 1 + x =⇒ y = 2 ln x + ln sin x − ln(1 + x)
1+x 2
2 cos x 1 2 1
∴ y0 = + − = + cot x − .
x sin x 2(1 + x) x 2 + 2x
Solution:
1
if x > 0
x
ln x
if x > 0
1
f (x) = ∴ f (x) = =⇒ f 0 (x) = .
x
ln(−x)
if x < 0,
−1
1
= if x < 0,
−x x
d 1
Hence ln |x| = x 6= 0.
dx x
Example 7.13. Differentiate y = ln | sin x|.
Solution:
33
d nx d
(4.) (a ) = anx nx ln a = nanx ln a
dx dx
In general, we have
3
(a) 2x (b) e−2x (c) ex (d) ecos x
Solution:
d x
(a) [2 ] = 2x ln 2.
dx
d −2x d
(b) [e ] = e−2x [−2x] = −2e−2x .
dx dx
d h x3 i 3 d 3
(c) e = ex [x3 ] = 3x2 ex .
dx dx
d cos x d
(d) [e ] = ecos x [cos x] = −(sin x)ecos x .
dx dx
8 Implicit Differentiation
Terminology
34
Implicit Differentiation
dy
This is a way of finding when y is defined implicitly by a relation between x and y.
dx
dy
Method of Finding
dx
(i) Differentiate both sides of the equation, but care must be taken while differentiating the
terms that involve y. While differentiating the terms that involve y, we differentiate in the
dy
usual way but then we multiply the derivative by . In other words, we treat y as a function
dx
of x and then use the chain rule.
dy
(ii) Solve the equation for .
dx
dy
Example 8.1. Use implicit differentiation to find if
dx
5y 2 + sin y = x2
Solution:
Differentiate both sides of the equation 5y 2 + sin y = x2 with respect to x and remember that y is
a function of x :
d d d d 2
[5y 2 + sin y = x2 ] = [5y 2 ] + [sin y] = [x ]
dx dx dx dx
dy dy dy
=⇒ 10y + (cos y) = 2x =⇒ (10y + cos y) = 2x
dx dx dx
dy 2x
∴ = .
dx 10y + cos y
d2 y
Example 8.2. Use implicit differentiation to find if
dx2
4x2 − 2y 2 = 9
Solution:
Differentiating the equation implicitly with respect to x and remembering that y is a function of
35
x, we get
dy dy 2x
8x − 4y = 0 =⇒ =
dx dx y
dy 2x
By using the quotient rule to differentiate = , we have:
dx y
dy 2x
y(2) − 2x 2y − 2x
d2 y dx y 2y 2 − 4x2 4x2 − 2y 2 9
= = = = − =− 3
dx2 y2 y2 y 3 y 3 y
dy
Example 8.3. Use implicit differentiation to find for the Folium of Descartes
dx
x3 + y 3 = 3xy.
Solution:
Differentiate both sides of the equation x3 + y 3 = 3xy with respect to x and remember that y is
a function of x :
dy dy dy
3x2 + 3y 2 = 3y + 3x ⇐⇒ (y 2 − x) = y − x2
dx | {z dx} dx
product rule
2
dy y−x
∴ = 2 . (8.1)
dx y −x
√
x2 3 7x − 14
Example 8.4. Differentiate y = .
(1 + x2 )4
36
Solution:
We take logarithms of both sides of the equation and use the Laws of Logarithms to simplify:
√ √
ln y = ln x2 3 7x − 14 − ln(1 + x2 )4 = ln x2 + ln 3 7x − 14 − 4 ln(1 + x2 )
1
=2 ln x + ln(7x − 14) − 4 ln(1 + x2 )
3
y0 2 7 8x 2 1 8x
∴ = + − 2
= + −
y x 3(7x − 14) 1 + x x 3(x − 2) 1 + x2
√
x2 3 7x − 14 2
0 2 1 8x 1 8x
∴ y =y + − = + − .
x 3x − 6 1 + x2 (1 + x2 )4 x 3x − 6 1 + x2
Functions of the form y = f (x)g(x) in which f (x) and g(x) are nonconstant functions of x are
neither exponential functions nor power functions.
Functions of this form can be differentiated using logarithmic differentiation.
√
x
Example 8.5. Differentiate y = x .
Solution:
Since both the base and the exponent are variable, we use logarithmic differentiation:
√
x
√
ln y = ln x = x ln x
| {z }
product rule
0
√
y √ d d √ x ln x 1 ln x 2 + ln x
∴ = x [ln x] + ln x [ x] = + √ =√ + √ = √
y dx dx x 2 x x 2 x 2 x
2 + ln x √ 2 + ln x
0 x
∴ y =y √ =x √
2 x 2 x
dy
Example 8.6. Use logarithmic differentiation to find if y = (x2 + 1)sin x .
dx
37
Solution:
Since both the base and the exponent are variable, we use logarithmic differentiation:
9 Application of Derivative
(a) If f 0 (x) > 0 for every value of x in (a, b), then f is increasing on [a, b].
(b) If f 0 (x) < 0 for every value of x in (a, b), then f is decreasing on [a, b].
(c) If f 0 (x) = 0 for every value of x in (a, b), then f is constant on [a, b].
Example 9.2. Find the intervals on which f (x) = x2 − 4x + 3 is increasing and the intervals on
which it is decreasing.
Solution
A function increase when its derivative is positive and decrease when its derivative is negative.
38
Theorem 9.3 (Concavity Test). Let f be twice differentiable on an open interval.
(a) If f 00 (x) > 0 for every value of x in the open interval, then f is concave up on that interval.
(b) If f 00 (x) < 0 for every value of x in the open interval, then f is concave downward on that
interval.
Example 9.4. Determine the intervals on which f (x) = x3 is concave up and/ or concave down.
So, f (x) = x3 is concave down on the interval (−∞, 0) and concave up on the interval (0, ∞).
Definition 9.5. An inflection point is a point where the graph of a function has a tangent line
and where the curve changes its direction of concavity and is given by
Solution
f (x) = x4 =⇒ f 0 (x) = 4x3 =⇒ f 00 (x) = 12x2 .
Example 9.7. Consider the function f (x) = x3 − 3x2 + 1. Use the second derivatives of f to
locate the inflection points of f .
Solution
Calculating the first two derivatives of f we obtain
39
that there is an inflection point at x = 1, since f changes from concave down to concave up at
that point. The inflection point is (1, f (1)) = (1, 1).
Definition 9.8. A critical point of a function f is a number c in the domain of f such that
either f 0 (c) = 0 or f 0 (c) does not exist.
Solution
f 0 (x) = 0 =⇒ x2 − 1 = 0 =⇒ x = ±1.
A Procedure for Finding the Absolute Extrema of a Continuous Function f on a Finite Closed
Interval [a, b]
Step 2. Evaluate f at all the critical points and at the endpoints a and b.
Step 3. The largest of the values in Step 2 is the absolute maximum value of f on [a, b] and the
smallest value is the absolute minimum.
Example 9.10. Find the absolute maximum and minimum values of the function
40
Solution
So, the critical points are x = 2 and x = 3. Notice that each of these critical numbers lies in the
interval (1, 5)
Next, we evaluate f at the endpoints and at the critical points.
Endpoint values:
Absolute maximum value is 55 and it occurs at x = 5 whereas the absolute minimum value is 23
and it occurs at x = 1.
√
3x − sin(x) 1+x−1 x − sin(x) ex
(a.) lim , (b.) lim , (c.) lim , (d.) lim (9.1)
x→0 x x→0 x x→0 x3 x→∞ x2
41
Solution
(a.)
3x − sin(x) 0
lim = .
x→0 x 0
Therefore,
3x − sin(x) (3 − cos(x))
lim = lim =2
x→0 x x→0 1
(b.)
√
1+x−1 0
lim = .
x→0 x 0
Therefore,
1
√
2 1+x 1
lim =
x→0 1 2
(c.)
x − sin(x) 0
lim 3
= .
x→0 x 0
Therefore,
x − sin(x) (1 − cos(x)) 0
lim = lim 2
=
x→0 x x→0 3x 0
∴
(1 − cos(x)) sin(x) 1
lim = =
x→0 3x2 6x 6
(d.)
ex ∞
lim 2
=
x→∞ x ∞
Therefore,
ex ex ex
lim = lim = lim =∞
x→∞ x2 x→∞ 2x x→∞ 2
42
9.2.2 For Indeterminate limits i.e., form (∞ · 0, or ∞ − ∞)
1 1 1
(a.) lim x sin , (b.) lim − (9.2)
x→∞ x x→0 sin(x) x
Solution
(a.)
1
lim x sin =∞·∞
x→∞ x
Therefore
1
sin
1 x 0
lim x sin = lim =
x→∞ x x→∞ 1 0
x
by L’H rule
1 1 1
sin − 2
cos
x x x
lim = lim =1
1
x→∞ x→∞ 1
−
x x2
1 1
(a.) lim+ (1 + x) x = e, (b.) lim x x (9.3)
x→0 x→∞
43
Solution
1 1
(a.) lim+ (1 + x) x = 1∞ Let f (x) = (1 + x) x ∴
x→0
1 ln (1 + x) 0
lim+ ln (1 + x) x = lim+ =
x→0 x→0 x 0
by L’H rule
1
1+x
lim =1
x→0+ 1
Therefore
1
lim+ (1 + x) x = lim+ f (x) = lim+ eln f (x) = e1 = e
x→0 x→0 x→0
10 Anti-derivative (Integration)
xn+1
Z Z
n
(1) x dx = +C (2) ex dx = ex + C
n+1
Z Z
1
(3) a dx = ax + C, (5) dx = ln |x| + C
x
Z Z
(1) sin x dx = − cos x + C (2) cos x dx = sin x + C
Z Z
(3) sec x tan x dx = sec x + C (4) sec2 x dx = tan x + C
Z Z
(5) csc2 x dx = − cot x + C (6) csc x cot x dx = − csc x + C
44
10.3 The Indefinite Integral
Z
f (x) dx = F (x) + C.
where C represents an arbitrary constant. The expression is used for an antiderivative of f and is
called an indefinite integral. Thus,
d
[F (x)] = f (x).
dx
Suppose that F (x) and G(x) are antiderivatives of f (x) and g(x), respectively, and that c is a
constant. Then:
Z Z
cf (x) dx = c f (x) dx.
Z Z Z
[f (x) + g(x)] dx = f (x) dx + g(x) dx.
Z Z Z
[f (x) − g(x)] dx = f (x) dx − g(x) dx.
45
Examples 10.1. Evaluate the following integrals
√
Z Z Z Z Z
2 1
(a) x dx (b) dx (c) x dx (d) 4 cos x dx (e) (1 + x4 ) dx
x5
t2 − 2t4
Z Z
5 2
(f ) (3x − 6x + 8x − 5) dx (g) dt.
t4
Solution
x2+1 x3
Z
(a) x2 dx = +C = +C
2+1 3
x−5+1 x−4
Z Z
1 −5 1
(b) 5
dx = x dx = + C = − +C =− 4 +C
x −5 + 1 4 4x
1 3
√ x 2 +1 x3/2
Z Z
1/2 2x 2
(c) x dx = x dx = 1 +C = +C = +C
2
+1 3/2 3
Z Z
(d) 4 cos x = 4 cos x dx = 4 sin x + C
x5
Z Z Z
4
(e) (1 + x ) dx = dx + x4 dx = x + +C
5
3x6 6x3 8x2 x6
Z
(f) (3x5 − 6x2 + 8x − 5) dx =
− + − 5x + C = − 2x3 + 4x2 − 5x + C
6 3 2 2
Z 2
t − 2t4 t2 2t4
Z Z
1
t−2 − 2 dt = − − 2t + C
(g) 4
dt = 4
− 4 dt =
t t t t
Z a
f (x) dx = 0.
a
Z a Z b
f (x) dx = − f (x) dx.
b a
46
Example 10.2. Evaluate the following integrals
Z 9 √
Z 4 √
Z π/2 Z ln 3
2 sin x
(a) x dx (b) x x dx (c) dx (d) 5ex dx
5
Z 1 −1 1
Z 1 0 0
1
(e) dx (f ) x2 dx
−e x 1
Solution
Z 9 9
√ 2 3/2 2 52
(a) x dx = x = (27 − 1) =
1 3 1 3 3
Z 9 Z 9 9
2
√ 5/2 2 7/2 2 4118
(b) x x dx = x dx = x = (2187 − 128) =
4 4 7 4 7 7
Z π/2 π/2
sin x 1 1 1 1
(c) dx = − cos x = − [cos (π/2) − cos 0] = − [0 − 1] =
0 5 5 0 5 5 5
Z ln 3 ln 3
x x
= 5 eln 3 − e0 = 5[3 − 1] = 10
(d) 5e dx = 5e
0 0
Z −1 −1
1
(e) dx = ln |x| = ln | − 1| − ln | − e| = ln |1| − ln |e| = 0 − 1 = −1
−e x −e
Z 1 1
2 x3 1 1
(f) x dx = = − =0
1 3 1 3 3
Remark 10.3. If the power of Trig. function is odd, peel off one power of sin x or cos x and use
sin2 x + cos2 x = 1.
Remark 10.4. If the power of Trig. function is even, use the half-angle identities i.e use
1 1
sin2 x = (1 − cos 2x) cos2 x = (1 + cos 2x).
2 2
47
Examples 10.5. Evaluate the following integrals
Z Z Z Z
2 50 dx
(1) 2x(x + 1) dx (2) sin(x + 9) dx (3) cos 5x dx (4) 5
1
3
x −8
√
Z Z Z Z
2 2 x3 2
(5) sin x cos x dx (6) xe dx (7) x x − 1 dx (8) cos3 x dx
Z
(9) sin2 x dx.
Solution
Z
du
(1) 2x(x2 + 1)50 dx. Let u = x2 + 1 =⇒ du = 2x dx =⇒ dx = .
2x
So,
Z
(2) sin(x + 9) dx Let u = x + 9 =⇒ du = dx.
So,
Z Z
sin(x + 9) dx = sin u du = − cos u + C = − cos(x + 9) + C
Z
du
(3) cos 5x dx Let u = 5x =⇒ du = 5 dx =⇒ dx = .
5
So,
Z Z Z
du 1 1 1
cos 5x dx = cos u = cos u du = sin u + C = sin 5x + C
5 5 5 5
Z
dx 1 1
(4) 5 . Let u = x − 8 =⇒ du = dx =⇒ dx = 3 du.
1
x −8 3 3
3
48
So,
u−4
Z Z Z
dx 3 du 3
5 = =3 u−5 du = 3 +C =− 4 +C
1
x − 8 u5 −4 4u
3
Z
3 du
(5) x2 ex dx. Let u = x3 =⇒ du = 3x2 dx =⇒ dx = .
3x2
So,
3
eu ex
Z Z Z
2 x3 du
2 u du
xe dx = xe = eu = +C = +C
3x2 3 3 3
Z
du
(6) sin2 x cos x dx. Let u = sin x =⇒ du = cos x dx =⇒ dx = .
cos x
So,
u3 sin3 x
Z Z Z
2 2 du 2
sin x cos x dx = u cos x = u du = +C = +C
cos x 3 3
√
Z
(7) x2 x − 1 dx. Let u = x − 1 =⇒ x = u + 1 =⇒ dx = du.
So,
√ √
Z Z Z Z
1
2 2 2
u5/2 + 2u3/2 +1/2 du
x x − 1 dx = (u + 1) u du = (u + 2u + 1)u du = 2
2 4 2 2 4 2
= u7/2 + u5/2 + u3/2 + C = (x − 1)7/2 + (x − 1)5/2 + (x − 1)3/2 + C
7 5 3 7 5 3
Z Z Z
3 2
(8) cos x dx = cos x cos x dx = (1 − sin2 x) cos x dx.
du
Let u = sin x =⇒ du = cos x dx =⇒ dx = .
cos x
49
So,
u3
Z Z Z Z
3 2 2 du
cos x dx = (1 − sin x) cos x dx = (1 − u ) cos x = (1 − u2 ) du = u − +C
cos x 3
sin3 x
= sin x − +C
3
1 − cos 2x
Z Z Z Z
2 cos 2x
sin x dx = dx = dx −
2 2
1
= x − sin(2x) + C
4
Z Z
0
f (x)g (x) dx = f (x)g(x) − g(x)f 0 (x) dx
If
u = f (x) and v = g(x), then du = f 0 (x)dx and dv = g 0 (x)dx.
Z Z
u dv = uv − v du
Z Z Z
x
(a) x cos x dx (b) xe dx (c) ln x dx.
Solutionp
50
(a) let:
(b) let:
u=x dv = ex dx ∴ du = dx v = ex
Z Z
∴ xe dx = xe − ex dx = xex − ex + C.
x x
(c) So
1
u = ln x dv = dx ∴ du = dx v=x
Z Z x Z
x
∴ ln x dx = x ln x − dx = x ln x − dx = x ln x − x + C
x
It is sometimes necessary to use integration by parts more than once in the same problem.
Z
x2 e−x dx
Solution: let
u = x2 dv = e−x dx ∴ du = 2x dx v = −e−x
Z Z
∴ x2 e−x dx = −x2 e−x + 2 xe−x dx (10.1)
51
Z
Next, we consider xe−x dx.
Z
x2 e−x dx = − x2 e−x + 2 −xe−x − e−x + C
= − x2 + 2x + 2 e−x + C.
P (x)
f (x) =
Q(x)
is called a proper rational function if the degree of P is less than the degree of Q. Otherwise
it is called improper rational function.
Remark 10.9. In other to write f (x) as a sum of partial fractions, f (x) most be proper rational
function.
Remark 10.10. In case f (x), is Improper rational function then the process of polynomial
division (long division) must be used to reduce it to proper rational fraction.
Z 3
x +x
Example 10.11. Find dx.
x−1
Solution
52
Using Long Division we have
x3 + x 2
= x2 + x + 2 +
x−1 x−1
x3 + x
Z Z
2
=⇒ dx = x2 + x + 2 + dx
x−1 x−1
x3 x2
= + + 2x + 2 ln |x − 1| + C.
3 2
2x3 + 3x2 + 7x + 4
Z
Example 10.12. Compute dx.
2x + 1
x3 x2 1
Solution: + + 3x + ln |2x + 1| + C.
3 2 2
Example
f (x) A B
= +
(x + a)(x + b) (x + a) (x + b)
x2 + 2x − 1
Z
Example 10.13. Evaluate dx.
2x3 + 3x2 − 2x
Solution
Since the degree of the numerator is less than the degree of the denominator, we don’t need to
divide. Thus
x2 + 2x − 1 x2 + 2x − 1 x2 + 2x − 1
= =
2x3 + 3x2 − 2x x(2x2 + 3x − 2) x(2x − 1)(x + 2)
53
Since the denominator has three distinct linear factors, the partial fraction decomposition has the
form
x2 + 2x − 1 A B C
= + +
x(2x − 1)(x + 2) x 2x − 1 x + 2
(10.3)
x2 + 2x − 1 A(2x − 1)(x + 2) + Bx(x + 2) + Cx(2x − 1)
=⇒ =
x(2x − 1)(x + 2) x(2x − 1)(x + 2)
(10.4)
(10.6)
1
=⇒ A = . (10.7)
2
(10.8)
(10.9)
1
=⇒ C = − . (10.10)
10
(10.11)
1 1 2 1 1
Putting x = in (10.5), we get + − 1 = 0 + B +2 +0
2 4 2 2 2
(10.12)
1
=⇒ B = . (10.13)
5
54
So, integrating both side we have
x2 + 2x − 1
Z Z Z Z
1 dx 1 dx 1 dx
dx = + − . (10.14)
x(2x − 1)(x + 2) 2 x 5 2x − 1 10 x+2
| {z }
Be careful here!
2
x + 2x − 1
Z
1 1 1
=⇒ dx = ln |x| + ln |2x − 1| − ln |x + 2| + K.
x(2x − 1)(x + 2) 2 10 10
Z Z Z
x dx 5 + 5x 2x + 3
(a) 2
(b) 2
dx (c) dx
x + 2x − 3 x + 2x − 3 2x3 + 6x2 + 4x
3x2 + 6x + 2
Z Z 4
x +2
(d) dx (e) dx
2x3 + 6x2 + 4x x2 − 1
Solution:
3 1 5
(a) ln |x + 3| + ln |x − 1| + K (b) ln |(x + 3)(x − 1)| + K
4 4 2
3 1 1
(c) ln |x| − ln |x + 2| − ln |x + 1| + K
4 4 2
1 x3 3 x−1
(d) ln |x(x + 2)(x + 1)| + K (e) + x + ln + K.
2 3 2 x+1
Example
f (x) A B C D
= + + +
(x + a)4 (x + a) (x + a)2 (x + a)3 (x + a)4
Solution
x2 + 1 A B C
= + + (10.15)
(x − 3)(x − 2)2 (x − 3) (x − 2) (x − 2)2
55
=⇒ (x2 + 1) = A(x − 2)2 + B(x − 2)(x − 3) + C(x − 3) (10.16)
x2 + 1 10 9 5
2
= − − (10.17)
(x − 3)(x − 2) (x − 3) (x − 2) (x − 2)2
x2 + 1
Z Z Z Z
10 9 5
dx = dx − dx − dx (10.18)
(x − 3)(x − 2)2 (x − 3) (x − 2) (x − 2)2
5
= 10 ln |x − 3| − 9 ln |x − 2| + +K (10.19)
x−2
Example
f (x) Ax + B B
= 2 +
(ax2 + bx + c)(ex + d) ax + bx + c ex + d
Z
dx
x(x2+ 1)2
Answer
1 1
ln |x| − ln(x2 + 1) + + K.
2 2(x2 + 1)
References
[1] Tijani Apalara, Calculus Lecture Note, University of Hafr Al Batin, K.S.A.
[2] Richard N. Aufmann, Richard D. Nation, Algebra and Trigonometry 8th Edition, Cengage
Learning, Stamford.
56
[3] George B. Thoma, Maurice D. Weir, Joel R. Hass, Thomas’ Calculus Early (Transcenden-
57