L'Hôpital's Rule
L'Hôpital's Rule can help us calculate a limit that may otherwise be hard or impossible.
L'Hôpital is pronounced "lopital". He was a French mathematician from the 1600s.
It says the limit when we divide one function by another is the same after we differentiate each function (with some special conditions shown later).
In symbols we can write:
limx→cf(x)g(x) = limx→cf'(x)g'(x)
The limit as x approaches c of "f-of−x over g-of−x" equals the
the limit as x approaches c of "f-dash-of−x over g-dash-of−x"
All we did is add that little dash mark ' on each function, which means to differentiate.
At x=2 we would normally get:
22+2−622−4 = 00
Which is indeterminate, so we are stuck. Or are we?
Let's try L'Hôpital!
Differentiate both top and bottom (see Derivative Rules):
limx→2x2+x−6x2−4 = limx→22x+1−02x−0
Now we just substitute x=2 to get our answer:
limx→22x+1−02x−0 = 54
Here's the graph, notice the "hole" at x=2:
Note: we can also get this answer by factoring, see Evaluating Limits.
Normally this is the result:
limx→∞exx2 = ∞∞
Both head to infinity. Which is indeterminate.
But let's differentiate both top and bottom (note that the derivative of ex is ex):
limx→∞exx2 = limx→∞ex2x
Hmmm, still not solved, both tending toward infinity. But we can use it again:
limx→∞exx2 = limx→∞ex2x = limx→∞ex2
Now we have:
limx→∞ex2 = ∞
It has shown us that ex grows much faster than x2.
Cases
We have already seen a 00 and ∞∞ example. Here are all the indeterminate forms that L'Hopital's Rule may be able to help with:
To use L'Hôpital's Rule on these other forms, we usually have to rearrange them into 00 or ∞∞ first.
Conditions
Differentiable
For a limit approaching c, the original functions must be differentiable either side of c, but not necessarily at c.
Likewise g'(x) isn't equal to zero either side of c.
The Limit Must Exist
This limit must exist:limx→cf'(x)g'(x)
Why? Well a good example is functions that never settle to a value.
Which is a ∞∞ case. Let's differentiate top and bottom:
limx→∞1−sin(x)1
And because it just wiggles up and down it never approaches any value.
So that new limit doesn't exist!
And so L'Hôpital's Rule isn't usable in this case.
BUT we can do this:
limx→∞x+cos(x)x = limx→∞(1 + cos(x)x)
As x goes to infinity then cos(x)x tends to between −1∞ and +1∞, and both tend to zero.
And we are left with just the "1", so:
limx→∞x+cos(x)x = limx→∞(1 + cos(x)x) = 1