Educerie

This whole subtopic is higher level. Nothing in it is on an SL paper.

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 5.13 · HL only

Limits and l'Hôpital's rule

When a limit comes out as 00\frac{0}{0} or ∞∞\frac{\infty}{\infty}, which tells you nothing, how do you find the value it is really heading for?

What you will learn

  • HL Understand why 0 ÷ 0 and ∞ ÷ ∞ are indeterminate while other results of substitution are not
  • HL Know l'Hôpital's rule, including when it may be used again and when it says nothing
  • HL Understand how Maclaurin series turn a limit into reading off the lowest power of x
  • HL Know that sin θ / θ tends to 1 in radians, and how limits at infinity give horizontal asymptotes

You must be able to

  1. HL Calculate a limit with l'Hôpital's rule, checking the form before each round and stopping when it is settled
  2. HL Find a limit using a Maclaurin series from the formula booklet, including finding a constant that makes it finite
  3. HL Find limits as x tends to infinity and state horizontal asymptotes
  4. HL Rewrite a product, a difference or a sequence as a single quotient before finding its limit
  5. HL Find the limit of an improper integral by integrating first and then letting the upper limit tend to infinity
  6. HL Find the value that makes a function continuous at a point from a limit

In the exam. Paper 1 (no calculator): "find lim⁡x→0…\lim_{x \to 0} \ldots", usually 4 to 7 marks, often needing l'Hôpital's rule twice (a trigonometric or exponential top with the chain rule inside), or a Maclaurin series from the formula booklet; sometimes as the last part of a longer question after a series has been found. Paper 2: fewer, of the same kinds, with a GDC to check the value. Paper 3 carries as many of these questions as Paper 1: the limit is the step that settles an improper integral (lim⁡b→∞\lim_{b \to \infty} of a definite integral) or the long-run behaviour of a model.

1Why 00\frac{0}{0} tells you nothing

Each of these gives 00\frac{0}{0} at x=0x = 0. The three answers all differ.

lim⁡x→05xx=lim⁡x→05=5\lim_{x\to 0} \frac{5x}{x} = \lim_{x\to 0} 5 = 5lim⁡x→0x3x=lim⁡x→0x2=0\lim_{x\to 0} \frac{x^{3}}{x} = \lim_{x\to 0} x^{2} = 0lim⁡x→0x2x4=lim⁡x→01x2=∞grows without bound: no finite limit\lim_{x\to 0} \frac{x^{2}}{x^{4}} = \lim_{x\to 0} \frac{1}{x^{2}} = \infty \qquad \textcolor{#838c91}{\text{grows without bound: no finite limit}}
  • Top and bottom both head for zero, but at different rates, and the rate decides the answer. That is why 00\frac{0}{0} is an indeterminate form: the form alone does not fix the limit.
  • The same is true of ∞∞\frac{\infty}{\infty}. As x→∞x \to \infty, 7xx→7\dfrac{7x}{x} \to 7, x3x→∞\dfrac{x^{3}}{x} \to \infty and xx3→0\dfrac{x}{x^{3}} \to 0.

Other results are not indeterminate:

Substituting givesWhat it means
a number over a non-zero numberthat value is the limit; you are finished
a non-zero number over 00the function grows without bound near aa: no finite limit
00 over a non-zero numberthe limit is 00
00\frac{0}{0} or ∞∞\frac{\infty}{\infty}indeterminate: use l'Hôpital's rule or a series

The most famous indeterminate limit is the guide's. Figure 1 draws y=sin⁡xxy = \dfrac{\sin x}{x}. The function has no value at x=0x = 0, but the graph heads steadily for 11 from both sides.

Figure 1 · y = (sin x)/x x y −3π −2π −π π 2π 3π 1 hole at (0, 1) Undefined at x = 0, yet the graph closes in on 1 from both sides: lim (sin x)/x = 1. The graph crosses the x-axis at the non-zero multiples of π, where sin x = 0.
Figure 1 · y = sin x ÷ x heads for 1 as x → 0
xx0.50.50.10.10.010.01
sin⁡xx\dfrac{\sin x}{x}0.9588510.9588510.9983340.9983340.9999830.999983

lim⁡θ→0sin⁡θθ=1\lim_{\theta \to 0} \dfrac{\sin\theta}{\theta} = 1, with θ\theta in radians.

  • In degrees the limit is π180\dfrac{\pi}{180} instead. One reason calculus uses radians.
  • One-sided limits (x→a+x \to a^{+} from above, x→a−x \to a^{-} from below) also work with the rule below.

2L'Hôpital's rule

L'Hôpital's rule. Let ff and gg be differentiable near aa, with g′(x)≠0g'(x) \neq 0 there. If f(x)→0f(x) \to 0 and g(x)→0g(x) \to 0 as x→ax \to a, or if f(x)f(x) and g(x)g(x) both →±∞\to \pm\infty, then lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x)\lim_{x \to a} \dfrac{f(x)}{g(x)} = \lim_{x \to a} \dfrac{f'(x)}{g'(x)}, provided the right-hand limit exists (or is ±∞\pm\infty). The same holds with aa replaced by ∞\infty.

Differentiate the top and the bottom separately. This is not the quotient rule.

Why it works

  • Figure 2 takes f(x)=x3−8f(x) = x^{3} - 8 and g(x)=x2−4g(x) = x^{2} - 4, which are both zero at x=2x = 2.
  • Close to x=2x = 2, each curve is almost its tangent line (SL 5.1). The tangent to ff has gradient f′(2)=12f'(2) = 12. The tangent to gg has gradient g′(2)=4g'(2) = 4. So near 22
f(x)≈12(x−2)andg(x)≈4(x−2)f(x) \approx 12(x-2) \quad\text{and}\quad g(x) \approx 4(x-2)f(x)g(x)≈12(x−2)4(x−2)=124=3the (x−2) cancels\frac{f(x)}{g(x)} \approx \frac{12(x-2)}{4(x-2)} = \frac{12}{4} = 3 \qquad \textcolor{#838c91}{\text{the }(x-2)\text{ cancels}}
Figure 2 · x³ − 8 and x² − 4 near x = 2 x y 1 2 3 −5 5 10 15 f(x) = x³ − 8 tangent to f at 2: 12(x − 2) g(x) = x² − 4 tangent to g at 2: 4(x − 2) both 0 at x = 2 Close to x = 2 each curve hugs its tangent, so f/g ≈ 12(x − 2) ÷ 4(x − 2) = 3.
Figure 2 · Near x = 2, each function looks like its tangent line
  • The ratio of two quantities that both vanish is the ratio of their rates of vanishing. The derivatives are those rates.

The condition that is easy to forget

  • If f′g′\dfrac{f'}{g'} has no limit at all, the rule says nothing about fg\dfrac{f}{g}. It does not say that the limit fails to exist.
  • Example: x+sin⁡xx\dfrac{x + \sin x}{x} as x→∞x \to \infty. It is ∞∞\frac{\infty}{\infty}, but the derivatives give 1+cos⁡x1 + \cos x, which swings between 00 and 22 and has no limit. The rule is silent.
  • Algebra is not silent: x+sin⁡xx=1+sin⁡xx\dfrac{x+\sin x}{x} = 1 + \dfrac{\sin x}{x}. sin⁡xx\dfrac{\sin x}{x} is trapped between −1x-\dfrac{1}{x} and 1x\dfrac{1}{x}, so the limit is 11.

Worked example 1. Paper 1. Find lim⁡x→2x3−8x2−4\lim_{x \to 2} \dfrac{x^{3}-8}{x^{2}-4}.

substitute x=2: 8−84−4=00indeterminate, so the rule applies\text{substitute } x = 2:\ \frac{8-8}{4-4} = \frac{0}{0} \qquad \textcolor{#838c91}{\text{indeterminate, so the rule applies}}lim⁡x→2x3−8x2−4=lim⁡x→23x22xl’Hoˆpital=124=3\begin{aligned}\lim_{x\to 2} \frac{x^{3}-8}{x^{2}-4} &= \lim_{x\to 2} \frac{3x^{2}}{2x} && \textcolor{#838c91}{\text{l'Hôpital}} \\[6pt] &= \frac{12}{4} = 3\end{aligned}

Check by factorising: (x−2)(x2+2x+4)(x−2)(x+2)→124=3\dfrac{(x-2)(x^{2}+2x+4)}{(x-2)(x+2)} \to \dfrac{12}{4} = 3.

Worked example 2. Paper 1. Find lim⁡x→0ln⁡(1+2x)sin⁡3x\lim_{x \to 0} \dfrac{\ln(1+2x)}{\sin 3x}.

substitute x=0: ln⁡1sin⁡0=00=lim⁡x→021+2x3cos⁡3xchain rule on both: the inner derivatives are 2 and 3=23(1)=23\begin{aligned}\text{substitute } x &= 0:\ \frac{\ln 1}{\sin 0} = \frac{0}{0} \\[6pt] &= \lim_{x\to 0} \frac{\dfrac{2}{1+2x}}{3\cos 3x} && \textcolor{#838c91}{\text{chain rule on both: the inner derivatives are 2 and 3}} \\[6pt] &= \frac{2}{3(1)} = \frac{2}{3}\end{aligned}

The guide's limit, by the rule.

substitute x=0: 00\text{substitute } x = 0:\ \frac{0}{0}lim⁡x→0sin⁡xx=lim⁡x→0cos⁡x1=cos⁡0=1\lim_{x\to 0} \frac{\sin x}{x} = \lim_{x\to 0} \frac{\cos x}{1} = \cos 0 = 1

Warning: the derivative of sin⁡x\sin x was itself worked out using this limit. So this is a quick route to the value, not an independent proof. Use it when a question says "use l'Hôpital's rule", never to prove the derivative of sin⁡x\sin x.

3Using the rule more than once

If one application gives 00\frac{0}{0} again, apply it again. Keep going until substitution gives a definite answer. Before each application, check the form.

Worked example 3. Paper 1. Find lim⁡x→01−cos⁡xx2\lim_{x \to 0} \dfrac{1-\cos x}{x^{2}}.

substitute x=0: 1−10=00=lim⁡x→0sin⁡x2xl’Hoˆpital once; substitute: still 00=lim⁡x→0cos⁡x2l’Hoˆpital twice; substitute: 12, a number=12\begin{aligned}\text{substitute } x &= 0:\ \frac{1-1}{0} = \frac{0}{0} \\[6pt] &= \lim_{x\to 0} \frac{\sin x}{2x} && \textcolor{#838c91}{\text{l'Hôpital once; substitute: still }\frac{0}{0}} \\[6pt] &= \lim_{x\to 0} \frac{\cos x}{2} && \textcolor{#838c91}{\text{l'Hôpital twice; substitute: }\frac{1}{2}\text{, a number}} \\[6pt] &= \frac{1}{2}\end{aligned}

Figure 3 draws all three stages on one set of axes. They are three different functions, but near x=0x = 0 they all head for 12\tfrac{1}{2}. That is the rule's promise: each new quotient has the same limit as the one before.

Figure 3 · Three quotients, one limit x y −3 −2 −1 1 2 3 1 y = ½ (1 − cos x)/x² sin x / 2x cos x / 2 Three different functions, all heading for ½ at x = 0. Only cos x / 2 can simply be evaluated there.
Figure 3 · Each stage of l'Hôpital's rule has the same limit

The trap: applying the rule when the form is not indeterminate. Take lim⁡x→0e2x−1x2+3x\lim_{x \to 0} \dfrac{e^{2x}-1}{x^{2}+3x}.

substitute x=0: 00=lim⁡x→02e2x2x+3l’Hoˆpital; substitute: 23. STOP=23\begin{aligned}\text{substitute } x &= 0:\ \frac{0}{0} \\[6pt] &= \lim_{x\to 0} \frac{2e^{2x}}{2x+3} && \textcolor{#838c91}{\text{l'Hôpital; substitute: }\frac{2}{3}\text{. STOP}} \\[6pt] &= \frac{2}{3}\end{aligned}

Differentiate again and you get lim⁡4e2x2=2\lim \dfrac{4e^{2x}}{2} = 2, which is wrong. The second quotient was 23\frac{2}{3}, not indeterminate, so the rule no longer applies.

Worked example 4. Paper 1, with a product rule in it. Find lim⁡x→0xcos⁡x−sin⁡xx3\lim_{x \to 0} \dfrac{x\cos x - \sin x}{x^{3}}.

0−00=00  →  lim⁡x→0cos⁡x−xsin⁡x−cos⁡x3x2=lim⁡x→0−xsin⁡x3x2product rule on xcos⁡x; the cos⁡x terms cancel=lim⁡x→0−sin⁡x3x  →  lim⁡x→0−cos⁡x3=−13\begin{aligned}\frac{0 - 0}{0} &= \frac{0}{0} \;\to\; \lim_{x\to 0} \frac{\cos x - x\sin x - \cos x}{3x^{2}} = \lim_{x\to 0} \frac{-x\sin x}{3x^{2}} && \textcolor{#838c91}{\text{product rule on }x\cos x\text{; the }\cos x\text{ terms cancel}} \\[6pt] &= \lim_{x\to 0} \frac{-\sin x}{3x} \;\to\; \lim_{x\to 0} \frac{-\cos x}{3} = -\frac{1}{3}\end{aligned}

Simplifying between rounds, as here, is allowed and saves work.

4Limits at infinity and ∞∞\frac{\infty}{\infty}

The rule works the same when x→∞x \to \infty and the top and bottom both grow without bound.

Worked example 5. Find the horizontal asymptote of y=5x2+x2x2−3y = \dfrac{5x^{2}+x}{2x^{2}-3}.

as x→∞: ∞∞=lim⁡x→∞10x+14xstill ∞∞=lim⁡x→∞104=52\begin{aligned} &\text{as } x \to \infty:\ \frac{\infty}{\infty} \\[6pt] &= \lim_{x\to\infty} \frac{10x+1}{4x} && \textcolor{#838c91}{\text{still }\frac{\infty}{\infty}} \\[6pt] &= \lim_{x\to\infty} \frac{10}{4} = \frac{5}{2}\end{aligned}
  • So the horizontal asymptote is y=52y = \tfrac{5}{2}. For a rational function, the SL 2.8 method is as quick and gives the same answer: divide top and bottom by the highest power of xx. L'Hôpital earns its place when a logarithm or exponential is mixed in.
  • A horizontal asymptote is a limit at either end, so a question may ask about x→∞x \to \infty and x→−∞x \to -\infty.
  • When the function is a continuous function of a quotient, take the limit inside. If 3x2+1x2+5→3\dfrac{3x^{2}+1}{x^{2}+5} \to 3 as x→±∞x \to \pm\infty, then y=ln⁡3x2+1x2+5→ln⁡3y = \ln\dfrac{3x^{2}+1}{x^{2}+5} \to \ln 3. So y=ln⁡3y = \ln 3 is the horizontal asymptote at both ends.

Which grows faster? L'Hôpital settles the races between the three families of function you know.

lim⁡x→∞x3ex  →  lim⁡3x2ex  →  lim⁡6xex  →  lim⁡6ex=0three rounds, ∞∞ each time\lim_{x\to\infty} \frac{x^{3}}{e^{x}} \;\to\; \lim \frac{3x^{2}}{e^{x}} \;\to\; \lim \frac{6x}{e^{x}} \;\to\; \lim \frac{6}{e^{x}} = 0 \qquad \textcolor{#838c91}{\text{three rounds, }\frac{\infty}{\infty}\text{ each time}}lim⁡x→∞ln⁡xx  →  lim⁡1x12x=lim⁡2x=0\lim_{x\to\infty} \frac{\ln x}{\sqrt{x}} \;\to\; \lim \frac{\dfrac{1}{x}}{\dfrac{1}{2\sqrt{x}}} = \lim \frac{2}{\sqrt{x}} = 0

Each round lowers the power of xx by one but leaves exe^{x} as it was. So exe^{x} always wins, whatever the power. The logarithm loses to any positive power of xx. As x→∞x \to \infty:

ln⁡x\ln x grows more slowly than any positive power xnx^{n}, and xnx^{n} grows more slowly than exe^{x}.

Figure 4 shows what that means for y=x3e−xy = x^{3}e^{-x}, which is x3ex\dfrac{x^{3}}{e^{x}}. The power wins at first, and the graph climbs to a maximum at x=3x = 3, where y=27e−3≈1.34y = 27e^{-3} \approx 1.34. Then the exponential takes over and the graph falls to its horizontal asymptote, y=0y = 0.

Figure 4 · y = x³/eˣ x y 3 5 10 15 0.5 1 1.5 max (3, 27e⁻³ ≈ 1.34) → 0: eˣ wins x³ wins The power grows faster at first, but the exponential overtakes it for good: y = 0 is an asymptote.
Figure 4 · The exponential always wins: x³ ÷ eˣ → 0

When the rule goes round in circles

  • The rule does not help every ∞∞\frac{\infty}{\infty}.
  • For lim⁡x→∞3ex+e−xex−2e−x\lim_{x \to \infty} \dfrac{3e^{x}+e^{-x}}{e^{x}-2e^{-x}}, one round gives 3ex−e−xex+2e−x\dfrac{3e^{x}-e^{-x}}{e^{x}+2e^{-x}}, and a second gives back the original.
  • Use algebra instead: divide top and bottom by the dominant term exe^{x}.
3ex+e−xex−2e−x=3+e−2x1−2e−2x→3+01−0=3e−2x→0 as x→∞\frac{3e^{x}+e^{-x}}{e^{x}-2e^{-x}} = \frac{3 + e^{-2x}}{1 - 2e^{-2x}} \to \frac{3+0}{1-0} = 3 \qquad \textcolor{#838c91}{e^{-2x} \to 0\text{ as }x\to\infty}
  • With any ∞∞\frac{\infty}{\infty}, first ask whether the dominant term can simply be divided out. Dominant terms decide limits only as x→±∞x \to \pm\infty. Near a finite point they tell you nothing.

5Other shapes: products, differences, sequences and integrals

The guide's forms are 00\frac{0}{0} and ∞∞\frac{\infty}{\infty}. Rewrite other forms as one of these. The skill is seeing the quotient hiding in the expression.

A product such as 0×∞0 \times \infty: move one factor into the denominator as its reciprocal. Choose the factor whose derivative is simpler.

Worked example 6. Find lim⁡x→0+xln⁡x\lim_{x \to 0^{+}} \sqrt{x}\ln x.

xln⁡x=ln⁡xx−1/2−∞∞ as x→0+; the sign of the infinity does not matter to the rule\sqrt{x}\ln x = \frac{\ln x}{x^{-1/2}} \qquad \textcolor{#838c91}{\frac{-\infty}{\infty}\text{ as }x \to 0^{+}\text{; the sign of the infinity does not matter to the rule}}→lim⁡x→0+1x−12x−3/2=lim⁡x→0+(−2x)=0\to \lim_{x\to 0^{+}} \frac{\dfrac{1}{x}}{-\tfrac{1}{2}x^{-3/2}} = \lim_{x\to 0^{+}} \left(-2\sqrt{x}\right) = 0

Put ln⁡x\ln x on the top, not x\sqrt{x} over 1ln⁡x\frac{1}{\ln x}. The second choice makes the derivative worse.

A difference such as ∞−∞\infty - \infty: combine into one fraction.

Worked example 7. Find lim⁡x→0(1ex−1−1sin⁡x)\lim_{x \to 0} \left(\dfrac{1}{e^{x}-1} - \dfrac{1}{\sin x}\right).

1ex−1−1sin⁡x=sin⁡x−ex+1(ex−1)sin⁡x∞−∞ became 00\frac{1}{e^{x}-1} - \frac{1}{\sin x} = \frac{\sin x - e^{x} + 1}{(e^{x}-1)\sin x} \qquad \textcolor{#838c91}{\infty - \infty\text{ became }\frac{0}{0}}→lim⁡x→0cos⁡x−exexsin⁡x+(ex−1)cos⁡xproduct rule on the bottom; still 00\to \lim_{x\to 0} \frac{\cos x - e^{x}}{e^{x}\sin x + (e^{x}-1)\cos x} \qquad \textcolor{#838c91}{\text{product rule on the bottom; still }\frac{0}{0}}→lim⁡x→0−sin⁡x−ex2excos⁡x+sin⁡x=−12=−12\to \lim_{x\to 0} \frac{-\sin x - e^{x}}{2e^{x}\cos x + \sin x} = \frac{-1}{2} = -\frac{1}{2}

A sequence limit as n→∞n \to \infty with an ∞×0\infty \times 0 shape: put x=1nx = \dfrac{1}{n}. Then n→∞n \to \infty becomes x→0+x \to 0^{+}, and the product becomes a quotient.

Worked example 8. Find lim⁡n→∞n(e2/n−1)\lim_{n \to \infty} n\left(e^{2/n}-1\right).

n(e2/n−1)=e2x−1x(x=1n)n\left(e^{2/n}-1\right) = \frac{e^{2x}-1}{x} \quad(x = \tfrac{1}{n})lim⁡x→0+e2x−1x=lim⁡x→0+2e2x1=200, then l’Hoˆpital with the chain rule\lim_{x\to 0^{+}} \frac{e^{2x}-1}{x} = \lim_{x\to 0^{+}} \frac{2e^{2x}}{1} = 2 \qquad \textcolor{#838c91}{\frac{0}{0}\text{, then l'Hôpital with the chain rule}}

An improper integral is a limit in disguise. It is where Paper 3 uses this unit most. Integrate first, then take the limit of the answer.

Worked example 9. Paper 3 style. Find lim⁡b→∞∫1bln⁡xx2 dx\lim_{b \to \infty} \displaystyle\int_1^{b} \frac{\ln x}{x^{2}}\,dx.

∫1bln⁡xx2 dx=[−ln⁡x+1x]1b=1−ln⁡b+1bby parts, or check by differentiating\int_1^{b} \frac{\ln x}{x^{2}}\,dx = \Big[-\frac{\ln x + 1}{x}\Big]_1^{b} = 1 - \frac{\ln b + 1}{b} \qquad \textcolor{#838c91}{\text{by parts, or check by differentiating}}lim⁡b→∞ln⁡b+1b  →  lim⁡b→∞1/b1=0∞∞, then l’Hoˆpital\lim_{b\to\infty} \frac{\ln b + 1}{b} \;\to\; \lim_{b\to\infty} \frac{1/b}{1} = 0 \qquad \textcolor{#838c91}{\frac{\infty}{\infty}\text{, then l'Hôpital}}so the limit is 1−0=1\text{so the limit is } 1 - 0 = 1

Name the form and show why ln⁡b+1b→0\frac{\ln b + 1}{b} \to 0. Do not just state it.

The long-run behaviour of a model is the other Paper 3 use. An earlier part sets the model up, and a later one asks what happens as t→∞t \to \infty.

Worked example 10. Paper 3 style. The concentration of a medicine in a patient's blood, tt hours after a dose, is modelled by C(t)=12te−0.5tC(t) = 12te^{-0.5t} mg per litre (invented model).

(a) Show that C′(t)=6(2−t)e−0.5tC'(t) = 6(2 - t)e^{-0.5t}, and hence find the greatest concentration.

(b) Find lim⁡t→∞C(t)\lim_{t \to \infty} C(t), and interpret it.

(c) Show that lim⁡t→∞ate−kt=0\lim_{t \to \infty} ate^{-kt} = 0 for all constants aa and k>0k > 0.

(a)C′(t)=12e−0.5t+12t(−0.5e−0.5t)=(12−6t)e−0.5t=6(2−t)e−0.5tproduct rule\text{(a)}\quad C'(t) = 12e^{-0.5t} + 12t\left(-0.5e^{-0.5t}\right) = (12 - 6t)e^{-0.5t} = 6(2 - t)e^{-0.5t} \qquad \textcolor{#838c91}{\text{product rule}}C′(t)=0  ⇒  t=2,C(2)=24e−1≈8.83 mg per litreC′ changes from + to − at t=2: a maximumC'(t) = 0 \;\Rightarrow\; t = 2, \quad C(2) = 24e^{-1} \approx 8.83 \text{ mg per litre} \qquad \textcolor{#838c91}{C'\text{ changes from + to − at }t = 2\text{: a maximum}}(b)lim⁡t→∞12te0.5t∞∞=lim⁡t→∞120.5e0.5t=0l’Hoˆpital\begin{aligned} &\text{(b)}\quad \lim_{t\to\infty} \frac{12t}{e^{0.5t}} && \textcolor{#838c91}{\frac{\infty}{\infty}} \\[6pt] &= \lim_{t\to\infty} \frac{12}{0.5e^{0.5t}} = 0 && \textcolor{#838c91}{\text{l'Hôpital}}\end{aligned}(c)lim⁡t→∞atekt=lim⁡t→∞akekt=0∞∞ for a≠0 (for a=0 it is 0 already); k>0 makes ekt→∞\text{(c)}\quad \lim_{t\to\infty} \frac{at}{e^{kt}} = \lim_{t\to\infty} \frac{a}{ke^{kt}} = 0 \qquad \textcolor{#838c91}{\frac{\infty}{\infty}\text{ for }a \neq 0\text{ (for }a = 0\text{ it is 0 already); }k > 0\text{ makes }e^{kt} \to \infty}

In context, (b) says the medicine clears from the blood in the long run: the tt-axis is a horizontal asymptote of the graph of CC. Part (c) is the Paper 3 habit of generalizing a result seen in a particular case.

6Limits from Maclaurin series

The guide allows a second method: replace each function by the start of its Maclaurin series. The formula booklet gives:

ex=1+x+x22!+x33!+…e^{x} = 1 + x + \frac{x^{2}}{2!} + \frac{x^{3}}{3!} + \ldotssin⁡x=x−x33!+x55!−…\sin x = x - \frac{x^{3}}{3!} + \frac{x^{5}}{5!} - \ldotscos⁡x=1−x22!+x44!−…\cos x = 1 - \frac{x^{2}}{2!} + \frac{x^{4}}{4!} - \ldotsln⁡(1+x)=x−x22+x33−…\ln(1+x) = x - \frac{x^{2}}{2} + \frac{x^{3}}{3} - \ldots
  • Figure 5 shows why this works for sin⁡x\sin x. Near 00, sin⁡x\sin x is almost exactly xx. x−x36x - \dfrac{x^{3}}{6} is closer still, and stays close for longer.
  • The error in using xx is roughly x36\dfrac{x^{3}}{6}. That tiny difference is exactly what the limit below measures.
Figure 5 · sin x against x and x − x³/6 x y −2 −1 1 2 3 −2 −1 1 2 y = x y = x − x³/6 y = sin x All three agree near 0. sin x and x differ by about x³/6, so (x − sin x)/x³ → 1/6.
Figure 5 · Near 0, sin x is almost a polynomial

Worked example 11. Paper 1. Find lim⁡x→0x−sin⁡xx3\lim_{x \to 0} \dfrac{x-\sin x}{x^{3}}.

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} + \ldotsx−sin⁡xx3=16−x2120+…divide every term by x3\frac{x - \sin x}{x^{3}} = \frac{1}{6} - \frac{x^{2}}{120} + \ldots \qquad \textcolor{#838c91}{\text{divide every term by }x^{3}}→16 as x→0\to \frac{1}{6} \text{ as } x \to 0

By l'Hôpital this needs three rounds: 1−cos⁡x3x2\dfrac{1-\cos x}{3x^{2}}, then sin⁡x6x\dfrac{\sin x}{6x}, then cos⁡x6→16\dfrac{\cos x}{6} \to \dfrac{1}{6}. Same answer, more steps.

Worked example 12. Find lim⁡x→0cos⁡2x−1+2x2x4\lim_{x \to 0} \dfrac{\cos 2x - 1 + 2x^{2}}{x^{4}}.

cos⁡2x=1−(2x)22+(2x)424−…=1−2x2+2x43−…replace x by 2x in the booklet series\cos 2x = 1 - \frac{(2x)^{2}}{2} + \frac{(2x)^{4}}{24} - \ldots = 1 - 2x^{2} + \frac{2x^{4}}{3} - \ldots \qquad \textcolor{#838c91}{\text{replace }x\text{ by }2x\text{ in the booklet series}}cos⁡2x−1+2x2=2x43−…  ⇒  23−…→23\cos 2x - 1 + 2x^{2} = \frac{2x^{4}}{3} - \ldots \;\Rightarrow\; \frac{2}{3} - \ldots \to \frac{2}{3}

L'Hôpital would need four rounds, each with a chain-rule factor. If the rule would be needed three or more times, the series is almost always quicker.

Worked example 13. Paper 1, "hence" style.

(a) Write down the Maclaurin series of e2xe^{2x} up to the term in x3x^{3}.

(b) Hence find the value of aa for which lim⁡x→0e2x−1−axx2\lim_{x \to 0} \dfrac{e^{2x} - 1 - ax}{x^{2}} is finite, and find the limit.

(a)e2x=1+2x+(2x)22!+(2x)33!+…=1+2x+2x2+4x33+…replace x by 2x in the booklet series\text{(a)}\quad e^{2x} = 1 + 2x + \frac{(2x)^{2}}{2!} + \frac{(2x)^{3}}{3!} + \ldots = 1 + 2x + 2x^{2} + \frac{4x^{3}}{3} + \ldots \qquad \textcolor{#838c91}{\text{replace }x\text{ by }2x\text{ in the booklet series}}(b)e2x−1−ax=(2−a)x+2x2+4x33+…use the series from (a), as "hence" requires\text{(b)}\quad e^{2x} - 1 - ax = (2-a)x + 2x^{2} + \frac{4x^{3}}{3} + \ldots \qquad \textcolor{#838c91}{\text{use the series from (a), as "hence" requires}}÷x2: 2−ax+2+4x3+…\div x^{2}:\ \frac{2-a}{x} + 2 + \frac{4x}{3} + \ldotsthe 2−ax term grows without bound unless a=2so a=2\text{the } \frac{2-a}{x} \text{ term grows without bound unless } a = 2 \qquad \textcolor{#838c91}{\text{so }a = 2}then the limit is 2\text{then the limit is } 2

Why a constant is forced

  • If the bottom →0\to 0 and the limit is finite, the top must →0\to 0 as well.
  • A non-zero number over something heading for 00 grows without bound.
  • It is also the quickest way to test continuity. Take the function that equals 1−cos⁡4xx2\dfrac{1-\cos 4x}{x^{2}} when x≠0x \neq 0 and bb when x=0x = 0. It is continuous only if bb equals the limit, 88 (two rounds, or the series).

7Choosing the method

Figure 6 is the decision in one picture.

Figure 6 · Finding lim f(x)/g(x) Substitute x = a (or let x → ∞) number ÷ non-zero that is the limit non-zero ÷ 0 no finite limit 0/0 or ∞/∞ indeterminate l'Hôpital's rule f′/g′, separately (one or two rounds) Maclaurin series cancel, read off (many rounds, or a k) substitute again Name the form after every substitution. Stop the moment it is a number over a non-zero number.
Figure 6 · How to attack any limit of f(x) ÷ g(x)

Practice questions

28 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.