Unit 3 Differentiation
Unit 3 Differentiation
UNIT 3: DIFFERENTIATION
______________________________________________
INTRODUCTION
Differentiation is an operation of obtaining f’(x) using the theory of differentiation and
several rules that will be stated in this modules. In this unit, you will learn about
differentiation of polynomial function, differentiation of trigonometric functions,
differentiation of exponential functions and differentiation of logarithmic functions.
LEARNING OUTCOME
After completing this unit, students should be able to:
72
DUM20132 Date : ………………….
y=f(x)
Tangent at P
P(x,y)
y
x
0 x
The above figure shows the points P(x,y) and Q( x + x, y + y ) which are two
neighbouring points on the curve y = f(x).
x is known as delta x while y is known as delta y, x and y represents a small
increase in x and a small increase in y respectively.
vertical dis tan ce
Gradient of PQ =
horizontal dis tan ce
= (y + y ) − y = x
(x + x ) − x y
Since y represent the gradient of the chord PQ, then lim y represent the
x x →0 x
gradient of the tangent to the curve y = f(x) at point P.
dy y dy represents the gradient of the
It can be concluded that if = lim then
dx x → 0
x dx
curve y = f(x) at a certain point.
Therefore
f (x + x )
= f ' (x ) = lim
dy
dx x →0 x
The result above is the definition of the derivative of a function f. This process is
called differentiation from first principles.
73
DUM20132 Date : ………………….
The first derivative of the function y = f(x) is the first order differentiation and it is
Example 3.1
(a ) f ( x) = 5x
f ( x + x ) = 5 (x + x ) = 5 x + 5x
f ( x + x ) − f ( x ) = 5 x + 5x − 5 x = 5x
therefore,
f ( x + x ) − f ( x )
f ' ( x ) = lim
x →0 x
5x
= lim
x →0 x
= lim 5 = 5.
x →0
(b) f ( x) = 3x + x 2
(
f ( x + x ) − f ( x ) = [3 x + 3x + x 2 + 2xx + (x ) ] − 3 x + x 2
2
)
= 3x + 2xx + (x )
2
= x(3 + 2x + x )
therefore,
f ( x + x ) − f ( x )
f ' ( x ) = lim
x →0 x
x(3 + 2x + x )
= lim
x →0 x
= lim (3 + 2x + x ) = 3 + 2x
x →0
1
(c ) f ( x) =
x
1
f ( x + x ) =
x + x
1 1
f ( x + x ) − f ( x ) = −
x + x x
x − x − x
=
x (x + x )
− x
=
x (x + x )
therefore,
f ( x + x ) − f ( x )
f ' ( x ) = lim
x → 0 x
− x 1
= lim =− 2
x → 0 x (x + x ) x x
74
DUM20132 Date : ………………….
EXERCISE 3.1
Find the derivative of the following functions by using differentiation from first
principles.
(a) f(x) = 10 (b) f(x) = x
(c) f(x) = 4x2 (d) f(x) = x2 + 3x – 1
1
(e) f(x) =
x2
75
DUM20132 Date : ………………….
dy
- this is pronounced dy by dx or dy dx.
dx
d
- this is pronounced d by d x or d dx.
dx
D - this is pronounced d
i)
d
(y) = d
f (x)
dx dx
= f (x )
dy
ii dx
iii) y = Df (x )
dy d
If y = f(x) = k then = f ' ( x) = (k ) = 0 , where k is a constant.
dx dx
Example 3.2.1:
a. y=2
b. y=π
c. y = 100
76
DUM20132 Date : ………………….
Solutions :
dy d
a. y = 2, = ( 2) = 0
dx dx
dy d
b. y = , = ( ) = 0
dx dx
dy d
c. y = 100, = (100 ) = 0
dx dx
3.2.1.2 DERIVATIVES OF kx
If y = f ( x ) = kx then
dy
= f ' ( x) =
d
(kx ) = k , where k is a cons tan t.
dx dx
Example 3.2.2 :
Solutions :
dy
a. y = 5x , =5
dx
dy
b. y = πx , = π
dx
dy
c. y = − 100 x , = − 100
dx
3.2.1.3 DERIVATIVES OF xn
dy d n −1
If y = f ( x ) = x n then x = nx
n
= f ' ( x) =
dx dx
Example 3.2.3 :
Solutions :
dy d 6 6 −1
a. y = x6 , = ( x ) = 6x = 6x 5
dx dx
dy d −3 − 3−1
b. y = x-3 , = x = −3x = − 3x − 4
dx dx
77
DUM20132 Date : ………………….
1 1 2
d 3 1 3 −1
1 −
1
dy
c. y= x 3
, = x = x = x 3
dx dx 3 3
4
d −5 4 − 4 −1
4
− dy
d. y=x 5
, = x = − x 5
dx dx 5
9
4 −5
= − x
5
dy d n
If y = f ( x ) = ax n then
n−1
= f ' ( x) = ax = anx ,
dx dx
where a is a cons tan t and n is an int eger .
Example 3.2.4 :
Solutions :
dy d
a. y = 5x, = (5 x ) = (5)( x 1− 1 )
dx dx
= 5x0
=5
dy d
b. y = 4x3 , = ( 4 x 3 ) = 4(3 x 3 − 1 ) = 4(3)x3 – 1
dx dx
= 12x2
dy d
c. y = -12x-5 , = ( −12 x − 5 ) = − 12 ( −5)x − 5 − 1
dx dx
= 60 x − 6
3 dy d
d. y= , = (3 x −2 ) = 3( −2)x − 2 − 1 = − 6 x − 3
x2 dx dx
6
= −
x3
78
DUM20132 Date : ………………….
If y = f ( x ) = ax m bx n then
dy d m d n
= f ' ( x) = ax bx
dx dx dx
dy m −1
= amx bnx n − 1 ,
dx
Example 3.2.5 :
dy
Find of the following functions:
dx
a. y = x3 + 4x2 b. y = 4x3 – 5x
4 y = (x – 1)(2x + 3)
c. y = x2 + d.
x
5x 2 − 3x
e. y = (x – 5)2 f. y=
x
Solution :
a. y = x3 + 4x2
dy
=
dx dx
d 3
( )
x +
d
dx
( )
4x 2
= 3( x 3 − 2 ) + 2( 4 x 2− 1 )
= 3x 2 + 8x
b. y = 4x3 – 5x
dy d d
= (4x 3 ) − (5 x )
dx dx dx
= 3( 4 x 3 − 1 ) − 5 x 1− 1
= 12 x 2 − 5
4
c. y = x2 + = x 2 + 4 x −1
x
dy d 2 d
= (x ) + ( 4 x −1 )
dx dx dx
− 1− 1
= 2x + 4( −1)x
−2
= 2x − 4 x
79
DUM20132 Date : ………………….
dy d d d
= (2x 2 ) + (x) − (3 )
dx dx dx dx
= 4x + 1
dy d 2 d d
= (x ) − (10 x ) + (25 )
dx dx dx dx
= 2x – 10
5x 2 − 3x 5x 2 3x Divide first
f. y= = −
x x x
y = 5x – 3
dy d d
= (5 x ) − (3 )
dx dx dx
=5
EXERCISE 3.2.1
c. y = 4x d. y = -x-5
e. y = x3 f. y = 2π
80
DUM20132 Date : ………………….
1
1
g. y= h. y = x2
x
i. y=
1 j. y = 8x2
x5
2 l. 5
k. y= y=−
5x 4 x7
m. y = −25x −4
3
n. y = x4
1 6 x3
o. y= x p. y=
3 6
1
Answers: a) 0, b) 1, c) 4, d) 5x-6, e) 3x2, f) 0, g) –x-2, h) 1 x − 2 , i)-5x-6, j) 16x, k) 8 −5 , l) 35x-8,
− x
2 5
1
m) 100x-5, n) 3 x − 4 , o) 2x5, p) 1 x 2
4 2
81
DUM20132 Date : ………………….
a. f(x) = x 2 + 3x 3 b. f(x) = x − 2x + 7
2
c. f(x) = 3x 4 − x 2 + x d. f(x) = x 4 − 3x 2
e. f(x) = x 3 − 3 f. f(x) = 3x 2 +
i. y = (x + 3) (x – 4) j. y = (2x – 1)2
82
DUM20132 Date : ………………….
k. y = 3x4 − 5x + x 2
1
l. (
y = (x + 2) 3x 2 − 1 )
m. x2 − 3 2x + 5
y= n. y=
x2 x
o. 4x 3 − 3x 2 + 2 5x 4 − 3x
y= 2 p. y=
x
x3
83
DUM20132 Date : ………………….
FORMULA
d
i) (sin x ) = cos x
dx
d
ii) (cos x ) = − sin x
dx
d
iii) (tan x ) = sec 2 x
dx
d d
iv ) (sin u ) = cos u . (u)
dx dx
d d
v) (cos u) = − sin u . (u)
dx dx
d d
vi ) (tan u) = sec 2 u . (u)
dx dx
Example 3.2.6 :
Differentiate the following functions with respect to x.
a. y = sin 2x b. y = cos 5x 2
c. y = tan 10x d. y = −2 cos 3x
Solution :
a. y = sin 2x b. y = cos 5x 2
du
let u = 5x 2 then = 10x
dx
du
let u = 2x then =2
dx dy d
= − sin u . (u)
dx dx
dy d
= cos u . (u)
dx dx =− sin 5 x 2 . (10 x )
= cos 2x . (2) = − 10 x sin 5 x 2
= 2 cos 2x
84
DUM20132 Date : ………………….
EXERCISE 3.2.2
Differentiate the following functions with respect to x.
a. y = cos 3 x b. y = sin 10 x
1 d. y = 3 cos ( 2x + 1)
c. y= sin 5 x
3
y=−
1 1
e. tan 2x f. y = − 5 sin 3 − x
4 5
85
DUM20132 Date : ………………….
1 y=
3
cos (5 − 4 x )
g. y = 10 tan x − 4 h.
2 4
Example 3.2.7 :
Differentiate the following functions with respect to x.
2
a. y = e2x b. y = e 3x
1
c. y = e3x + 4 d. y=
e 4x
e 5 x −3
e. y = e x . e 2x −1 f. y=
e 3 x +2
g. y = e3x – sin 2x
Solution :
a. y = e2x
du
Let u = 2x , =2
dx
86
DUM20132 Date : ………………….
2
b. y = e 3x
du
Let u = 3x 2 , = 6x
dx
dy d
Hence, = eu . (u)
dx dx
2
= e 3 x . (6x )
2
= 6 xe 3 x
dy d
Hence, = eu . (u)
dx dx
= e 2 x . ( 2)
= 2e 2 x
c. y = e3x + 4
du
Let u = 3x + 4 , =3
dx
dy d
Hence, = eu . (u)
dx dx
= e ( 3 x + 4 ) . (3 )
= 3e 3 x + 4
1
d. y=
e 4x
= e −4 x
du
Let u = -4x , = −4
dx
dy d
Hence, = eu . (u)
dx dx
= e −4 x . ( −4)
= − 4e −4 x
87
DUM20132 Date : ………………….
e. y = e x . e 2x −1
= e x + 2x −1
= e 3x −1
du
Let u = 3x – 1 , = 3
dx
dy d
Hence, = eu . (u)
dx dx
= e 3 x −1 .(3 )
= 3e 3 x −1
e 5 x −3
f. y=
e 3 x +2
From the Law of Indices :
= e 5 x −3 − ( 3 x + 2 )
= e 5 x −3 −3 x − 2
= e 2 x −5
du
Let u = 2x – 5 , = 2
dx
dy d
Hence, = eu . (u)
dx dx
= e 2 x −5 .(2)
= 2e 2 x −5
g. y = e3x – sin 2x
dy
= e 3 x .(3) − cos 2 x .(2)
dx
= 3e 3 x − 2cos 2 x
88
DUM20132 Date : ………………….
EXERCISE 3.2.3
a. y=
1 b. y = 6e4x
2
ex
c. y=−
4 d. y = 3e2x + 5e5x +1
e6x
e. y=
3 8x
e ex +3
4 f. y=
e2 x + 5
1 1 1
+ e4x + 1
2
g. y= 6x
+ 2 h. y = 5e2 x − x
e ex e
89
DUM20132 Date : ………………….
2
Answers : a) − 2xe − x , b) 24e 4x , c) 24e −6 x , d) 6e 2x + 25e 5 x +1 , e) 6e 8 x , f) − e − x−2 ,
FORMULA
d 1
(ln x ) =
dx x
d 1 d
(ln u) = • (u)
dx u dx
Example 3.2.8 :
Differentiate the following functions with respect to x.
a. y = ln 5x b. y = 3 ln x
c. y = 4 ln 2x d. y = ln x 3
e. y = ln (2x + 1) f. y = ln10x − 5 ln (3 − 2x)
90
DUM20132 Date : ………………….
Solution :
a. y = ln 5x
du
let u = 5 x , =5
dx
dy 1 d
= (u)
dx u dx
dy 1
= (5)
dx 5 x
5
=
5x
1
=
x
b. y = 3 ln x
dy 1 3
= 3 =
dx x x
c. y = 4 ln 2x
du
let u = 2x , =2
dx
dy 1 d
= (u)
dx u dx
1
= 4 (2)
2x
4
=
x
d. y = ln x 3
du
Let u = x ,
3
= 3x 2
dx
91
DUM20132 Date : ………………….
dy 1 d
= (u)
dx u dx
=
1 2
3x( )
x3
3
=
x
e. y = ln (2x + 1)
du
Let u = 2x + 1 , =2
dx
dy 1 d
= (u)
dx u dx
1
= (2)
2x + 1
2
=
2x + 1
f. y = ln 10x − 5 ln (3 − 2x )
du du
let u = 10x , = 10 let u = 3 − 2x , =− 2
dx dx
1 1
(10 ) − 5 (− 2)
dy
=
dx 10 x 3 − 2x
1 10
= +
x 3 − 2x
EXERCISE 3.2.4
92
DUM20132 Date : ………………….
c. y=
1
ln 10x d. y = ln x 2
2
e. y = ln
1 4
x f. y = 4 ln x 6
4
2 5 h. y = ln (3 − 5x )
g. y = 8 ln x
5
i. y = − 5 ln (8x + 12 ) j. y = x − ln x
Answers : a), b) 1 , c) 1 , d) 2 , e) 4 , f) 24 , g) 40 , h) − 5 , i) − 40 , j) 1 - 1
x 2x x x x x 3 − 5x (8x + 12) x
93
DUM20132 Date : ………………….
If p(x) = f (x) g (x) , where f(x) and g(x) are differentiable, then
d d d
(f(x) g(x)) = f(x) g(x) + g(x) f(x) or
dx dx dx
If set u = f (x ) and v = g (x ) then the product rule may also be expressed in the
form
d
(uv ) = u dv + v du
dx dx dx
Example 3.3.1 :
Solution :
du
Let u = x2 + 2 → = 2x
dx
dv
and v = x3 – 5 → = 3x2
dx
dy dv du
Use the product rule : = u +v
dx dx dx
94
DUM20132 Date : ………………….
du
Let u = x2 – 4x + 6 → = 2x - 4
dx
dv
and v = 1 - x3 → = -3x2
dx
dy dv du
Use the product rule : = u +v
dx dx dx
c. Given y = sin x ln x
By using Product Rule Product Rule :
1
= sin x + ln x (cos x )
dy
dx x
sin x
= + ln x (cos x )
x
d d
g( x ) f ( x ) − f ( x ) g( x )
d f ( x) dx dx
= or
dx g( x ) [g( x )] 2
If set u = f (x ) and v = g (x ) then the quotient rule may also be expressed in the
form
du dv
v −u
d u
= dx 2 dx
dx v v
95
DUM20132 Date : ………………….
Example 3.3.2 :
x2 + 3
a) y=
x
x
b) y= 2
x +3
tan 2x
c) y=
x2 + 1
Solution:
x2 + 3
a) y=
x
Let u = x2 + 3 v=x
du dv
= 2x =1
dx dx
(
dy (x )(2x ) − x 2 + 3 (1)
=
)
dx x2
2x 2 − x 2 − 3
=
x2
x2 − 3
=
x2
96
DUM20132 Date : ………………….
x
b) y=
x +3 2
Let u=x v = x2 + 3
du dv
=1 = 2x
dx dx
dy
=
(
x 2 + 3 (1) − x (2x ) )
dx x2 + 3
2
( )
x 2 + 3 − 2x 2
=
(x 2
+3 )
2
3 − x2
=
(x 2
+3 )
2
tan 2x
c) y=
x2 + 1
Quotient Rule :
Let u = tan 2x v = x2 + 1
du
= sec 2 2x..(2) dv
dx = 2x
dx
= 2 sec 2 2x
=
(2 sec 2
)
2x ( x 2 + 1) − (2x )(tan 2x )
[( x 2 + 1)] 2
If y = f(u) and u = g(x) and both of these functions are differentiable, then the
composite function y = f[g(x)] is differentiable and
97
DUM20132 Date : ………………….
dy dy du
= .
dx du dx
Example 3.3.3 :
Solutions:
Let u = x3 + 2 y = u4
du dy
= 3x 2 and = 4u 3
dx du
dy dy du
=
dx du dx
= 4u 3 3x 2
= 12x 2 u 3
(
= 12x 2 x 3 + 2 )
3
Let u = 3x + 3 y = u4
du dy
=3 and = 4u 3
dx du
dy dy du
= .
dx du dx
= 4u3 x 3
= 12u3 = 12(3x + 3)3
Let u= x −1 y = 4u 3
du dy
=1 and = 12u 2
dx du
𝒅𝒚 𝒅𝒚 𝒅𝒖
𝒅𝒙
= 𝒅𝒖 × 𝒅𝒙
= 12u2 x 1
= 12(x – 1)2
98
DUM20132 Date : ………………….
Alternative method
y = f(x) = au n
dy d
= (au n )
dx dx
n − 1 du
= nau •
dx
Example 3.3.4 :
Solutions:
y = ( x 3 + 2) 4
dy
=
dx dx
d
(
( x 3 + 2) 4 )
d 3
= 4( x 3 + 2) 4 −1 . ( x + 2)
dx
= 4( x 3 + 2)3 (3 x 2 )
= 12 x 2 ( x 3 + 2)3
EXERCISE 3.3
1. Find the derivatives of the following functions.
99
DUM20132 Date : ………………….
e. (
y = 2x 6 4x 2 + 1 ) f. y =(5x2 + 6)( 2x 3 − 5)
g. ( )
y = 3x 2 − 1 (2x + 1) h. ( )( )
y = x 5 + 2 3x
4
i. (
y = 3x 3 x 2 − 5 ) j. ( )
y = 3x 2 + 2 (2x + 1)
100
DUM20132 Date : ………………….
x2 3x 3
a. y= b. y=
2x + 1 5x 2 − 2
5x 2 2x 4 − 1
c. y= d. y=
x +1 3x 2 + 2
101
DUM20132 Date : ………………….
3x 2 + 5 x2 − 1
e. y= f. y =
1− x5 1 − 3x
4x 2 − 3 x+3
g. y = h. y =
x+2 1− x
x2 − 2 2x 3
i. y = j. y =
x +1 4x + 1
102
DUM20132 Date : ………………….
x3 + 5 2x − 5
k. y= l. y=
3x 2 − 1 x4 + 1
cos x x
m. y= n. y=
x 3 + 4x ln x
(2 x + 1) 2 ( 5 x 2 − 2) 2 ( x + 1) 2 ( 3 x 2 + 2) 2 (1 − x 5 )2 (1 − 3 x ) 2
g) 4 x + 16x + 3 h) , i) x + 2x + 2 , j) 16x + 6 x , k) 3 x − 3 x − 30x , l) − 6 x + 20x + 2 ,
2 2 3 2 4 2 4 3
4
( x + 2) 2
(1 − x) 2
( x + 1) 2
( 4 x + 1) 2
(3 x − 1)
2 2
( x + 1)
4 2
(x + 4x)
3 2
(ln x )2
103
DUM20132 Date : ………………….
y = (x − 1) y = (2x + 1)
3 5
a. b.
y = 3 (2x − 1) 1
4
c. d. y=
x−2
5 −3
e. y = f. y=
(2x + 1) 2
(2x + 5)3
104
DUM20132 Date : ………………….
dy
4. Find
dx
y = x 3 (x + 1) y = 2x 3 (x − 1)
2 2
a. b.
105
DUM20132 Date : ………………….
e. (
y = 3x 3 x 2 − 5 )
3
f. ( )
y = 3x 2 + 2 (2x + 1)
5
106
DUM20132 Date : ………………….
[f (x )] = f ' (x )
dy d
=
dx dx
Is known as the first derivative of f.
For example,
If y = f(x) = x3 – x2 – 2x + 3
Example 3.4
d2 y
1. Find for each of the following:
dx 2
2
a) y = 8x 4 + 7x 3 b) y = 3x 4 − 5x + x c) y= − x
x
Solution
1
a) y = 8x 4 + 7x 3 b) y = 3x 4 − 5x + x 2
1
dy dy 1 −
= 32x 3 + 21x 2 = 12x 3 − 5 + x 2
dx dx 2
3
d2 y d2 y 1 −
2
= 96x 2 + 42x 2
= 36x 2 − x 2
dx dx 4
1 1
−
c) y = 2x 2
−x 2
3 1
dy − 1 −
= −x 2 − x 2
dx 2
5 3
d2 y 3 − 2 1 − 2
= x + x
dx 2 2 4
107
DUM20132 Date : ………………….
= 2 cos 2x = e3x-5
d d
f’’(x) = -2 sin 2x. dx (2x) f’’(x) = e3x-5 . dx
(3x-5)
= -4 sin 2x = 3e3x-5
d d
f’’’(x) = -4 cos 2x. dx (2x) f’’’(x) = 3e3x-5 . dx
(3x-5)
= -8 cos 2x = 9e3x-5
EXERCISE 1.4
2
1. Find d y2 for each of the following equations:
dx
2x + 5
(a ) y = 2x 3 + 4 x 2 − 6 x + 3 (b) y=
x
(c ) y=
x
x+3
(d) (
y = (x + 2) 3 x 2 − 1 )
y = (2x + 1)
5
( e)
108
DUM20132 Date : ………………….
(a ) f (x ) = x 3 − 6 x 2 + 9 x + 2
f (x ) =
1
(b)
(3x + 4)
f (x ) = x 2 −
2
(c )
x
f (x ) =
2x
(d)
3x + 1
2
1
( e) f (x ) = 2x +
x
109
DUM20132 Date : ………………….
d3 y
3. Find dx3 for each of the following equations:
a) y = 2x5 + 2x2 - 10
b) y = x2 (x2 + 5x)
c) y = 2 cos (x-7)
110
DUM20132 Date : ………………….
SUMMARY
In this topic we have studied the differentiation and solve problems involving rules of
differentiation. It can be concluded as shows in the figure below:
3. DIFFERENTIATION
Differentiation
of Polynomial
Function Techniques of
Differentiation
i)
i)
ii)
ii)
Differentiation of
Exponential Functions
iii)
i)
111