7 Inverse Functions and L’Hôpital’s Rule

7.5 L’Hôpital’s Rule

This section is concerned with a technique for evaluating certain limits that will be useful in later chapters.

Our treatment of limits exposed us to “0/0”, an indeterminate form. If limxcf(x)=0 and limxcg(x)=0, we do not conclude that limxcf(x)/g(x) is 0/0; rather, we use 0/0 as notation to describe the fact that both the numerator and denominator approach 0. The expression 0/0 has no numeric value; other work must be done to evaluate the limit.

Other indeterminate forms exist; they are: /, 0, -, 00, 1 and 0. Just as “0/0” does not mean “divide 0 by 0,” the expression “/” does not mean “divide infinity by infinity.” Instead, it means “a quantity is growing without bound and is being divided by another quantity that is growing without bound.” We cannot determine from such a statement what value, if any, results in the limit. Likewise, “0” does not mean “multiply zero by infinity.” Instead, it means “one quantity is shrinking to zero, and is being multiplied by a quantity that is growing without bound.” We cannot determine from such a description what the result of such a limit will be.

This section introduces L’Hôpital’s Rule, a method of resolving limits that produce the indeterminate forms 0/0 and /. We’ll also show how algebraic manipulation can be used to convert other indeterminate expressions into one of these two forms so that our new rule can be applied.

Theorem 7.5.1      L’Hôpital’s Rule, Part 1

Let f and g be differentiable functions on an open interval I containing a.

  1. 1.

    If limxaf(x)=0, limxag(x)=0, and g(x)0 except possibly at x=a, then

    limxaf(x)g(x)=limxaf(x)g(x),

    assuming that the limit on the right exists.

  2. 2.

    If limxaf(x)=± and limxag(x)=±, then

    limxaf(x)g(x)=limxaf(x)g(x),

    assuming that the limit on the right exists.

A similar statement holds if we just look at the one sided limits limxa- and limxa+.

Theorem 7.5.2      L’Hôpital’s Rule, Part 2

Let f and g be differentiable functions on the open interval (c,) for some value c and g(x)0 on (c,).

  1. 1.

    If limxf(x)=0 and limxg(x)=0, then

    limxf(x)g(x)=limxf(x)g(x),

    assuming that the limit on the right exists.

  2. 2.

    If limxf(x)=± and limxg(x)=±, then

    limxf(x)g(x)=limxf(x)g(x),

    assuming that the limit on the right exists.

Similar statements can be made where x approaches -.

We demonstrate the use of L’Hôpital’s Rule in the following examples; we will often use “LHR” as an abbreviation of “L’Hôpital’s Rule.”

Example 7.5.1 Using L’Hôpital’s Rule

Evaluate the following limits, using L’Hôpital’s Rule as needed.
1. limx0sinxx 2. limx1x+3-21-x 3. limx0x21-cosx 4. limx-3x3+27x2+9 5. limx3x2-100x+24x2+5x-1000 6. limxexx3

Solution

  1. 1.

    This has the indeterminate form 0/0. We proved this limit is 1 in Example 1.3.4 using the Squeeze Theorem. Here we use L’Hôpital’s Rule to show its power.

    limx0sinxx=by LHRlimx0cosx1=1.

    While this seems easier than using the Squeeze Theorem to find this limit, we note that applying L’Hôpital’s Rule here requires us to know the derivative of sinx. We originally encountered this limit when we were trying to find that derivative.

  2. 2.

    This has the indeterminate form 0/0.

    limx1x+3-21-x=by LHRlimx112(x+3)-1/2-1=-14.
  3. 3.

    This has the indeterminate form 0/0.

    limx0x21-cosx=by LHRlimx02xsinx.

    This latter limit also evaluates to the 0/0 indeterminate form. To evaluate it, we apply L’Hôpital’s Rule again.

    limx02xsinx=by LHR2cosx=2.

    Thus limx0x21-cosx=2.

  4. 4.


    limx-3x3+27x2+9=018=0

    We cannot use L’Hôpital’s Rule in this case because the original limit does not return an indeterminate form, so L’Hôpital’s Rule does not apply. In fact, the inappropriate use of L’Hôpital’s Rule here would result in the incorrect limit -92.

  5. 5.

    We can evaluate this limit already using Key Idea 1.5.2; the answer is 3/4. We apply L’Hôpital’s Rule to demonstrate its applicability.

    limx3x2-100x+24x2+5x-1000=by LHRlimx6x-1008x+5=by LHRlimx68=34.
  6. 6.

    limxexx3=by LHRlimxex3x2=by LHRlimxex6x=by LHRlimxex6=.

    Recall that this means that the limit does not exist; as x approaches , the expression ex/x3 grows without bound. We can infer from this that ex grows “faster” than x3; as x gets large, ex is far larger than x3. (This has important implications in computing when considering efficiency of algorithms.)

Indeterminate Forms 0 and -

L’Hôpital’s Rule can only be applied to ratios of functions. When faced with an indeterminate form such as 0 or -, we can sometimes apply algebra to rewrite the limit so that L’Hôpital’s Rule can be applied. We demonstrate the general idea in the next example.

Example 7.5.2 Applying L’Hôpital’s Rule to other indeterminate forms

Evaluate the following limits.
1. limx0+xe1/x 2. limx0-xe1/x 3. limx(ln(x+1)-lnx) 4. limx(x2-ex)

Solution

  1. 1.

    As x0+, note that x0 and e1/x. Thus we have the indeterminate form 0. We rewrite the expression xe1/x as e1/x1/x; now, as x0+, we get the indeterminate form / to which L’Hôpital’s Rule can be applied.

    limx0+xe1/x=limx0+e1/x1/x=by LHRlimx0+(-1/x2)e1/x-1/x2=limx0+e1/x=.

    Interpretation: e1/x grows “faster” than x shrinks to zero, meaning their product grows without bound.

  2. 2.

    As x0-, note that x0 and e1/xe-0. The the limit evaluates to 00 which is not an indeterminate form. We conclude then that

    limx0-xe1/x=0.
  3. 3.

    This limit initially evaluates to the indeterminate form -. By applying a logarithmic rule, we can rewrite the limit as

    limx(ln(x+1)-lnx)=limxln(x+1x).

    As x, the argument of the natural logarithm approaches /, to which we can apply L’Hôpital’s Rule.

    limxx+1x=by LHRlimx11=1.

    Since x implies x+1x1, it follows that

    x implies ln(x+1x)ln1=0.

    Thus

    limx(ln(x+1)-lnx)=limxln(x+1x)=0.

    Interpretation: since this limit evaluates to 0, it means that for large x, there is essentially no difference between ln(x+1) and lnx; their difference is essentially 0.

  4. 4.

    The limit limx(x2-ex) initially returns the indeterminate form -. We can rewrite the expression by factoring out x2; x2-ex=x2(1-exx2). We need to evaluate how ex/x2 behaves as x:

    limxexx2=by LHRlimxex2x=by LHRlimxex2=.

    Thus limxx2(1-ex/x2) evaluates to (-), which is not an indeterminate form; rather, (-) evaluates to -. We conclude that limx(x2-ex)=-.

    Interpretation: as x gets large, the difference between x2 and ex grows very large.

Indeterminate Forms  00, 1, and 0

When faced with a limit that returns one of the indeterminate forms 00, 1, or 0, it is often useful to use the natural logarithm to convert to an indeterminate form we already know how to find the limit of, then use the natural exponential function find the original limit. This is possible because the natural logarithm and natural exponential functions are inverses and because they are both continuous. The following Key Idea expresses the concept, which is followed by an example that demonstrates its use.

Key Idea 7.5.1       Evaluating Limits Involving Indeterminate Forms 00, 1 and 0

If limxcln(f(x))=L, then limxcf(x)=limxceln(f(x))=eL.

Example 7.5.3 Using L’Hôpital’s Rule with indeterminate forms involving exponents

Evaluate the following limits.

1.limx(1+1x)x    2.limx0+xx.

Solution

  1. 1.

    This is equivalent to a special limit given in Theorem 1.3.6; these limits have important applications in mathematics and finance. Note that the exponent approaches while the base approaches 1, leading to the indeterminate form 1. Let f(x)=(1+1/x)x; the problem asks to evaluate limxf(x). Let’s first evaluate limxln(f(x)).

    limxln(f(x)) =limxln(1+1x)x
    =limxxln(1+1x)
    =limxln(1+1x)1/x
    This produces the indeterminate form 0/0, so we apply L’Hôpital’s Rule.
    =limx11+1/x(-1/x2)(-1/x2)
    =limx11+1/x
    =1.

    Thus limxln(f(x))=1. We return to the original limit and apply Key Idea 7.5.1.

    limx(1+1x)x=limxf(x)=limxeln(f(x))=e1=e.

    This is another way to determine the value of the number e.

  2. 2.

    This limit leads to the indeterminate form 00. Let f(x)=xx and consider first limx0+ln(f(x)). margin:

    f(x)=xx

    1

    2

    1

    2

    3

    4

    x

    y
    Figure 7.5.1: A graph of f(x)=xx supporting the fact that as x0+, f(x)1.

    limx0+ln(f(x)) =limx0+ln(xx)
    =limx0+xlnx
    This produces the indeterminate form 0(-), so we rewrite it in order to apply L’Hôpital’s Rule.
    =limx0+lnx1/x.
    This produces the indeterminate form -/ so we apply L’Hôpital’s Rule.
    =limx0+1/x-1/x2
    =limx0+-x
    =0.

    Thus limx0+ln(f(x))=0. We return to the original limit and apply Key Idea 7.5.1.

    limx0+xx=limx0+f(x)=limx0+eln(f(x))=e0=1.

    This result is supported by the graph of f(x)=xx given in Figure 7.5.1.

Exercises 7.5

 

Terms and Concepts

  1. 1.

    List the different indeterminate forms described in this section.

  2. 2.

    T/F: l’Hôpital’s Rule provides a faster method of computing derivatives.

  3. 3.

    T/F: l’Hôpital’s Rule states that ddx[f(x)g(x)]=f(x)g(x).

  4. 4.

    Explain what the indeterminate form “1” means.

  5. 5.

    Fill in the blanks: The Quotient Rule is applied to f(x)g(x) when taking             ; l’Hôpital’s Rule is applied when taking certain             .

  6. 6.

    Create (but do not evaluate!) a limit that returns “0”.

  7. 7.

    Create a function f(x) such that limx1f(x) returns “00”.

  8. 8.

    Create a function f(x) such that limxf(x) returns “0”.

Problems

In Exercises 9–52, evaluate the given limit.

  1. 9.

    limx1x2+x-2x-1

  2. 10.

    limx2x2+x-6x2-7x+10

  3. 11.

    limxπsinxx-π

  4. 12.

    limxπ/4sinx-cosxcos(2x)

  5. 13.

    limx0sin(5x)x

  6. 14.

    limx0sin(2x)x+2

  7. 15.

    limx0sin(ax)sin(bx)

  8. 16.

    limx0+ex-1x2

  9. 17.

    limx0+ex-x-1x2

  10. 18.

    limx0+x-sinxx3-x2

  11. 19.

    limxx4ex

  12. 20.

    limxxex

  13. 21.

    limxexx

  14. 22.

    limxex2x

  15. 23.

    limxex3x

  16. 24.

    limx3x3-5x2+3x+9x3-7x2+15x-9

  17. 25.

    limx-2x3+4x2+4xx3+7x2+16x+12

  18. 26.

    limxlnxx

  19. 27.

    limxln(x2)x

  20. 28.

    limx(lnx)2x

  21. 29.

    limx0+xlnx

  22. 30.

    limx0+xlnx

  23. 31.

    limx0+xe1/x

  24. 32.

    limx(x3-x2)

  25. 33.

    limx(x-lnx)

  26. 34.

    limx-xex

  27. 35.

    limx0+1x2e-1/x

  28. 36.

    limx0+(1+x)1/x

  29. 37.

    limx0+(2x)x

  30. 38.

    limx0+(2/x)x

  31. 39.

    limx0+(sinx)x

  32. 40.

    limx1+(1-x)1-x

  33. 41.

    limx(x)1/x

  34. 42.

    limx(1/x)x

  35. 43.

    limx1+(lnx)1-x

  36. 44.

    limx(1+x)1/x

  37. 45.

    limx(1+x2)1/x

  38. 46.

    limxπ/2tanxcosx

  39. 47.

    limxπ/2tanxsin(2x)

  40. 48.

    limx1+(1lnx-1x-1)

  41. 49.

    limx3+(5x2-9-xx-3)

  42. 50.

    limxxtan(1/x)

  43. 51.

    limx(lnx)3x

  44. 52.

    limx1x2+x-2lnx

Modern Campus CMS