L'Hopital's Rule Examples: 48 Problems with Answers

Worked examples of L'Hopital's Rule to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
Find lim⁡x→0sin⁡xx using L'Hôpital's rule.
Show solution

Answer

1

First step

1.
Direct substitution: sin⁡00=00 — indeterminate form.

Full solution

  1. 2.
    Apply L'Hôpital: differentiate numerator and denominator separately.
  2. 3.
    lim⁡x→0sin⁡xx=lim⁡x→0cos⁡x1=cos⁡01=1.
L'Hôpital's rule applies when we have a 00 form. Differentiate top and bottom independently (not using the quotient rule), then evaluate the limit.

Example 2

hard
Find lim⁡x→∞xe−x.

Example 3

easy
Evaluate lim⁡x→0e2x−1x.

Example 4

medium
Evaluate lim⁡x→∞ln⁡xx.

Example 5

medium
Evaluate lim⁡x→0+x ln⁡x.

Example 6

hard
Evaluate lim⁡x→0+(cos⁡x)1/x2.

Example 7

hard
Evaluate lim⁡x→0+(1x−1ex−1).

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
Find lim⁡x→1x2−1x−1 using L'Hôpital's rule.

Example 2

medium
Find lim⁡x→∞ln⁡xx.

Example 3

easy
Evaluate lim⁡x→0sin⁡xx using L'Hopital.

Example 4

easy
Evaluate lim⁡x→0ex−1x.

Example 5

easy
Evaluate lim⁡x→01−cos⁡xx.

Example 6

easy
Evaluate lim⁡x→∞xex.

Example 7

easy
Should you apply L'Hopital to lim⁡x→0sin⁡xx+1?

Example 8

easy
Evaluate lim⁡x→0tan⁡xx.

Example 9

easy
Evaluate lim⁡x→∞ln⁡xx.

Example 10

easy
Evaluate lim⁡x→2x2−4x−2 using L'Hopital.

Example 11

medium
Evaluate lim⁡x→0sin⁡x−xx3.

Example 12

medium
Evaluate lim⁡x→0+xln⁡x.

Example 13

medium
Evaluate lim⁡x→∞x2ex.

Example 14

medium
Evaluate lim⁡x→∞(1+1x)x.

Example 15

medium
Evaluate lim⁡x→0ex−1−xx2.

Example 16

medium
Evaluate lim⁡x→0+(1x−1sin⁡x).

Example 17

medium
Evaluate lim⁡x→0ln⁡(1+x)x.

Example 18

medium
Evaluate lim⁡x→0+xx.

Example 19

medium
Evaluate lim⁡x→1x10−1x−1.

Example 20

challenge
Evaluate lim⁡x→0tan⁡x−xx3.

Example 21

challenge
Evaluate lim⁡x→∞x(e1/x−1).

Example 22

challenge
Evaluate lim⁡x→0(sin⁡xx)1/x2.

Example 23

easy
Evaluate lim⁡x→0sin⁡3xx.

Example 24

easy
Evaluate lim⁡x→0sin⁡5xsin⁡2x.

Example 25

easy
Evaluate lim⁡x→3x2−9x−3.

Example 26

easy
Evaluate lim⁡x→∞3x+52x−1.

Example 27

medium
Evaluate lim⁡x→01−cos⁡xx2.

Example 28

medium
Evaluate lim⁡x→∞x3ex.

Example 29

medium
Evaluate lim⁡x→0ln⁡(1+2x)x.

Example 30

medium
Evaluate lim⁡x→0sin⁡x⋅cos⁡xx.

Example 31

medium
Evaluate lim⁡x→1ln⁡xx−1.

Example 32

medium
Evaluate lim⁡x→0x−arctan⁡xx3.

Example 33

medium
Evaluate lim⁡x→0+(sin⁡x)x.

Example 34

medium
Evaluate lim⁡x→0ex−e−xsin⁡x.

Example 35

hard
Evaluate lim⁡x→∞(1+3x)x.

Example 36

hard
Evaluate lim⁡x→0x−sin⁡xxsin⁡2x.

Example 37

hard
Evaluate lim⁡x→0arcsin⁡x−xx3.

Example 38

hard
Evaluate lim⁡x→0ex−1−x−x2/2x3.

Example 39

hard
Evaluate lim⁡x→∞(x2+x−x).

Example 40

challenge
Evaluate lim⁡x→0sin⁡(sin⁡x)−xx3.

Example 41

challenge
Evaluate lim⁡x→0+xx−1xln⁡x.

What to focus on

Core idea: For an indeterminate 00 or ∞∞ limit, replace it with the limit of the ratio of derivatives.

Common stuck point: The procedure for l'hopital's rule is the easy part; the trap is applying it to a non-indeterminate form. Asking "Does plugging in give 00 or ∞∞ in a quotient — and only then?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Does plugging in give 00 or ∞∞ in a quotient — and only then?

Concept recap

If lim⁡x→af(x)g(x) is an indeterminate form 00 or ∞∞, then lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x) provided the right-hand limit exists (or is ±∞).

Two runners leave the same line at the same instant. A moment later both are barely past it, so comparing their distances directly is hopeless, but the ratio of their distances is about the ratio of their speeds. That is the rule for 00. The comparison only makes sense if both really started together at zero.

Read the full lesson on L'Hopital's Rule

L'Hopital's Rule is covered with related ideas in the guide Limits Explained Intuitively: The Foundation of Calculus.

Background knowledge

These ideas may be useful before you work through the harder examples.

limitderivativeinfinity