Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

6.7: L'Hopital's Rule

( \newcommand{\kernel}{\mathrm{null}\,}\)

While this chapter is devoted to learning techniques of integration, this section is not about integration. Rather, it is concerned with a technique of evaluating certain limits that will be useful in the following section, where integration is once more discussed.

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 6.7.1: L'Hôpital's Rule

Let limxcf(x)=0 and limxcg(x)=0, where f and g are differentiable functions on an open interval I containing c, and g(x)0 on I except possibly at c. Then

limxcf(x)g(x)=limxcf(x)g(x).

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"

Example 6.7.1: Using L'Hôpital's Rule

Evaluate the following limits, using L'Hôpital's Rule as needed.

  1. limx0sinxx
  2. limx1x+321x
  3. limx0x21cosx
  4. limx2x2+x6x23x+2

Solution

  1. We proved this limit is 1 in Example ??? using the Squeeze Theorem. Here we use L'Hôpital's Rule to show its power. limx0sinxx by LHR  =limx0cosx1=1.
  2. limx1x+321x  by LHR  =limx112(x+3)1/21=14.
  3. limx0x21cosx by LHR =limx02xsinx.
    This latter limit also evaluates to the 0/0 indeterminate form. To evaluate it, we apply L'Hôpital's Rule again.limx02xsinx by LHR =2cosx=2. Thus limx0x21cosx=2.
  4. We already know how to evaluate this limit; first factor the numerator and denominator. We then have: limx2x2+x6x23x+2=limx2(x2)(x+3)(x2)(x1)=limx2x+3x1=5. We now show how to solve this using L'Hôpital's Rule.limx2x2+x6x23x+2 by LHR =limx22x+12x3=5.

Note that at each step where L'Hôpital's Rule was applied, it was needed: the initial limit returned the indeterminate form of "0/0." If the initial limit returns, for example, 1/2, then L'Hôpital's Rule does not apply.

The following theorem extends our initial version of L'Hôpital's Rule in two ways. It allows the technique to be applied to the indeterminate form / and to limits where x approaches ±

Theorem 6.7.2: L'Hôpital's Rule, Part 2

  1. Let limxaf(x)=± and limxag(x)=±, where f and g are differentiable on an open interval I containing a. Then limxaf(x)g(x)=limxaf(x)g(x).
  2. Let f and g be differentiable functions on the open interval (a,) for some value a, where g(x)0 on (a,) and limxf(x)/g(x) returns either 0/0 or /. Then limxf(x)g(x)=limxf(x)g(x). A similar statement can be made for limits where x approaches .

Example 6.7.2: L'Hôpital's Rule with limits involving

Evaluate the following limits.

1.limx3x2100x+24x2+5x10002. limxexx3.

Solution

  1. We can evaluate this limit already using Theorem ???; the answer is 3/4. We apply L'Hôpital's Rule to demonstrate its applicability. limx3x2100x+24x2+5x1000  by LHR  =limx6x1008x+5  by LHR  =limx68=34.
  2. limxexx3  by LHR  =limxex3x2  by LHR  =limxex6x  by LHR  =limxex6=. 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.)

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 6.7.3: Applying L'Hôpital's Rule to other indeterminate forms

Evaluate the following limits.

  1. limx0+xe1/x
  2. limx0xe1/x
  3. limxln(x+1)lnx
  4. limxx2ex

Solution

  1. As x0+, 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 LHR  =limx0+(1/x2)e1/x1/x2=limx0+e1/x=. Interpretation: e1/x grows "faster" than x shrinks to zero, meaning their product grows without bound.
  2. As x0, x0 and e1/xe0. The the limit evaluates to 00 which is not an indeterminate form. We conclude then that limx0xe1/x=0.
  3. This limit initially evaluates to the indeterminate form . By applying a logarithmic rule, we can rewrite the limit as
    limxln(x+1)lnx=limxln(x+1x). As x, the argument of the ln term approaches /, to which we can apply L'Hôpital's Rule. limxx+1x  by LHR  =11=1. Since x implies x+1x1, it follows that x implies ln(x+1x)ln1=0.

    Thus limxln(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. The limit limxx2ex initially returns the indeterminate form . We can rewrite the expression by factoring out x2; x2ex=x2(1exx2). We need to evaluate how ex/x2 behaves as x: limxexx2  by LHR  =limxex2x  by LHR  =limxex2=.

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

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

Indeterminate Forms 00, 1 and 0

When faced with an indeterminate form that involves a power, it often helps to employ the natural logarithmic function. The following Key Idea expresses the concept, which is followed by an example that demonstrates its use.

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

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

Example 6.7.4: Using L'Hôpital's Rule with indeterminate forms involving exponents

Evaluate the following limits.

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

Solution

  1. This equivalent to a special limit given in Theorem ???; these limits have important applications within 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 20. limx(1+1x)x=limxf(x)=limxeln(f(x))=e1=e.
  2. This limit leads to the indeterminate form 00. Let f(x)=xx and consider first limx0+ln(f(x)). limx0+ln(f(x))=limx0+ln(xx)=limx0+xlnx=limx0+lnx1/x. This produces the indeterminate form / so we apply L'Hôpital's Rule. =limx0+1/x1/x2=limx0+x=0. Thus limx0+ln(f(x))=0. We return to the original limit and apply Key Idea 20. 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 6.7.1.

6.7.1.png

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

Our brief revisit of limits will be rewarded in the next section where we consider improper integration. So far, we have only considered definite integrals where the bounds are finite numbers, such as 10f(x) dx. Improper integration considers integrals where one, or both, of the bounds are "infinity." Such integrals have many uses and applications, in addition to generating ideas that are enlightening.

Contributors and Attributions

  • Gregory Hartman (Virginia Military Institute). Contributions were made by Troy Siemers and Dimplekumar Chalishajar of VMI and Brian Heinold of Mount Saint Mary's University. This content is copyrighted by a Creative Commons Attribution - Noncommercial (BY-NC) License. http://www.apexcalculus.com/

  • Integrated by Justin Marshall.


This page titled 6.7: L'Hopital's Rule is shared under a CC BY-NC 3.0 license and was authored, remixed, and/or curated by Gregory Hartman et al. via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?