Differentiation

  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Differentiation as PDF for free.

More details

  • Words: 8,291
  • Pages: 28
LOCUS

1

Differentiation

CONCEPT NO TES NOTES 01.

Introduction to differentiation

02.

Differentiation of Standard Functions

03.

Rules for differentiation

04.

Differentiation of Parametric / Implicit Functions

05.

L' Hospital' Rule

Maths / Differentiation

LOCUS

2

Differentiation Now that we have seen the concepts of continuity and differentiability, we will start developing applications of these concepts. These applications include differentiation (developing techniques and formulae to differentiate a given function), maxima and minima, drawing tangents and normals (to some given curve at some given point), studying monotonicity of functions, and so on. In this chapter, we will study differentiation which is just an extension of the differentiability concept (in fact, we already have studied almost everything pertaining to differentiation). Our purpose here is to find out the derivatives of some standard functions by first principles, and then use these results whenever we want to differentiate any arbitrary given function. Section - 1

INTRODUCTION TO DIFFERENTIATION

In the previous chapter, we saw in great detail the meaning of evaluating the derivative (differentiating) of a given function at any given point. We summarize that discussion briefly here: If f(x) is a differentiable function for a given x, this means that we can draw a unique tangent to f(x) for that given x. The slope of this unique tangent is called the derivative of f(x) for that given x. The process of finding the derivative is known as differentiation. For example, for f ( x ) = x 2 , the derivative at any given x has the value 2x (we evaluated this by first principles in the previous chapter.) This means that the slope of the tangent drawn to f ( x ) at any given x has the numerical value 2x. Equivalently stated, we can differentiate f ( x ) = x 2 to get f ' ( x ) = 2 x .

{ f ' ( x ) represents the derivative of

f ( x )}. y

The tangent drawn to f(x) at any x has the slope f'(x) = 2x, i.e tan θ = 2x. θ

x Fig - 1

Maths / Differentiation

x

LOCUS

3

Recall that we can differentiate a function at a given point only if the LHD and RHD at that point have equal values. If they do, then

d ( f ( x ))

f ( x + h) − f ( x) f ( x − h) − f ( x) = lim h →0 h →0 −h dx h d f ( x )  dy  The notation that we use to signify the derivative of y = f ( x ) is either f ' ( x )( or y ') or  or  dx  dx  f '( x) =

= lim

dy (the derivative of y with respect to the variable x) dx Recall that to evaluate the derivative (slope of the tangent) of y = f(x) at a given point, we first drew a secant passing through that point and then let that secant tend to a tangent as follows:

We need to understand here the significance of the notation

Secant

y y = f(x)

Secant Secant Tangent

x

Fig - 2

The slope of any secant can be written easily: y y2 = f(x2 )

C tan θ = BC AB

∆y

θ

y1 = f(x1 ) A

x1

∆x

=

y2 − y 1 x 2 − x1 ∆y

= ∆x

B

x2

x

Fig - 3

The slope is obvious from the figure: tan θ =

BC y2 − y1 ∆y = = AB x2 − x1 ∆x

Now, to evaluate the derivative at x1, we need to make the secant AC tend to a tangent at A by letting x2 approach Maths / Differentiation

LOCUS

4

x1 ( x2 → x1 ) or equivalently, by letting ∆x → 0. As ∆x becomes an infinitesmally small quantity (approaches 0), the corresponding ∆y will also become infinitesmally ∆y small (will approach 0), but the ratio will become an increasingly accurate representation of the slope of the ∆x tangent at A. An infinitesmally small change in the x value is represented by dx instead of ∆x. Similarly, an infinitesmally small change in the y value would be represented by dy instead of ∆y. Therefore, ∆y ∆y dy = lim = = y' x2 → x1 ∆x ∆x → 0 ∆ x dx lim

You should now be clear about the notation

dy dy d f ( x ) , , f ' ( x ) or y ' interchangeably to . We will use dx dx dx

represent the derivative of y = f ( x ) at any given x. Note:

From now on you should always keep in mind that d(variable) represents an infinitesmally small change in the variable value while ∆ (variable) represents a finite change in the variable value.

Section - 2

DIFFERENTIATION OF STANDARD FUNCTIONS

By now, the meaning and geometrical significance of differentiation should be pretty clear to you. We will use this knowledge to evaluate the derivatives of some standard functions in this section. You will notice that while differentiating these functions, we will only use the expression for the RHD; we could equivalently use the LHD also since all the functions we will be concerned with in this section are differentiable (except at discontinuous points); that the LHD and RHD are equal for each of these functions at a given x can be easily verified. 1.

f (x) = k : f ( x + h) − f ( x) k −k = lim =0 → 0 h →0 h h h This is intuitively true also since the graph for a constant function is a horizontal line. f ' ( x ) = lim

2.

f (x) = x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) ( x + h) − x = 1 = lim h →0 h h

This corresponds to the fact that the line f ( x ) = x is inclined at 45º to the x–axis (and tan 45º is 1). Maths / Differentiation

LOCUS

3.

5

f ( x ) = mx + c : f ' ( x ) = lim h →0

f ( x + h) − f ( x) m ( x + h ) + c − ( mx + c ) = lim =m h →0 h h

This is again a straight forward result: ‘m’ is the slope of f ( x ) = mx + c so it must equal f ' ( x ) . 4.

f ( x ) = x2 :

f ( x + h) − f ( x) x + h) − x2 ( h 2 + 2 xh f ' ( x ) = lim = lim = lim = 2x h→0 h→0 h→0 h h h We have already obtained this result earlier. 2

5.

f ( x ) = xn :

f ( x + h) − f ( x) x + h ) − xn ( f ' ( x ) = lim = lim h →0 h →0 h h n

 n  h n  n  x 1 +  − x    x = lim    h→0 h       h n   1 +  − 1   x n = x lim    h→0 h      nh ( n − 1) h 2 + .... − 1 + + 1 n   x 2! x 2   n = x lim h →0 h = xn ⋅

n = nx n −1 x

So, for example,

Maths / Differentiation

[By the binomial expansion]

d ( x3 ) d ( x2 ) = 3.x 3−1 = 3x 2 and so on. = 2.x 2−1 = 2 x and dx dx

LOCUS

6.

6

f ( x ) = sin x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) sin ( x + h ) − sin x = lim h →0 h h

h h  2 cos  x +  sin   2 2  = lim h→0 h   h  sin      h 2  = lim cos  x +  ⋅    h→0 2 h       2   = cos x.

7.

f ( x ) = cos x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) cos ( x + h ) − cos x = lim h →0 h h

 h h   −2sin  x + 2  sin 2    = lim   h→0 h       h  sin     h 2   = lim − sin  x +  ⋅    h →0 2 h        2  = – sin x.

8.

f ( x ) = tan x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) tan ( x + h ) − tan x = lim h →0 h h

 tan h  = lim  ⋅ {1 + tan x ⋅ tan ( x + h )} h→0  h 

= 1 + tan2 x = sec2 x. Maths / Differentiation

LOCUS

9.

7

f ( x ) = sec x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) sec ( x + h ) − sec x = lim h →0 h h cos x − cos ( x + h ) h → 0 h cos x cos ( x + h )

= lim

 h h   2sin  x + 2  sin 2    = lim   h →0  h cos x cos ( x + h )     h   h   sin  x + 2   sin     2 = lim   h  h → 0 cos x cos ( x + h )     2    = sec x tan x.

10.

f ( x ) = cosec x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) cosec ( x + h ) − cosec x = lim h →0 h h sin x − sin ( x + h ) h → 0 h sin x sin ( x + h )

= lim

 h h   −2 cos  x + 2  sin 2    = lim   h →0  h sin x sin ( x + h )     h    h     − cos  x + 2   sin  2         = lim   h → 0 sin x sin ( x + h )  h    2     = – cosec x cot x Maths / Differentiation

LOCUS

11.

8

f ( x ) = cot x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) cot ( x + h ) − cot x = lim h →0 h h sin x cos ( x + h ) − cos x sin ( x + h ) h →0 h sin x sin ( x + h )

= lim

 Notice how the numerator     was simplified 

− sin h h → 0 h sin x sin ( x + h )

= lim

12.

= – cosec2 x

f ( x ) = ex :

f ( x + h) − f ( x) e x+h − e x e x ⋅ eh − e x f ' ( x ) = lim = lim = lim h →0 h →0 h →0 h h h x = e lim h→0

eh − 1 h

= ex

13.

f (x) = ax :

f ( x + h) − f ( x) a x+ h − a x f ' ( x ) = lim = lim h →0 h →0 h h ah −1 h →0 h

= a x ⋅ lim = a x ln a

14.

f ( x ) = ln x : f ' ( x ) = lim h →0

f ( x + h) − f ( x) ln ( x + h ) − ln x = lim h →0 h h  h ln  1 +  x = lim  h →0 h  h ln  1 +  x = lim  h →0 h x⋅ x   ln (1 + θ )   1 = Because lim   = 1 θ →0 θ x    

Maths / Differentiation

LOCUS

15.

9

f ( x ) = log a x : ln x d ( log a x ) 1 d ln ( x ) 1 will be {because is a constant , ln a ln a dx ln a dx so it can be taken outside the differentiation operator; we will prove the validity of this step later}.

Since log a x can be written as

Therefore, 16.

d 1 (log a x ) = dx x ln a

f ( x ) = sin −1 x :

f ' ( x ) = lim h →0

f ( x + h) − f ( x) sin −1 ( x + h ) − sin −1 x = lim h →0 h h

 The numerator can be simplified as follows: Let us consider a general expression sin –1 x − sin −1 y.  Let sin –1 x = p and sin −1 y = q, so that x = sin p and y = sin q   Now, sin ( p − q ) = sin p cos q − cos p sin q  2 2 = x 1− y − y 1− x  Therefore,   p − q = sin −1 x − sin −1 y = sin −1 x 1 − y 2 − y 1 − x 2 

(

)

            

We use this relation now to simplify the numerator: f ' ( x ) = lim

{

sin −1 ( x + h ) 1 − x 2 − x 1 − ( x + h )

2

h →0

h

 we replaced the large    –1 argument of sin by y 

sin −1 y h→0 h

= lim

sin −1 y y ⋅ h →0 y h

= lim

Notice that as h → 0, y → 0 so

sin −1 y →1 y

( x + h) 1− x2 − x 1− ( x + h) y lim = lim h →0 h h →0 h

2

Also,

(x + h)

2

= lim h →0

Maths / Differentiation

{

(1 − x ) − x 2

2

(1 − ( x + h ) ) 2

h ( x + h) 1 − x2 + x 1 − ( x + h)

2

}

}

LOCUS

10

= lim h →0

= =

h 2 + 2 xh

{

h ( x + h) 1 − x2 + x 1 − ( x + h)

2

}

2x 2 x 1 − x2 1 1 − x2

Therefore, f '( x) =

17.

1 1 − x2

f ( x ) = cos −1 x :

Notice that sin −1 x + cos −1 x =

Thus,

π 2

( )

d π d −1 −1 (sin x + cos x ) = dx2 = 0 dx



d (cos −1 x )

=

−d (sin −1 x )

=

−1

dx dx 1 − x2 Note that for the last step, we have used the fact that differentiation operation is distributive over addition, i.e. (f + g)' = f ' + g'. We will justify this later.

18.

f ( x ) = tan −1 x : f (x + h) − f (x) tan −1 ( x + h ) − tan −1 x = lim f ' ( x ) = lim h→0 h→0 h h

tan −1 = lim h→0

h 1 + x (x + h ) h

 we used tan −1 A − tan −1 B     = tan −1  A − B  ; verify this       1 + AB   

h  −1   tan 1 + x ( x + h )  1 = lim  ⋅  h→0 h   1+ x ( x + h)  1 + x ( x + h )  =

Maths / Differentiation

1 1 + x2

LOCUS

19.

11

f ( x ) = cosec − 1 x :

f ' ( x ) = lim h→0

f ( x + h) − f ( x) cosec−1 ( x + h ) − cosec −1 x = lim h→0 h h  1  −1  1  sin −1   − sin    x+h  x = lim h →0 h

 Notice that     cosec −1θ = sin −1 1  θ 

2 2  1  1 1  1   sin −1  1 − − 1 −          x  x  x + h    x + h  = lim h →0 h

  x2 −1 sin  −  x ( x + h ) = lim h→0 h −1

sin −1 y y ⋅ h →0 y h

= lim

Now, it can easily be verified by rationalization that h→0

−1 y = h x x2 − 1

Therefore, −1

f '( x) = 20.

x

x2 − 1

f ( x ) = sec −1 x : −1 −1 Notice that sec x + cosec x =

Therefore,

d (sec −1 x ) dx

Maths / Differentiation

=

π 2

− d (cosec −1 x ) dx

2

 where y is the argument of sin −1 ;     Note that y → 0 as h → 0 

sin −1 y = lim h →0 h

lim

− 1   x x+h  

( x + h)

1

= x

x2 −1

LOCUS

12

f ( x ) = cot −1 x :

21.

Notice again that tan −1 x + cot −1 x =

π 2

Therefore, as in the earlier cases, d ( cot −1 x ) dx

=

− d ( tan −1 x ) dx

=

−1 1 + x2

It would be of help to you to get used to these differentiation on formulae as soon as possible, since they will be widely used subsequently.

Section - 3

RULES OF DIFFERENTIATION

In this section, we will see certain general rules pertaining to differentiation that will help us in calculating the derivative of an arbitrary function without using first principles. In the discussion that follows, we assume that f ( x ) and g ( x ) are two differentiable functions Rule 1:

d ( kf ( x )) dx

=

kd ( f ( x )) dx

This rule says that a constant can be taken out from the argument of the differentiation operator. The proof is very straight forward:

d ( kf ( x )) dx

kf ( x + h ) − kf ( x ) h →0 h

= lim

= k lim h→0

=

Rule 2:

d ( f ( x ) ± g ( x )) dx

=

f ( x + h) − f ( x) h

kd ( f ( x )) dx

d ( f ( x ) ) d ( g ( x )) ± dx dx

This rule says that the differentiation operator is distributive over addition and subtraction. The proof for this is again quite straightforward:

Maths / Differentiation

LOCUS

13

d ( f ( x ) ± g ( x ))

= lim

{ f ( x + h ) ± g ( x + h )} − { f ( x ) ± g ( x )}

h →0

dx

= lim

h

{ f ( x + h ) − f ( x )} ± {g ( x + h ) − g ( x )}

h →0

= lim h →0

=

Rule 3:

d { f ( x ) g ( x )} dx

= f ( x)

h f ( x + h) − f ( x) g ( x + h) − g ( x) ± lim h →0 h h

d ( f ( x )) dx

d ( g ( x )) dx

±

d ( g ( x )) dx

+ g (x)

d ( f ( x )) dx

This rule, called the Product rule, is of great help in evaluating the derivative of the product of two (or more) functions. The proof is as follows: d { f ( x ) g ( x )} dx

= lim h →0

f ( x + h) g ( x + h) − f ( x) g ( x) h Introduction of an extra term

= lim

f (x + h ) g (x + h ) − f (x + h ) g (x ) + f (x + h ) g (x ) −f (x ) g (x )

h→0

= lim

h

f ( x + h ){g ( x + h ) − g ( x )} + g ( x ){ f ( x + h ) − f ( x )}

h →0

h

= lim f ( x + h ) lim h →0

= f ( x)

Rule 4:

d  f ( x )   = dx  g ( x ) 

g (x)

d ( f ( x )) dx

h →0

d ( g ( x )) dx − f ( x)

( g ( x ))

2

g ( x + h) − g ( x) f ( x + h) − f ( x) + g ( x ) lim h →0 h h

+ g ( x)

d ( f ( x )) dx

d ( g ( x )) dx

; wherever g ( x ) ≠ 0

This rule, called the Quotient rule, helps us evaluate the derivative of the ratio of two functions

f ( x ) / g ( x ) , wherever g ( x ) ≠ 0 . Maths / Differentiation

LOCUS

14

f ( x + h) f ( x) − g ( x + h) g ( x) d  f ( x )    = lim dx  g ( x )  h →0 h = lim h→0

g (x) f (x + h) − f (x) g (x + h) h ⋅ g (x)⋅ g (x + h) Introduction of an extra term

= lim

g ( x ) f ( x + h ) −g ( x ) f ( x ) + g ( x ) f ( x ) − f ( x ) g ( x + h )

h→0

= lim h→0

=

=

Rule 5:

d f ( g ( x )) dx

=

h ⋅ g ( x) ⋅ g( x + h)  g ( x ){ f ( x + h ) − f ( x )} {g ( x ) − g ( x + h )} 1 lim  + f (x)  g ( x ) ⋅ g ( x + h ) h→0  h h   d ( f ( x )) d ( g ( x ))  ⋅ g (x) − f (x)  dx dx  

1

( g ( x ))

2

g ( x) f '( x) − f ( x) g '( x)

( g ( x ))

2

d f ( g ( x )) d ( g ( x )) ⋅ dx d ( g ( x ))

This can be stated more conveniently as

( f ( g ( x ))) = f ' ( g ( x ) ) g ' ( x ) '

This rule, called the Chain rule, is extremely useful to differentiate composite functions, and will be used extensively. It says that to differentiate f ( g ( x )) , we first differentiate f with respect to g ( x ) and not x(i.e, we treat g(x) as a variable y and differentiate f with respect to y) and then we multiply this by the derivative of g ( x )(or y ) with respect to x.

Maths / Differentiation

LOCUS

15

d  f ( g ( x ))

= lim

f ( g ( x + h )) − f ( g ( x ))

h→0

dx

= lim h→0

h f ( g ( x + h ) ) − f ( g ( x )) g ( x + h ) − g ( x ) ⋅ g ( x + h) − g ( x) h

Notice carefully that the first ratio in the limit above is actually the derivative of f, but with respect to

{

}

g ( x ) as the variable as h → 0, ( g ( x + h ) − g ( x )) → 0 . You can view this graphically as follows: f(g(x))

f(g(x+h))

A

f(g(x))

B

tan θ = ∆f ∆g

∆f

As ∆g → 0, tan θ will tend to the instantaneous value of slope at A.

θ ∆g

g(x) g(x)

g(x+h)

Fig - 4

Therefore, d  f ( g ( x ))

=

dx

d f ( g ( x )) d ( g ( x )) ⋅ dx d ( g ( x ))

= f ' ( g ( x )) ⋅ g ' ( x ) For example,

(

d sin ( x 2 ) dx

)=

d ( log (sin x )) dx

cos ( x 2 ) ⋅ " #$# % ↑

2!x ↑

Derivativeof Derivativeof sin( x 2 ) w.r .t ( x 2 ) ( x 2 ) w.r .t x

=

1 sin x !

⋅ cos !x

↓ ↓ Derivative of Derivative of log sin x w.r .t x (sin x ) w.r .t sin x

and so on. We will encounter lots examples of the application of this rule soon. You must note here that for this rule to be applicable at any x = a the function f(x) must be differentiable at x = g(a), since the variable that is the argument (input) to f is g(x) {and not x}. Maths / Differentiation

LOCUS

16

Example – 1 Evaluate the derivatives of the following functions by first principles: (a) f ( x ) = log (sin x )

(b) f ( x ) = sin ( log x )

(c) f ( x ) = 3 sin x

(d) f ( x ) = e x

2

Solution: These functions are all compositions of multiple functions and can easily be differentiated using the Chain rule. However, our purpose here is to differentiate them using first principles. This exercise, instead of being considered futile, should be seen as an application of your algebraic manipulation skills. (a) f ' ( x ) = lim

log (sin ( x + h )) − log (sin x )

h →0

= lim

h  sin ( x + h )  log    sin x 

h →0

h  sin x cos h + cos x sin h  log   sin x   = lim h →0 h

= lim h →0

= lim

log ( cos h + cot x sin h ) h

log {cos h (1 + cot x tan h )}

h→0

h

log ( cos h ) log (1 + cot x tan h ) + lim h→0 h→0 h h

= lim

This limit is 1 log {1+ ( cos h − 1)} log (1+ cot x tan h) cot x tan h + lim ⋅ h→0 h→0 h cot x tan h h

= lim

This limit is 1 = lim h→0

log {1+ (cos h − 1)} cos h -1 + cot x cos h − 1 h

cos h − 1 + cot x h→0 h = 0 + cot x

= lim

= cot x Maths / Differentiation

LOCUS

17

(b) f ' ( x ) = lim

sin ( log ( x + h )) − sin ( log x )

h →0

h

 log ( x + h ) + log ( x )   log ( x + h ) − log ( x )  cos   sin   2 2     = 2 lim h →0 h  1  h    sin  2 log 1 + x        = 2 cos (log ( x )) lim    h→0 h       1  h   1  h  log 1 +     sin  log 1 +    2   x   2  x  = 2 cos (log ( x )) lim    ⋅ h →0   h  h   1   2 log 1 + x            h   1 log 1 + x     = 2 cos (log ( x )) lim   h →0 2 x⋅h  x   

=

cos ( log ( x )) x

(c) f ' ( x ) = lim

3

sin ( x + h ) − 3 sin x

h →0

= lim h→0

h sin ( x + h ) − sin ( x ) 1 ⋅ 2/3 1/ 3 2/3 h sin ( x + h ) + (sin x ) + sin x ⋅ sin ( x + h )

{This step was accomplished by rationalization} =

Maths / Differentiation

cos x 3 ⋅ (sin x )

2/3

LOCUS

18

e( x + h ) − e x (d) f ' ( x ) = lim h→0 h 2

ex

= lim

2

+ h 2 + 2 xh

h→0

2

− ex

2

h

= e lim x2

eh

2

+ 2 xh

h →0

−1

h

 e h2 + 2 xh − 1 h 2 + 2 xh  = e lim  2 ⋅  h→0 h  h + 2 xh  & The limiting value of this ratio will be 1 x2

= ex ⋅ 2x 2

Example – 2 Evaluate the derivatives of the following functions using the techniques developed in section - 3:  x +1  (b) f ( x ) = tan    x+2

2 −1 (a) f ( x ) = ( x + 3 x ) sin x

(c) f ( x ) = cos

−1

( 1− x ) 2

x2 + 2x + 3 (d) f ( x ) = 4 − tan −1 x 2 + x+2

Solution: (a) This function can be differentiated by the Product Rule (Rule - 3) d ( f ( x )) dx

= ( x + 3x ) 2

(x =

2

+ 3x )

1− x

2

d (sin −1 x ) dx

−1

+ sin x

d ( x2 + 3x ) dx

+ (sin −1 x ) ⋅ ( 2 x + 3)

 x +1  (b) This function will be differentiated by the Chain rule (Rule 5); the argument   can be  x+2 differentiated by the Quotient rule (Rule 4):

d ( f ( x )) dx   x + 1   x + 1  d  tan   d    x + 2   x + 2   = ⋅ dx  x +1  d   x+2 Maths / Differentiation

LOCUS

19

 x + 1  ( x + 2 ) ⋅ (1) − ( x + 1) ⋅ (1) = sec 2  ⋅ 2  x+2 ( x + 2)

 x +1  ⋅ sec 2    x+2 ( x + 2) 1

2

(c) Here, we will have to use a combination of these techniques as follows: d ( f ( x )) dx

=

  = 1 − 

1 x 1 − x2

 ( x + 2 )( 2 x + 2 ) − ( x 2 + 2 x + 3) ⋅ (1)  −x ⋅ + 2 2 2 ( x + 2) 1 − x2  1 − x  −1

(

)

x2 + 4 x + 1

+

( x + 2)

2

You are urged to work out the solution on your own.

(d)

d ( f ( x )) dx

= =

1 2 4 − tan −1 x 2

(1 + x ) 4



−1 ⋅ 2x 1 + x4

−x 4 − tan −1 x 2

Example – 3 If f '(x) = g(x), find the derivative of f–1 (x) Solution: To evaluate the required derivative, we can apply the chain rule on the relation: f ( f −1 ( x )) = x ⇒

{

⇒ f ' ( f −1 ( x ) ) ⇒

Maths / Differentiation

}

d d f ( f −1 ( x )) = ( x ) = 1 dx dx d f −1 ( x ) ) = 1 ( dx

d 1 1 = f −1 ( x )) ( −1 −1 dx f ' ( f ( x ) ) g ( f ( x ))

LOCUS

20

For example, we know that ⇒

d (sin x ) = cos x dx

d 1 sin −1 x ) = ( dx cos (sin −1 ( x ))

=

=

(

1

cos cos −1 1 − x 2

)

1 1 − x2

In this way, we can evaluate the derivative of any inverse function, given the derivative of the original function.

Section - 4

(A)

DIFFERENTIATION OF PARAMETRIC/IMPLICIT FUNCTIONS

PARAMETRIC FUNCTIONS

Sometimes, when expressing y as a function of x, one might not use a direction relation between x and y; instead, one might express both x and y as functions of a third variable, say t:

x = f (t ) y = g (t ) In that case, how would

dy be evaluated? dx

One option is to eliminate the parameter t and obtain a relation involving only x and y, from which

dy dx

may be obtained; however, this could lead to cumbersome expressions. Another alternative can be taken as follows; we rearrange

dy to involve t also: dx

dy dy dt = dx dx dt This relation says that for evaluating the derivative of y w.r.t x, we evaluate the derivative of y and x w.r.t the parameter t, and then take their ratio.

Maths / Differentiation

LOCUS

21

Let us try this on some examples: (i) x = r cos θ ; r is a constant y = r sin θ This parametric relation represents a circle of radius r. We will follow both the approaches to dy determine : dx ⇒

ELIMINATION: Square and add the two relations for x and y to obtain: x2 + y 2 = r 2 ⇒ y = ± r 2 − x2 ⇒



dy x =± 2 dx r − x2

 For each x, we obtain two y '     values because the curveis a circle 

PARAMETRIC DIFFERENTIATION dx dy = − r sin θ = r cos θ dθ dθ dy dy / dθ ⇒ = = − cot θ dx dx / dθ

(ii) x = a cos θ ; a, b are constants y = b sin θ This parametric relation represents an ellipse with major and minor axis 2a and 2b respectively. ⇒

ELIMINATION

θ can easily be eliminated to obtain: x2 y 2 + =1 a 2 b2 b 2 ⇒y=± a − x2 a ⇒



dy b =± dx a

x

a − x2 PARAMETRIC DIFFERENTIATION dx = − a sin θ dθ ⇒

2

dy = b cos θ dθ

dy dy / dθ −b = = cot θ dx dx / dθ a

In later examples, we will observe that in many cases, parametric differentiation turns out to be much more convenient than differentiation after elimination. Maths / Differentiation

LOCUS

(B)

22

IMPLICIT FUNCTIONS

Sometimes, the relation between the variables x and y is specified in the form f(x, y) = 0 that is, y is not explicitly specified in terms of x, since this explicit expression is either not possible or not convenient. In such a case, y is said to be an implicit function of x. How do we find

dy in such a case? dx

We simply differentiate the relation f(x, y) = 0 with respect to x, using

dy for the derivative of the dx

dy . dx This will become clear from some examples:

variable y. Then we solve for



x2 + y 2 = 1 Differentiating both sides w.r.t x: 2x + 2 y



dy =0 dx

dy − x = dx y

⇒ x3 + y 3 + 2 xy = 2 Differentiating both sides w.r.t x: 3x 2 + 3 y 2

dy dy + 2x + 2 y = 0 dx dx

2 dy − (3x + 2 y ) ⇒ = dx 3y2 + 2x

⇒ y = cos ( x + y ) Differentiating both sides w.r.t x: dy  dy  = − sin ( x + y )  1 +  dx  dx 



dy − sin ( x + y ) = dx 1 + sin ( x + y )

dy Observe that in case of differentiation of implicit functions, the expression for the derivative dx will generally not be independent of y.

Maths / Differentiation

LOCUS

23

Example – 4 dy −1 1 1 = If x 2 + y 2 = t + and x 4 + y 4 = t 2 + 2 , then prove that dx x3 y t t Solution: We first try to use the two given relations to get rid of the parameter t, so that we obtain a (implicit) relation between x and y. x2 + y 2 = t +

1 t

Squaring, we get x4 + y 4 + 2x2 y 2 = t 2 +

1 +2 t2

... (i)

Using the second relation in (i), we get 2 x2 y2 = 2 1 x2 Differentiating both sides w.r.t x, we get ⇒ y2 =

dy −2 = dx x 3 dy −1 ⇒ = dx x 3 y 2y

Example – 5 If y 2 = a 2 cos 2 x + b2 sin 2 x, then prove that

d2y a 2b2 + y = dx 2 y3 Solution: The final relation that we need to obtain is independent of sin x and cos x; this gives us a hint that using the given relation, we must first get rid of sin x and cos x: y 2 = a 2 cos 2 x + b 2 sin 2 x

{

}

=

1 2 a ( 2 cos 2 x ) + b 2 ( 2 sin 2 x ) 2

=

1 2 a (1 + cos 2 x ) + b 2 (1 − cos 2 x )} { 2

=

1 a 2 + b 2 ) + ( a 2 − b 2 ) cos 2 x ( 2

{

}

⇒ 2 y 2 − ( a 2 + b 2 ) = ( a 2 − b 2 ) cos 2 x Maths / Differentiation

... (i)

LOCUS

24

Differentiating both sides of (i) w.r.t x, we get dy = −2 ( a 2 − b 2 ) sin 2 x dx dy ⇒ −2 y = ( a 2 − b 2 ) sin 2 x ... (ii) dx We see now that squaring (i) and (ii) and adding them will lead to an expression independent of the trig. terms: 4y

(2 y − (a 2

2

+b

2

))

2

2

2  dy  + 4 y   = ( a2 − b2 )  dx  2

A slight rearrangement gives: 2

a 2b 2  dy  2 2 2 y a b + − + = − ( )   y2  dx 

... (iii)

Differentiating both sides of (iii) w.r.t x: 2 dy 2a 2b 2 dy  dy   d y  2  2  + 2y = dx y 3 dx  dx   dx 

d2y a 2b2 ⇒ 2 +y= 3 dx y Example – 6 g(x)

If the derivatives of f(x) and g(x) are known, find the derivative of y = { f ( x )}

Solution: We cannot directly differentiate the given relation since no rule tells us how to differentiate a term pq where both p and q are variables. What we can instead do is take the logarithm of both sides of the given relation: g(x)

y = { f ( x )}

⇒ ln y = g ( x ) ln ( f ( x )) Now we differentiate both sides w.r.t x: ⇒

1 dy 1 = g (x)⋅ ⋅ f ' ( x ) + ln ( f ( x )) ⋅ g ' ( x ) y dx f (x)



 f ' ( x ) g ( x ) dy = y + g ' ( x ) ln ( f ( x )) dx f (x)  = ( f ( x ))

Maths / Differentiation

g(x)

 f ' ( x ) g ( x )  + g ' ( x ) ln ( f ( x ))  f (x)  

LOCUS

25

As a simple example, suppose we have to differentiate y = xx : ln y = x ln x



1 dy 1 = x ⋅ + ln x ⋅1 y dx x

= 1 + ln x ⇒

dy = y (1 + ln x ) dx

= x x (1 + ln x ) Section - 5

L'HOSPITAL' RULE

We had made a mention of the L'Hospital's Rule (abbreviated as the LH rule) in the unit on limits. We had deferred the introduction of this rule to this chapter since it requires the use of differentiation. The LH rule can be used to evaluate limits that are of the form

0 ∞ or ∞ 0

Consider two functions f ( x ) and g ( x ) which are differentiable in the neighbourhood of the point x = a (except possibly at the point x = a itself). Let g ' ( x ) ≠ 0 in this neighbourhood. The LH rule says that

or

if

lim f ( x ) = lim g ( x ) = 0

if

lim f ( x ) = lim g ( x ) = ∞

then

x→a

x→a

x→ a

lim

f (x) f '( x) = lim g ( x ) x →a g ' ( x )

x→a

provided that the limit lim x→a

x→a

0 ∞ f (x) exists. Although the LH rule is applicable to limits of the form or , you ∞ 0 g (x)

should be able to understand that other indeterminate forms like 0.∞, ∞ − ∞, 1∞ , ∞ 0 or 00 can be reduced to these two indeterminate forms using appropriate algebtain manipulations. You are urged to think of some (non-rigorous) justifiction for this rule. Lets apply this rule on some examples.

Maths / Differentiation

LOCUS

26

Example – 7 Evaluate: (a)

lim x ln x x →0

lim

(b)

x →∞

ln x x

Solution: We have encountered both these limits in the unit on Limits. Here, we’ll re-evaluate them using the LH rule.

L = lim x ln x

(a)

x →0

= lim x →0

= lim x→0

ln x 1 x

(0 × −∞ form )  −∞  form    ∞ 

1

x 1 − 2 x

(By applying the LH rule)

= lim ( − x ) x →0

=0 This is what we got earlier L = lim

(b)

x →∞

∞  form   ∞ 

ln x x

1 = lim x x →∞ 1 =0

(By applying the LH rule)

Example – 8 1 Evaluate lim  +  x→0  x  Solution:

sin x

This limit is of the indeterminate form ∞ 0 . Lets first convert it into the form 1 L = lim+   x→0  x 

sin x

1 = lim+ sin x ⋅ ln   x →0  x

Maths / Differentiation

0 ∞ or . ∞ 0

Doing this is justified since     x > 0 ln  1  is defined       x

LOCUS

27

= − lim+ sin x ⋅ ln x x →0

= − lim+ x →0

= − lim+ x →0

= lim+ x →0

∞   form  ∞ 

ln x cosec x 1

x −cosec cot x

(By applying the LH rule)

sin 2 x x cos x

 sin x  = lim+   ⋅ tan x x→0  x 

=0 Example – 9 x   1 Evaluate lim  −  x →1 ln x ln x  

Solution:

1− x  L = lim   x →1  ln x 

 −1  = lim   x →1 1/ x  

0   form  0 

the (ByLHapplying ) rule

= lim ( − x ) x →1

= −1

Example – 10

 x 2 + sin x  lim Evaluate   x →∞ x2   Solution: The limit is of the indeterminate form

Maths / Differentiation

∞ , so we apply the L.H. rule: ∞

LOCUS

28

 x 2 + sin x  L = lim   x →∞ x2    2 x + cos x  = lim   x →∞ 2x  

∞   form  ∞ 

∞   form agin  ∞ 

 2 − sin x  = lim   x →∞ 2  

...(1)

...(2)

1 = 1 − lim (sin x) 2 x →∞

Now, we know that lim(sin x ) does not exist since sin x is an oscillating function and does not x →∞

converge to any particular value. What does this imply for our current limit? Does it not exist ? Think

 x 2 + sin x  about the expression   carefully: 2 x    x 2 + sin x   sin x  lim   = lim 1 + 2  2 →∞ x →∞ x x x      sin x  = 1 + lim  2  x →∞  x 

= 1+ 0

(∵ sin x is bounded )

=1 Thus, a limit does infact exists while the LH rule says that it does not exist. Why? This is because the LH rule is not applicable here. Go back to the definition of the LH rule which says

that lim x→a

f ( x) f ′( x) = lim if the latter limit exists. g ( x) x→a g ′( x)

In this example, you cannot apply the LH rule on the expression in (1) since the limit for the expression obtained after differentiation (the one in (2)) does not exist. Thus, the LH rule must be used with care.

Maths / Differentiation

Related Documents

Differentiation
December 2019 25
Differentiation
December 2019 29
Differentiation
October 2019 32
Differentiation
April 2020 16
Differentiation
June 2020 12
Differentiation
July 2020 18