AP® CALCULUS AB & BC · UNIT 4

L’Hospital’s Rule for Indeterminate Forms

Recognize indeterminate quotients, differentiate the numerator and denominator separately, and check the form again before another pass.

Topic 4.7 study notes4 worked examples · 3 practice problemsUpdated 10 November 2026
Calculus notebook with limit and integral symbols, a compass and pencil on an olive and cream study desk

1. Recognize the two indeterminate quotients

First find the limits of the numerator and denominator separately. If both approach zero, the quotient has the form 00. If both tend to signed infinities, it has an infinity-over-infinity form, written ∞∞ when both tend to positive infinity. These forms describe the separate limits of the two functions.

limx→af(x)g(x)=limx→af′(x)g′(x)

For this conclusion, use an indeterminate quotient of one of those two types. Require f and g to be differentiable on the approach interval, with g′(x)≠0 there and the original quotient defined there. If the derivative quotient tends to a real number or a signed infinity, the original quotient has that same limit.

The rule also works for one-sided limits and limits at infinity, using the corresponding approach interval. For a two-sided limit, check that the two one-sided results agree.

AP Calculus scope. Topic 4.7 assesses the two indeterminate quotient forms. The product and power examples below are optional extensions.

2. Decide when to apply the rule

  1. Identify the form.

    State what the numerator and denominator approach. Keep the direction of approach in the limit notation.

  2. Differentiate separately.

    After checking the hypotheses, use the numerator’s derivative over the denominator’s derivative.

  3. Check the new quotient.

    If another indeterminate quotient appears, check the hypotheses again before another pass.

  4. Evaluate the limit.

    Once ordinary limit laws settle the result, use them. If the derivative quotient has no limit, return to the original expression and try another method.

In the table, c is finite and nonzero.

Quotient forms and next steps
FormNext step
00 or ∞∞Check L’Hospital’s Rule hypotheses.
0c or c∞The quotient tends to zero.
c0Check the signs on each side.
∞cUse the signs to determine the infinity.

3. Four worked examples

Worked example 1

Evaluate a quotient with a removable hole

limx→2x2−4x−2

1 · Check the two limits

At x=2, the numerator and denominator both approach zero. The form is 00.

2 · Differentiate numerator and denominator

ddx(x2−4)=2x
ddx(x−2)=1

3 · Apply the rule and evaluate

limx→2x2−4x−2=limx→22x1=4

Factoring gives x+2 for x≠2. The graph approaches 4 from both sides and has an open point at (2,4).

Worked example 2

Evaluate a trigonometric quotient

Use radians and the established derivative of sine.

limx→0sinxx

1 · Identify the indeterminate form

Both sinx and x approach zero, giving 00. The denominator’s derivative is 1.

2 · Evaluate the derivative quotient

limx→0sinxx=limx→0cosx1
limx→0cosx1=cos(0)1=1

To establish this basic sine limit before deriving the trig derivative formulas, use the Squeeze Theorem.

Worked example 3

Use two passes at infinity

limx→∞x2ex

1 · Check the original form

Both x2 and ex grow without bound. The form is ∞∞.

limx→∞x2ex=limx→∞2xex

2 · Verify the form again

Both 2x and ex still tend to positive infinity. The new quotient again has the form ∞∞.

limx→∞2xex=limx→∞2ex

3 · Use the limit of the reciprocal

limx→∞2ex=0

Thus the original limit is zero. Both graphed quotients approach the same value.

Optional extension. Rewrite a product such as 0·∞ as a quotient using a reciprocal where it is defined. For ∞−∞, try a common denominator or a conjugate. For power forms 00, 1∞, or ∞0, use lny with y defined by the power and a positive base on the approach interval. Evaluate the logarithmic limit, then recover the limit of y using the exponential function.

Worked example 4

Optional extension: rewrite a product

limx→0+xlnx

1 · Rewrite the product as a quotient

The product has the form 0·(−∞). For x>0, use the reciprocal of x in the denominator.

xlnx=lnx1x

2 · Check the quotient and differentiate

The numerator tends to negative infinity and the denominator to positive infinity, giving −∞∞.

limx→0+lnx1x=limx→0+1x−1x2

3 · Simplify the derivative quotient

limx→0+1x−1x2=limx→0+(−x)=0

The original product therefore tends to zero from below.

4. Read a hole and an end-behavior limit

The graphs show a finite approach and an approach at infinity. The rule gives an equality of limits even when the original and differentiated quotients take different values along the way.

Both sides approach the hole

0 1 2 3 4 Input x 2 3 4 5 6 Quotient value Hole
The original quotient in Example 1 agrees with x+2 for x≠2. The hollow marker at (2,4) shows the excluded point. The left and right traces both approach height 4.

Two quotients approach zero

0 2 4 6 8 10 Input x 0 0.2 0.4 0.6 0.8 Quotient value
The solid curve is x2ex. The dashed curve is the first derivative quotient 2xex. Both approach the dotted line y=0 from above as x increases without bound.

5. Three practice problems

Try each problem before opening its notebook solution.

Practice 1. An exponential quotient near zero

limx→0ex−1x
Show solution 1

Notebook solution

1 · Check the original form

Both numerator and denominator tend to zero, so the form is 00.

2 · Apply L’Hospital’s Rule

limx→0ex−1x=limx→0ex1=1

Practice 2. A polynomial quotient at infinity

limx→∞2x3+5x5x3−2
Show solution 2

Notebook solution

1 · Check and take the first derivatives

The numerator and denominator both tend to positive infinity, giving ∞∞.

limx→∞2x3+5x5x3−2=limx→∞6x2+515x2

2 · Check before each remaining pass

The first derivative quotient again has the form ∞∞.

limx→∞6x2+515x2=limx→∞12x30x

The next quotient still has the form ∞∞. A third pass gives a constant quotient.

limx→∞12x30x=limx→∞1230
1230=25

Dividing the original numerator and denominator by x3 gives the same result.

Practice 3. Optional extension: a power near zero

limx→0+xx
Show solution 3

Notebook solution

1 · Take the logarithm of the expression

The form is 00. Set y=xx for x>0, so y>0.

lny=xlnx

2 · Use the product limit and exponentiate

limx→0+xlnx=0

Since lny→0, continuity of the exponential gives e0=1 for the limit of y.

limx→0+xx=1

6. Check an AP response

  • Give both component limits. Identify 00 or ∞∞ before citing L’Hospital’s Rule.
  • Show the new limit. Put the two derivatives into the quotient and keep the original approach direction.
  • Justify every repetition. Check the new form and the denominator’s derivative before applying the rule again.
  • Use other limit methods when appropriate. Factoring, continuity, and leading terms can give the value directly.

7. Continue studying calculus

Review the limit ideas behind the rule or continue to Unit 5.