Recalling of Derivatives
Recalling of Derivatives
(CSSS/SESS-1713)
Week 5 Lecture
Course Instructor: Dr. Muhammad Rayees Ahmad
ik
Department of Mathematics, Faculty of Science & Technology (FOST),
University of Central Punjab, Lahore, Pakistan
Email: [email protected]
al
sM
Topic: Definition of derivative, Derivative by 1st principle, Techniques of differen-
tiation
Outline of the Lecture
In this lecture, we will focus on the following contents:
2. Differentiation
ay
4. Practice questions
1
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytic Geometry
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
is called the derivative of f with respect to x.
Note: There are different symbols that are used to express the derivative of a function f (x).
ik
Mathematicians Notations for derivative
dy df
Leibniz dx or dx
Newton f (x• )
Lagrange f (x0 )
al
Cauchy Df (x)
sM
1.1 Physical interpretation of derivative
Physically, the derivative represents the instantaneous rate of change of f at point x.
2. Use the result of part 1 to find instantaneous rate of change of f at x = 2 and interpret it.
Solution: The given function is f (x) = −3x + 1. First we will find the derivative f 0 (x) of this
function f (x) = −3x + 1.
.R
For this, we have given f (x) = −3x + 1. This implies that f (x + h) = −3(x + h) + 1.
f (x + h) − f (x)
f 0 (x) = lim
h→0 h
Dr
[−3(x + h) + 1] − [−3x + 1]
f 0 (x) = lim
h→0 h
[−3(x + h) + 1] − [−3x + 1]
= lim
h→0 h
−3x − 3h + 1 + 3x − 1
= lim
h→0 h
−3h
= lim
h→0 h
= lim (−3)
h→0
2
Resource Person: Dr. M. Rayees Ahmad
1.2 Geometrical interpretation of derivative Calculus and Analytic Geometry
f 0 (2) = −3
Step 3: [Interpretation] This means that y decreases instantaneously 3 units per one
ik
unit increase in x at point x = 2.
Example 1.2. Consider the function f (x) = x2 .
al
1. Find the derivative of f with respect to x.
2. Use the result of part 1 to find instantaneous rate of change of f at x = 2 and interpret it.
sM
Solution: The given function is f (x) = x2 . First we will find the derivative f 0 (x) of this func-
tion f (x) = x2 .
f 0 (x) = lim
h→0 h
Putting values in the formula, we have
(x + h)2 − (x)2
f 0 (x) = lim
.R
h→0 h
x + h + 2hx − x2
2 2
= lim
h→0 h
h2 + 2hx
= lim
h→0 h
h(h + 2x)
= lim
h
Dr
h→0
= lim (h + 2x)
h→0
Hence,
f 0 (x) = 2x
3
Resource Person: Dr. M. Rayees Ahmad
1.2 Geometrical interpretation of derivative Calculus and Analytic Geometry
Step 3: [Interpretation] This means that f increases instantaneously 4 units per one
unit increase in x at point x = 2.
y − y0 = mtan (x − x0 )
(1.2.1)
y − f (x0 ) = mtan (x − x0 )
mtan = f 0 (2) = 4
ik
So putting all these values in above formula (1.2.1), we get
y − 4 = 4(x − 2)
al
y − 4 = 4x − 8
y = 4x − 8 + 4
y = 4x − 4
sM
Hence, the equation of tangent line is
y = 4x − 4
2. Use the result of part 1 to find instantaneous rate of change of f at x = −1 and interpret
it.
Solution: The given function is f (x) = 2x3 + 3. First we will find the derivative f 0 (x) of this
function f (x) = 2x3 + 3.
4
Resource Person: Dr. M. Rayees Ahmad
1.2 Geometrical interpretation of derivative Calculus and Analytic Geometry
f (x) = 2x3 + 3
This implies that
f (x + h) = 2(x + h)3 + 3
ik
Putting values in the formula, we have
al
[2(x + h + 3x2 h + 3xh2 ) + 3] − [2x3 + 3]
3 3
= lim
h→0 h
2x + 2h + 6x h + 6xh2 + 3 − 2x3 − 3
3 3 2
= lim
sM
h→0 h
3 2
2h + 6x h + 6xh 2
= lim
h→0 h
h(2h2 + 6x2 + 6xh)
= lim
h→0 h
2 2
= lim (2h + 6x + 6xh)
h→0
Hence,
f 0 (x) = 6x2
Step 3: [Interpretation] This means that f increases instantaneously 6 units per one
unit increase in x at point x = −1.
y − y0 = mtan (x − x0 )
(1.2.2)
y − f (x0 ) = mtan (x − x0 )
As we have given
f (x) = 2x3 + 3
At x0 = −1, the value of function is
5
Resource Person: Dr. M. Rayees Ahmad
1.2 Geometrical interpretation of derivative Calculus and Analytic Geometry
y − 1 = 6(x − (−1))
y − 1 = 6(x + 1)
y − 1 = 6x + 6
y = 6x + 6 + 1
y = 6x + 7
ik
y = 6x + 7
al
sM
ee
Figure 2: Graph of tangent line
ay
1
Example 1.4. Consider the function f (x) = x−2 .
2. Use the result of part 1 to find instantaneous rate of change of f at x = 1 and interpret it.
1
f (x) =
x−2
This implies that
1
f (x + h) =
(x + h) − 2
The formula for derivative of the function is given as
0 f (x + h) − f (x) 1
f (x) = lim == lim f (x + h) − f (x)
h→0 h h→0 h
6
Resource Person: Dr. M. Rayees Ahmad
1.2 Geometrical interpretation of derivative Calculus and Analytic Geometry
ik
1 −h
= lim
h→0 h (x + h − 2)(x − 2)
−1
= lim
al
h→0 (x + h − 2)(x − 2)
sM
h→0 (x + h − 2)(x − 2)
−1
=
(x + 0 − 2)(x − 2)
−1
=
(x − 2)(x − 2)
−1
=
(x − 2)2
Hence,
ee
−1
f 0 (x) =
(x − 2)2
−1 −1 −1
f 0 (1) = 2
= 2
= = −1 ⇒ f 0 (1) = −1
(1 − 2) (−1) 1
Step 3: [Interpretation] This means that f decreases instantaneously 1 units per one
.R
y − y0 = mtan (x − x0 )
(1.2.3)
y − f (x0 ) = mtan (x − x0 )
Dr
As we have given
1
f (x) =
x−2
At x0 = 1, the value of function is
1 1
f (x0 ) = = = −1 ⇒ f (x0 ) = −1
1−2 −1
And the slope of tangent line is
7
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytic Geometry
y − (−1) = (−1)(x − 1)
y + 1 = −x + 1
y = −x + 1 − 1
y = −x
y = −x
ik
Step 5: The graph of tangent line is given as:
al
sM
ee
Figure 3: Graph of tangent line
ay
2 Differentiation
The process of finding the derivative of a function f is called the differentiation.
.R
8
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
The derivative of constant function is zero. Let c is any real number, then the derivative
of c is calculated by the following formula
d
(c) = 0
dx
ik
al
sM Figure 4:
ee
For example, the derivative of constant functions f (x) = 5 and f (x) = −10, is given as
d d
(5) = 0, (−10) = 0
ay
dx dx
d d d
(x)n = n.xn−1 × (x) ⇒ (x)n = n.xn−1
dx dx dx
In particular, the derivative of simplest power function f (x) = x is 1, that is, the derivative
of power function f (x) = x is
d
(x) = 1
dx
9
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
ik
al
Figure 5:
sM
The derivative of simplest power function f (x) = x2 and f (x) = x3 are calculated as
d
(x)2 = 2.x2−1 = 2x,
dx
d
(x)3 = 3.x3−1 = 3x2
dx
dy
Example 3.1. Find dx , if y = x7 .
ee
Solution:
d d 7
(y) = x
dx dx
ay
= 7x7−1
= 7x6
So,
d 7
x = 7x6
.R
dx
dy
Example 3.2. Find dx , if y = 3x8 + 2x + 1.
Solution:
d d 8
(y) = 3x + 2x + 1
dx dx
Dr
d d d
= (3x8 ) + (2x) + (1)
dx dx dx
d d
= 3 (x8 ) + 2 (x) + 0
dx dx
8−1
= 3(8)x + 2(1)
= 24x7 + 2
So,
d 8
3x + 2x + 1 = 24x7 + 2
dx
10
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
√ 3
For example, the derivative of functions f (x) = x−2 , g(x) = x and h(x) = x− 2 are given as
d
(x)−2 = (−2).x−2−1 = (−2).x−3
dx
ik
− 3
d 2 3 − 32 −1 3 5
x = − .x = − .x− 2
dx 2 2
1
d √
d 2 1 1 1 1 1 1
al
x = x = .x 2 −1 = .x− 2 = .x− 2
dx dx 2 2 2
√
Example 3.3. Find ds
dt , if s = (1 + t) t.
sM
Solution:
d d √
(s) = (1 + t) t
dt dt
d √
= (1 + t) t
dt
d 1
= (1 + t).(t) 2
dt
ee
d 1 1
= (t) 2 + t1 .(t) 2
dt
d 1 1
= (t) 2 + (t)1+ 2
dt
d 1
ay
3
= (t) 2 + (t) 2
dt
d 12 d 32
= t + t
dt dt
1 1 3 3
= [t] 2 −1 + [t] 2 −1
.R
2 2
1 −1 3 1
= t 2 + t2
2 2
So,
d √ 1 1 3 1
(1 + t) t = t− 2 + t 2
dt 2 2
dy √
, if y = x + x1 .
Dr
11
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
d d √ 1
(y) = x+
dx dx x
d 1
x 2 + x−1
=
dx
d 12 d −1
= x + x
dx dx
1 1
= (x) 2 −1 + (−1)(x)−1−1
2
1 1
= x− 2 + (−1)x−2
2
ik
1 1
= x− 2 − x−2
2
1 1
= 1 − 2
2 x2 x
al
1 1
= √ − 2
2 x x
So,
sM
d √
1 1 1
x+ = √ − 2
dx x 2 x x
dx dx
= 2.(x2 + 5) × [2x + 0]
= 2.(x2 + 5) × (2x)
= 4x(x2 + 5)
= 4x3 + 20x
Dr
dy
Example 3.5. Find dx , if y = (3x2 + 1)2 .
Solution:
d d
(3x2 + 1)2 = 2.(3x2 + 1)2−1 × (3x2 + 1)
dx dx
2 d 2 d
= 2.(3x + 1) × (3x ) + (1)
dx dx
= 2.(3x2 + 1) × [6x + 0]
= 2.(3x2 + 1) × (6x)
= 12x(3x2 + 1)
= 36x3 + 12x
12
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
So,
d
(3x + 1) = 36x3 + 12x
2 2
dx
ik
For example,
d d
5.f (x) = 5. f (x)
dx dx
d d
al
− 9.f (x) = −9. f (x)
dx dx
d 2 2 d
.f (x) = . f (x)
dx 3 3 dx
sM
dy
Example 3.6. Find dx , if y = 4x7 .
Solution:
d d 7
(y) = 4x
dx dx
d 7
=4 x
dx
ee
= 4(7)x7−1
= 28x6
So,
d 7
ay
4x = 28x6
dx
If f (x) and g(x) are differentiable at x, then the derivative of f (x) + g(x) and f (x) − g(x)
are given by the formula
d d d
f (x) + g(x) = f (x) + g(x)
dx dx dx
d d d
f (x) − g(x) = f (x) − g(x)
dx dx dx
Dr
For example, let f (x) = 2x6 and g(x) = x−9 , then the derivative of f (x) + g(x) is given by the
formula
d d 6 −9
f (x) + g(x) = 2x + x
dx dx
d 6 d −9
= 2x + x
dx dx
d 6 d −9
=2 x + x
dx dx
= 2.(6)x6−1 + (−9)x−9−1
= 12x5 + (−9)x−10
= 12x5 − 9x−10
13
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
So,
d −9
6
2x + x = 12x5 − 9x−10
dx
Similarly, for f (x) = 2x6 and g(x) = x−9 , then the derivative of f (x) − g(x) is given by the
formula
d d 6 −9
f (x) − g(x) = 2x − x
dx dx
d 6 d −9
= 2x − x
dx dx
ik
d 6 d −9
=2 x − x
dx dx
= 2.(6)x6−1 − (−9)x−9−1
= 12x5 − (−9)x−10
al
= 12x5 + 9x−10
So,
sM
d
2x6 − x−9 = 12x5 + 9x−10
dx
dy
Example 3.7. Find dx , if y = − 13 (x7 + 2x − 9).
Solution:
d d 1 7
(y) = − (x + 2x − 9)
dx dx 3
ee
1 d 7
=− x + 2x − 9
3 dx
1 d 7 d d
=− (x ) + (2x) − (9)
3 dx dx dx
ay
1 d
= − 7.x7−1 + 2. (x) − 0
3 dx
1 6
= − 7.x + 2.(1)
3
.R
1 6
= − 7x + 2
3
So,
d 1 7 1 6
− (x + 2x − 9) = − 7x + 2
dx 3 3
Dr
If f (x) and g(x) are differentiable at x, then the derivative of f (x).g(x) is given by the
formula
d d d
f (x).g(x) = f (x). g(x) + g(x). f (x)
dx dx dx
14
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
For example, let f (x) = 2x6 and g(x) = x−9 , then the derivative of f (x)g(x) is given by the
formula
d d 6 −9
f (x)g(x) = (2x ).(x )
dx dx
6 d −9 −9 d 6
= 2x . x +x . 2x
dx dx
6 −9−1 −9 d 6
= 2.x .(−9)x + x .(2) x
dx
= 2(−9).x6 .x−10 + x−9 .(2)(6)x6−1
= −18x6−10 + 12.x−9 .x5
ik
= −18x−4 + 12.x−9+5
= −18x−4 + 12.x−4
= (−18 + 12).x−4
al
= −6.x−4
So,
sM
d
(2x )(x ) = −6.x−4
6 −9
dx
dy
Example 3.8. Find dx , if y = (x + 1)(2x − 1).
Solution:
d d
(y) = (x + 1)(2x − 1)
dx dx
ee
d d
= (x + 1). (2x − 1) + (2x − 1). (x + 1)
dx dx
d d d d
= (x + 1). (2x) − (1) + (2x − 1). (x) + (1)
dx dx dx dx
ay
d
= (x + 1). 2. (x) − 0 + (2x − 1). 1 + 0
dx
= (x + 1). 2.(1) + (2x − 1). 1
= 2(x + 1) + (2x − 1)
.R
= 2x + 2 + 2x − 1
= 4x + 1
So,
d
(x + 1)(2x − 1) = 4x + 1
dx
Dr
d d
[f (x)] − f (x). dx
d f (x) g(x) dx [g(x)]
= 2
dx g(x) [g(x)]
15
Resource Person: Dr. M. Rayees Ahmad
3.1 Derivatives of algebraic functions Calculus and Analytic Geometry
f (x)
For example, let f (x) = x2 + 2x and g(x) = x − 8, then the derivative of g(x) is given by the
formula
d x2 + 2x
d f (x)
=
dx g(x) dx x − 8
d d
(x − 8) dx (x2 + 2x) − (x2 + 2x). dx (x − 8)
= 2
(x − 8)
d d d d
(x − 8)[ dx (x2 ) + − (x2 + 2x).[ dx
dx (2x)] (x) − dx (8)]
= 2
(x − 8)
(x − 8)[2x + 2(1)] − (x2 + 2x).[1 − 0]
=
(x − 8)2
ik
(x − 8)[2x + 2(1)] − (x2 + 2x).[1 − 0]
=
(x − 8)2
2.(x − 8).(x + 1) − (x2 + 2x)
al
=
(x − 8)2
2(x2 + x − 8x − 8) − x2 − 2x
=
(x − 8)2
sM
2(x2 − 7x − 8) − x2 − 2x
=
(x − 8)2
2x2 − 14x − 16 − x2 − 2x
=
(x − 8)2
x2 − 16x − 16
=
(x − 8)2
So,
ee
d x2 + 2x x2 − 16x − 16
=
dx x − 8 (x − 8)2
3x+4
dy
y=
ay
d d
(x2 + 1). dx (3x + 4) − (3x + 4). dx (x2 + 1)
=
(x2 + 1)2
d d d d
(x2 + 1).[ dx (3x) + dx (4)] − (3x + 4).[ dx (x2 ) + dx (1)]
=
(x2 + 1)2
d
(x2 + 1).[3. dx (x) + 0] − (3x + 4).[2x + 0]
=
(x2 + 1)2
Dr
3(x2 + 1) − 2x(3x + 4)
=
(x2 + 1)2
3x + 3 − 6x2 − 8x
2
=
(x2 + 1)2
−3x2 − 8x + 3
=
(x2 + 1)2
So,
−(3x2 + 8x − 3)
d 3x + 4
=
dx x2 + 1 (x2 + 1)2
16
Resource Person: Dr. M. Rayees Ahmad
3.2 Derivatives of logarithmic functions Calculus and Analytic Geometry
dy x2
Example 3.10. Find dx , if y = 3x−4 .
Solution:
x2
d d
(y) =
dx dx 3x − 4
d d
(3x − 4). dx (x2 ) − (x2 ). dx (3x − 4)
= 2
(3x − 4)
d d
(3x − 4).(2x) − (x2 ).[ dx (3x) − dx (4)]
= 2
(3x − 4)
ik
d
2x(3x − 4) − x2 .[3. dx (x) − 0]
= 2
(3x − 4)
6x − 8x − x2 [3(1)]
2
=
(3x − 4)2
al
6x2 − 8x − 3x2
=
(3x − 4)2
2
3x − 8x
sM
=
(3x − 4)2
So,
x2 3x2 − 8x
d
=
dx 3x − 4 (3x − 4)2
Note: e0 = 1, e1 = e, ln(e) = 1.
.R
ln x = m × ln(x)
x
ln e = x, if x≥0
eln(x) = x, if x≥0
Derivative formula for logarithmic functions: The derivative of logarithmic functions can
be calculated by the following formulas
d 1
ln(x) =
dx x
17
Resource Person: Dr. M. Rayees Ahmad
3.3 Derivatives of exponential functions Calculus and Analytic Geometry
and
d 1 d
ln f (x) = × [f (x)]
dx f (x) dx
Example 3.11.
d 1 d 1 d d 1 2
ln(2x + 1) = × (2x + 1) = × (2x) + (1) = × (2) =
dx 2x + 1 dx 2x + 1 dx dx 2x + 1 2x + 1
Hence
d 2
ln(2x + 1) =
dx 2x + 1
ik
3.3 Derivatives of exponential functions
al
The function of the form f (x) = ex or f (x) = ax , a 6= 0, a > 0, is called a exponential function,
where e is the natural base and a is the common base and x is the corresponding exponent
(power).
sM
The derivative formula for exponential functions is
d x x d x d x
a = a . ln(a). (x) = a . ln(a) ⇒ a = ax . ln(a)
dx dx dx
and
d x x d x d x
e = e . ln(e). (x) = e .(1).(1) ⇒ e = ex
ee
dx dx dx
Example 3.12.
d x3 3 d 3 3 3
= ex × ln(e) × (x ) = ex × (1) × 3x2 = 3x2 ex
ay
e
dx dx
Hence
d x3 3
e = 3x2 ex
dx
.R
Example 3.13.
d x+5 d
2 = 2x+5 × ln(2) × (x + 5) = 2x+5 × ln(2) × (1 + 0) = 2x+5 × ln(2)
dx dx
Hence
d x+5
Dr
2 = 2x+5 × ln(2)
dx
Trigonometry is a very important branch of mathematics which is used in all areas of sciences,
including computer science, biology, chemistry, physics, etc.
18
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytic Geometry
ik
and the derivative formulas for reciprocals of trigonometric functions are
d d d
cosec(x) = −cosec(x) cot(x) × (x) = −cosec(x) cot(x) ⇒ cosec(x) = −cosec(x) cot(x)
dx dx dx
al
d d d
sec(x) = sec(x) tan(x) × (x) = sec(x) tan(x) ⇒ sec(x) = sec(x) tan(x)
dx dx dx
sM
d 2 d 2 d
cot(x) = −cosec (x) × (x) = −cosec (x) ⇒ cot(x) = −cosec2 (x)
dx dx dx
Example 3.14.
d d 2
sin(x + 5) = cos(x2 + 5) ×
2
(x + 5) = cos(x2 + 5) × (2x + 0) = 2x cos(x2 + 5)
dx dx
Hence
ee
d
sin(x + 5) = 2x cos(x2 + 5)
2
dx
ay
4 Practice questions
4.1 Derivative of function
1. Consider the function f (x) = 3x + 2.
.R
19
Resource Person: Dr. M. Rayees Ahmad
4.2 Derivative by direct method Calculus and Analytic Geometry
ik
• Find the derivative of f with respect to x.
• Use the result of part 1 to find instantaneous rate of change of f at x = 1 and interpret
it.
al
• Find the equation of tangent line at x = 1 and display it on the graph.
sM
1. Find the derivative of the function f (x) = π 3
dx x4 +x+1
√
dy (2 x+1)(x−1)
8. Find the derivative dx of the function y= x+3
9. Find the derivative of the functions f (x) = ln(x2 − 5x + 6)
.R
11. Find the derivative of f (x) = cos(2x−12 + 18x) and g(x) = sec(2x−12 + 18x)
Dr
20
Calculus and Analytical Geometry (CSSS-1713)
Week no. 5
Course Instructor: Dr. Muhammad Rayees Ahmad
Lecturer, Department of Mathematics, University of Central Punjab, Lahore, Pakistan
ik
Email: [email protected]
al
sM
Topic: Techniques for differentiation, Composition of function, Chain Rule
5. Practice questions
.R
Dr
1
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
Solution:
ik
Now, applying derivative w.r.t x, we have
d d 4 3
(y) = sin (x )
dx dx
al
Since we know that n
n
sin (θ) = sin(θ)
So, we have
sM
4
dy d 3
= sin(x )
dx dx
Applying generalized power rule, we have
4−1
dy d
= 4. sin(x3 ) × sin(x3 )
dx dx
3
dy d
= 4. sin(x3 ) × sin(x3 )
dx dx
ee
Applying derivative on trigonometric function, we have
dy d
= 4. sin3 (x3 ) × cos(x3 ) × (x)3
dx dx
ay
dy d
= 4. sin3 (x3 ) × cos(x3 ) × 3x2 × (x)
dx dx
dy
= 4. sin3 (x3 ) × cos(x3 ) × 3x2
dx
dy
= 12x2 . sin3 (x3 ). cos(x3 )
.R
dx
Hence,
dy d
= sin (x ) = 12x2 . sin3 (x3 ). cos(x3 )
4 3
dx dx
cot(x)
Example 1.2. Find the derivative of y = 1+cosec(x)
Dr
Solution:
2
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
ik
cos(x) sin(x)
y= ×
sin(x) sin(x) + 1
This implies that
al
cos(x)
y=
sin(x) + 1
Now, we will applying the derivative on the simplified function as
sM
d d cos(x)
(y) =
dx dx sin(x) + 1
Applying the quotient rule, we have
d d
dy [sin(x) + 1] × dx [cos(x)] − cos(x) × dx [sin(x) + 1]
=
dx [sin(x) + 1]2
ee
By applying the derivatives on the terms given in the numerator, we have
d d
dy [sin(x) + 1] × [− sin(x)] − cos(x) × [ dx [sin(x)] + dx (1)]
= 2
dx [sin(x) + 1]
ay
=
dx [sin(x) + 1]2
dy − sin(x) − [sin2 (x) + cos2 (x)]
=
dx [sin(x) + 1]2
dy − sin(x) − 1
= , (∵ sin2 (x) + cos2 (x) = 1)
dx [sin(x) + 1]2
dy −[sin(x) + 1]
Dr
=
dx [sin(x) + 1].[sin(x) + 1]
dy −1
=
dx sin(x) + 1
Hence,
dy d cot(x) −1
= =
dx dx 1 + cosec(x) sin(x) + 1
3
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
Solution:
ik
Applying the product rule, we have
d d cos(x)
f 0 (x) = ecos(x) × ln(sin x) + ln(sin x) × e
al
dx dx
Simplifying the derivative, we have
1 d d
sM
0 cos(x) cos(x)
f (x) = e × × sin(x) + ln(sin x) × e × cos(x)
sin(x) dx dx
Simplifying the derivatives, we have
1 d d
f 0 (x) = ecos(x) × × cos(x) × (x) + ln(sin x) × ecos(x) × [− sin(x)] × (x)
sin(x) dx dx
cos(x)
f 0 (x) = ecos(x) − ecos(x) sin(x) ln(sin x)
sin(x)
ee
0 cos(x) cos(x) cos(x)
f (x) = e cot(x) − e sin(x) ln(sin x), ∵ cot(x) =
sin(x)
This implies that
ay
0 cos(x)
f (x) = e cot(x) − sin(x) ln(sin x)
Hence,
d d cos(x) cos(x)
[f (x)] = e ln(sin x) = e cot(x) − sin(x) ln(sin x)
dx dx
.R
Answer:
0 sin(x)
f (x) = e cos(x) ln(cos x) − tan(x)
Dr
2 x+5
Example 1.4. Find the derivative of f (x) = sin x2 −9
Solution:
4
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
So, we have
2
x+5
f (x) = sin
x2 − 9
Applying the derivative, we have
2
d d x+5
[f (x)] = sin
dx dx x2 − 9
Applying generalized power rule, we have
2−1
0 x+5 d x+5
f (x) = 2. sin × sin
ik
x2 − 9 dx x2 − 9
This implies that
x+5 x+5 d x+5
f 0 (x) = 2. sin
al
× cos ×
x2 − 9 x2 − 9 dx x2 − 9
Now applying quotient rule, we have
d d
sM
(x2 − 9) × dx (x + 5) − (x + 5) × dx (x2 − 9)
0 x+5 x+5
f (x) = 2. sin × cos ×
x2 − 9 x2 − 9 (x2 − 9)2
d d d d
(x2 − 9) × [ dx (5)] − (x + 5) × [ dx (x2 ) −
x+5 x+5 (x) + dx dx (9)]
f 0 (x) = 2. sin × cos ×
x2 − 9 x2 − 9 (x2 − 9)2
(x2 − 9) × [1 + 0] − (x + 5) × [2x − 0]
x+5 x+5
f 0 (x) = 2. sin × cos ×
x2 − 9 x2 − 9 (x2 − 9)2
2
x+5 x+5 (x − 9) − 2x(x + 5)
f 0 (x) = 2. sin × cos ×
ee
2
x −9 2
x −9 (x2 − 9)2
x2 − 9 − 2x2 − 10x
x+5 x+5
f 0 (x) = 2. sin × cos ×
x2 − 9 x2 − 9 (x2 − 9)2
−x2 − 10x − 9
x+5 x+5
ay
cos ×
x2 − 9 x2 − 9 (x2 − 9)2
x2 + 9x + x + 9
x+5 x+5
f 0 (x) = −2 sin cos ×
x2 − 9 x2 − 9 (x2 − 9)2
x+5 x+5 x(x + 9) + 1(x + 9)
f 0 (x) = −2 sin 2
cos 2
×
x −9 x −9 (x2 − 9)2
x+5 x+5 (x + 9)(x + 1)
f 0 (x) = −2 sin cos ×
Dr
2
x −9 2
x −9 (x2 − 9)2
x+5 x + 5 (x + 9)(x + 1)
f 0 (x) = −2 sin cos
x2 − 9 x2 − 9 (x2 − 9)2
Hence,
d d 2 x+5 x+5 x + 5 (x + 9)(x + 1)
[f (x)] = sin = −2 sin cos
dx dx x2 − 9 x2 − 9 x2 − 9 (x2 − 9)2
5
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
Answer:
x x
− cos2 x+1 . sin x+1
f 0 (x) =
(x + 1)2
Example 1.5. Find the derivative of f (x) = cos sin e ln(x)
Solution:
ik
ln(x)
f (x) = cos sin e
al
d d ln(x)
[f (x)] = cos sin e
dx dx
sM
0 ln x d ln x
f (x) = − sin sin(e ) × sin(e )
dx
0 1
f (x) = − sin sin(e ) × cos(eln x ) × eln x ×
ln x
x
1
f 0 (x) = − eln x sin(sin(eln x )) cos(eln x )
x
Hence,
d d ln(x) 1
[f (x)] = cos sin e = − eln x sin(sin(eln x )) cos(eln x )
dx dx x
f (x) = sin cos(2x − 5)
2 Composition of functions
Let f be a function from X to Y , i.e., f : X → Y and g be a function from Y to Z, i.e.,
g : Y → Z, then the composition of functions f and g is a function, denoted by g ◦ f , from
set X to set Z, i.e., g ◦ f : X → Z, and is defined as
6
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
Example 2.1. Suppose we have given a composite function cos x2 +1
Solution:
ik
From the given composite function, we can extract the functions f and g given as
f (x) = x2 + 1
al
and
g(x) = cos(x)
sM
Example 2.2. Suppose we have given a composite function ln 2
sin x + 1
Solution:
From the given composite function, we can extract the functions f, g and h given as
f (x) = x2 + 1
ee
g(x) = sin(x)
and
h(x) = ln(x)
ay
as
dy
dx
2. When one variable is dependent on two independent variables, then
7
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
4 Chain rule
ik
The chain rule for two functions f and g can be expressed as
dy dy dt
= ×
dx dt dx
al
where y = f (t) and t = f (x).
The chain rule for three functions f, g and h can be expressed as
sM
dy dy dt du
= × ×
dx dt du dx
where y = f (t), t = f (u) and u = f (x).
Example 4.1. Find the derivative of the function y = (3x2 − 2x + 7)6 using chain rule.
Solution:
ee
Suppose that
t = 3x2 − 2x + 7 (4.0.1)
ay
(t) =
dx dx
dt d d d
= 3 (x2 ) − 2 (x) + (7)
dx dx dx dx
dt
= 3(2x) − 2(1) + 0
dx
dt
= 6x − 2
dx
Dr
8
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
ik
Hence
dy
= 12(3x − 1)(3x2 − 2x + 7)5
dx
al
Example 4.2. Find the derivative of the function y = sin(2x) using chain rule.
Solution:
sM
Suppose that
t = 2x (4.0.3)
This implies that
y = sin(t) (4.0.4)
Now, differentiate equation (4.0.3) w.r.t variable x, we have
d d
ee
(t) = (2x)
dx dx
dt d
= 2 (x)
dx dx
dt
ay
= 2(1)
dx
dt
=2
dx
d d
(y) = sin(t)
dt dt
dy d
= cos(t) × (t)
dt dt
dy
= cos(t) × (1)
dt
Dr
dy
= cos(t)
dt
9
Resource Person: Dr. M. Rayees Ahmad
Calculus and Analytical Geometry
5 Practice questions
Find the derivative of the following functions
ik
1. f (x) = sin2 (3x)
ex
2. f (x) = cos(x)
al
sin(x)
3. f (x) = sec(3x+1)
sin(x) sec(x)
4. f (x) =
sM
1+x tan(x)
√
5. f (x) = x tan(x2 )
2
6. f (x) = ex (1 − 5x2 )
7. f (x) = x3 ln(x2 )
8. f (x) = ln(sin x)
ee
9. f (x) = sin(ln x)
10. f (x) = ex ln x
4. f (x) = ln(sin x)
Dr
5. f (x) = sin(ln x)
6. f (x) = ex ln x
7. f (x) = tan(x2 + 1)
p
8. f (x) = sec(x) + x2
10