When Doesn't L'Hôpital's Rule Work?

Quick Overview

  • Recall that L'Hôpital's Rule is used with indeterminate limits that have the form 00 or .
  • It doesn't solve all limits.
  • Sometimes, even repeated applications of the rule doesn't help us find the limit value.

L'Hôpital's Rule Is Not A Magic Bullet

It is important to note that L'Hôpital's Rule is one tool in our toolbox, but it doesn't solve every limit. Below are some examples of where applying L'Hôpital's Rule doesn't get the job done, and a discussion of what to do in each case.

Example 1

Try to use L'Hôpital's Rule to evaluate limx32x+74x+1

Attempted Solution

Step 1

Apply L'Hôpital's rule to the limit and then evaluate.

limx32x+74x+1=limx3ddx(2x+7)ddx(4x+1)=limx324=12

However, this is incorrect! An inspection of the graph of the function near x=3 we see:

The actual limit value should be near 1. Why didn't L'Hôpital's rule work?

What went wrong ?

Remember, L'Hôpital's rule works ONLY with indeterminate limits with the form 00 OR .

This is why in each example and solution in the previous lesson (What is L'Hôpital's Rule?) the first step was always to evaluate the limit in its current form to make sure it was indeterminate, and specifically has the form 00 or .

Let's work out the correct solution.

Correct Solution

Step 1

Evaluate the limit in its current form to see if L'Hôpital's Rule is needed.

limx32x+74x+1=2(3)+74(3)+1=1313=1

We can see that this limit is not indeterminate, so it doesn't require L'Hôpital's Rule.

Answer

limx32x+74x+1=1

Example 2

Try to use L'Hôpital's Rule to evaluate limx0+lnxsinx.

Attempted Solution

As in the previous example, this one is intended to show you a problem with applying L'Hôpital's Rule incorrectly.

Step 1

Show that this limit is indeterminate by evaluating it in its current form.

limx0+lnxsinx=0

This is an indeterminate value since one factor becomes larger while the other becomes smaller. Without more information we can't determine what actually happens in the limit.

Step 2

Take the derivative of each part and re-evaluate the limit. (Note: this is where the error occurs in our solution. Do you see what the problem is?)

limx0+lnxsinx=limx0+ddx(lnx)ddx(sinx)=limx0+1xcosx=limx0+cosxx=cos00=10=

However, this is incorrect as the graph of the function near x=0 shows.

What Went Wrong

It isn't enough for a limit to simply be indeterminate. In order to use L'Hôopital's Rule, the limit must have the form 00 or .

Correct Solution

For indeterminate limits that have a 0 form, we can make some algebraic adjustments so the limit changes to a 00 or form, and thus utilize L'Hôpital's rule correctly. This type of limit is discussed in detail in the next lesson: L'Hôpital's Rule and 0 Forms

Example 3

Use L'Hôpital's rule to evaluate limx0+lnx1/x.

Note that this particular example is not one of the forms from an earlier lesson. So, without L'Hôpital's Rule, we would be hard pressed to evaluate it.

Attempted Solution

Step 1

Evaluate the limit in its current form.

limx0+lnx1/x=

Step 2

Apply L'Hôpital's rule repeatedly, evaluating the limit each time.

limx0+lnx1/x=limx0+ddx(lnx)ddx(1/x)L'Hôpital's rule 1st Time=limx0+1/x1/x2==limx0+ddx(1/x)ddx(1/x2)L'Hôpital's rule 2nd Time=limx0+1/x22/x3==limx0+ddx(1/x2)ddx(2/x3)L'Hôpital's rule 3rd Time=limx0+2/x36/x4=

Let's look more closely at the string of limits we calculated above.

limx0+lnx1/x=limx0+1/x1/x2=limx0+1/x22/x3=limx0+2/x36/x4=

What's Going Wrong

Each time we apply L'Hôpital's rule, we see the powers of x increase, but the overall form of the limit doesn't change.

Instead of blundering forward with repeated applications of the rule, it is important (even critical) that we simplify the function at each stage.

Correct Solution

Step 1

Verify the form: limx0+lnx1/x=

Step 2

Apply L'Hôpital's rule once.

limx0+lnx1/x=limx0+ddx(lnx)ddx(1/x)=limx0+1/x1/x2

Step 3

Simplify the result, then re-evaluate the limit.

limx0+1/x1/x2=limx0+1x(x21)=limx0+x2x=limx0+x=0

As my venerated Calculus I professor told me many years ago, "Simplifying is (almost) always a good idea!"

Answer

limx0+lnx1/x=0

For reference, here is the graph of the function and the limit value.

Unfortunately, even when we are careful about the form and our approach, L'Hôpital's rule doesn't always yield an answer, as shown in the next example.

Example 4

Try using L'Hôpital's rule to evaluate limx4x2+3x+3.

Attempted Solution

Step 1

Evaluate the limit in its current form.

limx4x2+3x+3=

Notice that this limit is both indeterminate AND has the correct form for L'Hôpital's Rule.

Step 2

Apply L'Hôpital's rule to the limit, and then re-evaluate the limit.

limx4x2+3x+3=limx(4x2+3)1/2x+3Rewriting the original limit=limxddx(4x2+3)1/2ddx(x+3)L'Hôpital's rule=limx12(4x2+3)1/28x1=limx4x(4x2+3)1/2Simplifying=

Step 3

Apply L'Hôpital's rule a second time, and re-evaluate the limit.

limx4x(4x2+3)1/2=limxddx(4x)ddx(4x2+3)1/2L'Hôpital's rule=limx412(4x2+3)1/28x=limx(4x2+3)1/2xSimplify=

Notice that this is essentially the same type of function we started out with:

f(x)=QuadraticLinear.

Another application of L'Hôpital's Rule is likely to just start taking us around in circles. Let's try it, just to be sure.

Step 4

Try L'Hôpital's Rule again.

limx(4x2+3)1/2x=limxddx(4x2+3)1/2ddx(x)=limx12(4x2+3)1/28x1=limx4x(4x2+3)1/2

This is exactly the function we got at the end of Step 2! No matter how many times we try using L'Hôpital's rule, it will never yield a limit value. The process will just keep cycling around and around.

What's Going Wrong

L'Hôpital's rule isn't failing here. All the rule guarantees is

limxaf(x)g(x)=limxadf/dxdg/dxif the limits exist, the limits are equal.

L'Hôspital's Rule does not guarantee the second limit can be evaluated.

Now, as we've seen, most of the time the second (or third, or fourth, or ...) limits we get from the rule have a simpler form and the new limit is more easily evaluated. But as this example shows, that isn't always the case.

Correct Solution

To evaluate this limit, we use a technique we discussed in an earlier lesson.

Step 1

Factor the x2 out of the square-root.

limx4x2+3x+3=limxx2(4+3x2)x+3=limxx24+3x2x+3=limx|x|4+3x2x+3

Step 2

Based on the limit, determine if |x| should be replaced with x or x.

Since the limit examines positive values of x, we replace |x| with just x.

limxx4+3x2x+3

Step 3

Factor the x out of the denominator, then simplify.

limxx4+3x2x+3=limxx4+3x2x(1+3x)=limx4+3x21+3x

Step 4

Evaluate the limit.

limx4+3x21+3x=4+01+0=41=2
Answer

limx4x2+3x+3=2

For reference, here is the graph of the function.

Example 5

Let's look at one more example. Try using L'Hôpital's rule to evaluate limxexexex+ex.

Attempted Solution

Step 1

Evaluate the limit in its current form.

limxexexex+ex=0+0=

This limit is indeterminate, and has the correct form for L'Hôpital's rule.

Step 2

Apply L'Hôpital's rule and evaluate.

limxexexex+ex=limxddx(exex)ddx(ex+ex)=limxex+exexex=

Notice that when we applied L'Hôpital's rule, the resulting limit was just the reciprocal of the original. We can easily see that repeated applications of the rule will just result in the function flipping over and over.

Correct Solution

Step 1

In this case, we multiply by ex/ex.

limxexexex+ex=limx(exex)(ex+ex)exex=limx1e2x1+e2x=101+0=1

Answer

limxexexex+ex=1

For reference, here is the graph of the function.

Download this web page as a pdf with answer key

back to What is L'Hôpital's Rule? next to How to Use L'Hôpital's Rule With the0 Form

Ultimate Math Solver (Free)

Free Algebra Solver ... type anything in there!