← ሂሳብ
Unit 3: Introduction to Differential Calculus
Grade 12 Maths (old curriculum) p.113
d If ∆r is the increase in the radius and ∆c is the increase in the circumference,
then ∆c = 2π (∆r + 3 cm) − 2π (3 cm) = 2π (∆r).
∆r ∆c
Let ∆t be the increase in the time. If = 1 cm/s, what is ?
∆t ∆t
2 Average rate of change and instantaneous rates of change.
Suppose you drove 200 km in 4 hours, then the average speed at which you drove is
50 km/hr. This is the average rate of change.
The average speed for the whole journey is the constant speed that would be
required to cover the total distance in the same time.
Suppose you drove at 30 km/hr for 2 km and then at 120 km/hr for 2 km.
a What is your average speed?
b Is a patrol officer going to stop you for speeding?
c Is the officer likely to consider your lower average speed and not charge you?
Here what is considered is the speed at a particular instant.
3 Suppose a particle moves along a straight line from a fixed-point O on that line.
The following table shows the distance of the particle from point O at a given
instant of time t.
t (s) 0 1 2 3 4 5
a Draw the position - time graph.
b Find the gradient (slope) of the graph.
c Find the speed of the particle in the interval of time
t = 0 to t = 1, t = 1 to t = 2,…, t = 4 to t = 5.
4 Repeat Problem 3 for this new data.
i t (s) 0 1 2 3 4 5
position (m) 0 1 2 3 4 5
ii t (s) 0 1 2 3 4 5
position (m) 0 20 40 60 80 100
5 From the position - time graphs, what is the relationship between the gradient (or
slope) and the speed in the given intervals of time?
In Activity 3.1, the position-time graphs are all straight lines and the speed is represented
by the gradient (or the slope) of the line.
Now, let’s consider a position-time graph which is not a straight line.
Example 1 Suppose a particle moves along a straight line from point O on that line.
The position d of the particle from point O at a given instant of time t are
shown below.
t (seconds) 1 2 3 4 5
position (m) 1 4 9 16 25
a Draw a position - time graph.
b Let A, B, C, D, E, and F be points on the graph when t = 0, 1, 2, 3, 4, 5
respectively.
Find the gradients of the chords AB, BC, CD, DE and EF.
c Find the average speeds over these intervals of time.
i t = 0 to t = 1 ii t = 1 to t = 2 iii t = 2 to t = 3
v t = 4 to t = 5 iv t = 3 to t = 4
Solution From the table, it is observed that different distances are covered in equal
intervals of time. Thus the position - time graph is not a straight line.
d(m) •
F•
E•
D•
C•
B• t(s)
Figure 3.1
Chord AB BC CD DE EF
Gradient 1 3 5 7 9
Average speed(m/s) 1 3 5 7 9
Example 2 A particle moves along a straight line from a fixed-point O on that line.
The position d in metres of the particle from point O as a function of time
t in second is given by d = (t + 2) (4 – t).
a Draw the position-time graph for the interval of time t = 0 to t = 5.
b Using the graph, find the average speed of the particle over the intervals
t = 0 to t = 1, t = 1 to t = 2, t = 2 to t = 3, t = 3 to t = 4, t = 4 to t = 5.
c Find the time at which the speed is 0.
d Approximate the gradient of the graph at t = 2.
3.1.2 Graphical Definition of Derivative p.115
Solution
t (s) 0 1 2 3 4 5
d = (t + 2) (4 – t) 8 9 8 5 0 −7
Figure 3.2
b time interval
0 to 1 1 to 2 2 to 3 3 to 4 4 to 5
t = a to t = b
chord AB BC CD DE EF
9−8
gradient = 1 8 – 9 = −1 5 – 8 = −3 0 – 5 = −5 −7 – 0 = −7
Average speed 1 m/s −1 m/s −3 m/s −5 m/s −7 m/s
c From the graph one can see that the gradient at B, when t = 1, is zero.
i.e., the graph has a horizontal tangent line at t = 1.
d There will be a very good approximation, if you consider very small
intervals of time.
Let ∆t be the increase in time and ∆d be the increase in distance.
If t = 2 + ∆t, then
∆d = (2 + ∆t + 2) (4 – (2 + ∆t)) = (4 + ∆t) (2 – ∆t). Since at t = 2, d = 8,
( 4+∆t )( 2−∆t )−8
the gradient at c =
2+∆t−2
8 − 2∆t − ∆t2 − 8
∆t
−(∆t)2 −2∆t
= =−∆t−2
∆t
As ∆t → 0, −∆t –2 → −2.
The gradient when t = 2 is −2.
Figures 3.3
By a similar technique, we can find that the velocity, v (t) =2 − 2t.
Velocity-time graph
t (s) 0 1 2 3 4 5
Velocity m/s 2 0 −2 −4 −6 −8
v(t)
2 4 6
-2
-4
-6
-8
Figure 3.4
The slope (gradient) of the graph of y = f (x) at point P
Newton and Leibniz invented calculus at about the same time.
HISTORICAL NOTE
Sir Isaac Newton (1642-1727)
Isaac Newton’s work represents one of the greatest contributions
to science ever made by an individual. Most notably, Newton
derived the law of universal gravitation, invented the branch of
mathematics called calculus, and performed experiments
investigating the nature of light and colour.
Gottfried Wilhelm Leibniz (1646-1716)
The 17th–century thinker Gottfried Leibniz made contributions
to a variety of subjects, including theology, history, and physics,
although he is best remembered as a mathematician and
philosopher. According to Leibniz, the world is composed of
monads—tiny units, each of which mirrors and perceives the
other monads in the universe.
Grade 12 Maths (old curriculum) p.117
Definition 3.1 Secant line and tangent line
A line which intersects a (continuous) graph in exactly two points is said to be a
secant line.
A line which touches a graph at exactly one point is said to be a tangent line at that
point. The intersection point is said to be the point of tangency.
The slope of the graph of a function at a point P is the slope of the tangent line at point P.
P Tangent line
Secant line
A • B
y = f (x)
Figure 3.5
Example 3 Consider the graph of y = x2.
a Find the slope of the secant line passing through (1, 1) and (2, 4).
b Find the slope of the tangent line at (1, 1).
Solution
4 − 1
a the slope of the secant line = = 3.
2 − 1
Secant line
Figure 3.6
This is the average rate of change of y on the interval [1, 2].
In general, the average rate of change of a function f on [x , x ], x < x , is the
1 2 1 2
slope (or gradient) of the secant line passing through the two points (x , f (x ))
1 1
and (x , f (x )).
2 2
f ( x ) − f ( x )
So average rate of change = 2 1 . (See Figure 3.7)
x − x
2 1
(x , f (x ))
2 2
(x 1 , f (x 1 )) y = f (x)
Figure3.7
Tangent line
Secant line
Figure 3.8
Let Q be another point on the graph of y = x2 such that the increase in the x-
coordinate in moving from P to Q is δx.
Then Q has coordinates (1 + δx, (1 + δx)2).
Hence, the slope of the secant line is
( 1 + δx )2 − 1 1 + 2δx + (δx )2 − 1
= = 2 + δx
1 + δx − 1 δx
Notice that the tangent line is the limit of the secant lines through
(1 + δx, (1 + δx)2) as δx → 0.
Thus, the slope of the tangent line at (1, 1) is
lim ( 2+δx )=2
δx→0
In general, the instantaneous rate of change of f (x) at (x , f (x )) is represented by
o o
the slope of the tangent line at (x , f (x )).
o o
Grade 12 Maths (old curriculum) p.119
Functional notation to find the slope of y = f (x) at point P
Gradient of the secant line
f ( x+h )− f(x) f ( x+h )− f ( x ) f
= ( x+h )−x =
Using the same method as with the delta notation, (x + h, f (x + h))
you have gradient of the tangent line at P
f (x + h) − f (x)
f ( x+h )− f ( x )
= lim
P (x, f (xP) )
RR ((xx ,+ f (hx, )f) (x))
h→0 h
Example 4 Let f (x) = 2x2 – 5x + 1. Find the
gradient of the line tangent to the x
graph of f at (2, −1).
f ( 2+h )− f ( 2 ) Figure 3.9
Solution gradient = lim
h→0 h
2 ( 2+h )2 −5 ( 2+h )+1−( -1 )
= lim
h→0 h
8+8h+2h2−5h− 8
= lim
h→0 h
= lim
3h+2h2
= lim ( 3+2h ) = 3.
h→0 h h→0
Limit of the quotient difference
Let f (x) be a function defined in a neighbourhood of a point x .
f ( x ) − f ( x )
The ratio o is called the quotient difference of f at x = x .
x − x o
Example 5 Find the quotient-difference of each of the following functions for the
given values of x .
a f (x) = x + 1; x = 3 b f (x) = x2 − 2x + 3; x = −1
o o
c f (x) = x3 – 4x + 1; x = 1
Solution
f ( x ) − f ( 3 ) ( x + 1 ) − 4 x − 3
a = = = 1; x≠3
x − 3 x − 3 x − 3
f ( x ) − f ( -1 ) x2 − 2x + 3− ( 1 + 3−2 (−1 )) x2−2x+3−6
b = =
x− ( -1 ) x + 1 x+1
x2−2x−3 ( x−3 )( x+1 )
= = =(x−3); x≠-1
x+1 x+1
f ( x ) − f ( 1 ) x3 − 4x + 1 − ( 1 − 4 + 1 ) x3− 4x+3
c = =
x − 1 x − 1 x−1
( x−1 ) ( x2+x−3 )
= =x2+x−3; x≠1
x−1
If the limit of the quotient difference as x → x exists, then it is said to be the derivative
of f (x) at x = x . In the above examples,
f ( x ) − f ( 3 ) ( x − 3 )
a lim = lim = 1.
x→3 x − 3 x→3 x − 3
⇒ The derivative of f (x) = x + 1 at x = 3 is 1.
f ( x )− f ( -1 ) ( x−3 )( x+1 )
b lim = lim = lim x−3 = −4
x→−1 x−( -1 ) x→−1 x+1 x→−1
⇒ The derivative of f (x) = 3 − 2x + x2 at x = −1 is −4.
) ( x−1 )( x2+x−3 )
c lim =lim = lim x2+x−3 =−1
x→1 x−1 x→1 x−1 x→1
⇒ The derivative of f (x) = x3 – 4x + 1 at x = 1 is −1.
Exercise 3.1
1 Let f (x) = x2 – x + 3. Find
f ( 3+h )− f ( 3 ) f (−1+δx )− f (−1 )
a lim b lim
h→0 h δx→0 δx
f ( x ) − f ( 4 )
c lim
x→4 x − 4
2 Find the slope of each of the following functions at the given points.
a f (x) = x2; (−3, 9) b g (x) = 1 – 3x2; (1, −2)
1 1
c h (x) = ; , 2 d k(x) = x; (9, 3)
x 2
3x − 1 5
e f (x) = ; -3, f f (x) = x; (4, 2)
5x − 3 9
x, if x<0 x2+2;x≥ -2; (-2, 6)
g f(x)= ;(0,0) h f (x) =
x2, if x≥0 4x − 2; x < -2
1 − x; 0 ≤ x ≤ 1
i f (x) =
x2 + 1; x < 0; (0, 1)
3.1.3 Differentiation of a Function at a Point p.121
Definition 3.2
Let f be a function and x be in the domain of f.
If lim o exists, we say that the graph of f has a tangent line at (x f (x )).
x→x
x−x o, o
In that case the line tangent to the graph of f at (x f (x )) is defined to be the line
o, o
through (x , f (x )) with this limit as its slope.
o o
Example 6 Find the equation of the line tangent to the graph of f (x) = x2 – 2 at (1, −1).
Solution By the Definition of the slope, m of the tangent line,
m=lim f
=lim
x2−2−(
-1
= lim x2 - 1 = lim ( x+1 )=2
x→1 x−1 x→1 x−1 x→1 x - 1 x→1
⇒ The slope of the tangent line is 2.
The equation of the tangent line is
y – (−1) = 2(x − 1) ⇒ y = 2x – 3.
π
Example 7 Find the equation of the line tangent to the graph of y = sin x at , 1.
2
sinx−sin
Solution The slope of the tangent line, m = lim
x→ x−
π π π
Let z = x – , then x = z + and as x → ,z→0
2 2 2
sinz+ −sin sinzcos +coszsin −1
Thus, m = lim = lim
z→0 z z→0 z
cosz−1
= lim =0 ⇒ The equation of the tangent line is y = 1.
z→0 z
Definition 3.3
Let f be a continuous function at x .
f(x)− f(x ) f(x)− f(x )
If lim o =∞or lim o =−∞, then the vertical line x = x is
x→x x−x x→x x−x
tangent to the graph of f at (x , f (x )).
o o
Vertical Tangent
-3 -2 -1 1 2 3 4
-1
Figure 3.10
Example 8 Find the equation of the line tangent to the graph of f (x) = x1 3 at x = 0.
Solution Look at the graph of f. It is continuous on ℝ. So it is continuous at 0.
x 1 3 − 0
But, lim =∞.
x→0 x− 0
⇒ The line x = 0 (the y-axis) is tangent to the graph of f at (0, 0).
2 f
-3 -2 -1 1 2 3 4 5
-1
Figure 3.11
The derivative
Definition 3.4
Let x be in the domain of a function f.
f ( x ) − f ( x )
If lim o exists, then we call this limit the derivative of f atx .
x→x x − x o
o o
Notation:
The derivative of f at x is denoted by f '(x ), which is read as ‘f prime of x ’.
o o o
If f ' (x ) exists, then we say that f has a derivative at x or f is differentiable at x .
o o o
Differentiation is the process of finding the derivative of a function.
Grade 12 Maths (old curriculum) p.123
Example 9 Find the derivative of each of the following functions at the given number.
a f (x) = 4x + 5; x = 2 b f (x) = x2 + x; x = -1
o o
c f (x) = x3 – 9x; x o = d f (x) = x; x o = 4
Solution Using the Definition,
f ( x ) − f ( x )
f ' (x o ) = lim o , you obtain,
x→xo x − x
( 4x+5 )− ( 4 ( 2 )+5 ) 4x−8 4 ( x−2 )
a f '(2) = lim =lim =lim =4.
x→2 x−2 x→2 x−2 x→2 x−2
1 x2+x− 1(−1 )2−1 1 x2+x+ 3
b f '(−1) = x l → im −1 4 x− ( 4 -1 ) = x l → im −1 4 x+1 4
= lim 1 4 ( x + 3 ) ( x + 1 ) = 1 lim ( x + 3 ) = 1 .
x→−1 x + 1 4x→−1 2
13 1
c f ' 1 =lim
x3−9x−
3
−9
3
= lim
x2+ 1
x− 8
0
x− 1
3
3 x→1
x− 1
x→1
x− 1
12
−26
3 3 3 9 3
d f '(x) = lim x−2 = lim( x )( −2 ) = lim 1 = 1
x→4 x−4 x→4 x−2 x+2 x→4 x+2 4
Let f be a function defined at a. If f '(a) exists, then the graph of f has a tangent
line at (a, f (a)) and the equation of the tangent line is
y – f (a) = f '(a) (x – a)
Example 10 Find the equation of the line tangent to the graph of f (x) = x2 at
a x = 1, b x = 0, c x = −5
Solution f (x) = x2 ⇒ f '(x) = 2x
a f (1) = 1 and f ' (1) = 2
⇒ The equation of the tangent line is:
y – f (1) = f '(1) (x – 1) ⇒ y – 1 = 2(x –1) ⇒ y = 2x – 1
b y – f (0) = f '(0) (x – 0) ⇒ y = 0
c y – f (−5) = f '(−5) (x – (−5))
⇒ y – 25 = −10 (x + 5) ⇒ y = −10x – 25
Example 11 Find the equations of the lines tangent to the graph of f (x) = x3 + 1 at
a x = −2 b x = −1 c x = 2
x3+1−
a3+1
x3−a3
Solution f '(a) = lim = lim = lim
x→a x−a x→a x−a x→a x−a
( x−a )( x2+ax+a2 ) ( )
= lim = lim x2+ax+a2
x→a x−a x→a
= a2 + a2 + a2 = 3a2
Therefore,
a f '(−2) = 3(−2)2 = 12
⇒ The equation of the line tangent to the graph of f at x = −2 is
y – f (−2) = 12 (x – (−2))
⇒ y – (−7) = 12 (x + 2) ⇒ y = 12x + 17
b f ' (−1) = 3(−1)2 = 3
⇒ The equation of the line tangent to the graph of f at x = −1 is
y – f (−1) = 3(x – (−1))
⇒ y – 0 = 3x + 3 ⇒ y = 3x + 3
c f '(2) = 3(2)2 = 12
The equation of the tangent line at x = 2 is
y – f (2) = 12 (x – 2) ⇒ y – 9 = 12x – 24
⇒ y = 12x – 15
x2, if x≥0
Example 12 Let f(x)=
x3, if x<0
Determine the equation of the line tangent to the graph of f at x = 0.
f ( x ) − f(0) f ( x )
Solution f '(0) = lim =lim
x→0 x − 0 x→0 x
Here, we consider the one-side limits
f x x2 f x x3
lim = lim = 0 and lim = lim = 0
x→0+ x x→0+ x x→0− x x→0− x
⇒ The slope of the graph of f at 0 is 0.
The equation of the tangent line is
y – f (0) = 0(x – 0) ⇒ y = 0.
Grade 12 Maths (old curriculum) p.125
Exercise 3.2
1 Find the equation of the tangent line to the graph of the function at the indicated point.
a f (x) = x2 ; (1, 1) b f (x) = 4x2 – 3x – 5; (−2, 17)
c f (x) = x3 + 1; (−1, 0) d f(x)=(x−1)3; (1,0)
1 ( )
e f (x) = ; 1, 1
x, if x > 3
2 Let f (x) = . Find the equation of the line tangent to the graph
x2 − 6, if x ≤ 3
of f at each of the following points.
a (0, −6) b (−2, −2) c (1, −5) d (3, 3) e (4, 4)
3 Let f (x) = x3 – 3x, find the values of x at which the slope of the tangent line is 0.
4 Let f (x) = x3 + x2 – x + 1; find the set of values of x such that the slope is positive.
5 If the graphs of the functions f and g given by
f (x) = 4 – x2 and g (x) = x3 – 8x have the same slope, determine the values of x.
6 Letf(x) = x3 – x2 – x + 1; find the equation of the tangent line at the point where the
graph crosses
a the x-axis b the y-axis c the graph of y = 1– x2
The derivative as a function
ACTIVITY 3.2
For each of the following functions, find the set of values of x such
that f '(x ) exists.
x2, if x < 2
1 f (x) = x2 2 f (x) = x 3 f (x) =
4x − 4, if x ≥ 2
From Activity 3.2 you observed that there are functions that are differentiable at all
numbers in their domain and there are functions that are not differentiable at some
numbers in their domain. At this level we give the definition of the function f ' as follows
and determine the interval on which f ' is defined.
Definition 3.6
f ' is the function whose domain is the set of numbers at which f is differentiable and
whose value at any such number x is given by
f ( t ) − f ( x )
f ' (x) = lim .
t→x t − x
Here we say f ' (x) is the derivative of f with respect to x. We consider t as a variable
and x as a constant.
Example 13 Find the derivatives of each of the following functions with respect to x.
2x−1
a f (x) = x2 b f (x) = x; x > 0 c f(x)= ;x≠−4
x+4
Solution Using Definition 3.6 of f '(x) we have,
t2 −x2
aaaa f '(x)=lim =lim(t+x)=2x
t→x t−x t→x
bbbb f ' ( x )=lim t − x × t + x =lim 1 = 1
t→x t− x t + x t→x t + x 2 x
2t−1 ( 2x−1 )
cccc f '(x) = l t i → m x
t+4
−x
x+4
= l t i → m x
2xt−x
t−
8t
8x−4 )
9t−9x 9 9
= lim = lim = .
t→x ( t−x )( t+4 )( x+4 ) t→x ( t+4 )( x+4 ) ( x+4 )2
The different notations for the derivative
Recall the functional notation and the delta notation for the gradient of a graph at a
point. The following are some other notations for the derivatives.
dy d ( )
If y = f (x), then f '(x) = , f x , D(f (x))
dx dx
Using these notations, we have
f '(x o ) = dy = d f ( x ) =D ( f ( x ))
dx
x=x0
Example 14 Find the derivative of f (x) = .
1 1
f ( x+h )− f ( x ) x+h x x − ( x + h )
Solution f '(x) = lim = lim = lim
h→0 h h→0 h h→0 xh x + h
= lim = −lim = −
h→0 xh (x+h) h→0 x ( x + h ) x2
dy t4− x4 t2 − x2 t2 + x2
Example 15 Let y = x4, then = lim = lim
dx t→x t − x t→x t− x
= lim t + x t2 + x2
t→x
= (x + x) (x2 + x2) = 2x (2x2) = 4x3
3.1.4 Differentiability on an Interval p.127
Example 16 Let f (x) = , then
x2 + 1
t x
D ( f ( x )) = d d x f ( x )= f ' ( x )=l t i → m x t2+1 t−x x2 +1 =l t i → m x ( t2 t + x 1 2 ) + ( t x − 2+ x 1 t2 )( − t x −x )
tx ( x−t )+( t−x ) −tx+1 −x2+1 1−x2
=l t i → m x ( t2+1 )( x2 +1 )( t−x ) =l t i → m x ( t2 +1 )( x2+1 ) = ( x2+1 ) 2 = ( x2+1 ) 2
Exercise 3.3
Using Definition 3.6, find the derivatives of the following functions with respect to x.
1 f (x) = x 2 f (x) = 2x − 5 3 f (x) = x2 + 4x − 5
4 f (x) = ; x≠0 5 f (x) = x 6 f (x) = x3 − 3
7 f (x) = (3x − 2)2 8 f (x) = x2 (2 + x) 9 f (x) = 8 − 3 x
x + 2 3 32
10 f (x) = ; x≠ 11 f(x)= x− ;x≠0
3 − 2x 2 x
4x2 −5x3 x2
12 f(x)= ;x≠0 13 f(x)=2x−5+ +x5
x2 7
1 3 1
14 f(x)= x+ ;x ≠0 15 f(x)= 3 x +x− ;x >0
x2 x
Definition 3.7
1 If I is an open interval, then we say that a function f is differentiable on I, if f is
differentiable at each point in I.
2 If I is a closed interval [a, b] with a < b, then we say that f is differentiable on I
if f is differentiable on (a, b) and if the one side limits lim and
x→a+ x− a
lim both exist.
x→b− x−b
Example 17 Let f (x) = x − 3 .
a Is f differentiable at x = 3?
b Find the interval(s) on which f is differentiable.
Solution
x − 3 − 3 − 3 x − 3
a f ' (3) = lim = lim
x→3 x − 3 x→3 x − 3
x − 3 x − 3
But, lim = 1 and lim = -1 ⇒ f '(3) doesn't exist.
x→3+ x− 3 x→3− x− 3
Therefore, f is not differentiable at 3.
f ( x ) − f ( 3 ) f ( x ) − f ( 3 )
b Since both lim and lim exist, f is
x→3− x − 3 x→3+ x
differentiable on (−∞, 3 ] and [3, ∞).
f ' (x) = 1 for all x ≥ 3 and f '(x) = −1 for all x ≤3.
Example 18 Let f(x)= 1−x2. Find the largest interval on which f is differentiable.
1−t2 − 1−x2 1−t2 − 1−x2
Solution f ′ (x)=lim =lim ( ).Why? Explain!
t→x t−x t→x ( t−x ) 1−t2 + 1−x2
x2 −t2 ( x−t )( x+t )
= lim ( ) =lim ( )
t→x ( t−x ) 1−t2 + 1−x2 t→x −( x−t ) 1−t2 + 1−x2
( x+t ) 2x −x
= − lim =− =
t→x 1−t2 + 1−x2 2 1−x2 1−x2
Notice that the domain of f ' (x) = − is (−1, 1) ⇒ f is differentiable on (−1, 1).
1 − x2
Definition 3.8
1 A function f is differentiable on
a,
if f is differentiable on
a,
and the
one side limit
f x − f a
lim exists.
x→a+ x − a
2 A function f is differentiable on
, if f is differentiable on
and
the one side limit
f x − f a
lim exists.
x→a− x − a
Example19 The absolute value function f (x) = x is differentiable on
and on
0,
3.2 DERIVATIVES OF SOME FUNCTIONS p.129
Example 20 Find the largest interval on which f (x) = is differentiable.
3 − 2x
1 1
Solution f ' (x) =lim
= lim
3−2t
3−2x
=lim
3−2x−3+2t
t→x t − x t→x ( t−x ) t→x ( t−x )( 3−2t )( 3−2x )
2 ( t−x ) 2 2
= lim =lim =
t→x ( t−x )( 3−2t )( 3−2x ) t→x ( 3−2t )( 3−2x ) ( 3 − 2x )2
3 3
⇒ f is differentiable on −∞, and on , ∞ .
2 2
Exercise 3.4
Determine the intervals on which each of the following functions is differentiable.
1 f (x) = 3x − 5 2 f (x) = x2 + 7x + 6 3 f (x) =
4 f (x) = x −2 5 f (x) = 9 − 4x2 6 f (x) = x − 5
7 f (x) = 2x − 3 8 f (x) = x + x−1 9 f (x) = x x
x, if x>1 x − 1
10 f(x)= 11 f (x) =
2−x2, if x≤1 3 − x
Differentiation of power, simple trigonometric,
exponential and logarithmic functions
ACTIVITY 3.3
1 Using your knowledge of limits, evaluate each of the following
limits.
1 1
t3 − x3 t3 −x3 cos h − 1
a lim b lim c lim
t→x t − x t→x t − x h→0 h
eh − 1 ah − 1
d lim e lim , where a > 0.
h→0 h h→0 h
2 Using Definition 3.6, find the derivatives of each of the following power functions.
a f (x) = x b f (x) = x2 c f (x) = x4 d f (x) = x −1
1 −3 −1
e f (x) = x
−5
f f (x) = x2 g f (x) = x2 h f (x) = x3
The derivatives of the power functions in the Activity can be summarized as follows:
Function f (x) Derivative f '(x)
x 1
x4 4x3
−1
−x
−2
−5
−5x
−6
x 2
x2
−3
−5
x2
−1 1 −4
− x 3
x3
From this table one can see that if f (x) = xn, then f '(x) = nxn−1.
Derivative of a power function
Here, we consider the derivative of f (x) = xr with respect to x when r is a real number.
Theorem 3.1 Power rule for differentiation
Let f (x) = xn, where n is a positive integer. Then f '(x) = nxn −1
Proof:
Let f (x) = xn. Then, using the Definition of derivative, we obtain,
tn −xn
f '(x) = lim =lim
t→x t−x t→x t−x
( t−x )( tn−1+xtn−2+x2tn−3+...+xn−2t+xn−1 )
= lim
t→x t−x
= lim
tn−1+xtn−2+x2tn−3+⋯+xn−2t+xn−1
t→x
=xn−1+xn−1+xn−1+⋯+xn−1+xn−1= nxn−1.
Example 1 Find the derivatives of each of the following functions
a f (x) = x4 b f (x) = x10 c f (x) = x95 d f (x) = x102
Solution Using Theorem 3.1, we have
a f '(x) = (x4)' = 4x3 b f '(x) = (x10)' = 10x9
c f '(x) = 95x94 d f '(x) = 102x101
Corollary 3.1
If f (x) = x−n, where n is a positive integer, then f '(x) = −n x−(n+1).
Grade 12 Maths (old curriculum) p.131
Proof:
f(x)=lim
tn xn
=lim
xn −tn
=lim
xn −tn
×lim
t→x t−x t→x ( t−x ) tnxn t→x ( t−x ) t→x tnxn
1
= (−nxn −1) . Why? Explain!
x2n
= −nx −1− n =−nx − (n +1)
Example 2 Let f (x) = x
−7,
evaluate
1
a f '(1) b f ' − c f '(c)
2
Solution By Corollary 3.1, f '(x) = (x−7)' = −7(x−8). Hence,
a f '(1) = −7
1 1
−8
b f ' − =−7 − =−7 (−2)8 =−7 (−2)8 =−1792
2 2
c f′(c)=−7c−8.
Corollary 3.2
Let f (x) = cxn, then f '(x) = cnxn−1; where n is any non-zero integer.
Proof:
f ( t )− f ( x ) ctn −cxn tn −xn
f (x) = cxn ⇒ f '(x) = lim =lim =limc
t→x t−x t→x t−x t→x t−x
= clim
tn−xn
= c f '(x) =
cnxn−1
t→x t−x
Example 3 Find the derivative of each of the following functions:
6 −π
a f (x) = 4x7 b f (x) = −11x6 c f (x) = d f (x) =
x10 x13
Solution By Corollary 3.2, we have
a f '(x) = 4(x7)' = 4(7x6) = 28x6
b f '(x) = (−11x6)' = −11 (x6)' = −11(6x5) = −66x5
6
c f ′ (x)= =6(x−10) ′=6(−10x−11)=−60x−11
x10
−π' ( )
d f ' (x) = = − π −13x−14 = 13π x −14.
x13
Theorem 3.2 Derivatives of power functions
Let f (x) = x r; where r is a real number. Then, f '(x) = rxr−1.
Example 4 Find the derivatives of each of the following functions
1 3
a f (x) = x2 b f (x) = x5 c f (x) = x
d f (x) = x −4.05 e f (x) = x 2 f f (x) = x e−3
Solution By using Theorem 3.2, we obtain,
a f '(x) = 1 x 1 2 −1 = 1 x −1 2 = 1 = 1 b f '(x) = 3 x 3 5 -1 = 3
2 2 1 2 x 5 2
2x2 5x5
c f '(x) = π x π−1 d f '(x) = −4.05x −5.05
e f '(x) = 2 x 2− 1 f f '(x) = ( e−3 ) xe-4
Exercise 3.5
1 Find the derivatives of each of the following functions with respect to x.
a f (x) = x3 b f (x) = x5 c f (x) = x11
d f (x) = x
−7
e f (x) = x
−10
f f (x) = x4
−5 3
g f (x) = x3 h f (x) = x3 x i f (x) = x2 3 x2
j f (x) = x1 − π
2 Let f (x) = 3 x x2, find
a f '(0) b f '(1) c f '(8)
−4
3 Let f (x) = x 5
a If f '(a) = − ,find the equation of the line tangent to the graph of f at (a, f (a)).
b If f has a vertical tangent at (a, f (a)), find the value of a.
Derivatives of simple trigonometric functions
Theorem 3.3 Derivatives of sine and cosine functions
1 If f (x) = sin x, then f '(x) = cos x. 2 If f (x) = cos x, then f '(x) = − sin x.
Grade 12 Maths (old curriculum) p.133
Proof
f ( x+h )− f(x) sin ( x+h )−sinx
1 f (x) = sin x ⇒ f '(x) = lim =lim
h→0 h h→0 h
sinxcosh+cosxsinh−sinx sinx(cosh−1) cosxsinh
⇒ f '(x)=lim =lim +
h→0 h h→0 h h
cosh-1 sinh
= sin x lim + cosx lim = 0 + (cos x) × 1 = cos x.
h→0 h h→0 h
f(x+h)− f(x) cos ( x+h )−cosx
2 f (x) = cos x ⇒ f '(x) = lim =lim
h→0 h h→0 h
cosxcosh−sinxsinh−cosx ( cosx ( cosh−1 )) sinh
=lim =lim −sinx
h→0 h h→0 h h
cosh−1 sinh
=cosxlim −sinxlim =(cosx)×0−(sinx)×1=−sinx
h→0 h h→0 h
Exercise 3.6
1 Find the derivatives of each of the following functions with respect to the
appropriate variable.
a f (x) = − sin x b g (θ) = − cos θ
c f (x) = sec x d g (t) = csc t
2 Find the equation of the tangent line to the graph of f at the given point.
π 2 π
a f(x)=sinx;
b g(x)=cosx; ,0
4 2 2
π
c h(x)=tanx; ,1
4
3 π
3 If the line tangent to the graph of f (x) = sin x at x = a has y-intercept − ,
6 3
find the x-intercept of the line
when0<a<
Derivatives of exponential function
Theorem 3.4 Derivatives of exponential functions
If f (x) = ax; a > 0, then f ' (x) = ax ln a .
If f (x) = ex, then f ' ( x )=lim
et − ex
t→x t − x
Let h = t – x. Then as t → x, h → 0.
ex+h −ex eh −1 eh −1
Thus, f '(x)=lim =limex =exlim =exlne=ex
h→0 h h→0 h h→0 h
f(x+h)− f(x)
Notice also that f ′ (x)=lim . You will use this fact for the proof.
h→0 h
Proof:
Let f (x) = ax.
f(x+h)− f(x) ax(ah −1) ah −1
⇒ f '(x)=lim =lim =axlim =axlna
h→0 h h→0 h h→0 h
Example 5 Find the derivative of each of the following exponential functions.
a f (x) = 4x b f (x) = 5x c f (x) = πx
d f (x) = ex+3 e f (x) = 3 ex f f (x) = 23x+5
Solution
a f (x) = 4x ⇒ f '(x) = 4x ln 4
( ) 52
b f (x) = 5x ⇒ f ' x = 5x ln 5 = ln 5
c f (x) = πx ⇒ f '(x) = πx lnπ
d f (x) = ex + 3 ⇒ f (x) = e3.ex ⇒ f '(x) = e3 ex = ex + 3
e f (x) = 3 ex ⇒ f ' ( x )= 3 ex ln3 e = 1 3 ex lne= 1 e3 x
3 3
f f (x) = 23x+5 ⇒ f '(x) = 25 × 8x ln 8
⇒ f '(x) = 25 × 23x (3ln 2) ⇒ f '(x) = 96 (23x) ln 2.
Derivatives of logarithmic functions
Theorem 3.5 Derivatives of logarithmic functions
If f (x) = ln x, x > 0, then f '(x) = .
Proof:
Let f (x) = ln x.
x+h
f(x+h)− f(x) ln ( x+h )−lnx ln x 1 h
⇒ f ′ (x)=lim =lim =lim =lim ln1+
h→0 h h→0 h h→0 h h→0 h x
1 1
⇒limln 1+ h h =ln lim 1+ h h =ln e 1 x = 1 .
h→0 x h→0 x x
Grade 12 Maths (old curriculum) p.135
Corollary 3.3
If f (x) = log x, x > 0, a > 0 and a ≠ 1, then f '(x) = .
a x ln a
Proof:
f(x)=log x= lnx ⇒ f ′ (x)= 1 ( lnx )′ = 1 × 1 = 1 .
a lna lna lna x xlna
Example 6 Find the derivatives of each of the following logarithmic functions
a f (x) = log 2 x b f (x) = logx c f (x) = log x
d f (x) = log x3 e f(x)=ln5 x f f(x)=log x3
Solution
a f (x) = log x ⇒ f ' ( x ) = 1
2 x ln2
b f (x) = log x ⇒ f ' ( x ) = 1
x ln10
1 1
c f (x) = log x ⇒ f '(x)= = −
1 1 x ln 5
5 x ln
5
d f (x) = log (x3) ⇒ f (x) = 3log x ⇒ f '(x) =
xln10
e f (x) = ln5 x ⇒ f ( x ) = 1 lnx ⇒ f ' ( x ) = 1
5 5x
f f (x) = log x3 ⇒ f(x) = 3 log x ⇒ f ' ( x ) = 3
5 2 5 2xln5
Exercise 3.7
1 Differentiate each of the following functions with respect to the appropriate
variable.
a f (x) = 3x b f (x) = 3x c f (x) = 49x
d f (x) =
(π+1 )x
e f (x) = e4x f f (x) = e3x
g h (x) = 3x × 3x × 22x h f (x) = log x i h (x) = ln ( 4x )
3
j f (x) = log 0.125 (6x) k h (x) = ln x5
2 Find the equation of the line tangent to the graph of y = ex at (1, e).
1
3 Find the equation of the line tangent to the graph of f (x) = ln x at ,−3.
e3
4 Suppose f (x) = 2x. What happens to the gradient of the graph of f (x) as x → ∞
and as x → −∞?
5 Let g(x) = log x.Decide the nature of the gradient of g (x) as x → 0+ and as x →∞.
3.3 DERIVATIVES OF COMBINATIONS AND p.136
COMPOSITIONS OF FUNCTIONS
ACTIVITY 3.4
1 For each of the following functions f and g, evaluate
a f (x) + g (x) b f (x) − g (x) c f (x) g (x) d f(x)
g(x)
i f (x) = 2x + 1 and g (x) = 3x2 + 5x + 1
2x−1
ii f (x) = 4x2 + 1 and g(x)=
4x+2
iii f (x) = ex and g (x) = sin x
1
iv f (x) = log (x2 + 1) and g (x) = cos .
x
v f (x) = 3x2 + 1 and g (x) = tan x.
2 Using the Definition of the derivative of a function, differentiate each of the
following functions.
a f (x) = 4x + 5 b f (x) = 4x2 + 3x + 1
1 3x − 1
c f (x) = x + d f (x) =
x 4x + 2
3 Given the functions f (x) = and g (x) = x, decide whether or not each of the
following equalities is correct.
a (f (x) + g (x))' = f '(x) + g'(x) b (f (x) − g (x))' = f '(x) − g'(x)
f ( x ) ′ f ′( x )
c (f (x) g (x))' = f '(x) g '(x) d g ( x ) = g ′( x )
Grade 12 Maths (old curriculum) p.137
4 Given the functions f (x) = x2 − 1, g (x) = 3x, k(x) = log x and h (x) = sin x, evaluate
a f '(x) + g'(x) b h' (x) − k'(x)
h' ( x ) k ( x ) − h(x) k'(x)
c f '(x) g (x) + g'(x) f (x) d
k x
5 Let f (x) = x
a Is f continuous at 0? b Is f differentiable at 0?
x2, if x ≤ 2
6 Let f (x) = . Sketch the graph of f and discuss the continuity
8 − 2x, if x > 2
and differentiability of f at
a 2 b 1 c 3
In Activity 3.4 Problems 5 and 6, you noticed that there are functions that are continuous
but not differentiable at a given point. The following Theorem states that the condition
for a function being differentiable at a given point is stronger than the condition for
being continuous at that point.
Theorem 3.6
If f is differentiable at a, then f is continuous at a.
Proof:
f ( x ) − f ( a )
Suppose f is differentiable at a. Then, f '(a) = lim exists.
x→a x − a
Observe that, for x ≠ a, f (x) − f (a) = f
( x−a )
x−a
f(x)− f(a) f(x)− f(a)
Hence, lim(f(x)− f(a))=lim (x−a)=lim ⋅lim(x−a)
x→a x→a x−a x→a x−a x→a
= f '(a) × 0= 0
⇒ lim f(x)− f(a) =0 ⇒ lim f x − lim f a = 0
x→a x→a x→a
⇒ lim f x = f a ⇒ f is continuous at a.
x→a
The following example shows that the converse of this theorem is not true.
Example 1 Show that each of the following functions is continuous but not
differentiable at the indicated numbers.
a f (x) = x ; x = 0 b f (x) = 3x − 1; x =
sinx, if x>0
c f(x)= at x=0
−x, if x≤0
Solution
a lim f(x)=lim|x|=0= f(0)⇒ f is continuous at (0, 0).
x→0+ x→0
f ( x ) − f ( 0 ) x
f '(0) =lim = lim
x→0 x −0 x→0 x
|x| x x −x
Here, we have lim = lim . Butlim = lim = −1
x→0+ x x→0+ x x→0− x x→0 x
f ( x ) − f ( 0 )
⇒ lim doesn't exist.
x→0 x −0
Hence, f is not differentiable at x = 0.
b f (x) = 3x − 1
lim f ( x ) = lim 3x − 1 = 0 = f 1 ⇒ f is continuous at x = 1
x→1 x→1 3 3
3 3
1
f ′ 1 =lim
f(x)− f
3
=lim
3x−1−0
Here, lim
|3x−1|
=3.
3 x→
1 x− 1
x→1
x−
1 x→
+ x− 1
3x−1 1
But lim =−3. ⇒ f is not differentiable at x = .
x→
1
− x− 1 3
3 3
c lim f x = lim sin x = 0 and Also, f (0) = 0
x→0+ x→0+
Thus, f is continuous at x = 0.
cosx, if x>0
f(x)= . But f ′(0) doesn’t exist.
−1,if x<0
⇒ f is not differentiable at x = 0
What conclusion can you make about differentiability at a point where a graph
has a sharp point?
3.3.1 Derivative of a Sum or Difference of Two p.138
Functions
Theorem 3.7 Derivative of a sum or difference of two functions
If f and g are differentiable at x , then f + g and f − g are also differentiable at x , and
o o
their derivatives are given as follows:
1 (f + g)' (x ) = f '(x ) + g '(x ) . . . . . . The sum rule.
o o o
2 (f − g)' (x ) = f ' (x ) − g '(x ) . . . . . . The difference rule.
o o o
Grade 12 Maths (old curriculum) p.139
Proof:
( f +g )( x )−( f +g )( x )
1 (f +g)′(x )= lim o
o x→x x−x
o o
)+g (
)−g (
= lim o o
x→x x−x
o o
f
)−g (
= lim o + o
x→x o x−x
x−x
f(x)− f(x ) g(x)−g(x )
= lim o +lim o
x→x o x−x
x→x o x−x
= f ′ (x )−g ′ (x )
o o
2 The proof follows a similar argument to 1 above.
Example 2 Let f (x) = 4x3 + sin x. Evaluate
π
a f '(0) b f '
4
Solution From the above Theorem we have,
f '(x) = (4x3 + sin x)' = (4x3)' + (sin x)' = 12x2 + cos x
a f '(0) = 12 (02) + cos 0 = 1
π π2 π π2 2 3 2 3π2 +2 2
b f ' =12 +cos =12 + = π2 + =
4 4 4 16 2 4 2 4
Example 3 Find the derivative of each of the following functions.
a f (x) = x + 3x b h (x) = x3 + log x c k(x) = ex −cos x
Solution
( )′ ( )′ 1
a f '(x) = x + 3x = + 3x ln 3.
2 x
1 ( ) 1 −2 1 1 1
b h'(x) = x3 + log x ' = x3 + = + .
2 3 xln2 2 xln2
3x3
c k '(x) = (ex)' − (cos x)' = ex − (−sin x) = ex + sin x .
Example 4 Differentiate each of the following functions with respect to x.
a y = 2x4 − 5x2 + 7x − 11 b f(x)= x+logx−4x +
x2
Solution Using the derivative of a sum and difference
a f '(x) = (2x4 − 5x2 + 7x − 11)' = (2x4 − 5x2)' + (7x − 11)'
= (2x4)' − (5x2)' + (7x)' − (11)' = 8x3 − 10x + 7.
1 ( )′ 1
b f ′ (x)= x+logx−4x + = x+logx − 4x −
x2 x2
( ) ( ) 1 1 1 2
= x ' + (log x)' − 4x ' − ' = + − 4x ln 4 +
x2 2 x x ln 10 x3
1 1 2
= + −4xln4−
2 x x ln10 x3
Corollary 3.4
If f , f , f ,...,f are differentiable at x , then f is differentiable at x and
1 2 3 n o i o
i=1
∑ n
)=∑ n
i o i o
i=1 i=1
Example 5 Find the derivatives of each of the following functions
a f (x) = 4x3 + 5x2 − 11x + 12 b g (x) = 16x9 − 12x8 − 9x5 + 23
Solution
f(x)= (4x3+5x2−11x+12)= (4x3)+ (5x2)− (11x)+ (12)
dx dx dx dx dx dx
= 12x2 + 10x − 11 + 0
= 12x2 + 10x − 11.
b d g ( x )= d ( 16x9 − 12x8 −9x5 + 23 )
dx dx
= d ( 16x9 ) − d ( 12x8 ) − d ( 9x5 ) + d ( 23 )
dx dx dx dx
= 144x8 − 96x7 − 45x4.
The derivative of a polynomial function
Let f (x) = a n xn + a n−1 xn−1 + . . . +a 2 x2 + a 1 x + a o . Then,
f '(x) = na n
xn−1
+ (n−1) a n−1
xn−2
+ . . . + 2a 2 x + a 1
3.3.2 Derivatives of Product and Quotient of p.141
Functions
Derivatives of product of functions
ACTIVITY 3.5
1 Evaluate each of the following limits.
( x + h ) ex+h −xex (x + h) sin ( x + h ) − x sinx
a lim b lim
h→0 h h→0 h
2 Using the Definition of derivatives, differentiate each of the following functions
with respect to x.
a f (x) = xex b f (x) = x sin x
Theorem 3.8.1 The product rule
If f and g are differentiable functions at x , then the product fg is differentiable at x
o o
and its derivative is given as follows:
(fg)' (x ) = f '(x ) g (x ) + g' (x ) f (x ).
Proof:
(fg)(x)−(fg)(x ) f(x)g(x)− f(x )g(x )
(fg)'(x )= lim o = lim o o
o x→x x−x x→x x−x
f(x)g(x)− f(x )g(x)+ f(x )g(x)− f(x )g(x )
x→x x−x
o o
g(x) ( f(x)− f(x ) )+ f(x ) ( g(x)−g(x ) )
x→x x−x
o o
f(x)− f(x ) g(x)−g(x )
= limg(x) o +lim f(x ) o
x→x o x−x o x→x o o x−x o
( ) f
( ) g
= lim g x lim o + f x lim o
x→xo x→xo x − x o x→xo x − x
o o
= g (x ) f '(x ) + f (x ) g' (x )
dy ( ) d ( ( )) ( ) d ( ( ))
If y = f (x)·g (x), then = g x f x + f x g x
dx o dx o dx
x=x x=x x=x
o o o
Example 6 Let h (x) = (x + 5) (x2 + 1). Evaluate f '(3).
Solution Let f (x) = x + 5 and g (x) = x2 + 1.
Then, using the product rule you obtain, h'(3) = f '(3) g (3) + g'(3) f (3).
But f '(x) = 1 so that f '(3) = 1 and g' (x) = 2x, so that g '(3) = 6.
Therefore, h ' (3) = 1 × 10 + 6 × 8 = 58.
Example 7 Let f (x) = x ex+1, evaluate f '(−1).
Solution Let h (x) = x and k(x) = ex+1, then f (x) = h (x) k(x).
Then, h′(x)=1and k′(x)=ex+1.
⇒ f '(−1) = h'(−1) k(−1) + k'(−1) h (−1) = 1 × e0 + e0 × (−1) = 0
dy
Example 8 Let y = ex sin x, evaluate
dx π
x =
dy d ( ) d
Solution = sinx ex + ex (sinx)
π π
dx π dx x = dx x =
= sinx ex π +excosx π= sin e3 + e3 cos
x= x= 3 3
3 3
3 π π 1 e3 ( )
= e3 +e3 × = 3+1
2 2 2
Theorem 3.8.2 The product rule
fg
, for all x at which both f and g are
differentiable.
Note:
If y = (fg) (x), then
= g(x) f(x) + f(x) g(x)
dx dx dx
Example 9 Find the derivative of each of the following functions using the product rule.
a f
xsinx b f
x2cosx
c f ( x )= ( x2−5x+1 ) ex d f(x)= xlog x
Solution
a f ' (x) = (x sin x)' = (x)' sin x + x (sin x)' = 1 × sin x + x (cos x)
= sin x + x cos x
b f ' (x) = (x2 cos x)' = (x2)' cos x + x2 (cos x)' = 2x cos x + x2 (−sin x)
= 2x cos x − x2 sin x
Grade 12 Maths (old curriculum) p.143
c f ' (x) =
x2−5x+1
ex
x2 −5x + 1
ex +(ex) ′
x2 − 5x + 1
= (2x − 5) ex + ex (x2 − 5x + 1) = x2 − 3x − 4 ex.
( )′ 1 x
d f ' (x) = xlog x = log x+
2 2 x 2 xln2
dy
Example 10 Let y = 3x cos x, find
dx
Solution dy = d ( 3xcosx ) =cosx d ( 3x ) +3x d ( cosx )
dx dx dx dx
= 3x ln3 cos x − 3x sin x = 3x (ln 3 cos x − sin x)
Example 11 Find the derivative of f (x) = (x2 + 1) (ln x) (sin x)
Solution
f '(x) = d (( x2+1 )( lnx )( sinx ) ) =( lnx )( sinx ) d ( x2+1 ) + ( x2+1 ) d ( lnx.sinx )
dx dx dx
= ( lnxsinx ) 2x+ ( x2 +1 ) 1 sinx+lnxcosx . (Explain!)
x
1
= 2x ln x sin x + (x2 + 1) sinx+lnxcosx.
x
One of the purposes of this example is to extend the product rule for finding the
derivatives of the products of three or more functions such as
(fgh)' (x) = (fg)' (x) h (x) + h' (x) (fg) (x)
= ( f' ( x ) g ( x ) + g' ( x ) f ( x )) h ( x ) + h' ( x )( fg )( x )
= f '(x) g (x) h (x) + f (x) g'(x) h (x) + f (x) g (x) h' (x).
Example 12 Find the derivative of y = x3 sin x (3x)
Solution dy = ( x3 )′ sinx ( 3x ) +x3 ( sinx )′ ×3x +x3sinx ( 3x )′
dx
3x2 sin x × 3x + x3 cos x × 3x + x3 sin x × 3x ln3.
Derivative of a quotient of functions
ACTIVITY 3.6
1 Let f (x) = ex and g (x) = x. Evaluate
a f '(x) g (x) b g '(x) f (x)
f ' ( x ) f ' ( x ) g ( x ) −g' ( x ) f ( x )
c d
g' ( x ) ( g ( x ))2
Let f be a differentiable function such that f (x) ≠0. Then,
1 1
1 ′ f ( x + h ) f ( x ) f ( x )− f ( x+h )
=lim =lim
f ( x ) h→0 h h→0 hf ( x+h ) f ( x )
f ( x )− f ( x+h ) 1
= lim ×lim
h→0 h h→0 f ( x ) f ( x+h )
f ( x+h )− f ( x ) 1
= −lim ×
h→0 h f ( x ) f ( x+0 )
1 −f '(x)
=−f '(x)× =
(f(x))2 (f(x))2
1 ′ −f ' ( x )
2 Using = , find the derivatives of each of the following functions.
f ( x ) ( f ( x ))2
1 1 1
a f (x) = b f (x) = c f (x) =
x x 3x + 1
1 1
d f (x) = e f (x) =
x + 1 ex + 1
From the above Activity, you observed that
f ( x ) = f ( x )× ( 1 ) = ( 1 ) × f ′( x )+ f ( x )× ( 1 ) ... By the product rule
g x g x g x g x
f ' ( x ) −g' ( x ) g ( x ) f ' ( x )− f ( x ) g' ( x )
= + f ( x ) = .
g ( x ) ( g ( x ))2 ( g ( x ))2
Theorem 3.9 The quotient rule
If f and g are differentiable functions and g (x) ≠ 0, then is differentiable for all x at
which f and g are differentiable with
g f ′ ( x ) = g ( x ) f ′( ( x g ) ( − x ) ) f 2 ( x ) g ′( x )
Note:
) d
) d
If y = g f ( x ) , then d d y x = dx ( g ( x ))2 dx
Grade 12 Maths (old curriculum) p.145
Example 13 Find the derivative of each of the following functions at the given number.
a f (x) = at x = 1
x + 5
b f (x) = tan x at x =
lnx
c f (x) = at x=e
Solution Using the quotient rule we obtain,
( x+5 )( x )′−x ( x+5 )′ x+5−x 5
a f ′ (x)= = =
( x+5 )2 ( x+5 )2 ( x+5 )2
5 5
⇒ f ' (1) = =
1 + 5
)2
sinx
cosx
sinx
)′−sinx (
cosx
b f '(x) = =
cosx cos2 x
cos2 x + sin2x 1 π π
= = = sec2x ⇒ f ' = sec2 = 4
cos2 x cos2 x 3 3
Note:
d (
tanx
)=sec2
x.
dx
lnx ′ x ( lnx )′ −lnx ( x )′ x × x − lnx × 1 1 − lnx
c f ' (x) = = = =
x x2 x2 x2
1−lne
⇒ f '(e)= =0
e2
Example 14 Find the derivative of each of the following functions using the quotient
rule.
a f ( x ) = 1 b f(x) = 1 c f ( x )= 4x2 − 5x + 7
ln x x2 −2 x2 − 3x + 1
d f ( x )= 4x e f ( x )= x sinx f f(x) = x tanx
xlnx x2 + 1 ex + log x
Solution
1 −(lnx)' 1
a f(x)= ⇒ f '(x)= =−
lnx (lnx)2 xln2 x
1 (x2 −2)' −2x
b f(x)= ⇒ f '(x)=− =
x2−2 (x2−2) (x2−2)2
(4x2 −5x+7)'(x2−3x+1)−(x2−3x+1)'(4x2−5x+7)
c f '(x)=
(x2 −3x+1)2
( 8x−5 )( x2−3x+1 ) −( 2x−3 )( 4x2−5x+7 )
−7x2 − 6x + 16
( x2−3x+1 ) 2 ( x2 − 3x + 1 )2
( 4x )′ xlnx−4x ( xlnx )′ ( 4xln4 ) xlnx−4x ( lnx+1 )
d f
xlnx
)2 (
xlnx
)2
4x ( x ln4 ln x − ( ln x + 1 ) )
x ln x
)2
e f
)= xsinx
⇒ f
)= ( xsinx )′( x2 +1 ) − ( x2 +1 )′( xsinx )
x2+1 ( x2 +1 ) 2
( sinx+xcosx )( x2+1 ) −2x2sinx
x2+1 2
xtanx ′ ( xtanx )′( ex +log x ) −xtanx ( ex +log x )′
f f ′ (x)= = 2 2
ex +log x ( ex +log x ) 2
( )( ) 1
tanx+xsec2 x ex +log x −xtanxex +
2 xln2
ex +log x
)2
dy
Example 15 In each of the following, find .
dx
x2 x2 + 1 x2 + 4
a y = b y = c y =
3x + 1 x3 + x−1 cosx
x + ex cosx
d y = e y =
2x + 1 1 − sinx
Solution Applying the quotient rule,
( 3x+1 ) d ( x2 ) −x2 d ( 3x+1 )
a y = x2 ⇒ dy = d x2 = dx dx
3x + 1 dx dx3x+1 ( 3x+1 )2
( 3x+1 ) d ( x2 ) −x2 d ( 3x+1 )
⇒ dy = d x2 = dx dx
dx dx3x+1 ( 3x+1 )2
Grade 12 Maths (old curriculum) p.147
( 3x + 1 ) ( 2x ) − x2 ( 3 ) 6x2 + 2x − 3x2 3x2 + 2x
( 3x + 1 )2 ( 3x + 1 )2 ( 3x + 1 )2
x2 + 1
b y =
x3 + x − 1
( ) d ( ) ( ) d ( )
x3+x−1 x2+1 − x2 +1 x3+x−1
⇒ d d y x = d d x x3 x + 2+ x 1 −1 = dx ( x3+ x−1 ) 2 dx
( x3+x−1 )( 2x )− ( x2 +1 )( 3x2 +1 ) 2x4 +2x2−2x− ( 3x4 +4x2 +1 )
x3+x−1
)2 (
x3+x−1
)2
x4 + 2x2 + 2x + 1
x3 + x − 1
cosx d ( x2 +4 ) − ( x2 +4 ) d ( cosx )
c d x2 +4 = dx dx
dx cosx cos2 x
2x cosx + x2 + 4 sinx
cos2 x
( 2x+1 ) d ( x+ex ) − ( x+ex ) d ( 2x+1 )
dy = d x+ex = dx dx
d
dx dx2x+1 ( 2x+1 )2
( 2x+1 )( 1+ex ) − ( x+ex )( 2 ) 2x+1+2xex +ex −2x−2ex
( 2x+1 )2 ( 2x+1 )2
2xex − ex + 1
( )2
2x + 1
( 1−sinx ) d cosx−cosx d ( 1−sinx )
dy = d
cosx
= dx dx
dx dx1−sinx ( 1−sinx )2
( 1−sinx )(−sinx )−cosx (−cosx ) −sinx+sin2 x+cos2 x
( 1−sinx )2 ( 1−sinx )2
1 − sinx 1
( 1 − sinx )2 1 − sinx
Exercise 3.8
1 Differentiate each of the following functions using the appropriate rules.
a f (x) = 1 − x − x2 + x3 b g (x) = 7 x +ex −sinx
c h (x) = d l(x)= x+sinx−ex
x + 5
xsinx x
e k(x) = f f (x) =
x − ex x cosx
1 1 secx
g g (x) = csc x sec x h h (x) = − +
x x2 x2
4x + 5
i k(x) = j f (x) = x2 ln x
x2 + 1
dy
2 For each of the following functions, find .
dx
1 −lnx
a y = ln x + ex b y = (x2 − 2x − 3) ex c y =
x2
x2 + 1 ex + x − 1 sinx
d y = e y = f y =
cosx x + 1 1 − cosx
1 − sinx exsinx x2
g y = h y = i y =
x + cosx ex + 1 x + lnx
1
1 +
j y = ex(1 + x2) tan x k y = x2 l y = ( ex − x ) 3
1 −
x2
3 In each of the following, find the equation of the tangent line to the graph of f at
(a, f (a)).
x−1 3x+1
a f (x) = ; a=0 b f(x)= ;a=1
x+1 4−x2
x2−4x
c f (x) = ex sin x; a = 0 d f (x) = ; a=0
e−x +1
3.3.3 The Chain Rule p.148
Suppose you invest Birr 100 in a bank that pays r percent annual interest compounded
monthly. Then at the end of 5 years the account balance (in Birr) will be
A ( r )=100 1+ r 60
1200
Grade 12 Maths (old curriculum) p.149
This is the composition of the two functions
)=1+ r
and g(x)=100x60.
g ( f ( r )) =100 ( f ( r ))60 i.e., A ( r )= g ( f ( r )) .
In this section, you will see how to determine the derivative of a composition function like
A(r) using the derivatives of the component functions like f and g.
ACTIVITY 3.7
1 Look at the following table.
Function dy The derivative in
Expanded form
y = f (x) dx factorized form
dy
2x3 + 1 2x3 + 1 6x2 1 ×
dx
( ) d ( )
(2x3 + 1)2 4x6 + 4x3 + 1 24 x5 + 12 x2 2 2x3+1 2x3+1
dx
72x8 + 72x5 + 18x2
(2x3 + 1)3 8x9 + 12x6 + 6x3 + 1 = 18x2 (4x6 + 4x3 + 1) 3 ( 2x3+1 ) 2 d ( 2x3+1 )
dx
= 18x2 (2x3 + 1)2
(2x3 + 1)4 16x12 + 32x9 + 24x6 + 8x3 + 1 192x11 + 288x8 + 4 ( 2x3+1 ) 3 d ( 2x3+1 )
144x5 + 24x2 dx
From the above table you might have noticed that the derivative is the product of
the exponent, the expression with exponent reduced by 1 and the derivative of
2x3 + 1.
2 Find the derivatives of each of the following functions without expanding the
power.
a (2x3 + 1)4 b (2x3 + 1)11 c (2x3 + 1)n
3x − 1
3 Let f (x) = 3x + 1, g (x) = cos x and h (x) = . Evaluate each of the
x2 + 1
following functions.
a f (g (x)) b f (h (x)) c h (g (x))
d f '(g (x)) e f ' (g (x)).g' (x) f h' (g (x)).g' (x)
At this stage we can give the derivative of compositions of functions at a given point.
Theorem 3.10 The chain rule
Let g be differentiable at x and f be differentiable at g (x ). Then f∘ g is
o o
differentiable at x and (f∘ g)'(x ) = f '(g (x)).g '(x)
Proof:
For g (x) − g (x ) ≠ 0, we have,
f(g(x))− f(g(x )) f(g(x))− f(g(x )) g(x)−g(x )
o = o × o
x−x x−x g(x)−g(x )
o o o
Thus, ( f g )′( x )= lim ( f g )( x )−( f g )( x o )
o x→x x−x
o o
f(g(x))− f(g(x )) g(x)−g(x )
= lim o × o
x→xo g(x)−g(x
) x−x
f(g(x))− f ( g ( x )) g ( x )−g ( x )
= lim o ×lim o
g(x)→g(x ) g ( x )−g ( x ) x→x x−x
= f '(g (x )). g '(x )
o o
π − 2
Example 16 Let h (x) = sin (3x + 1). Evaluate h' .
6
Solution h is the composition of the two simple functions f (x) = sin x and
g (x) = 3x + 1. i.e., h (x) = f (g (x)).
By the chain rule, h'(x) = f '(g (x )). g '(x ).
o o
But f
(x) = cos x, g
(x) = 3 and x =
π − 2
Thus h ′ π−2 = f ′ g π−2 ×g ′ π−2 = f′ 3 π−2 +1 ×3
6 6 6 6
π π
= 3f = 3 cos = 0.
2 2
Example 17 Find the derivative of f (x) = 1 + x2 at x = 2.
Solution f (x) is the composition of the functions g (x)= x and h (x) = 1 + x2. i.e.,
f (x) = g (h (x)) ⇒ f '(2) = g' (h (2)) × h' (2) = g'(5) × h'(2)
But, g ′ (x) = 1 and h ′ (x)=2x
2 x
1 2 5
Thus, f '(2) = × 4 = .
2 5 5
3.3.4 Derivatives of Composite Functions p.151
If g is differentiable at x and f is differentiable at g (x), then f ∘ g is differentiable at x with
( f g )′( x )= f ′( g ( x )) .g ′( x )
Example 18 Find the derivative of f(x)=ex2+x+3.
Solution Let g (x) = ex and h (x) = x2 + x + 3, then f (x) = g (h (x)), g'(x) = ex and
h'(x) = 2x + 1. But, f '(x) = g ' (h (x)). h' (x)
⇒ f '(x) = g' (x2 + x + 3) × (2x + 1) = ex2+x+3(2x + 1) = f (x) × (2x + 1).
f '(x) can be found as follows.
f '(x) = ex2+ x+ 3 = ex2+ x+ 3 × (x2 + x + 3)' = ex2+ x+ 3 × (2x + 1)
Example 19 Look at each of the following derivatives.
a ( x + 5 )4 = 4 ( x + 5 )3 ( x + 5 )′ = 4 ( x + 5 )3
where (x4)' = 4x3 derivative of the inner function
b ( 5x−2 )10 =10 ( 5x−2 )9( 5x−2 )′ = 10(5x − 2)9 × 5 = 50 (5x − 2)9
(x10) ′ = 10x9 derivative of the inner function
c ( (3x2+5x+2)8 )′ =8(3x2+5x+2)7(3x2 +5x+2) ′ =8(3x2+5x+2)7(6x+5)
d (cos(x2+x+7))'=−sin(x2+x+7)(x2+x+7)'=−sin(x2+x+7)(2x+1)
= − (2x + 1) sin (x2 + x + 7)
e sin x2+4x+1 =cos x2+4x+1 x2+4x+1
1 ( )′
=cos x2+4x+1 × x2 +4x+1
2 x2+4x+1
2x + 4
=cos x2 + 4x + 1 ×
2 x2 + 4x + 1
x + 2
= cos x2 + 4x + 1
x2 + 4x + 1
This is the derivative of the composition of three functions. Therefore, you have;
Corollary 3.5
( f ( g ( h ( x ))))′ = f ′ ( g ( h ( x ))) .g ′( h ( x )) .h ′( x ) .
Proof:-
( f ( g ( h ( x )) ))′ = f ′( g ( h ( x )) . ( g ( h ( x )))′ . Why?
= f ′ ( g ( h ( x ))) .g ′( h ( x )) .h ′( x )
Example 20 Find the derivative of k(x) = cos5 (x2 + 1).
Solution Notice that k is the composition of the three simple functions,
f (x) = x5, g (x) = cos x and h (x) = x2 + 1. i.e., k (x) = f (g (h (x))
Also, f '(x) = 5x4, g '(x) = –sin x, h'(x) = 2x and
k'(x) = f '(g (h (x)). g'(h (x)). h'(x) = f '(g (x2 + 1)) g' (x2 + 1). (2x)
= f ' (cos (x2 + 1)). (−sin (x2 + 1)) (2x) = 5 cos4 (x2 + 1) (−sin(x2 + 1)) (2x)
= −10x sin (x2 + 1) cos4 (x2 + 1)
In short,
(cos5 (x2 + 1)) ′ = 5cos4 (x2 + 1).(−sin (x2 + 1))(2x) = −10x sin (x2 + 1) cos4 (x2 + 1)
dy
The chain rule using the notation
dx
Let y = f (u) and u = g (x). Then,
dy ( ) du ( )
y = f (g (x)), = f ' u and = g ' x
du dx
⇒ dy = d ( f(g(x)) ) = f ′( g ( x )) . g' ( x ) = f '(u). dy = dy . du .
dx dx dx du dx
dy dy du
Therefore, = ⋅
dx du dx
Example 21 Find the derivative of each of the following functions with respect to x.
a y = (3x + 4)6 b y = cos6x
( )3
c y =
x3+1
5 d y = 3x5 −2x+4
Solution
a y = (3x + 4)6
du dy
Let u = 3x + 4, then y = u6 ⇒ =3 and =6u5
dx du
dy dy du
⇒ = . =6u5×3=18u5 =18(3x+4)5.
dx du dx
In short, dy = d ( 3x+4 )6 =6 (3x+4)5. d ( 3x+4 ) = 18 (3x + 4)5
dx dx dx
Grade 12 Maths (old curriculum) p.153
b y = cos6x
dy du
Let u = cos x, then y = u6, =6u5 and =−sinx
du dx
dy dy du
⇒ = . = 6u5 (−sin x) = −6 sin x cos5x
dx du dx
d d
Observe that cos6x = 6 cos5x cos x = −6 sin x cos5x
dx dx
c y = (x3 + 1)5
3 du dy 3 −2
Let u = x3 + 1, then y = u5 so that = 3x2 and = u 5
dx du 5
dy dy du 3 − 2 3( )−2 9 ( )−2 9x2
⇒ = . = u 5.3x2 = x3+1 5.3x2 = x2 x3+1 5 =
dx du dx 5 5 5 ( )2
5 x3+1 5
d y = 3x5 − 2x + 4
Let u = 3x5 − 2x + 4, then y = u
du dy 1
Hence, = 15x4 −2 and =
dx du 2 u
dy dy du 1 ( ) 1 ( )
⇒ = . = . 15x4 − 2 = . 15x4 − 2
dx du dx 2 u 2 3x5 −2x+4
Example 22 Differentiate each of the following functions with respect to x.
x ( )
a y = b y = sin x2 + 1 c y=e x2+5x+4
x2 + 4
log x2 + 1 ( )
d y = e y = cos log x2 + 1 + x
x + sinx
Solution In this example, you differentiate each function without rewriting it as
the composition of simple functions.
a y = . Here you apply the quotient rule and the chain rule
x2 + 4
( x )′ x2+4−x x2+4
dy
= ( ) Quotient rule
dx 2
x2+4
1 ( )′
x2+4−x
x2+4
2 x2 +4
= ( ) Chain rule
x2+4
x2 + 4 − x ( 2x ) ( x2 +4 ) 2 − x2
2 x2 + 4
x2 + 4 x2 + 4 x2 + 4
x2 +4− x2 4
x2 + 4 x2 + 4 x2 + 4 x2 + 4
b y = sin x2+1
dy 1 ( ( ))′ ( )′ 1
⇒ = . sin x2+1 because x =
dx 2 sin x2+1 2 x
cos x2+1 xcos x2 +1
= 2x =
2 sin x2 +1 sin x2 +1
c y = e x2 + 5x + 4
dy
⇒ = e x2 + 5x + 4 x2 + 5x + 4 becuase ex =ex
dx
1 ( )′
= e x2 + 5x + 4 × x2 + 5x + 4
2 x2 + 5x + 4
= e x2 + 5x + 4 ( 2x + 5 )
2 x2 + 5x + 4
1 ( )
log x 2 + 1
log x2 + 1
d y =
= 2
x + sinx x + sinx
( x+sinx ) ( log ( x2 +1 ))′ −log(x2 +1)(x+sinx) ′
dy 1
dx 2 ( x+sinx )2
( x+sinx ) ( 1 ) ( x2+1 )′ −log ( x2+1 ) . ( 1+cosx )
x2+1 ln10
1
2 ( x+sinx )2
= 1 ( x
+sinx
)( 2x ) −log ( x2 +1 )( 1+cosx )
2 ( x+sinx )2 x2 +1 ln10
Grade 12 Maths (old curriculum) p.155
e y = cos log x2 +1+x . This is the composition of several functions.
dy ( ) 1 1 x
⇒ =−sin log x2+1+x × ( ) × ( ) × +1
dx 2 log x2+1+x x2 +1+x ln10 x2 +1
sin log x2+1+x x
− ( ) +1
2 log x2+1+x x2+1+x ln10 x2+1
x2
Example 23 Find the equation of the line tangent to the graph of y=ln at
x2+2x
x = 1.
x2
Solution y = ln ⇒ y = ln (x2) − ln (x2 + 2x)
x2 + 2x
⇒ dy = 1 ( 2x )− ( 1 ). ( 2x+2 ) = 2 − 2x+2
dx x2 x2 +2x x x2+2x
dy 2 2 1 + 2 2
⇒ The gradient is = − =
dx 1 12 + 2 1 3
x=1
⇒ The equation of the tangent line is
y−ln 1 = 2( x−1 ) ⇒ y = 2 x− 2 −ln3.
1+2 3 3 3
Exercise 3.9
1 Use the chain rule and any other appropriate rule to differentiate each of the following
functions.
a f (x) = ex +6 b f (x) = (x + 5)10 c f (x) = (4x + 5)12
( x+2 )
d f (x) = sin (3x) e f (x) = cos (x2 + 1)) f f (x) =
xex -1
g f (x) = e −5x sin (4x2 + 5x + 1) h f (x) = x2 +2x+3
i f(x)=log
x2+4
j f (x) =
x2
3 x+ln ( x2+9 )
sin x
k f (x) = l f (x) = sin (x2) + cos (x2)
2x+1
1
m f (x) = ln
x2+1
n f (x) = ln x2 +1
o f (x) = sin ln x2 +7 p log x
q f(x)=e− x2+1sin x2 +1 r f(x)=ln cos x2 +3
2 Find the equation of the line tangent to the graph of f at (a, f (a)), if
a f (x) = xe − x+1 at (0, 0) b f(x)=e2−x2 at (1, e)
x+1 e3x+2 1
c f (x) = ln at (0, 0) d f(x)= at −1,
cos x 1−2x 3e
e f(x)=(8−x3) 2−x at (–2, 32)
dy
3 Find .
dx
2x3
a y = 1+x6 b y = 1+3x2 ex c y =
1+x4
x2 2x-19
d y = e y = f y = cos (ln ex )
x3+1 3-4x
g y = (ax + b)r; where r is a real number.
3.3.5 Higher Order Derivatives of a Function p.156
You have seen that for a function f, f ' is the first derivative or simply the derivative of f.
f(t)− f(x)
f ' is a function which assigns x → lim .
t→x t−x
For instance if f (x) = x2 + 1, then f '(x) = 2x which is a function, too. Therefore, you can
compute the derivative of f ' which is (f ')'(x) = (2x)' = 2.
ACTIVITY 3.8
1 Let f (x) = x3 + 4x + 5.
a Find f '(x) b Differentiate f '(x) with respect to x.
x2, if x<3,
2 If f(x)=
6x−9, if x≥3.
a Find f '(x) b Sketch the graph of f '(x).
c Find the derivative of f '(x) at x = 3.
3 Let f (x) = x3 + 1. Sketch the graphs of f '(x) and the derivative of f '(x) using the
same coordinate system.
4 Let f (x) = | x | x.
a Find f '(x) b Find (f '(x))' (0)
Grade 12 Maths (old curriculum) p.157
The second derivative of a function f, denoted by f "(x) is the derivative of the first
derivative.
i.e., f "(x) = (f '(x))'.
You say that f is twice differentiable or the second derivative of f exists or f '(x) is
f '(t)− f '(x)
differentiable provided that f ''(x)=lim exists.
t→x t−x
Example 24 Find the second derivatives for each of the following functions.
a f (x) = x2 b f (x) = x3 c f (x) = sin x
d f (x) = ex e f (x) = xex f f (x) = x sin x
g f (x) = ex sin x
Solution
a f (x) = x2 ⇒ f '(x) = 2x ⇒ f "(x) = 2.
b f (x) = x3 ⇒ f '(x) = 3x2 ⇒ f "(x) = 6x
c f (x) = sin x ⇒ f '(x) = cos x ⇒ f "(x) = −sin x
d f (x) = ex ⇒ f '(x) = ex ⇒ f "(x) = ex
e f (x) = xex ⇒ f '(x) = (x)'ex + x (ex)' by the product rule
= ex + xex = ex (1 + x) ⇒ f "(x) = (ex)'(1 + x) + ex (1 + x)'
= ex(1 + x) + ex = ex(2 + x)
f f (x) = x sin x ⇒ f '(x) = sin x + x cos x
⇒ f "(x) = cos x + cos x – x sin x = 2 cos x – x sin x
g f (x) = ex sin x ⇒ f '(x) = ex sin x + ex cos x = ex (sin x + cos x)
⇒ f "(x) = (ex)'(sin x + cos x) + ex(sin x + cos x)'
= ex (sin x + cos x) + ex(cos x – sin x)
= ex (sin x + cos x + cos x – sin x) = 2ex cos x.
Note:
dy d d dy
If y= f (x), then = f '(x) so that f "(x) = f '(x) =
dx dx dx dx
d dy d2y d2y d2
is denoted by . i.e., = f "(x) Also, f (x) = f "(x).
dx dx dx2 dx2 dx2
d2y
Example 25 For each of the following, find .
dx2
a y = x4 b y = x c y =
x+1
d y = e y = e4x+3 f y = e-x2+2x+1
x-1
x+1
sin x
g y = ln x h y = i y =
x2 +1 x
x x2 x π
j y = k y = l y = ln ;0< x<
x2+1 x+ln x cos x 2
Solution
d ( ) d2y d ( )
a y = x4 ⇒ x4 =4x3⇒ = 4x3 =12x2.
dx dx2 dx
dy 1 1 −1
b y= x ⇒ = = x 2
dx 2 x 2
d2y d 1 −1 1 −3 1
. ⇒ = x 2 =− x2 =− .
dx2 dx2 4 4x x
x dy (x)'(x+1)−x(x+1)'
c y= ⇒ = . Quotient Rule
x+1 dx (x+1)2
x+1-x
= (x + 1)
−2
( x+1 )2 ( x+1 )2
⇒ d2y = d ((x + 1) −2) = −2(x + 1) −3 = − 2
dx2 dx ( x+1 )3
d y= 3 =3 ( x−1 )−1 2 ⇒ dy =3 − 1 ( x−1 )−3 2 =− 3( x−1 )−3 2
x−1 dx 2 2
d2y
d
3(
x − 1
)−3
3
3(
x − 1
)−5
dx2 dx 2 2 2
= 9 4 ( x − 1 )−5 2 = 4 ( x − 1 ) 9 2 x − 1 .
dy 1 2e4x+3 e4x+3
e y= e4x+3 ⇒ = ×e4x+3×4= =2e4x+3 =2 e4x+3
dx 2 e4x+3 e4x+3 e4x+3
4x+3
Also, y = e4x+3 =e 2
dy 4x+3 d 4x+3 4x+3
⇒ =e 2 × = e 2 ×2 = 2 e4x+3
dx dx 2
Grade 12 Maths (old curriculum) p.159
d2y d 4x + 3 4x + 3 d 4x + 3
⇒ = 2e 2 = 2e 2 ×
dx2 dx dx 2
4x+3 4x + 3
= 2e 2 ×2 = 4e 2 = 4 e4x + 3
dy d ( )
f y=e−x2+2x+1⇒ =e−x2+2x+1 −x2 +2x+1
dx dx
=e−x2+2x+1 (−2x+2 )
d2y = ( e−x2+2x+1 (−2x+2 ) )′ = ( e−x2+2x+1 )′ (−2x+2 )+e−x2+2x+1 (−2x+2 )′
dx2
=e−x2+2x+1 (−2x+2 )2 +e−x2+2x+1 (−2 )=e−x2+2x+1 ( 4x2−8x+2 )
=e−x2+2x+1 ( 2−2x )2−2
dy 1 d2y 1
g y=lnx⇒ = ⇒ =−
dx x dx2 x2
d d
(x2 +1) (x+1)−(x+1) (x2+1)
h y= x+1 ⇒ dy = dx dx = x2+1−(x+1)(2x)
x2+1 dx (x2 +1)2 (x2+1)2
x2+1−2x2−2x 1−x2−2x d2y 2x3+6x2−6x−2
(x2 +1)2 (x2+1)2 dx2 (x2 +1)3
x ( sinx )′ −sin ( x )′ xcosx−sinx 1
sinx dy 2 x
i y= ⇒ = =
x dx 2 x
2xcosx−sinx
2x x
d2y 2xcosx−sinx 1 2xcosx−sinx
dx2 2x x 2 3
x2
3 3
(2xcosx−sinx)'x2 − x2 (2xcosx−sinx)
3
2x2
( 2 cosx − 2x sinx − cos x ) x 3 2 − 3 x2 1 ( 2xcos x − sinx )
= 2
2x3
3 3 1
(cosx−2xsinx)x2 − x2(2xcosx−sinx)
= 2
2x3
( )′ 1
( x ) ' x2+1−x x2 +1 x2 +1−x ×2x
j y = x ⇒ dy = ( ) = 2 x2 +1
x2 +1 dx x2 +1 2 x2 +1
(x2+1)−x2 1 −5
= =(x2+1) 2
(x2 +1) x2 +1 (x2 +1) x2 +1
d2y −3 3 −5
= (x2+1) 2 =− (x2+1) 2×2x
dx2 2
−3x −3x
(x2+1)
(x2+1)2 x2+1
x2 dy ( x2 )′( x+ln x )−x2 ( x+ln x )′ 2x ( x+ln x )−x2 1+ 1 x
k y = ⇒ = =
x+ln x dx ( x+ln x )2 ( x+ln x )2
2x2 +2xlnx−x2−x x2 +2xlnx−x
(x+lnx)2 (x+lnx)2
d2y x2 +2x ln x−x
dx2
( x+lnx )2
( x2+2x ln x−x ) ' ( x+lnx )2− ( x+lnx )2 ' ( x2 +2x ln x−x )
( x+ln x )4
1 1
2x+2lnx+2x −1(x+lnx)2 −2(x+lnx)1+ (x2 +2xlnx−x)
x x
(x+lnx)4
1
(2x+2lnx+1)(x+lnx)−21+ (x2+2xlnx−x)
x
(x+lnx)3
x π
l y = ln =ln(x) – ln (cos x) because 0 < x <
cos x 2
⇒ = (lnx−ln(cosx))= − ×(−sinx)= +tanx
dx dx x cosx x
d2y 1
=− +sec2 x.
dx2 x2
Grade 12 Maths (old curriculum) p.161
Similarly, we define the third, fourth, etc. derivatives of a function f as follows:
The third derivative of a function f is the derivative of the second derivative. i.e.,
f ′′′(x) = ((f"(x)) ′
Also, the fourth derivative of a function f is the derivative of the third derivative.
In general, for n ≥ 3, the nth derivative of f, denoted by f (n)(x) is defined as
f(n−1)(t)− f(n−1)(x)
f(n)(x)=lim
t→x t−x
If this limit exists, then we say that f is n-times differentiable or the nth derivative of f (x)
exists.
Example 26 Find the fourth derivative of
a f (x) = x4 – 5x3 + 6x2 + 7x + 1 b f (x) = sin x
Solution
a f (x) = x4 – 5x3 + 6x2 + 7x + 1
⇒ f '(x) = (x4 – 5x3 + 6x2 + 7x + 1)' = 4x3 – 15x2 + 12x + 7
⇒ f "(x) = (4x3 – 15x2 + 12x + 7)' = 12x2 – 30x + 12
⇒ f (3)(x) = (12x2 – 3x + 12)' = 24x – 30
⇒ f (4)(x) = 24
Note that, for n ≥ 5, f (n)(x) = 0
b f (x) = sin x,
⇒ f
)=cosx
⇒ f
)=−sinx
⇒ f ′′′ (x) = −cos x ⇒ f (4)(x) = sin x.
Notation:
If y = f (x), then, we write f (n)(x) =
dny
dn
f ( x ) = Dnf (x)
dxn dxn
dny
Example 27 Let y = xex. Find .
dxn
Solution y = xex ⇒ dy =( x )′ ex +x ( ex )′ =ex +xex =ex ( 1+x )
dx
d2y = ( ex ( 1+x ))′ = ( ex )′( 1+x )+ex ( 1+x )′ = ex(1 + x) + ex = ex (2 + x)
dx2
d3y = ( ex ( 2+x ))′ = ( ex )′( 2+x )+ex ( 2+x )′ = ex (2 + x) + ex = ex (3 + x)
dx3
From this pattern we conclude that,
dny
=ex ( n+x )
dxn
Example 28 Let f be a n-times differentiable function. If g (x) = f (3x + 1), find gn (x).
Solution g (x) = f (3x + 1)
⇒ g'(x) = f ' (3x + 1) ⋅ (3x + 1)' by chain rule.
= 3f ' (3x + 1)
⇒ g" (x) = 3f " (3x + 1)(3x + 1)' = 3f " (3x + 1) × 3= 32 f " (3x + 1)
g(3) (x) = 32 f (3)(3x + 1) (3x+1)' = 32 f (3)(3 x + 1) × 3
= 33 f (3) (3x + 1)
From this pattern one can see that g (n) (x) = 3n f (n) (3x + 1).
Example 29 Let f
x x2. Find the third derivative of f.
x3,if x≥0 3x2, if x≥0
Solution f(x)=|x|x2 = ⇒ f '(x)=
−x3,if x<0 −3x2, if x<0
6,if x>0
6x,if x≥0
⇒ f ''(x)= ⇒ f(3)(x)= ∃, if x=0
−6x,if x<0
−6,if x<0
f ''
f ''
f ''
f (3) (0) = lim =lim
x→0 x−0 x→0 x
f '' x 6x f '' x 6x
But, lim = lim =6 and lim = lim− =−6
x→0+ x x→0+ x x→0− x x→0− x
⇒ f (3) (0) = doesn’t exist.
This is an example of a function which is twice differentiable at 0 but it is not three
times differentiable at 0.
Example 30 Let f (x) = a n xn + a n−1 xn−1 + … + a 2 x2 + a 1 x + a 0
be a polynomial function of degree n. Show that f (k) (x) = 0 for all k > n.
Solution f '(x)=na xn−1+(n−1)a xn−2 +...+2a x
n n−1 2
f ''(x)=n(n−1)a xn−2 +(n−1)(n−2)a xn−3 +...+2a
n n−1 2
f(3)(x)=n(n−1)(n−2)a xn−3+(n−1)(n−2)(n−3)xn−3+...+6a
n 3
f(n−1)(x)=n(n−1)(n−2)...(n−1)a x
f (n)(x) = n! a
⇒ f (n +1) (x) = 0.
Grade 12 Maths (old curriculum) p.163
Exercise 3.10
1 Find the second derivative of each of the following functions.
a f (x) = 3x − 9 b f (x) = 4x3 − 6x2 + 7x + 1
c f (x) = x+sinx d f (x) = x x + sinx
sinx
e f (x) = f f (x) = ln (x2 + 1)
x+1
x2−4
g f (x) = h f (x) = sec x
x+1
x2
i f (x) =
4−x2
d2y
2 For each of the following, find .
dx2
( ) 1
a y = e3x+2 b y = log x+1 c y = ln
3 x2 +1
d y = cos2 (2x+1) e y = (ln x)3 f y = ln (1 − x3)
x
g y = ln h y = e- x sin x i y = sin (2x cos x)
x + 2
j y = ln (ln x) k y =(x+1) x2 +1
3 Find a formula for the nth derivative of each of the following functions for the
given values of n.
a f (x) = e(3x+1); n∈N b f (x) = ex2 ; n = 6
1
c f (x) = ln ; n = 4 d
f(x)=e−x2+7x−3;n=4
x2+1
Key Terms
chain rule gradient rate of change slope
derivative product rule rules tangent
differentiation quotient rule secant work
Summary
1 The slope (gradient) of the graph of y = f (x) at point P.
i A line which touches a (continuous) graph at exactly one point is said to be
a tangent line at that point, called the point of tangency.
ii The slope of the graph of y = f (x) at a point is the slope of the tangent line
at the point of tangency.
iii The slope of y = f (x) at (a, f (a)) is m = lim .
a x→a x−a
iv The equation of the tangent line at (a, f (a)) is y – f (a) = m (x – a).
2 Differentiation of a function at a point
i The Derivative
Let x be in the domain of a function f. Then, f '(x) = lim
o t→x t−x
f ( x + h ) − f ( x )
Also, f '(x) = lim
h→0 h
ii Other notation
Some of the other notations for derivatives are
dy d ( ) ( )
, f x ,D f(x)
dx dx
If y = f (x), then the derivative at point a, f '(a) is also denoted by
dy
dx
x=a
3 Differentiability on an interval
A function f is differentiable on an open interval (a, b), if f is differentiable at each
point on (a, b). f is differentiable on the closed interval [a, b], if it is differentiable
on (a, b) and the one side limit
lim f x and lim f(x)both exist.
x→a+ x→b−
4 The Derivatives of some functions
i The Derivative of a constant function is 0.
(c) = 0
dx
ii The Derivative of the power function
If f (x) = xr, then f '(x) = rxr−1
Grade 12 Maths (old curriculum) p.165
iii The Derivative of simple trigonometric functions
If f (x) = sin x, then f '(x) = cos x
If f (x) = cos x, then f '(x) = −sin x
iv The Derivatives of exponential functions
If f (x) = ex, then f '(x) = ex
If f (x) = ax; a > 0, then f '(x) = ax ln a
v The Derivatives of logarithmic functions
If f (x) = lnx, then f '(x) =
If f (x) = log x; a > 0 and a≠1, then f '(x) = .
a xlna
5 Derivatives of combinations of functions
Let f and g be differentiable functions.
i The derivatives of a sum or a difference.
The sum rule
(f + g)'(x) = f '(x) + g'(x)
The difference rule
(f – g)'(x) = f '(x) − g'(x)
ii The Derivatives of products and quotients.
The product rule
(fg)'(x) = f '(x) g (x) + g'(x) f (x)
The quotient rule
f ′ f ′ (x)g(x)−g ′ (x)f(x)
(x)=
g (g(x))2
6 Differentiation of compositions of functions
The Chain Rule
Let f and g be differentiable functions. Then,
(f ∘ g)'(x) = f '(g (x)). g' (x).
If u is a function of x, y = f (u), u = g (x), then
dy = ( f g )′ (x) = dy . du
dx du dx
i un = nun-1 ii sinu = cosu
dx dx dx dx
iii cosu = -sinu iv eu = eu
dx dx dx dx
d du d 1 du
v au = aulna vi lnu =
dx dx dx u dx
d 1 du
vii log u =
dx a ulna dx
7 Higher Derivatives
i The second Derivative
f '(t)− f '(x)
f "(x) = lim
t→x t−x
ii The nth Derivatives; n ≥≥≥≥ 3
f ( n−1 ) (t)− f ( n−1 )( x )
f (n)(x) = lim
t→x t−x
d2y d dy d2y
If y = f (x), then, = f "(x); =
dx2 dxdx dx2
dny
= f(n)(x).
dxn
Review Exercises on Unit 3
In Exercises 1 – 8, find the difference Quotient of f at a.
x+1
1 f (x) = 4x + 3; a = −2 2 f (x) = 2x2 + 1; a = −1 3 f (x) = ; a = −2
x−2
x + 1 1 9
4 f (x) = ; a = − 5 f (x) = x + 4 ; a = −4 6 f (x) = x + 5; a =
7 f (x) = 2x; a = 0 8 f (x) = 1−3x2 ; a =
In Exercises 9 – 53, find the derivative of the expression with respect to x.
9 9 10 π2 + 11 x2 – 3x + 1
12 4x2−8x 13 x4 – 7x3 + 2 14 (x – 5) (3x + 4)
15 (x – 3)2 16 (5x + 1) (5x – 1) (x – 5) 17 4x3 – x3 + x+1
18 3(x – 2) + x + 5x2 – 19 e−x + ex 20 sin (4x)
21 cos (x2 + 4) 22 tan (6x – 1) 23 ln (7x + 3)
x2 +4 x3−5x+3
24 25 x – 2 (x + 1)2 26
x x4
Grade 12 Maths (old curriculum) p.167
x−1
27 5x (x + 1) 28 1 + x−1 + x−2 + x−3 29
x x
x2+1
30 1−3x2 31 32 e4−x2
log x
33 + 3 x2 + 4 x3 34 x e1– x 35 x –2 (ex + 1)
−1
x 3
( x−1 )3
36 (ln x) (x2 + 1) 37 (2x + 1)4 38
39 x ln x – x 40 log x2 +2 41 lnx + ex + 2x
42 log x 43 ex cos x 44 1 3
x sin x
x2 −1
45 cos ln (x2+1) 46 tan 47 sec2 (x + 3)
x
x3−4x+5 exsin x
48 x−2 (sin (x2)) 49 50
x2+1 ln x
51 x 1−(2+x)2 52 esin x+3 53 ex sin x
54 For each of the following, find f ' (x).
1
, if x ≤ 1
x3, if x≥0 2x +1
a f(x)= b f(x)=
x2, if x<0 1 , if x>1
x+2
1
log , if x< 3
x2 +1
c f(x)=
log 1 , if x≥3
x+3
Find the gradient (slope) of the given curve at the given point in Exercises 55 – 67 below.
55 f (x) = x2 – 5x + 1; x = 1 56 f (x) = x x+1 ; x = 0
57 f (x) = ; x = 1 58 f (x) = (x2 – 1) x ; x = 2
x+2
59 f (x) = x2 + 5x + 4; x = −2.5 60 f (x) = x3 – 3x + 1; x = 2
3x−1 1 2
61 f (x) = ; x = 62 f (x) = x2 + ; x = 2
(x−1)2 2 x2
63 f (x) = e x2 + 1 ; x = 3 64 f (x) = ln x+ x2 +1 ; x=1
π−1 2
65 f (x) = cos (4x + 1) ; x = 66 f (x) = 3x – 2 ; x =
4 3
x3, if x≤−1
67 f(x)= ;x=−1
3x+2, if x>−1
For Exercises 68 – 79, find the equation of the line tangent to the given curve at the
given point.
68 f (x) = x2 – 2x + 3; x = −1 69 f (x) = x x ; x = 1
70 f (x) = ; x = 2 71 f (x) = 4−3x; x = −4
x2 +1
72 f (x) = sin x; x = 73 f (x) = 3 – x – 1; x = 1
74 f (x) = 9−x2 ; x = 2 75 f (x) = log (x + 3); x = 7
ln x
76 f (x) = ex + 1 ; x = −2 77 f (x) = ; x = e
1 exsin x
78 f (x) = ; x = 1 79 f (x) = ; x = 0
(x−2)2 ex +1
80 Find the equation of the line tangent to the graph of y = x2 – 5x + 1 at the point
where the curve crosses the line y = 7.
81 Find the equation of the tangent to the curve y = + x2 which has a slope of –3.
82 Find the value of k so that the line y = −8x + k is tangent to the curve y = 3x2 + 4x + 1.
d2y
In Exercises 83 – 96, find .
dx2
83 y = x2 84 y = x9 85 y = (x2 + 5)7 86 y = e1 – x
1 1
87 y = x7 – 2x3 + x2 – 1 88 y = 89 y = ln (x2 + 1)
4 x
90 y = sin (x – cos (x)) 91 y = ex cos x 92 y = e −2x cos x
2x−3 x2+8
93 y = 94 y = 95 y =( x+3+5)10
2x+3 x+1
96 y = (x2 + 1) sin (4x + 5) 97 If y = x3 e −x , find
d3y
dx3
98 If f (x) = ex ln x, evaluate f ''(1).
Unit
APLICATIONS OF
DIFERENTIAL CALCULUS
Unit Outcomes:
After completing this unit, you should be able to:
find local maximum or local minimum value of a function on a given interval.
find absolute maximum or absolute minimum value of a function on a given
interval.
apply the mean− value theorem.
solve simple problems in which the studied theorems, formulae and
procedures of differential calculus are applied.
solve application problems.
Main Contents
4.3 RATE OF CHANGE p.169
Key terms
Summary
Review Exercises
INTRODUCTION
In Unit 3 you have studied derivatives and have developed methods to find derivatives.
Derivatives can have different interpretations in each of the sciences (natural and social).
For instance; the velocity of a particle is the rate of change of displacement with respect
to time. Chemists who study a chemical reaction may be interested in the rate of change
in the concentration of a reactant with respect to time called the rate of reaction. A steel
manufacturer is interested in the rate of change of the cost of producing x tons of steel
per day with respect to x (called the marginal cost). A biologist is interested in the rate
of change of the population of a colony of bacteria with respect to time. In fact, the
computation of rates of change is important in all of the natural sciences, in engineering,
and even in the social sciences. All these rates of change can be interpreted as slopes of
tangents. This gives added significance to the solution of the tangent problem.
Whenever we solve a problem involving tangent lines, we are not just solving a problem
in geometry. We are also implicitly solving a great variety of problems involving rates
of change in science and engineering.
Once you have developed the properties of the mathematical concept once and for all, you
can then turn around and apply these results to all of the sciences. This is much more
efficient than developing properties of special concepts in each separate science. The
French mathematician Joseph Fourier (1768 − 1830) put it briefly: "Mathematics
compares the most diverse phenomena and discovers the secret analogies that unite
them."
You have already investigated some of the applications of derivatives, but now that you
know the differentiation rules, you are in a better position to pursue the applications of
differentiation in greater depth. You will learn how derivatives affect the shape of the
graph of a function and, in particular, how this helps you locate maximum and
minimum values of functions. Many practical problems require us to minimize a cost or
maximize an area or somehow find the best possible outcome of a situation.
OPENING PROBLEM
A square sheet of cardboard whose area is 12 m2 is used to make an open box by cutting
squares of equal size from the four corners and folding up the sides. What size squares
should be cut to obtain a box with largest possible volume?
← መጻሕፍት