5.13 · AHL · HL onlyPaper 1Paper 2

Evaluating limits

In a minute

Some limits come out as 00\frac{0}{0} or ∞∞\frac{\infty}{\infty} when you substitute, and that tells you nothing yet. finds them by differentiating the top and the bottom separately, as often as you need. Near x=0x = 0 you can also swap each function for its Maclaurin series and cancel.

You'll be able to

  • Spot the 00\frac{0}{0} and ∞∞\frac{\infty}{\infty}, and know when plain substitution already gives the limit.
  • Use l'Hôpital's rule to find a limit as x→ax \to a or as x→∞x \to \infty.
  • Apply l'Hôpital's rule again and again, checking the form before each round.
  • Find a limit as x→0x \to 0 by replacing each function with its Maclaurin series from the formula booklet.
Before you start2 quick questions on what this builds on
Check yourself
Differentiate cos⁡(3x)\cos(3x).
Check yourself
Find f′′(x)f''(x) for f(x)=sin⁡(2x)f(x) = \sin(2x).

Revise first: 5.6 Differentiation rules and standard functions and 5.12 Continuity, limits and higher derivatives

L'Hôpital's rule

Try to find lim⁡x→0sin⁡xx\lim_{x \to 0}\frac{\sin x}{x} by substituting x=0x = 0. You get 00\frac{0}{0}, which is not a number. Yet the exists: the fraction settles on a value as xx gets close to 0.

Put in small values, in radians. x=0.5x = 0.5 gives 0.95890.9589, x=0.1x = 0.1 gives 0.99830.9983 and x=0.01x = 0.01 gives 0.999980.99998. The values close in on 1. You need a method that gives that value exactly.

The graph of y = sin x over x, with a hole at the point (0, 1) x y O 1 π −π y = sin x / x hole at (0, 1)
y=sin⁡xxy = \frac{\sin x}{x} has a hole at x=0x = 0, at height 1.

Always substitute first. If you get an ordinary number, such as 32\frac{3}{2}, that is the limit. Use the methods in this lesson only for 00\frac{0}{0} or ∞∞\frac{\infty}{\infty}.

says: differentiate the top and the bottom separately, then take the limit again.

Learn this
lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x)\lim_{x \to a}\frac{f(x)}{g(x)} = \lim_{x \to a}\frac{f'(x)}{g'(x)}

It holds when the first limit has the form 00\frac{0}{0} or ∞∞\frac{\infty}{\infty} and the limit of f′(x)g′(x)\frac{f'(x)}{g'(x)} exists. Here aa can be a number or ∞\infty. The rule is not in the formula booklet, so learn it.

Worked exampleFind lim⁡θ→0sin⁡θθ\lim_{\theta \to 0}\dfrac{\sin\theta}{\theta}.

Try it first, then reveal one step at a time.

  1. Substitute θ=0\theta = 0: sin⁡00=00\frac{\sin 0}{0} = \frac{0}{0}. This is indeterminate, so l'Hôpital's rule applies.
Worked exampleFind lim⁡x→3x2−9ln⁡(x−2)\lim_{x \to 3}\dfrac{x^{2} - 9}{\ln(x - 2)}.

Try it first, then reveal one step at a time.

  1. Substitute x=3x = 3. The top is 9−9=09 - 9 = 0 and the bottom is ln⁡1=0\ln 1 = 0, so the form is 00\frac{0}{0}.
Check yourself
Find lim⁡x→0e4x−1sin⁡x\lim_{x \to 0}\dfrac{\mathrm{e}^{4x} - 1}{\sin x}.

The same rule handles ∞∞\frac{\infty}{\infty} as x→∞x \to \infty. The limit you find is the height of the horizontal asymptote, which you met in 2.8.

Worked exampleFind lim⁡x→∞5x+ln⁡x2x+1\lim_{x \to \infty}\dfrac{5x + \ln x}{2x + 1}.

Try it first, then reveal one step at a time.

  1. As x→∞x \to \infty, the top and the bottom both grow without limit. The form is ∞∞\frac{\infty}{\infty}.
Check yourself
Find lim⁡x→2x3−8x2+x−6\lim_{x \to 2}\dfrac{x^{3} - 8}{x^{2} + x - 6}. Give your answer as a decimal.

Using the rule more than once

Sometimes the new limit is still 00\frac{0}{0} or ∞∞\frac{\infty}{\infty}. Then apply the rule again, to the new fraction. Keep going until substituting gives a number.

Worked exampleFind lim⁡x→0e2x−1−2xx2\lim_{x \to 0}\dfrac{\mathrm{e}^{2x} - 1 - 2x}{x^{2}}.

Try it first, then reveal one step at a time.

  1. Substitute x=0x = 0. The top is 1−1−0=01 - 1 - 0 = 0 and the bottom is 00, so the form is 00\frac{0}{0}.
Check yourself
Find lim⁡x→01−cos⁡(4x)x2\lim_{x \to 0}\dfrac{1 - \cos(4x)}{x^{2}}.
Worked exampleThe limit L=lim⁡x→0sin⁡(3x)−kxx3L = \lim_{x \to 0}\dfrac{\sin(3x) - kx}{x^{3}}, where k∈Rk \in \mathbb{R}, is finite. Find the value of kk and the value of LL.

Try it first, then reveal one step at a time.

  1. At x=0x = 0 the top is sin⁡0−0=0\sin 0 - 0 = 0 and the bottom is 00, whatever kk is. Apply the rule: L=lim⁡x→03cos⁡(3x)−k3x2L = \lim_{x \to 0}\frac{3\cos(3x) - k}{3x^{2}}.
Check yourself
The limit L=lim⁡x→0ex+e−x−ax2L = \lim_{x \to 0}\dfrac{\mathrm{e}^{x} + \mathrm{e}^{-x} - a}{x^{2}}, where a∈Ra \in \mathbb{R}, is finite. Find aa and LL.

Limits from Maclaurin series

Near x=0x = 0, each standard function is close to a polynomial called its . You will build these series in 5.19. For limits you only need the ones in the formula booklet.

In the formula booklet
ex=1+x+x22!+…\mathrm{e}^{x} = 1 + x + \frac{x^{2}}{2!} + \ldots
In the formula booklet
ln⁡(1+x)=x−x22+x33−…\ln(1 + x) = x - \frac{x^{2}}{2} + \frac{x^{3}}{3} - \ldots
In the formula booklet
sin⁡x=x−x33!+x55!−…\sin x = x - \frac{x^{3}}{3!} + \frac{x^{5}}{5!} - \ldots
In the formula booklet
cos⁡x=1−x22!+x44!−…\cos x = 1 - \frac{x^{2}}{2!} + \frac{x^{4}}{4!} - \ldots
In the formula booklet
arctan⁡x=x−x33+x55−…\arctan x = x - \frac{x^{3}}{3} + \frac{x^{5}}{5} - \ldots

You don't need to memorise these; they are in the booklet. You do need to know when to use them.

Maclaurin partial sumsPick a function and drag the sliders
−6−4−2246−22f(x) = sin x (solid)P1 (dashed)

1
0.5

P₁(x) = x

Converges for all real x

P₁(0.5) = 0.50000, f(0.5) = 0.47943, error |f − P₁| = 0.02057

The Maclaurin series adds more terms of f(0), f′(0)x, f″(0)x²/2!, … Each extra term hugs f more tightly near x = 0, and the error grows as x moves away from 0.

With one term, the series for sin⁡x\sin x is just xx, and near 0 it hugs the curve. So sin⁡xx=1−x23!+…\frac{\sin x}{x} = 1 - \frac{x^{2}}{3!} + \ldots, which tends to 1.

1. Replace each function by enough terms of its series.

2. Simplify the top and the bottom. The lowest powers often cancel.

3. Divide the top and the bottom by the lowest power of xx left in the bottom. Then let x→0x \to 0: every term that still holds an xx vanishes.

Worked exampleUse the Maclaurin series for sin⁡x\sin x to find lim⁡x→0x−sin⁡xx3\lim_{x \to 0}\dfrac{x - \sin x}{x^{3}}.

Try it first, then reveal one step at a time.

  1. Substitute the series: x−sin⁡x=x−(x−x36+x5120−…)=x36−x5120+…x - \sin x = x - \left(x - \frac{x^{3}}{6} + \frac{x^{5}}{120} - \ldots\right) = \frac{x^{3}}{6} - \frac{x^{5}}{120} + \ldots
Check yourself
Use the Maclaurin series for arctan⁡x\arctan x to find lim⁡x→0x−arctan⁡xx3\lim_{x \to 0}\dfrac{x - \arctan x}{x^{3}}.

Which method? As x→0x \to 0, series are quickest when the top cancels to a high power. As x→∞x \to \infty, or as x→ax \to a with a≠0a \ne 0, use l'Hôpital's rule.

Worked exampleFind lim⁡x→0ln⁡(1+2x)−2xx2\lim_{x \to 0}\dfrac{\ln(1 + 2x) - 2x}{x^{2}}. Then use your calculator to support your answer.

Try it first, then reveal one step at a time.

  1. Replace xx by 2x2x in the series for ln⁡(1+x)\ln(1 + x): ln⁡(1+2x)=2x−(2x)22+(2x)33−…=2x−2x2+8x33−…\ln(1 + 2x) = 2x - \frac{(2x)^{2}}{2} + \frac{(2x)^{3}}{3} - \ldots = 2x - 2x^{2} + \frac{8x^{3}}{3} - \ldots
Check yourself
Use a Maclaurin series to find lim⁡x→0e−x2−1+x2x4\lim_{x \to 0}\dfrac{\mathrm{e}^{-x^{2}} - 1 + x^{2}}{x^{4}}.

Common mistakes

  • Using the quotient rule on f(x)g(x)\frac{f(x)}{g(x)}. L'Hôpital's rule differentiates the top and the bottom separately.
  • Dropping a chain-rule factor, such as the 2 in ddxe2x=2e2x\frac{\mathrm{d}}{\mathrm{d}x}\mathrm{e}^{2x} = 2\mathrm{e}^{2x}. One lost factor changes the final value, so differentiate each part with care.
  • Applying the rule again without checking the form. If substituting already gives a number, that number is the limit; another round gives a wrong answer.
  • Only checking that a given constant works. To show it is the only value, argue that the top must tend to 0 because the bottom does.

Exam tips

  • "Use l'Hôpital's rule" means show each round: the form ("still 00\frac{0}{0}"), the two derivatives and the new limit. Mark schemes give method credit for these lines.
  • "Hence, or otherwise" after a Maclaurin series part means the series is the quick route: substitute it, divide and let x→0x \to 0. Any correct method earns the marks.
  • On Paper 1, give the exact value, such as −92-\frac{9}{2}. On Paper 2, values of the fraction near the limit point support an answer but don't replace the algebra.

Key takeaways

Learn thislim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x)\lim_{x \to a}\frac{f(x)}{g(x)} = \lim_{x \to a}\frac{f'(x)}{g'(x)}
Learn thisSubstitute first. Only 00\frac{0}{0} and ∞∞\frac{\infty}{\infty} need l'Hôpital's rule or a series.
Learn thisDifferentiate the top and the bottom separately, never with the quotient rule. Repeat while the form is still 00\frac{0}{0} or ∞∞\frac{\infty}{\infty}.
Learn thislim⁡θ→0sin⁡θθ=1\lim_{\theta \to 0}\frac{\sin\theta}{\theta} = 1
Learn thisSeries method as x→0x \to 0: substitute the booklet series, cancel, divide by the lowest power of xx in the bottom, then let x→0x \to 0.
Learn thisTo find a constant that makes a limit finite: when the bottom tends to 0, the top must tend to 0 too.

Practise this

4 past-paper questions on 5.13 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 5.13 →