L'Hôpital's Rule is an important technique that makes our lives easier when dealing with certain forms of tricky limits — those that evaluate to indeterminate form.
Identifying Indeterminate Form
Indeterminate Form
Indeterminate form arises when evaluating a limit leads to an expression that cannot be truly evaluated. There are several different kinds:
Quotient Forms are the most common:
00
∞∞
Other Forms include:
Product Form:0⋅∞ (e.g. limx→0+xlnx)
Difference Form:∞−∞ (e.g. limx→0+x21−tanx1)
Power Form:∞0, 00, or 1∞ (e.g. limx→∞x1/x)
Getting to Quotient Form
L'Hôpital's Rule requires the limit to be in quotient form. Non-quotient indeterminate forms must first be algebraically rearranged into a fraction — the examples below illustrate how.
Applying L'Hôpital's Rule
Once a limit is confirmed to be in indeterminate quotient form, L'Hôpital's Rule states:
If x→alimg(x)f(x) evaluates to 00 or ∞∞, then:
x→alimg(x)f(x)=x→alimg′(x)f′(x)
If the result is still indeterminate, the rule can be applied repeatedly.
Important
L'Hôpital's Rule only applies when the limit is in indeterminate form. Applying it to a non-indeterminate limit will give an incorrect result.
Worked Examples
Example 1: Evaluate x→0limxsin(x).
Solution: Both sin(x) and x approach 0 as x→0, giving the form 00. Setting f(x)=sin(x) and g(x)=x, we apply L'Hôpital's Rule:
limx→0xsin(x)=limx→01cos(x)=1
Example 2: Evaluate x→∞lim2x+13x+5.
Solution: As x→∞, both numerator and denominator grow without bound, giving ∞∞. Applying L'Hôpital's Rule:
limx→∞2x+13x+5=limx→∞23=23
Example 3: Evaluate x→0+limxlnx.
Solution: As x→0+, we have x→0 and lnx→−∞, giving the form 0⋅∞. Rewrite as a quotient by dividing instead of multiplying:
limx→0+xlnx=limx→0+1/xlnx
Now apply L'Hôpital's Rule (this is ∞∞):
=limx→0+−1/x21/x=limx→0+(−x)=0
Example 4: Evaluate x→0+lim(x21−tanx1).
Solution: As x→0+, both terms approach ∞, giving the form ∞−∞. Combine into a single fraction by cross-multiplying:
limx→0+x2tan(x)tan(x)−x2
Apply L'Hôpital's Rule:
=limx→0+x2sec2(x)+2xtan(x)sec2(x)−2x
As x→0+: the numerator approaches sec2(0)=1, while the denominator approaches 0. Hence the limit is ∞.
Example 5: Evaluate x→∞limx1/x.
Solution: This has the form ∞0. Take the natural log to convert to a quotient:
ln(x1/x)=xlnx
Using the continuity of ln:
ln(limx→∞x1/x)=limx→∞xlnx
Apply L'Hôpital's Rule (this is ∞∞):
=limx→∞11/x=0
Therefore ln(x→∞limx1/x)=0, which gives x→∞limx1/x=e0=1.
Proof
Starting with a quotient limit that evaluates to 00, we know f(a)=g(a)=0:
Incorrect use of L'Hôpital's Rule: Since this is not indeterminate form, applying the rule gives x→1lim32x=32, which is wrong. Always check for indeterminate form before applying the rule.