]> Applications

Math Animated™
Mathematical Introduction for Physics and Engineering
by Samuel Dagan (Copyright © 2007-2020)

Chapter 1: Differentiation; Section 3: Derivatives; page 4

Home | Table of Contents | A-Z Index | Help

Previous topic: page 3 Elementary Functions

Next topic: page 5 Taylor Series


Applications

Rule of L'Hôpital

We already used sequences and functional ratios which are of one of the undefined forms (1.1.3.9), which are copied here for convenience.

{    ;0   ; 0 0    ; 0 0    ; 1    ; 0 } (1.3.4.1)

The limits of such expressions are usually problems that have no straightforward solutions, and often require experience and ingenuity. The rule of L'Hôpital, based on differentiation, comes to bridge over this difficulty.

The basic rule is

lim x x 0 f( x ) g( x ) = lim x x 0 df dx dg dx forf( x 0 )=g( x 0 )=0 (1.3.4.2)

The requirement is that both functions are differentiable in an interval including  x0 . If  x0  is at the edge of a closed interval, the meaning of the limit is one sided. Without entering into mathematical details, the proof's reasoning is as follows:

lim x x 0 f( x ) g( x ) = lim Δx0 f( x 0 +Δx ) g( x 0 +Δx ) = = lim Δx0 f( x 0 +Δx )f( x 0 ) g( x 0 +Δx )g( x 0 ) = = lim Δx0 f( x 0 +Δx )f( x 0 ) Δx g( x 0 +Δx )g( x 0 ) Δx = lim x x 0 df dx dg dx } (1.3.4.3)

The requirement of  f(x0) = g(x0) = 0  was used above at the second row.

A simple example is

lim x1     lnx 1x = lim x1     1 x 1 =1 (1.3.4.4)

Another example , where one of the derivatives diverges to infinity is

lim x0     sinx x = lim x0     cosx 0.5 x 0.5 =0 (1.3.4.5)

One can extend the L'Hôpital's rule by proving that (1.3.4.2) holds also for the cases

It may happen that after applying the L'Hopital's rule one obtains again an expression of the form of ratios of zeros or infinities. Then one can apply the L'Hôpital rule again.

Summary

For    x 0    any number   or   infinity,   if lim x x 0     f( x ) g( x ) = lim x x 0    f( x ) lim x x 0 g( x ) yields expression   of   type 0 0 or then lim x x 0     f( x ) g( x ) = lim x x 0     df dx lim x x 0     dg dx } (1.3.4.6)

If one obtains again an expression of type   0 0       or     one can apply the rule on the derivatives etc.

Combined L'Hôpital's rule

The L' Hôpital's rule covers just part of the undefined forms (1.3.4.1). By the help of few simple tricks they can be used also for the rest.

Case:   0 .

The solution is formally:

0= 0 1 or0= 1 0 (1.3.4.7)

Example:

lim x0 xlnx= lim x0 lnx x 1 = lim x0 x 1 x 2 = lim x0 x=0 (1.3.4.8)

Case:   .

Solution:

=ln[ exp( ) ]=ln exp exp (1.3.4.9)

Example:

lim x 0 + ( x 1 +lnx )=ln( lim x 0 + exp( x 1 ) exp( lnx ) )= =ln( lim x 0 + exp( x 1 ) x 1 )=ln( lim x 0 + x 2 exp( x 1 ) x 2 )= =ln( lim x 0 + exp( x 1 ) )= lim x 0 + x 1 } (1.3.4.10)

Case:   0 0 .

Solution:

0 0 =exp[ ln( 0 0 ) ]=exp( 0ln0 )=exp( ln0 1 0 ) (1.3.4.11)

Example:

lim x0 ( sinx ) x =exp[ lim x0 xln( sinx ) ]= =exp[ lim x0 ln( sinx ) x 1 ]=exp[ lim x0 cosx sinx x 2 ]= =exp[ lim x0 x 2 sinx ]=exp[ lim x0 ( x ) ]=1 } (1.3.4.12)

Case:  1 .

Solution:

1 =exp[ ln( 1 ) ]=exp[ ln( 1 ) ]=exp[ ln( 1 ) 1 ] (1.3.4.13)

Example:

lim x0 [ ( 1+x ) 1 x ]=exp[ lim x0 ln( 1+x ) x ]=exp[ lim x0 ( 1 1+x 1 ) ]=e (1.3.4.14)

Case:   0 .

Solution:

0 =exp[ ln( 0 ) ]=exp[ 0ln ]=exp[ ln 1 0 ] (1.3.4.15)

Example:

lim x ( x 1 x )=exp[ lim x ( lnx x ) ]=exp[ lim x ( 1 x ) ]=1 (1.3.4.16)

Asymptotes

We already know that a function can be represented approximately in the near vicinity of a point by its tangent line. We'll deal now with an approximated representation of a function as a straight line at infinity. We'll start with an example for clarification.

According to (1.2.4.17)   lim x± ( tanhx )=±1  . This means that the parallel lines to the  x  axis  y = ±1  are good approximations for the far regions of the function at  x→±   accordingly.

Before getting in the mathematical description of an asymptote we'll see graphically this example and a couple more at Fig. tanhx & asymptotes.

We are seeking the representation of the asymptote as a tangent line of a function  f(x)  for  x→±  . The asymptote could depend on the sign of the infinity as we saw in the case of  tanhx .

We'll use   y=kx+b   as the representation of the asymptote, where  k  is the slope of the line and  b  is the intercept. The slope of the asymptote  k  should correspond to the derivative of the function at the limit of  x→±   and the intercept  b  should be the limit of the expression  ykx . In summary:

y=kx+bis   an   asymptote   off( x )if k= lim x± df dx exists   and   is   finiteand b= lim x± ( f( x )kx )exists   and   is   finite } (1.3.4.17)

We'll use the examples given at the previous Fig-window.

Example 1.  f(x) = tanhx

k= lim x± dtanhx dx = lim x± ( 1 tanh 2 x )=0 b= lim x± ( tanhx )=±1 y=kx+b=±1 } (1.3.4.18)

Example 2.  f(x) = tanhx+x

k= lim x± d dx ( tanhx+x )=1 b= lim x± ( tanhx+xx )=±1 y=kx+b=x±1 } (1.3.4.19)

Example 3.  f(x) = tanhxx

k= lim x± d dx ( tanhxx )=1 b= lim x± ( tanhxx+x )=±1 y=kx+b=x±1 } (1.3.4.20)

According to (1.3.4.17) the existence of an asymptote requires two limits that should exist and are finite. For example the function  f(x) = √x  has a limit  k = 0  for  x   , but  b  . This means a line parallel to the  x  axis but situated at  y   which is not an asymptote.

Since the asymptote of a function describes the function at infinity well, we can use the asymptote instead of the function at  x→±   for finding the slope, meaning that  f(x) = kx+b . The division by  x  yields

k= lim x± ( f( x ) x b x )= lim x± f( x ) x (1.3.4.21)

which is equivalent to the  k  obtained by (1.3.4.17). One should notice that in order to obtain the final expression of (1.3.4.21), we used the fact that  b  is a constant (finite). The equivalence does not follow here from the L'Hôpital rule.

The equivalence of the calculation of  k  between (1.3.4.17) and (1.3.4.21) can easily be demonstrated by applying the latter on the three examples above, which is left as a simple exercise for the user.

Example 4. Hyperbola

This example shows how to obtain the asymptote of a function presented in parametric form. The hyperbola in its parametric presentation (1.2.5.41) will be used:

{ x=acoshp y=bsinhp }   witha0   &   b0    

The function is double valued: positive and negative  y , depending on the sign of the parameter  p .

By the use of (1.3.4.21) the slopes of the asymtotes are

k= lim p± bsinhp acoshp = b a lim p± ( tanhp )=± b a

According to (1.3.4.17), the intercept of the asymptote corresponding to the positive sign of the slope is:

{ lim p ( bsinhp b a acoshp )=b lim p ( sinhpcoshp )= =b lim p ( exppexp( p ) 2 expp+exp( p ) 2 )= =b lim p exp( p )=0 }

The same result is obtained for the negative sign of the slope with the limit of p .

It is obvious that there is no dependence on the sign of  a , and therefore the result obtained is correct for the whole domain of the function. In summary the asymptotes of the hyperbola are:

y=± b a x (1.3.4.22)

This example is illustrated at Fig. Hyperbola-asymptotes .

Example 5. Folium of Descartes.

The parametric form of the Folium of Descartes was used in the exercise 4 of the previous page.

{ x= 3at 1+ t 3 y= 3a t 2 1+ t 3 } (1.3.4.23)

The parameter's value  t = 0  corresponds to  (x,y) = (0,0)  and at the limit   t1   corresponds to   x   and to   y+  . From (1.3.4.21) one obtains the slope:

k= lim t1 y x = lim t1 t=1

From (1.3.4.17) and by using this slope one obtains the intercept:

{ b= lim t1 ( y+x )= lim t1 ( 3a t 2 +3at 1+ t 3 )= = lim t1 ( 3at 1+t 1+ t 3 )=3a lim t1 ( 1+t 1+ t 3 )= =3a lim t1 ( 1 3 t 2 )=a }

Finally the asymptote is:

y=xa (1.3.4.24)

This result together with the solution of exercise 4 from the previous page are used for displaying the Folium of Descartes (1.3.3.1)

x 3 3axy+ y 3 =0 at Fig. Folium of Descartes

In the examples we used so far, the asymptote was at one side of the function and looking as a bound of the function in the plane. This is not a rule and there are cases where the function oscillates around the asymptote as seen from the following

Example 6. f( x )= sinx x

k= lim x± f( x ) x = lim x± sinx x 2 =0 b= lim x± sinx x =0 y=0 } (1.3.4.25)

Both limits (k  and  b) where obtained by the sandwich rule:   1 x 2 sinx x 2 1 x 2   and   1 x sinx x 1 x  . The example is shown at Fig.  sin(x)/x .

So far we used the presentation of an asymptote as a straight line of the form  y = kx+b . Does it cover everything? No! We left the presentation  x = c , where  c  is a constant, meaning the lines parallel to the y axis.

We have to add to the asymplotes also the lines  x = c  corresponding to the points:

lim xc f( x )± (1.3.4.26)

irrespective of the sign in front of the infinity. As an example  tanx  has such asymptotes at   x=± 2n1 2 π  , where  n  is a natural number.

Exercises

Exercise 1. Calculate the following limit:

lim x0 1cosx 1coshx    

Exercise 2. Calculate the following limit:

lim x [ ( 1+x ) 1 x ]    

Exercise 3. Calculate the following limit:

lim x0 [ ( 1x ) 1 x ]    

Exercise 4. Find the asymptotes of the hyperbola in its canonical form (without the use of its parametric presentation)

x 2 a 2 y 2 b 2 =1    

Exercise 5. The following function is given:

f( x )= x 2 1 x    
  1. Find the asymptotes!
  2. The function represents a hyperbola. Use the asymptotes of the hyperbola (1.3.4.22) in order to calculate the angle of rotation necessary for transforming it to canonical form!
  3. Do the rotation and calculate the corresponding values of a and b of its canonical form:   x 2 a 2 y 2 b 2 =1  .

Previous topic: page 3 Elementary Functions

Next topic: page 5 Taylor Series

Home | Table of Contents | A-Z Index | Help