When a limit of f(x)/g(x) has the form 0/0 or ∞/∞, it equals the limit of f′(x)/g′(x), if that limit exists (or is ±∞). The rule comes from difference quotients, works as x → ±∞ too, and can be repeated. Products such as x ln x and powers such as xˣ are rewritten first as ratios. It ranks rates of growth: ln x is slower than any positive power of x, and every power is slower than eᵖˣ for p > 0. But look before you L'Hôp: the rule only applies to indeterminate forms.
With the techniques of integration done, the course clears up loose ends; this one deals with infinity (transcript, p. 1). Limits such as xlnx as x→0+, xe−x and xlnx as x→∞ can be guessed with a calculator, but understanding them needs a tool: L'Hôpital's rule, also spelled L'Hospital, since the circumflex in French marks a dropped s (p. 1).
Take limx→1x2−1x10−1 (transcript, p. 1). Plugging in gives 00, an indeterminate form. Divide top and bottom by x−1: each becomes a difference quotient, which tends to a derivative. The top tends to 10x9=10 at x=1, the bottom to 2x=2, so the limit is 5 (pp. 1–2). In general, if f(a)=g(a)=0 (p. 2; the notes call this the easy version of the rule, notes, p. 1):
the limit as x goes to a of f(x) over g(x) equals the limit as x goes to a of the quantity the quantity f(x) minus f(a), all over the quantity x minus a, all over the quantity the quantity g(x) minus g(a), all over the quantity x minus a, equals f prime (a) over the quantity g prime (a)
The lecture's Version 1, which it calls much better, drops the condition on g′(a) (transcript, p. 3):
L'Hôpital's rule
x→alimg(x)f(x)=x→alimg′(x)f′(x)if f(a)=g(a)=0 and the right-hand limit exists
In words
the limit as x goes to a of f(x) over g(x) equals the limit as x goes to a of f prime (x) over the quantity g prime (x), if f(a) equals g(a) equals 0 and the right-hand limit exists
Differentiate the numerator and the denominator separately: this is nothing like the quotient rule (p. 3). For example, limx→0sin2xsin5x=limx→02cos2x5cos5x=25 (p. 4). The rule may be used again if the new ratio is still indeterminate:
Applying the rule twice
x2cosx−1∼2x−sinx∼2−cosx→−21(x→0)
In words
the quantity cos x minus 1, all over x squared is of order minus sine x over the quantity 2 x, is of order minus cos x over 2 goes to minus one half (x goes to 0)
The logic runs backwards: once the last limit exists, so does the one before it, and so on back to the original (pp. 4–5). Neither f′(a) nor even f(a) and g(a) themselves need to exist; what matters is the behaviour near a (p. 5). (On p. 4 the lecturer first writes x→1 in the sine example and is corrected to x→0.) The method of approximations gives the same answers: sinu≈u makes sin2xsin5x≈2x5x, and cosx≈1−2x2 makes x2cosx−1≈−21 (p. 6; notes, pp. 2–3).
The rule also holds when a=±∞, when f and g both tend to ±∞ (the form ∞∞), and when the right-hand limit is ±∞; only wild oscillation defeats it (transcript, pp. 6–7). It applies only to the forms 00 and ∞∞ (p. 9).
the limit as x goes to 0 from the right of x log x equals the limit as x goes to 0 from the right of log x over the quantity 1 over x, equals the limit as x goes to 0 from the right of the quantity 1 over x, all over the quantity minus 1 over x squared, equals the limit as x goes to 0 from the right of (-x) equals 0
The 0 wins (p. 7). The notes add that the other choice, 1/lnxx, leads nowhere (notes, p. 4). For a moving exponent, such as xx (the form 00), use base e: xx=exlnx, and since xlnx→0, xx→e0=1 (transcript, pp. 9–10; notes, p. 4). Forms like 1∞ and 0⋅∞ are handled with the same algebra, exponentials and logarithms (notes, p. 4).
With p>0, xe−px=epxx is ∞∞, and one step gives pepx1→0: x grows more slowly than epx (transcript, p. 8). Against x100, rather than differentiating 100 times, take a 100th root first (p. 8):
the limit as x goes to infinity of e to the power p x over x to the power 100 equals the limit as x goes to infinity of ( the quantity e to the power p x over 100, end of power, all over x ) to the power 100 equals the limit as x goes to infinity of ( p over 100, times e to the power p x over 100, end of power, ) to the power 100 equals infinity
the limit as x goes to infinity of log x over the quantity x to the power one third, equals the limit as x goes to infinity of the quantity 1 over x, all over the quantity one third x to the power minus two thirds, equals the limit as x goes to infinity of 3 x to the power minus one third equals 0
Apply the rule twice to x2sinx as x→0 and you get 2xcosx, then 2−sinx→0. But sinx≈x says x2sinx≈x1, which blows up (transcript, p. 10; notes, p. 3). The second step was wrong: 2xcosx is of the form 01, not indeterminate, so the rule did not apply (p. 10). Look before you L'Hôp.
And do not use the rule as a crutch. For an expression like x4+2x5+2x4+1 as x→∞ (reconstructed here from the lecture's working), the main terms x4x5=x show at once that it tends to infinity, without four rounds of differentiation (p. 11).
Worked example
Four limits
Find (a) limx→0x2ex−1−x, (b) limx→∞x2e−x, (c) limx→∞(1+x1)x, and (d) check (a) numerically at x=0.1.
(a) Twice
00: 2xex−1 is still 00; again, 2ex→21.
(b) A product
exx2 is ∞∞: ex2x, then ex2→0.
(c) The form 1 to the power infinity
Use base e: the exponent is xln(1+x1)=1/xln(1+1/x), of the form 00. Differentiating top and bottom, 1+1/x−1/x2 over −x21 gives 1+1/x1→1. So the limit is e1=e≈2.718.
(d) A check
At x=0.1: 0.01e0.1−1.1=0.011.105171−1.1≈0.517, close to 21, as it should be.
Today: the present time, about 13.8 billion years after the Big Bang in the real universe (simple models on some pages give other ages). Unit: s (usually billions of years).Say it: “t nought”.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
Replacing a function near a point by the straight line, or flat plane, that best matches it there, using its first derivatives. Explained in Change of variables in double integrals.
A universe with exactly the critical density, whose space has no curvature and which expands forever, ever more slowly. Explained in Open, closed and flat universes.
In terms of actual numbers rather than symbols; often worked out step by step, by computer, instead of from an exact formula.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).