L'Hospital's Rule (College Board AP® Calculus AB): Revision Note

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Indeterminate forms

What is an indeterminate form?

  • An indeterminate form is an expression that does not tell you the value of a limit

  • You need to be aware of two indeterminate forms

    • 00

    • ±±

  • Note that indeterminate forms are labels, not numbers

    • 00 is not a number

    • Avoid writing limxaf(x)=00

  • The value of an indeterminate form is undefined

    • Dividing by 0 always gives an undefined expression

    • And note that, for example, is not equal to 1

      • is not a number

      • so it can't be canceled to simplify a fraction

  • Sometimes attempting to evaluate a limit using substitution leads to one of the indeterminate forms given above

    • L'Hospital's rule provides a method for dealing with limits of that form

  • For example, limx0sinxx leads to the indeterminate form 00

Examiner Tips and Tricks

Note that if substitution gives limits that look like 0± or ±0, these are not indeterminate forms, and L'Hospital's rule cannot be used

  • In the first case, 0±, the limit will just be equal to 0

  • In the second case, ±0, the limit will diverge to either + or depending on the behavior near the limit point

    • See the 'Infinite Limits & Limits at Infinity' study guide

Examiner Tips and Tricks

Other limit methods will also sometimes work when substitution gives an indeterminate form

  • For example, algebraic simplification, multiplying by conjugates or multiplying by reciprocals

    • See the 'Evaluating Limits Analytically' study guide

Evaluating limits using L'Hospital's rule

What is L'Hospital’s Rule?

  • L'Hospital's rule (sometimes written as L’Hôpital’s rule) is a method for finding the value of certain limits using calculus

    • Specifically, it allows us to attempt to evaluate the limit of a quotient f(x)g(x) 

    • for which attempting to evaluate the limit by substitution returns one of the indeterminate forms 00 or ±±

  • For such a quotient function, L'Hospital's rule says that

    • limxaf(x)g(x)=limxaf'(x)g'(x)

  • In plain language, this means you can take the derivatives of the numerator and denominator and attempt to evaluate the limit again in that form

Examiner Tips and Tricks

Notice that the formula includes the ratio of the derivatives. This is different to ddx(f(x)g(x)). If you are using the quotient rule, then it is likely that you have made a mistake.

How do I evaluate a limit using L’Hospital’s Rule?

  • STEP 1
    Check that the limit of the quotient results in one of the indeterminate forms given above

    • You must verify that one of the following is true:

      • limxaf(x)=0 and limxag(x)=0

      • limxaf(x)± and limxag(x)±

  • STEP 2
    Find the derivatives of the numerator and denominator of the quotient

  • STEP 3
    Check whether the limit limxaf'(x)g'(x) exists

  • STEP 4
    If that limit does exist, then limxaf(x)g(x)=limxaf'(x)g'(x)

  • STEP 5
    If limxaf'(x)g'(x)=f'(a)g'(a)leads to 00 or ±± then you may repeat the process by considering limxaf''(x)g''(x) (and possibly higher order derivatives after that)

    • As long as the limits continue giving indeterminate forms you may continue applying L’Hospital’s rule

    • Each time this happens find the next set of derivatives and consider the limit again

Examiner Tips and Tricks

Before beginning to use L'Hospital's rule to evaluate a limit

  • Be sure to confirm that using substitution gives an indeterminate form

  • Otherwise L'Hospital's rule is not valid

Worked Example

Use L’Hospital’s rule to evaluate each of the following limits:

(a) limx5x+1743x

(b) limx0x32x+sin 2x

Answer:

(a)

This limit could also be found by 'multiplying by reciprocals', but the question says to use L'Hospital's rule

First check that substitution gives an indeterminate form, so L'Hospital's rule is valid

limx(5x+17) and limx(43x)

limx5x+1743x leads to which is an indeterminate form

Find the derivatives of the numerator and denominator

ddx(5x+17)=5ddx(43x)=3

Apply L'Hospital's Rule, limxaf(x)g(x)=limxaf'(x)g'(x)

limx5x+1743x=limx53

There's no x in that final expression, so x going to infinity doesn't matter!

limx5x+1743x=53

(b)

First check that substitution gives an indeterminate form, so L'Hospital's rule is valid

limx0x3=03=0

limx0(2x+sin 2x)=2·0+sin(2·0)=0

limx0x32x+sin 2x leads to 00 which is an indeterminate form

Find the derivatives of the numerator and denominator

ddx(x3)=3x2ddx(2x+sin2x)=2+2cos2x

Apply L'Hospital's Rule, limxaf(x)g(x)=limxaf'(x)g'(x)

limx0x32x+sin 2x=limx03x22+2cos2x

Show that this is another indeterminate form

limx03x2=3·02=0

limx0(2+2cos 2x)=2+2cos(2·0)=0

This leads to 00 again

Apply L'Hospital's rule again

ddx(3x2)=6xddx(2+2cos2x)=4sin2x

limx03x22+2cos2x=limx06x4sin2x

Show that this is also an indeterminate form

limx06x=6·0=0

limx0(4sin 2x)=4sin(2·0)=0

This leads to 00 again

Apply L'Hospital's rule again

ddx(6x)=6ddx(4sin2x)=8cos2x

limx06x4sin2x=limx068cos2x

Check that this is not an indeterminate form

limx06=6

limx0(8cos 2x)=8cos(2·0)=8

Find the limit by substitution

limx068cos2x=68

Simplify the fraction

limx0x32x+sin 2x=34

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.