Professional Documents
Culture Documents
Unit Differentiation: 3.1, Introduction
Unit Differentiation: 3.1, Introduction
Structure
3.1 Introduction 51
Objectives
3.2 The Derivative of a Function 52
Slope of a Tangent
Rate of Change
The Derivative
3.3 Derivatives of Some Simple ~uncti0r.s
3.4 Algebra of Derivatives
~erivativeof a Scalar Multiple of a Function
Derivative of the Sum of Two Functions
Derivative of the Product of Two Functions
Derivative of the Quotient of Two Functions
C The Chain Rule of Differentiation
3.5 Continuity versus Derivability
3.6 Summary
3.7 Solutions and Answers
3.1 ,INTRODUCTION
It was the seventeenth century. Some European mathematicians were working on two basic
problems.
i) Is it possible to find the tangent to a given curve at a given point of the curve?
.ii) Is it possible to find the area under a given curve?
Two mathematical giants, Newton and Leibniz, independent of each other, solved these
problems. The theory that they invented in the process was Calculus.
In this first unit on differentiation, we propose to introduce the concept of a derivative which ,
is a basic tool of calculus. Leibniz was motivated directly by the first problem given
above - a problem which was of great significance fo? scientific applications;.He
- Newton (1642-1727)
recognised the derivative as the slope of the tangent to the curve at the given point. Newton,
on the other hand, anived at it by considefing some physical such as determination
of the velocity or the acceleration of a particle at a particular instant; He recognised the
. derivative as a rate of change of physical quantities. We shall now show that both these
considerations lead to the concept of derivative as the limit of a ratio. Of course, to
understand what a derivative is, you should have gonethrough Sec. 2 thoroughly.
We shall first differentiale some standard functions using the definition of the derivative.
The algebra of derivatives can then be effectively used to write down the derivatives of.
severalfunctions which are algebraic combinations of these functions. We shall also discuss
the' chain rule of differentiation which offers an unbelievable simplificatiori in the process of
finding derivatives. We shall also establish a relationship between differentiable functions
and continuous functions which you have studied in Unit 2.
I
Objectives
Leibniz (1646-1716)
After studying this unit, you should be able to:
*
Fig. 1 (b)
We may define a tangent to a curve at P to be a line which best approximates the curve near
P. But this definition is still too vague. Then how can we define a tangent precisely? The
concept of limit which you have studied in Unit 2 comes to our aid here.
Let P be a fixed point on the curve in Fig. 2 (a), and let Q be a nearby point on that curve.
The line through P and Q is called a secant. We define the tangent line at P to be the limiting
position (if it exists) of the secant PQ as Q moves towards P along the curve (Fig.2(b)).
It may not be always possible to find the lipiting position of the secant. As we shall see
later, there are curves which do not have tangents at some points. In fact, there are curves
which do not have a tangent at any point!
There is another question which we can ask here. Suppose we know that a tangent to a curve
exists at a point, how do we go about ktually drawing the tangent?
We have said earlier that the tangent at P is the limiting position of the secant PQ. With
The tangent of the angle which a reference to a system of coordinate axes OX and OY (Fig.3), we can also say that the
,line makes with the positive tangent at P is a line through P whose slope is the limiting value of the slope of PQ as Q
:direction of the x-axis is called the approaches P along the curve. The problem of determining the tangent is, then, the problem
slope of the line.
of finding the slope of the tangent line,
Differentiation
Suppose the curve in Fig.3 is given by y = f(x). Let (x,f(x)) be the point P and let
Q (X+ ax, f(x + &;)) be any other point on the curve. The prefix 6 before a variable quantity
means a small change in the quantity. Thus, 6x means a small change in the variable x.
(Caution : 6x is one inseparable quantity. It is not 6 x x). The coordinates (x + 6x, f(x + 6x))
indicate that Q is near P. If 8 is the angle which PQ makes with the x-axis, then the slope of
PQ = tan 8 = QMPM
- f(x + a x ) - f ( x )
6x
The limiting value of tan 8,as Q tends to P, (and hence 6x + 0) then gives us the slope of
the tangent at P. Thus,
i
I
the slope of the tangent line = lim
h+ o
f(x + 6x) - f(x)
6x
~ h t indicates
s that the tangent line will exist only if the limit of
f(x + 6x) - f(x) . exists as
6x + 0. 6x
Remark 1 In Fig.3.we have taken 6x to be positive. But our discussion is valid even for
negative values of 6x.
Let us take an example .
Example 1 Suppose we want to determine the tangent to the parabola y = x2at the point
P(2,4).
In Fig.4 we give a portion of the parabola in the vicinity of P(2.4).
$lem?nts of Differential Let Q (x, xZ)be any other point on the parahfa. The slope of
Cakulua
-
y coordinateof Q y coordirlateof P
Pa = x coordinate of Q - x coordinate of P
= -x2 4 -
' x-,2
The tangent at P (2,4) is the limiting position of PQ as x + 2. Therefore, the slope of the
I Equation of a lime passing through a
tangent at P is
-
point (x,,y,)and having slope m is
-
Y y, = m(x x,)
:52'
x2 - 4
7GT
I
(X +2)(k - 2)
= lim = lim (X+ 2 ) = 4
'x-2 x-2 X- a
The equation of the tangent line will be (y - 4) = 4 (x - 2).
Now, how do we draw this tangent? Just mark the point P'by moving a distance 1 unit from
P, parallel to the x-axis to the right, and then, moving a distance equal to 4 units parallel to
the y-axis upward. Join P to P'as shown in Fig.4. The coordinates of p'are (2 t 1 , 4 + 4).
The resulting line will touch the parabola at P, and the slope of the tangent at P = tan 8 = 4.
E 1) Find the equation of the tangent to the following curves at the given points.
a) y = llx at (2, 112)
b) = x 3 a t ( l , 1)
In this gubsection we have given a pkcise ddinition of a tangent to a curve. We have also
seen how to draw the tangent to a given curve at a given point. Now let us consider the
Second problem mentioded at the beginning of this section.
But this does not give us the velocity of the particle at a particular instant t. which is called
the instantaneous velocity. How do we calculate this?
To f h d the velocity at a particular time t, we proceed to find the average velocity in the time
interval [t, t + 6t] (or It + ,t t]) for smaller and smaller values of 6t.
I If 6t is very small. then t + 6t is very near t and so the average velocity during the time
i interval 5t would be very near the velocity at t. It seems reasonable, therefore, to define the
I instantaneous velocity at time t to be lim
f(t + 6t)- f(t)
I
&+o 6t
Thus, we have f ( t + 6t)- f(t)
v = lim
L where s = f(t) is the distance travelled in time t. Comparing this box with the one given at
the end of the last subsection, we find that the concepts of the slope of a tangent and the
instantaneous velocity are identical. Further, velocity can be considered as the rate of change
of distance with respect to .time. So, extending our definition of velocity to other rates of
change, we can saythat if a quantity y depends on x according to the Ale y = f(x), then the
rate ofchange of y with respect to x canbe defined as
Exiimple 2 Suppose we want to find the rate of change of the function f defined by
f(x) = x + 5, +X E R, at x = 0.
We shall first calculate the average rate of change off in an interval [O,6x].
, This average rate of change off in [O,6x] is
I - 6x+5-5.=&=]
1 6x 6x
I Hence, the rate of change off at 0, which is the limiting value of this average rate as
! 6x -+ 0,
f(O+ 6 x ) - f ( @
, = lim = lim 1 = 1.
Example 3 Suppose a particle is moving along a straight line and the distance s covered in
time 1 is given by the equation s = (1/2)t2.Let us draw the curve represented by the function s
= (1/2)tZ,measuring time along x-axis and,distance along y-axis. Let P and Q be points on
the curve which correspond to $ = 2 and t, = 4.
1
We shall show that the average velocity of the particle in the time interval [2,4] is the slope
of the line PQ and the velocity at time t, = 2 is the slope of the tangent to the curve at t, = 2.
b
the curve, near P. Then the required slope is lim (slope of PR),
61 +O 55
Elements of Differential
Calculus
Fig. 5
i2 (2 + 6t)?- 2 6t(4 + 6t)
lim
8t-o
- = st-o
(2+6t)-2
lim
26t
=2
And, what is the velocity at t,? It is lim W t , which is again equal to 2. Thus ihe velocity at
8t -0
t, is the same as the slope of the tangent at P.
Remark 2 i) Example 3 is a particular case of the general result: If the path of a particle
moving according to s = f(t) is shown in the ts - plane and if P and Q are points on the path
which correspond to t = t, and t = t,, then the average velocity of the particle in time (t, - t,)
is given by the slope of PQ and the velocity at time t, is given by the slope of the tangent atP.
ii) Distance is always measured in units of length (metres, centimetres, feet) and so velocity
v really means v units of distance per unit of time. The slope of the tangent is a
dimensionless number, while the velocity has the dimension of lengthltime.
Now you can try some exercises on your own.
E E 2) A particle is thrown vertically upwards in the air. The distance it covers in 'lime t is
given by s(t) = ut - (112) gt2where u is the initial velocity'and g denotes thc i~ccelerationdue
to gravity. Find the velocity of the particle at any time t.
E E 3) Find the rate of change of the area of a circle with respect to its radius when the radius
is 2 cm. (Hint: Express the area of a circle as a function of its radius first).
Differentiation
E E 4) Find the average rate of change of the function f defined by f(x) = 2x2+ 1,+x E R in
the interval [l,1 h] and hence evaluate the rate of change of f at x = 1.
We have seen that the slope of a tangent and the rate of growth have the same basic concept
behind them. Won't it be better, then, to give a separate name to this basic concept, and
study it independently of its diverse applications? We give it the name "derivative".
Definition 1 Let y = f(x) be a real-valued function whose' domain is a subset D on R. Let
x E D. If
lim
f(x + 6x) f(x) - exists, then it is called the derivative off at x.
6x +o 6x
Now, if we write f(x + 6x) = y + 6y, then derivative off = lim 6yISx. Here 6y denotes the
change in y caused by a change 6x in x. , . &+O
The derivative is denoted variously by f(x), dyldx or Df. The value o f f (x) at a point x, is
denoted by f (xd. Thus, . Thc notation dy/& is due to Leibniz
and f(x) is due to Lagrange (1 736 -
f(xo + 6x)- f(x,) 1813).
f (x,)= lim
Sx+O 8x
f(xo + a x ) - . f v , )
If, in the expressinrl P(xo) = lim we write
6x-0 6~
xo+6x=x,weget6x=x-x,,and6x+Owx+x,.
f(x) - f(xo
f (x, )= lim
x+x
0
x-Xo
This is an altemapve expressiorr for the denvauve off at the point x,.
Remark 3 In this definition x and y are real numbers and are two dimensionlessnumbers.
If x and y are dir~tensionalquantities (lefigth, time, distance, velocity, area, volume) then the
derivative wll also'havea dimension. For convenience, we shall always treat x arlc y a.
dimensionless i'eal ntirnbqs. The appronrias dimensions can k addcd later.
Cautionz 'dy' and 'dx' in the e x p s i o n dyMx are not separate entities : :.rn.l, !: . , t ~
'd' fro& dyldx to get ylx. The noation only suggests the fact that the deril aei~r:1s otl~iil~,
;
as a ratio.
When f'(x) exists, we say that f is diflerentiale (or dkrivable) at x. When f is
differentiable at each wint'of i a domain D, then f is said to be a differentinble functiurr.
'E'he process of obtaining the derivative is called differentiation. The funchurl f kkuc;,
associates to each poifit x of D, the derivative f'(x) at x, is called the derived function off.
Tbus, the domain of the denved function is { x E D:fyx) exists).
The process of tinding the derivative of 8 function by actually calculating the limit of the
f(x +6x)-f(x)
ratio is called differentiating from first principle&
6x
As we shall see later, it is not always necessary to find a derivative from the first principles.
We shall develop certain rules which can k used to write down the derivatives of some
functions without actually finding the limit. Some such rules arecontained in the next
section.
Example 4 Let f : R + R be a constant function, that is, f(x) = c for all x E R, c being a
real number. We shall show that f is differentiable, and its derivative is zero.
f(x + 6 x ) - f ( x ) c - C.
Now, lim
SX+ o 6x
= lim
SX+O 6~
-
= lim 0 = 0
SX+O
Hence, a constant function is differentiable and its derivative is equal to zero at any point of
its domain.
The result of the above example can be seen more easily geometrically. The constant
function f(x) = c +x E R represents the straight line y = c which is parallel to the x - axis
(Fig.6). If we join any two points, P and Q, on it, the line PQ is parallel to the x - axis.
Hence, the angle made by PQ with the x - axis is zero. This means the slope of PQ is
tan 0 = 0.Since f'(x) is the limit of this slope as Q -+ P, we get f'(x) = 0 for all x in the
domain o f f .
4
Y
4 *
C
= lirn
( X" + nhxP-I + . . . . . . . + h n, --xn (by bionomial theorem)
h+O h
n-i
= nx
The result of the above example is very useful. We shall show later, that - d (xn) = nxn- '
'
dx
for all non-zero x E R even when n is a negative integer. The result also holds for all x >#O
if n is any non-zero real number. Of course, if n = 0,then xn = 1 +x and hence, Dxn = 0 for
all x E R. This means that the result is trivially true for n = 0.~ e v e h h e l e s sright
, now we
are in a position to prove this result for n = 112. That is,
We have, lim
f(x + h)- fix)
= lirn
m-fi
h+O h h+O h
Differentiation
- lim (x + h ) -x
- h+o h ( ~ + hfi)
1 The result of our next example is of great significance. Recall that, in Sec. 2 we mentioned
i that there are functions that have no tangents at some point (or equivalently. have no
I derivative there). This example will illustrate this fact. Before giving the example we give
1
LI
some definitions.
~f (a) = lim .f(a ( a ) , if it exists, is called the right hand derivative of f(xj at
)-
f (a + h ) - f(a)
+
~,
h -rot h
x = a and is, written as Rf'(a). Likewise. Lf'(a) = lirn is called the left
I h+O- h
hand derivative of f(x) at x = a and is written as L f (a). I f f (a) exists, we must have
Rf(a) = L f (a) = f (a) (See Unit 2, Theorem 4).
Example 7 The function f : R + R defined by f(x) = I x I is not derivable at x = 0 but is
derivable at every other point of its domain.
Fig. 7
lim 10 + I - 101 does not exist. In fact as we shall see, Rf(0) and Lfl(0) both exiht. but
ti+o h
they are not equal.
10 + I1
Xow Rf '(0)= lirn -
tl-rOt h
Therefore. RtY(O) = 1 # -1 = Lfl(0). Hence l'(0) does not e u \ t Wc shali now \how that the
function is derivable at every other point.
First, let x > 0. Choose h so that I 1 I < x. This will ensure that x + h > 0 whether h > O or
h i0.Now,
lim
f(x i- h ) - f ( x ) - lim + h I - 1x1 IX
tl +() h b; 0 h
x+h-x
= lim
h+Q h
= lim h/h = I
I1 -+ 0
Thus f is derivable at x , and f ( x ) = 1 for all x > 0.
You can now complete the solution by solving E 5 ) .
I Elements of Dlffcrcntlel
Calculus E E 5 ) Show that y = I x I is derivable arld f ( x ) = -1 at all points x < 0.
E E 6) Show that each of the following functions is derivable at x = 2. Find f'(2) in each case.
a) f : R + R given by f(x) = x
b) f :R +R given by f(x) = ax + b where a and b are fixed real numbers.
I
1
j
I
I
1
= cf'(x)
Tlius. we h,n.e jubt proved the following tneorcrn.
h+O{
lim
= h+o
f(x
f(x + h ) - f ( x )
h
+ h) - f(x)
h
+
g(x + h ) - g ( x ) .
h
g(x + h ) - g ( x )
?
= lim t lim -
h +O h h+O h
2
d
Now. -(3x2) = 3dX- (in view of the theorem)
dx dx
d
and -( - 9 ) = O(see Example 4).
dx
d
Thus, -(3x2 + 41x - 9) = 6x + 41
dx
You are now in a position to solve this exercise.
E E 9) Differentiate the following: Differentiation
a) 5x3+ 2
b) a,+a,x + a 2 x 2 +....... + anxn,wherea, E R f o r i = 1, 2, ......., n.
- -
- lim
h-40
{ f(x+h)-f(x) '
g(x+h))+lim h - o{
g(x + h ) - g ( x )
f (x ))
f(x + h ) - f ( x )
= lim l i m g ( x + h ) + l i m g (x + h) - g ( x ) lim ( x )
h-+O h h -+\0 h-+o h h -+o
Remnrk 5 You could also have differentiated x2(x + 4) without using Theorem 3, as
follows:
x2(x+ 4) = x3+ 4x2
Therefore, -& -
d (x2(x + 4) = d (x3 + 4x2)
dx
This shows that the same function can be differentiated by using different methods. You
may use any method that you find convenient. This observation should also help you to
check the correctness of your resuit. (We assume that you would not make the same mistake
while using two different methods!)
E E 10) Using Theorem 3, differentiate the following functions. Also, differentiate these
functions without using Theorem 3, and compare the results.
a)x fi b) ( x +
~ 2~~+ 512 c)(x+ l ) ( x + 2 ) ( ~ + 3 )
lim gdx 4 h) ,- g ( x )
h 1-
h+O
- iim g (X + h) hlim g (X )
h -0 4 0
Proof :In the result of Theorem 4, take f to be the constant function 1. Then f'(x) = 0 for
all x.
Therefore,
Example 11We shall now show that- d (x") = rixn-', where n is a negative integer and
dx
x # 0.We have already proved this result for a positive integer n in Example 5.
Consider the function f : R\ { 0)- R given by f(x) = x", where m E N. Then
f(x) = l/xmwx E R. Thus, f = l/g, where g(x) = xmfor all x E R,x # 0.g is a differentiable
function and g(x) # 0 if x # 0.So, except at x = 0,we find that
- g ' (XI
f '(x)= (from Corollary 1)
(~(~11
--. - mxm-' (g ' (X) = mx rn -' by using Example 5)
(xmf
-
-
- mxm-'
= - mx-rn-l
x2
Denoting -m by n, we get f(x) = xn, and f'(x) = nxn- I .
Example 12 Let us differentiate the function f given by f(x) = ( x - ~+. 2) / (x2+ 2x)
We can write f as the quotient g/h where g(x) = ( x - ~+ 2) and h(x) = xZ+ 2x.
d d
NOW, g.(~)= - - ( x - ~ ) + - - ( ~ ) = - ~ x - ~ + o = L ~
dx dx x3
Also hl(x) = 2x + 2.
Elements of Differential
Calculus Therefore, f' (X) = h(x)g' (x )- g tx )h' (x)
(h (x ))2
E E 11) Differentiate
2x+ 1 - 1
a) - b) where a, b, c, d are fixed real numbers
x +5 a+bx + cx2 + d B
E E 12) Obtain the derivative of l/f(x) by differentiating from first principles, assuming that
f(x) # 0 for any x.
Differentiation
2 + 5x + 7x-I
E E .13) Differentiate f(x) = C by three different methods.
Our next example illustrates that this rule can be extended to three functions.
Example 15 To differentiate ((5x + 2)2+314,we write y = {(Sx+ 2)2+ 314,u = (5x + 2)2 + 3
andv=5x+2
Then y = u4 and u = vZ+ 3. That.is, y is a function of u, u is a function of v, and v is function
of x. By extending the chain rule, we get
This gives,
d y / d x = 4 u 3 . 2 v . 5 = 4 0 u3 v
This example illustrates that there may be situations in which we may go on using chain rule
for a function of a function of a function ..., and so on. This perhaps justifies the name
'chain' rule. Thus, if g, . . . g,, and h are functions such that h = (g,og,o . . . ogn)(x), then
E E 14) Find dyldx for each of the followtng using the chain rule:
We end this unit with the relationship of differentiability with continuity, which we have
studied in Unit 2. In Sec. 3 of Unit 2 we proved that the function y = I x I is continuous
1
t f x E R. We have also proved that this function is derivable at every point except at x = 0 in
Example 7. This means that the function y=l x I is continuous at x = 0, but is not derivable at
that point. Thus, this shows that a function can be continuous at a point without being
derivable at that point. However, we will now prove that if a function is derivable at a point,
then it must be continuous at that point; or derivability continuity.
Recall that a function f is said to be continuous at a point xo if lim f(x) = f(xo) .
x-+ Xo
f ( x ) - f(xo)
= lim
X+XO
. x-xo
lim ( X - xO)
x+xo
+ X , ~ f (xo) = f (xo)
That is, x+limXo f(x ) = X lim
Fig. 8
It shows the graph of a continuous function which is not derivable at infinitely many points.
Can you mark those infinitely many points at which this function is not derivable? You can
take your hint from the graph of the function y = I x I .
The situation is, in fact, much worse. There are functions which are continuous everywhere
but differentiable nowhere. The discovery came as a surprise to the nineteenth century
mathematicians who believed, till then, that if a function is so bad that it is not derivable at
any point, then it can't be so good that it is continuous at every point. The first such function
was put forth by Weierstrass (although he is said to have attributedw
the discovery to
Riemann) in 1812. He showed that the function f given by f(x) =C bn cos (an x x ) ,
n =O
where a is an odd integer and b is a positive constant between 0 and 1 such that
ab > 1 + 3x12, is a function which is continuous everywhere, but derivable nowhere. It will
not be possible for us to prove this assertion at this stage.
Sometimes we use Theorem 6 to prove that a g ~ er, b function is continuous at a given point.
We prove that it$ derivative exists at that point. By Theorem 6 then, the continuity
automatically follows.
50
E E 15) Is the function f : [0,1] + R :f(x) = (2x + 3) continuous at x = 0. l ?
9x+ 2
3.6 SUMMARY
E 3) area = A = rc$ . -
E 4) average rate of change off in [I, 1 + h] =
f(1 + h ) - f(1)
rate of change off at x = 1 = lim -
where h may be positive or negati
h-+O h
= lim [ 4 + 2 h ) = 4
h3 0
Elements of Differential E 5) If x < 0, choose 0 < h < I x I then x-+ h < 0 and
Calculus
Ix+hI-lxI - - ( x + h ) - ( - X ) -h
lirn . - =- =- 1
h +o h h h
Thus f'(x) = -I if x < 0. f is derivable f o x~c 0.
= lim
. ah
-= a .
h+O h
E7) a) -dy
= lim (X + h $ - x 3 = lirn (3x2 + 3xh + h2) = 3x2
dx h+O h h+O
9 + h) +4 2 +~1
Cl
* = l i m ~ z ( ' x + h) + I
h+O h
- J 2 x + l x J2(x
d2(;(+
+I
h)+l+ J2*+ 1
- lim 2 1
J2(x + h ) , + i +J 2 r 1= ~ . i
1 f ( x ) - f(x + h )
= lim -
h+o h f(x)f(x + h)
f ( x ) - f(x + h )
-
-.
f ( x ) lim f(x
h4 0
+ h)
b) u = 2x + 3, y = u2/(1 + u3)
c) u = 9 x + S s v = u 3 + u - : y = v 7
dy/dx = 7v6 (3u2 - 3u4) x 9
= 63 [(9x + 5)3 + (9x + 5)-'I6 [3(9x + 5)2 -