Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›AP Calculus AB
  3. ›4 Contextual Applications of Differentiation
  4. ›4.7 L'Hospital's rule

AP Calculus AB · Unit 4 · Contextual Applications of Differentiation

4.7 L'Hospital's rule

Identify when L'Hospital's rule applies, check its conditions, and use it to evaluate limits.

  • 3 min read
  • 4 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/4Only two quotient forms allow direct use of the rule
  1. 1Only two quotient forms allow direct use of the rule
  2. 2Check the conditions before differentiating either function
  3. 3Differentiate top and bottom separately to evaluate limits
  4. 4Rewrite other indeterminate forms before using the rule
  5. Check your recall
  6. Practice: 10 questions
1

Part 1 of 4: Only two quotient forms allow direct use of the rule

A limit has an indeterminate form when its initial form does not determine its value. For a quotient, 00\frac{0}{0}00​ and infinityinfinity\frac{\text{infinity}}{\text{infinity}}infinityinfinity​ are indeterminate. Either form may allow L'Hospital's rule. First, find the separate limits of the numerator and denominator. Do not apply the rule merely because both expressions contain a variable.

Common mistake

A quotient approaching 50\frac{5}{0}05​ is not a 00\frac{0}{0}00​ form. L'Hospital's rule does not apply directly.

Other forms, such as zero times infinity, are not quotients in either required form. Algebra may turn one into a suitable quotient. Check the new quotient before using the rule.

Key terms · tap one for its definition

indeterminate form

An indeterminate form is an initial limit form that does not, by itself, determine the limit.

L'Hospital's rule

L'Hospital's rule equates an eligible quotient's limit with its numerator-derivative-over-denominator-derivative limit when its conditions hold.

Part 1 done

2

Part 2 of 4: Check the conditions before differentiating either function

Suppose a quotient is f(x)g(x)\frac{f(x)}{g(x)}g(x)f(x)​ as xxx approaches aaa. Both functions must be differentiable near the limit point, though not necessarily at aaa. Also, g′(x)g'(x)g′(x) must be nonzero sufficiently close to aaa. These conditions let you form the derivative quotient f′(x)g′(x)\frac{f'(x)}{g'(x)}g′(x)f′(x)​. Its limit must exist or be positive or negative infinity.

The rule then gives f(x)g(x)\frac{f(x)}{g(x)}g(x)f(x)​ and f′(x)g′(x)\frac{f'(x)}{g'(x)}g′(x)f′(x)​ the same limit. It also applies to one-sided limits and limits as xxx approaches infinity. Use the conditions on the side being considered.

Exam tip

Show the original indeterminate form before differentiating. This makes your reason for using the rule clear.

Key terms · tap one for its definition

differentiable near the limit point

A function is differentiable near a limit point when its derivative exists at points sufficiently close to that point.

derivative quotient

The derivative quotient is the numerator's derivative divided by the denominator's derivative.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the initial form of lim⁡x→2x2−4x+2\lim_{x\to 2}\frac{x^2-4}{x+2}limx→2​x+2x2−4​ and decide whether L'Hospital's rule applies directly.
Show answer and explanation

Answer: D · Worked explanation

Substitution gives (22−4)/(2+2)=0/4(2^2-4)/(2+2)=0/4(22−4)/(2+2)=0/4. This is not an eligible indeterminate quotient form, so L'Hospital's rule does not apply directly.
3

Part 3 of 4: Differentiate top and bottom separately to evaluate limits

When the conditions hold, differentiate the numerator and denominator separately. Do not use the quotient rule to differentiate the whole fraction. Then evaluate the new limit. If it is still an eligible indeterminate form, you may apply L'Hospital's rule again. Check the conditions each time.

Worked example

Evaluate a trigonometric limit

Evaluate lim⁡x→0sin⁡xx\lim_{x\to 0}\frac{\sin x}{x}limx→0​xsinx​.
  1. 1
    Substitution gives sin⁡00=00\frac{\sin 0}{0}=\frac{0}{0}0sin0​=00​.
  2. 2
    Near zero, both functions are differentiable, and the denominator derivative is 1.
  3. 3
    Differentiate separately: lim⁡x→0cos⁡x1=cos⁡01\lim_{x\to 0}\frac{\cos x}{1}=\frac{\cos 0}{1}limx→0​1cosx​=1cos0​.

Answer: The limit is 1.

The method changes the expression inside the limit. It does not claim the original quotient equals its derivative quotient at every nearby value.

Key term

quotient rule

The quotient rule finds the derivative of a fraction; it is not the separate differentiation used in L'Hospital's rule.

Part 3 done

4

Part 4 of 4: Rewrite other indeterminate forms before using the rule

A zero-times-infinity form may become a quotient by moving one factor into the denominator. For instance, rewrite xln⁡xx\ln xxlnx as ln⁡x1/x\frac{\ln x}{1/x}1/xlnx​ when xxx approaches zero from the right. The rewritten limit has an infinity-over-infinity form. Only then should you check the remaining conditions and differentiate.

An infinity-minus-infinity form may become a quotient after combining fractions. Other expressions may need algebra before their limits can be assessed. A transformed expression is useful only where it equals the original expression near the limit point.

Common mistake

Do not differentiate the two terms of a product or difference separately and call that L'Hospital's rule. First rewrite the expression as an eligible quotient.

Key terms · tap one for its definition

zero-times-infinity form

A zero-times-infinity form occurs when one factor approaches zero and another grows without bound.

infinity-minus-infinity form

An infinity-minus-infinity form occurs when two terms growing without bound are subtracted.

Note read

Check your recall[13 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Identify[2 marks]

    Identify the two quotient forms that allow direct use of L'Hospital's rule.

    Show mark schemeHide mark scheme

    Model answer

    The forms are 00\frac{0}{0}00​ and infinityinfinity\frac{\text{infinity}}{\text{infinity}}infinityinfinity​.

    • 1 mark for identifying the zero-over-zero form
    • 1 mark for identifying the infinity-over-infinity form
  2. 2.Describe[4 marks]

    Describe the checks needed before applying L'Hospital's rule to a quotient near a finite limit point.

    Show mark schemeHide mark scheme

    Model answer

    Check that the numerator and denominator both approach zero or both grow without bound. Both functions must be differentiable near the point, the denominator derivative must be nonzero nearby, and the derivative quotient must have a limit or approach an infinity.

    • 1 mark for checking for an eligible indeterminate quotient form
    • 1 mark for checking that both functions are differentiable near the limit point
    • 1 mark for checking that the denominator derivative is nonzero sufficiently close to the point
    • 1 mark for checking that the derivative quotient has a limit or approaches positive or negative infinity
  3. 3.Calculate[3 marks]

    Calculate lim⁡x→0ex−1x\lim_{x\to 0}\frac{e^x-1}{x}limx→0​xex−1​ using L'Hospital's rule.

    Show mark schemeHide mark scheme

    Model answer

    Substitution gives 00\frac{0}{0}00​. The functions are differentiable near zero, and the denominator derivative is 1. Therefore, the limit is lim⁡x→0ex1=1\lim_{x\to 0}\frac{e^x}{1}=1limx→0​1ex​=1.

    • 1 mark for showing that substitution gives a zero-over-zero form
    • 1 mark for differentiating the numerator and denominator separately to get ex1\frac{e^x}{1}1ex​
    • 1 mark for evaluating the resulting limit as 1
  4. 4.Explain[2 marks]

    Explain why L'Hospital's rule cannot be applied directly to lim⁡x→0+xln⁡x\lim_{x\to 0^+}x\ln xlimx→0+​xlnx.

    Show mark schemeHide mark scheme

    Model answer

    The expression is a product, not a quotient in a required form. Rewrite it as ln⁡x1/x\frac{\ln x}{1/x}1/xlnx​, then check the rule's conditions.

    • 1 mark for stating that the product is not directly an eligible quotient
    • 1 mark for rewriting it as ln⁡x1/x\frac{\ln x}{1/x}1/xlnx​ before checking the conditions
  5. 5.Explain[2 marks]

    Explain what to do if the derivative quotient still has a zero-over-zero form.

    Show mark schemeHide mark scheme

    Model answer

    Check that L'Hospital's rule still applies to the new quotient. If it does, differentiate its numerator and denominator separately again.

    • 1 mark for checking the rule's conditions again for the new quotient
    • 1 mark for differentiating the new numerator and denominator separately

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the quick check in the note above.

2.

Easy·Determine[1 mark]

Determine the initial form of lim⁡x→3x+2(x−3)2\lim_{x\to 3}\frac{x+2}{(x-3)^2}limx→3​(x−3)2x+2​.
Show answer and explanation

Answer: D · Worked explanation

As xxx approaches 3, the numerator approaches 5 and the denominator approaches 0, giving the form 5/05/05/0. This does not determine a finite limit, but it is not either of the quotient forms that allow direct use of L'Hospital's rule. The tempting 0/00/00/0 classification is wrong because the numerator does not approach zero.
3.

Easy·Identify[1 mark]

Identify the initial form of lim⁡x→0x2+1x2+4\lim_{x\to 0}\frac{x^2+1}{x^2+4}limx→0​x2+4x2+1​.
Show answer and explanation

Answer: D · Worked explanation

Direct substitution gives (02+1)/(02+4)=1/4(0^2+1)/(0^2+4)=1/4(02+1)/(02+4)=1/4, so the limit is not initially indeterminate. In particular, this is not a situation in which L'Hospital's rule is needed. The 0/00/00/0 choice is tempting because both expressions contain powers of xxx, but the expressions themselves approach nonzero constants.
4.

Easy·State[1 mark]

State which operation is used in L'Hospital's rule after verifying an eligible quotient form and the rule's conditions.
Show answer and explanation

Answer: B · Worked explanation

L'Hospital's rule replaces the limit of an eligible quotient with the limit of the numerator's derivative divided by the denominator's derivative. It does not differentiate the original fraction as a whole. The quotient rule is a plausible distractor because the expression is a fraction, but that rule finds the derivative of the fraction rather than the derivative quotient used here.
5.

Medium·Calculate[2 marks]

Calculate lim⁡x→01−cos⁡xx2\lim_{x\to 0}\frac{1-\cos x}{x^2}limx→0​x21−cosx​ using L'Hospital's rule.
Show answer and explanation

Answer: A · Worked explanation

Substitution gives 0/00/00/0, so differentiate numerator and denominator separately: the limit becomes lim⁡x→0sin⁡x2x\lim_{x\to0}\frac{\sin x}{2x}limx→0​2xsinx​, still 0/00/00/0. Applying the rule again gives lim⁡x→0cos⁡x2=1/2\lim_{x\to0}\frac{\cos x}{2}=1/2limx→0​2cosx​=1/2. The answer 1 misses the factor of 2 from differentiating x2x^2x2.
6.

Medium·Evaluate[2 marks]

Evaluate lim⁡x→0ln⁡(1+x)x\lim_{x\to 0}\frac{\ln(1+x)}{x}limx→0​xln(1+x)​.
Show answer and explanation

Answer: D · Worked explanation

Substitution gives 0/00/00/0. The numerator and denominator are differentiable near zero, and the denominator derivative is 1, so L'Hospital's rule gives lim⁡x→01/(1+x)1=1\lim_{x\to0}\frac{1/(1+x)}{1}=1limx→0​11/(1+x)​=1. The answer 0 confuses the numerator's limit with the quotient's limit; both numerator and denominator approach zero at comparable rates.
7.

Medium·Determine[2 marks]

Determine lim⁡x→0+x2ln⁡x\lim_{x\to0^+}x^2\ln xlimx→0+​x2lnx by rewriting the product as a quotient before applying L'Hospital's rule.
Show answer and explanation

Answer: D · Worked explanation

Rewrite x2ln⁡xx^2\ln xx2lnx as ln⁡x1/x2\frac{\ln x}{1/x^2}1/x2lnx​, which has form −∞/∞-\infty/\infty−∞/∞. Differentiating separately gives 1/x−2/x3=−x2/2\frac{1/x}{-2/x^3}=-x^2/2−2/x31/x​=−x2/2, whose limit is 0. The value −1/2-1/2−1/2 is the coefficient in the derivative quotient, but it is multiplied by x2x^2x2, which approaches zero.
8.

Medium·Check[2 marks]

For lim⁡x→0∣x∣x\lim_{x\to0}\frac{|x|}{x}limx→0​x∣x∣​, a student obtains the derivative quotient ddx∣x∣ / ddxx\frac{d}{dx}|x|\,/\,\frac{d}{dx}xdxd​∣x∣/dxd​x. Which conclusion correctly checks whether L'Hospital's rule can establish the two-sided limit?
Show answer and explanation

Answer: B · Worked explanation

The original quotient has form 0/00/00/0, and both functions are differentiable on each side of zero, though ∣x∣|x|∣x∣ is not differentiable at zero itself. For x>0x>0x>0, the derivative quotient is 1; for x<0x<0x<0, it is -1. Its two-sided limit does not exist, so L'Hospital's rule does not establish a two-sided limit. The claim that ∣x∣|x|∣x∣ fails to be differentiable near zero is too broad.
9.

Medium·Calculate[2 marks]

Calculate lim⁡x→∞xx2+1\lim_{x\to\infty}\frac{x}{\sqrt{x^2+1}}limx→∞​x2+1​x​ using L'Hospital's rule.
Show answer and explanation

Answer: D · Worked explanation

The initial form is ∞/∞\infty/\infty∞/∞. Differentiating separately gives 1x/x2+1=x2+1x\frac{1}{x/\sqrt{x^2+1}}=\frac{\sqrt{x^2+1}}{x}x/x2+1​1​=xx2+1​​, which approaches 1 as x→∞x\to\inftyx→∞. Thus the original limit is 1. The answer 0 may come from informally treating the denominator as growing faster, even though its growth rate is asymptotically the same as the numerator's.
10.

Hard·Evaluate[2 marks]

Evaluate lim⁡x→∞(x2+x−x)\lim_{x\to\infty}\left(\sqrt{x^2+x}-x\right)limx→∞​(x2+x​−x) by rewriting the expression as a quotient and then using L'Hospital's rule.
Show answer and explanation

Answer: A · Worked explanation

Rationalizing gives x2+x−x=xx2+x+x\sqrt{x^2+x}-x=\frac{x}{\sqrt{x^2+x}+x}x2+x​−x=x2+x​+xx​, an ∞/∞\infty/\infty∞/∞ quotient. L'Hospital's rule gives 1(2x+1)/(2x2+x)+1\frac{1}{(2x+1)/(2\sqrt{x^2+x})+1}(2x+1)/(2x2+x​)+11​, whose limit is 1/21/21/2. The answer 1 overlooks the contribution of both terms in the derivative of the denominator.

Keep going

Next topic5.1 Mean value theoremPrevious topic4.6 Local linearity and linearization

More in Unit 4 · Contextual Applications of Differentiation

  1. 4.1Derivatives in contextNotes · 10 questions
  2. 4.2Straight-line motionNotes · 10 questions
  3. 4.3Rates of change in applied contextsNotes · 10 questions
  4. 4.4Introduction to related ratesNotes · 9 questions
  5. 4.5Solving related rates problemsNotes · 10 questions
  6. 4.6Local linearity and linearizationNotes · 10 questions
  7. 4.7L'Hospital's ruleNotes · 10 questions

All AP Calculus AB topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by College Board or any exam board.

On this page

0/4 read

  1. 1Only two quotient forms allow direct use of the rule
  2. 2Check the conditions before differentiating either function
  3. 3Differentiate top and bottom separately to evaluate limits
  4. 4Rewrite other indeterminate forms before using the rule
  5. Check your recall
  6. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe