# L'Hopital's Rule: Evaluating Limits of Indeterminate Forms

*Ray is a licensed engineer in the Philippines. He loves to write about mathematics and civil engineering.*

Do you know how to solve for the value of the limit of the function below?

lim_{x→1} ln(x)/x−1

In computing this limit, we can't apply quotient limit law because the denominator's limit is 0. Although the function's limit exists, its value is not evident because both numerator and denominator approach 0 and 0/0 is not defined.

In general, if we have a limit of the form lim_{x→a} f(x)/g(x) where both f(x)→0 and g(x)→0 as x→a, then this limit may or may not exist and is called an indeterminate form of type 0/0.

## Indeterminate Forms of Type ∞/∞

Another situation in which a limit is not apparent occurs when we look for a horizontal asymptote of the function and need to evaluate the limit.

lim_{x→∞} ln(x)/x−1

It isn't obvious how to evaluate this limit because both numerator and denominator become large as x→∞. There is a struggle between numerator and denominator. If the numerator wins, the limit will be ∞; if the denominator wins, the answer will be 0. Or there may be some compromise, in which case the answer will be some finite positive number.

In general, if we have a limit of the form lim_{x→a} f(x)/g(x) where both f(x)→∞ (or−∞) and g(x)→∞ (or−∞) as x→a, then this limit may or may not exist and is called an indeterminate form of type ∞/∞.

## What Is L'Hopital's Rule?

L'Hopital's Rule says that the limit of a quotient of functions is equal to the limit of their derivatives' quotient, provided that the given conditions are satisfied. Suppose f and g are differentiable and g′(x) ≠ 0 near a (except possibly at a). Suppose that

lim_{x→a} f(x)/g(x)

Where:

- lim
_{x→a}f(x) = 0 and lim_{x→a}g(x) = 0 - lim
_{x→a}f(x) = ±∞ and lim_{x→a}g(x) = ±∞

In other words, we have an indeterminate form of type 0/0 or ∞/∞

Then

lim_{x→a} f(x)/g(x) = lim_{x→a} f′(x)/g′(x)

If the limit on the right side exists (or is ∞ or −∞)

## L’Hopital’s Rule Proof

L'Hopital's Rule is named after a French nobleman, the Marquis de l'Hopital (1661-1704), but initially discovered by a Swiss mathematician, John Bernoulli (1667-1748). You might sometimes see L'Hopital spelt as L'Hospital, as was common in the 17th century.

The figure below suggests visually why L'Hopital's Rule might be valid. The first graph shows two different functions f and g, each which approaches 0 as x→a.

If we were to zoom in toward the point (a, 0), the graphs would start to look almost linear. But if the functions were linear, as in the second graph, then their ratio would be

m_{1}(x−a)/m_{2}(x−a) = m_{1}/m_{2}

As you can observe, this is the ratio of their derivatives. It suggests that

lim_{x→a} f(x)/g(x) = lim_{x→a} f′(x)/g′(x)

The available version of L'Hopital's Rule proof is a difficult one to prove. You can find a more detailed explanation in advanced textbooks or references.

## When to Use L'Hopital's Rule

It is essential to verify the conditions regarding the limits of variables f and g before using L'Hopital's Rule.

- You may use the L'Hopital's Rule for limits with an indeterminate form c or ∞/∞, as described earlier. You have to differentiate the numerator and the denominator before taking the limits.

- L'Hopital's Rule is also valid for one-sided limits and limits at infinity or negative infinity; that is, "x→a" can be replaced by any of the symbols x→a+, x→a−, x→∞, or x→−∞.
- For the special case in which f(a) = g(a) = 0, f' and g' are continuous, and g′(a) ≠ 0, it is easy to see why l'Hopital's Rule is true. Using the alternative form of the definition of a derivative, we have

lim_{x→a} f′(x)/g′(x) = lim_{x→a} f′(a)/g′(a)

lim_{x→a} f′(x)/g′(x) = [lim_{x→a} (f(x) − f(a)/x-a)] / [lim_{x→a} (g(x) − g(a)/x−a)]

lim_{x→a} f′(x)/g′(x) = lim_{x→a} (f(x) − f(a)x−a(x)−g(a)x−a)

lim_{x→a} f′(x)/g′(x) = lim_{x→a} f(x) − f(a)/g(x)−g(a) = lim_{x→a} f(x)g(x)

lim_{x→a} f′(x)/g′(x) = lim_{x→a} f(x) − f(a)/g(x)−g(a)

lim_{x→a} f′(x)/g′(x) = lim_{x→a} f(x)/g(x)

There are more other indeterminate forms. Some of these are indeterminate products, indeterminate differences, and indeterminate powers.

## Example 1: An Indeterminate Form of Type 0/0

Evaluate the limit of lim_{x}_{→}_{1 }(ln(x)) / (x−1) using the L’Hopital’s Rule.

**Solution**

Solve the limit of the numerator and the denominator separately.

lim_{x}_{→}_{1 }ln(x) = ln(1) = 0

lim_{x}_{→}_{1 }(x − 1) = 0

Apply L’Hopital’s Rule. Differentiate the numerator and denominator separately and do not use the Quotient Rule.

lim_{x}_{→}_{1} ln(x) / x−1 = lim_{x}_{→}_{1}([d/dx](lnx) / [d/dx](x−1))

lim_{x}_{→}_{1} 1/x = 1

**Answer**

The limit of the ln(x) / (x−1) as x approaches one is 1.

## Example 2: An Indeterminate Form of Type ∞/∞

Calculate lim_{x→}_{∞} [e^{x}] / [x^{2}] by applying L’Hopital’s Rule.

**Solution**

We have lim_{x→}_{∞} e^{x} = ∞ and lim_{x→}_{∞} x^{2} = ∞, so L’Hopital’s Rule gives

lim_{x→}_{∞} [e^{x}] / [x^{2}] = lim_{x→}_{∞} (d/dx) [e^{x}] / (d/dx) [x^{2}]

lim_{x→}_{∞} [e^{x}] / [x^{2}] = lim_{x→}_{∞} [e^{x}] / [2x]

Since e^{x} → ∞ and 2x → ∞ as x approaches ∞, the limit on the right side is also indeterminate, but the second application of L’Hopital’s Rule gives

lim_{x→}_{∞} [e^{x}] / [x^{2}] = lim_{x→}_{∞} [e^{x}] / [2x]

lim_{x→}_{∞} [e^{x}] / [x^{2}] = lim_{x→}_{∞} [e^{x}] / [2]

lim_{x→}_{∞} [e^{x}] / [x^{2}] = ∞

**Answer**

The limit of lim_{x→}_{∞} [e^{x}] / [x^{2}] is ∞.

## Example 3: An Indeterminate Form of Type ∞/∞

Evaluate the limit of the function lim_{x→}_{∞} [ln(x)] / [^{3}√x].

**Solution **

Since ln(x) → ∞ and ^{3}√x → ∞ as x → ∞, L’Hopital’s Rule applies:

lim_{x→}_{∞} [ln(x)] / [^{3}√x] = lim_{x→}_{∞} [1/x] / [(1/3)x^{-2/3}]

Notice that the limit on the right side is now indeterminate of type 0/0. But instead of applying L’Hopital’s Rule a second time, we simplify the expression and see that a second application is unnecessary.

lim_{x→}_{∞} [ln(x)] / [^{3}√x] = lim_{x→}_{∞} [1/x] / [(1/3)x^{-2/3}]

lim_{x→}_{∞} [ln(x)] / [^{3}√x] = lim_{x→}_{∞ }[3] / [^{3}√x]

lim_{x→}_{∞} [ln(x)] / [^{3}√x] = 0

**Answer**

The limit of the function lim_{x→}_{∞} [ln(x)] / [^{3}√x] is zero.

## Example 4: Using the L’Hopital’s Rule Three Times

Use the L’Hopital’s Rule and find the limit of the function [tan(x) – x] / x^{3} as x approaches 0.

**Solution**

Noting that both [tan(x) – x] → 0 and x^{3} → 0 as x → 0, we use L’Hopital’s Rule:

lim_{x→0} [tan(x) – x] / x^{3} = lim_{x→0} [sec^{2} (x) – 1] / 3x^{2}

Since the limit on the right side is still indeterminate of type 0/0, we apply L’Hopital’s Rule again:

lim_{x→0} [sec^{2} (x) – 1] / 3x^{2} = lim_{x→0} [2sec^{2}(x) tan(x)] / 6x

Because lim_{x→0} sec^{2}(x) = 1, we simplify the calculation.

lim_{x→0} [2sec^{2}(x) tan(x)] / 6x = (1/3) [lim_{x→0} sec^{2}(x)] [lim_{x→0} tan(x) / x]

lim_{x→0} [2sec^{2}(x) tan(x)] / 6x = (1/3) [lim_{x→0} tan(x) / x]

We can evaluate this last limit either by using L’Hopital’s Rule a third time or by writing tan(x) as sin(x)/cos(x) and making use of our knowledge of trigonometric limits. Putting together all the steps, we get the following.

lim_{x→0} [tan(x) – x] / x^{3} = lim_{x→0} [sec^{2} (x) – 1] / 3x^{2}

lim_{x→0} [tan(x) – x] / x^{3} = lim_{x→0} [2sec^{2}(x) tan(x)] / 6x

lim_{x→0} [tan(x) – x] / x^{3} = (1/3) lim_{x→0} [tan(x)] / x

lim_{x→0} [tan(x) – x] / x^{3} = (1/3) lim_{x→0} [sec^{2}(x)] / 1

lim_{x→0} [tan(x) – x] / x^{3} = 1/3

**Answer**

The limit of the function [tan(x) – x] / x^{3} as x approaches zero is 1/3.

## Example 5: Finding the Limit of a Function with Sine and Cosine

Find the limit of lim_{x→π}^{-} [sin(x)] / [1 – cos(x)].

**Solution**

If we blindly attempted to use L’Hopital’s Rule, we would get the following.

lim_{x→π}^{-} [sin(x)] / [1 – cos(x)] = lim_{x→π}^{-} [cos(x)] / [sin(x)]

lim_{x→π}^{-} [sin(x)] / [1 – cos(x)] = -∞

This is wrong! Although the numerator sin(x) → 0 as x → π^{−}, notice that the denominator 1 – cos(x) does not approach 0, so L’Hopital’s Rule can’t be applied here. The required limit is, in fact, easy to find because the function is continuous at π and the denominator is nonzero there:

lim_{x→π}^{-} [sin(x)] / [1 – cos(x)] = lim_{x→π}^{-} [sin(π)] / [1 – cos(π)]

lim_{x→π}^{-} [sin(x)] / [1 – cos(x)] = 0 / [1 – (-1)]

lim_{x→π}^{-} [sin(x)] / [1 – cos(x)] = 0

It shows that you can go wrong if you use L’Hopital’s Rule without thinking. So when evaluating any limit, you should consider other methods before using L’Hopital’s Rule.

**Answer**

The limit of sin(x) / [1 – cos(x)] as x → π^{−} is 0.

## Example 6: Evaluating the Limit of a Sine Equation in 0/0 Indeterminate Form

Evaluate the limit lim_{x→0} sin(x) / x.

**Solution**

In the given equation, both the numerator and denominator have limits 0. It implies that the equation is a 0/0 indeterminate form which means we need to apply the L’Hopital's Rule.

lim_{x→0} [sin (x)] / x = [sin (0)] / 0 = 0/0

Apply the L’Hopital's Rule by differentiating the numerator and denominator separately.

lim_{x→0} [sin (x)] / x = lim_{x→0} [cos (x)] / 1 = 1/1 = 1

**Answer**

Therefore, the limit of sin(x) / x as x approaches zero is 1.

## Example 7: Finding the Limit of an Equation with 0/0 Indeterminate Form

Evaluate the limit of lim_{x→3} [x-3] / [x^{2} – 9].

**Solution**

Substituting x = 3 to the equation [x-3] / [x^{2} – 9] results to a 0/0 indeterminate form. Apply the L’Hopital's Rule and differentiate the top and bottom separately.

lim_{x→3} [x-3] / [x^{2} – 9] = lim_{x→3} [1 – 0] / [2x – 0]

lim_{x→3} [x-3] / [x^{2} – 9] = lim_{x→3} 1/2x

Substitute the value x = 3 to the derivative of the equation.

lim_{x→3} [x-3] / [x^{2} – 9] = 1 / 2(3)

lim_{x→3} [x-3] / [x^{2} – 9] = 1 / 6

**Answer**

The limit of [x-3] / [x^{2} – 9] as x approaches three is 1/6.

## Example 8: Finding the Limit of an Euler Equation

Evaluate the limit of lim_{x→∞} [e^{4x}] / [10x +500].

**Solution**

The Euler equation given is in a ∞/∞ indeterminate form.

lim_{x→∞} [e^{4x}] / [10x +500] = lim_{x→∞} [e^{(∞)(4)}] / [10(∞) +500]

lim_{x→∞} [e^{4x}] / [10x +500] = lim_{x→∞} [e^{∞}] / ∞

Apply the L’Hopital's Rule. Differentiate the numerator using the chain rule.

lim_{x→∞} [e^{4x}] / [10x +500] = lim_{x→∞} [4e^{4x}] / [10 + 0]

lim_{x→∞} [e^{4x}] / [10x +500] = [4e^{∞}] / [10]

lim_{x→∞} [e^{4x}] / [10x +500] = ∞ / 10

lim_{x→∞} [e^{4x}] / [10x +500] = ∞

**Answer**

The limit of [e^{4x}] / [10x +500] as x approaches ∞ is ∞.

## Example 9: Finding the Limit of a Complex Quadratic Equation

Find the limit of lim_{x→1} [x^{2} – 1] / [x^{2} + 3x – 4].

**Solution**

Substituting x = 1 to the equation [x^{2} – 1] / [x^{2} + 3x – 4] results to a 0/0 indeterminate form. Apply the L’Hopital's Rule and differentiate the top and bottom separately.

lim_{x→1} [x^{2} – 1] / [x^{2} + 3x – 4] = lim_{x→1} [1^{2} – 1] / [x^{2} + 3x – 4] = 0/0

Get the derivative of the numerator and denominator separately.

lim_{x→1} [x^{2} – 1] / [x^{2} + 3x – 4] = lim_{x→1} [2x – 0] / [2x + 3 – 0]

lim_{x→1} [x^{2} – 1] / [x^{2} + 3x – 4] = lim_{x→1} [2x] / [2x + 3]

lim_{x→1} [x^{2} – 1] / [x^{2} + 3x – 4] = lim_{x→1} [2(1)] / [2(1) + 3]

lim_{x→1} [x^{2} – 1] / [x^{2} + 3x – 4] = 2 / 5

**Answer**

The limit of [x^{2} – 1] / [x^{2} + 3x – 4] as x approaches one is 2/5.

## Example 10: Finding the Limit of a Tangent and Sine Equation

Evaluate the limit of lim_{x→0} [sin (x^{2})] / [x tan (x)].

**Solution**

The given equation is of the form 0/0 indeterminate form.

lim_{x→0} [sin (x^{2})] / [x tan (x)] = lim_{x→0} [sin (0^{2})] / [0 tan (0)] = 0/0

Apply the L’Hopital's Rule. Obtain the derivative of the numerator and denominator separately. Apply the Chain Rule in Calculus on the numerator containing the sine function and use the Product Rule on the denominator having the tangent function.

lim_{x→0} [sin (x^{2})] / [x tan (x)] = lim_{x→0} [2x cos(x)^{2}] / [x sec^{2} (x) + (1) tan(x)]

lim_{x→0} [sin (x^{2})] / [x tan (x)] = lim_{x→0} [2(0) cos(0)^{2}] / [(0) sec^{2} (0) + (1) tan(0)]

lim_{x→0} [sin (x^{2})] / [x tan (x)] = lim_{x→0} [2(0)(1)^{2}] / [(0) (1)^{2} + (0)]

lim_{x→0} [sin (x^{2})] / [x tan (x)] = lim_{x→0} [0] / [(0) (1)^{2} + (0)] = 0 / 0

Next, apply the L’Hopital's for the second time. Now, use both the Product Rule and the Chain Rule for the numerator and the denominator.

lim_{x→0} [2x cos(x)^{2}] / [x sec^{2} (x) + (1) tan(x)] = [(2x) (2x) (-sin x^{2}) + (2) cos (x^{2})] / [(x) (2 sec(x)) (sec (x) tan (x) + (1) sec^{2} (x) + sec^{2}(x)]

lim_{x→0} [2x cos(x)^{2}] / [x sec^{2} (x) + (1) tan(x)] = [(2) (-cos x^{2}) – (4x^{2}) sin (x^{2})] / [(2x) (sec^{2}(x)) tan (x) + (2) sec^{2} (x)]

lim_{x→0} [2x cos(x)^{2}] / [x sec^{2} (x) + (1) tan(x)] = [(2) (-cos(0)^{2}) – (4(0)^{2}) sin (0^{2})] / [(2(0)) (sec^{2}(0)) tan (0) + (2) sec^{2} (0)]

lim_{x→0} [2x cos(x)^{2}] / [x sec^{2} (x) + (1) tan(x)] = [(2) (1)^{2} – (4(0)(0)] / [(2(0)) (1^{2}) (0) + (2) (1)^{2}]

lim_{x→0} [2x cos(x)^{2}] / [x sec^{2} (x) + (1) tan(x)] = [2 – 0] / [0 + 2] = 2/2 = 1

**Answer**

The limit of the function [sin (x^{2})] / [x tan (x)] as x approaches zero is 1.

## Example 11: Finding the Limit of a Complex Fraction

What is the limit of [3x + 10] / [2x^{2} – 6] as x approaches ∞?

**Solution**

First, identify the indeterminacy of the given equation by directly substituting the value of x = ∞. The equation is a ∞/∞ indeterminate form.

3(∞) + 10 = ∞

2(∞)^{2} - 6 = ∞

Apply the L’Hopital's Rule and differentiate the numerator and denominator separately.

lim_{x→∞} [3x + 10] / [2x^{2} – 6] = lim_{x→∞} [3 + 0] / [4x – 0]

lim_{x→∞} [3x + 10] / [2x^{2} – 6] = lim_{x→∞} 3 / 4x

lim_{x→∞} [3x + 10] / [2x^{2} – 6] = 3 / ∞

lim_{x→∞} [3x + 10] / [2x^{2} – 6] = 0

**Answer**

The limit of [3x + 10] / [2x^{2} – 6] as x approaches ∞ is 0.

## Example 12: Evaluating a Limit of Indeterminate Form 0/0 Multiplied by Negative Infinity

Find the limit lim_{x→0} √x [ln (x)].

**Solution**

The given equation is a special indeterminate form besides 0/0 and ∞/∞. It is in an indeterminate form 0(-∞). Start by flipping √x.

lim_{x→0}^{+} √x [ln (x)]

lim_{x→0}^{+} [ln (x)] / [1/√x] = - ∞ / ∞

Apply the L’Hopital's Rule.

lim_{x→0}^{+} [ln (x)] / [1/√x] = lim_{x→0}^{+} [1/x] / [1/2x^{3/2}]

lim_{x→0}^{+} [ln (x)] / [1/√x] = lim_{x→0}^{+} -2√x

lim_{x→0}^{+} [ln (x)] / [1/√x] = -2√0

lim_{x→0}^{+} [ln (x)] / [1/√x] = -2(0)

lim_{x→0}^{+} [ln (x)] / [1/√x] = 0

**Answer**

The limit of lim_{x→0} √x [ln (x)] is 0.

## Example 13: Limit of an Inverse Trigonometric Equation

Calculate the limit lim_{x→0} [arcsin (4x)] / [arctan (5x)].

**Solution**

Identify the determinacy of the given inverse trigonometric equation by substituting the value of x = 0 to the equation.

lim_{x→0} [arcsin (4x)] / [arctan (5x)] = lim_{x→0} [arcsin (0)] / [arctan (0)] = 0/0

Apply the L’Hopital's Rule and differentiate separately the numerator an denominator. Use the Chain Rule and get the derivatives of the top and bottom of the fraction equation.

lim_{x→0} [arcsin (4x)] / [arctan (5x)] = lim_{x→0} [(4) (1 /√(1-(4x)^{2}))] / [(5) (1 /(1+(5x)^{2}))]

lim_{x→0} [arcsin (4x)] / [arctan (5x)] = lim_{x→0} [4 / √(1 – 16x^{2})][(1 + 25x^{2})/5]

lim_{x→0} [arcsin (4x)] / [arctan (5x)] = [4/5] [(1+25(0)^{2} / 1-16(0)^{2}]

lim_{x→0} [arcsin (4x)] / [arctan (5x)] = [4/5] [(1+0)/(1-0)]

lim_{x→0} [arcsin (4x)] / [arctan (5x)] = 4/5

**Answer**

The limit of [arcsin (4x)] / [arctan (5x)] as x approaches zero is 4/5.

## Example 14: Limit of a Logarithmic Function

Evaluate the limit lim_{x→0} (x) (ln(x)).

**Solution**

The given logarithmic equation is in the 0(-∞) indeterminate form. In order to apply the L’Hopital's Rule, flip the "x" portion of the given equation.

lim_{x→0} (x) (ln(x)) = lim_{x→0} (ln(x)) / (1/x) = (ln(0))/(1/0) = -∞/∞

Apply the L’Hopital's Rule and differentiate the numerator and denominator.

lim_{x→0} (x) (ln(x)) = lim_{x→0} (1/x) / (-1/x^{2})

lim_{x→0} (x) (ln(x)) = lim_{x→0} (1/x) / (x^{2}/-1)

lim_{x→0} (x) (ln(x)) = lim_{x→0} (-x) = 0

**Answer**

The limit of (x) (ln(x)) as x approaches zero is 0.

*This content is accurate and true to the best of the author’s knowledge and is not meant to substitute for formal and individualized advice from a qualified professional.*

**© 2021 Ray**