Differential Calculus 201-SN2-RE • CEGEP, Montreal

Corrected exercises: L'Hôpital's rule and indeterminate forms (201-SN2-RE)

Here are fifteen corrected exercises on indeterminate forms and L'Hôpital's rule, as the differential calculus course 201-SN2-RE (formerly 201-NYA) requires them. The chapter comes at its natural place: the differentiation rules have just been established, and the first thing you do with them is use them to compute limits that algebra cannot resolve.

Exercise 0.1 opens the set with twelve limits to compute directly with L'Hôpital's rule, as in textbook drill lists: algebraic 00\frac{0}{0} forms, with a root, trigonometric, exponential and logarithmic, two successive differentiations for x21−cos⁡3x\frac{x^{2}}{1-\cos 3x}, ∞∞\frac{\infty}{\infty} forms between exponential, power and logarithm, then the forms 0⋅∞0\cdot\infty, ∞−∞\infty-\infty, 1∞1^{\infty} with (cos⁡x)1x2(\cos x)^{\frac{1}{x^{2}}} and 000^{0}, each with its value to find and checked on the spot.

Part A sorts and equips: recognizing a form, stating the rule and its hypotheses, rewriting a product or a difference as a quotient, handling transcendental functions, going through the logarithm for the exponential forms. Part B puts it all to work: growth rates, oblique asymptotes, differentiable extension, and a physics problem where the limit without air resistance gives back free fall. Part C takes on the classics: the three ways the rule fails, the pocket-sized expansion, the order of contact, the catenary and continuous interest.

The thread of the set: L'Hôpital's rule is not a rule for computing limits, it is a cure for one specific pathology. Two moves follow from that and come back from one exercise to the next. Check the indeterminate form BEFORE every differentiation, because applied to a healthy limit the rule gives a result that has nothing to do with it. And ask yourself whether the limit is not, in disguise, a derivative you already know, in which case applying the rule would be circular.

16 corrected exercises • 160 points • 225 minutes

This chapter is part of 201-SN2-RE, every chapter with its set and sheet Before you start Revision sheet: the traps and the method for this chapter

Self-checking set Type your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.

Course recap

  • • Indeterminate forms: 00\dfrac{0}{0}, ∞∞\dfrac{\infty}{\infty}, 0⋅∞0\cdot\infty, ∞−∞\infty-\infty, 000^{0}, 1∞1^{\infty}, ∞0\infty^{0}. Everything else is settled by substitution.
  • • L'Hôpital's rule: if the form is 00\dfrac{0}{0} or ∞∞\dfrac{\infty}{\infty}, if ff and gg are differentiable near aa with g′≠0g'\neq 0, and if lim⁡f′g′\lim\dfrac{f'}{g'} EXISTS, then lim⁡fg=lim⁡f′g′\lim\dfrac{f}{g}=\lim\dfrac{f'}{g'}.
  • • Differentiate the top and the bottom SEPARATELY: this is not the quotient rule. And check the form again before every new round.
  • • Product 0⋅∞0\cdot\infty: move to the denominator the factor whose derivative complicates the expression. Difference ∞−∞\infty-\infty: common denominator, factoring or conjugate.
  • • Exponential forms: set y=fgy=f^{g}, compute lim⁡ln⁡y=gln⁡f\lim\ln y=g\ln f, then conclude lim⁡y=eL\lim y=e^{L}. Never forget the last step.
  • • A derivative in disguise, lim⁡x→af(x)−f(a)x−a=f′(a)\lim_{x\to a}\dfrac{f(x)-f(a)}{x-a}=f'(a), is read off the table without any computation, and L'Hôpital's rule would be circular on it.
  • • Growth rates: ln⁡x≪xp≪bx\ln x\ll x^{p}\ll b^{x} for all p>0p>0 and b>1b>1. Between two exponentials, the larger base wins.
  • • Oblique asymptote: a=lim⁡f(x)xa=\lim\dfrac{f(x)}{x}, then b=lim⁡(f(x)−ax)b=\lim\left(f(x)-ax\right), both limits being almost always indeterminate.
  • • Three ways to fail: the rule goes in circles, the quotient of derivatives has no limit, or every round makes things worse. Remedies: algebra, squeezing, change of variable.
  • • Order of contact: lim⁡f−g(x−a)n=C≠0\lim\dfrac{f-g}{(x-a)^{n}}=C\neq 0 gives the order nn, which is the order of the first derivatives that stop agreeing.

Calculations: limits to resolve with L'Hôpital's rule

Exercise 0.1: Applying L'Hôpital's rule: twelve direct calculations

For each limit, name the indeterminate form obtained by substitution, apply L'Hôpital's rule as many times as necessary, then give the value of the limit.

One method for all twelve lines: substitute first and name the form; if it is not 00\frac{0}{0} or ∞∞\frac{\infty}{\infty}, rewrite it as a quotient (move a factor down for 0⋅∞0\cdot\infty, common denominator for ∞−∞\infty-\infty, logarithm for the exponential forms); differentiate the numerator and the denominator SEPARATELY; substitute again, and start over only if the form is still indeterminate.

  • a) lim⁡x→2x4−16x3−8\lim_{x\to 2}\frac{x^{4}-16}{x^{3}-8}.
  • b) lim⁡x→42x+1−3x−4\lim_{x\to 4}\frac{\sqrt{2x+1}-3}{x-4}.
  • c) lim⁡x→0tan⁡2xsin⁡5x\lim_{x\to 0}\frac{\tan 2x}{\sin 5x}.
  • d) lim⁡x→0e3x−e−xsin⁡2x\lim_{x\to 0}\frac{e^{3x}-e^{-x}}{\sin 2x}.
  • e) lim⁡x→1ln⁡xx2−1\lim_{x\to 1}\frac{\ln x}{x^{2}-1}.
  • f) lim⁡x→0x21−cos⁡3x\lim_{x\to 0}\frac{x^{2}}{1-\cos 3x}.
  • g) lim⁡x→+∞e3xx2+4\lim_{x\to+\infty}\frac{e^{3x}}{x^{2}+4}.
  • h) lim⁡x→+∞ln⁡xx3\lim_{x\to+\infty}\frac{\ln x}{\sqrt[3]{x}}.
  • i) lim⁡x→1(1−x)tan⁡(πx2)\lim_{x\to 1}(1-x)\tan\left(\frac{\pi x}{2}\right).
  • j) lim⁡x→0(1ex−1−1x)\lim_{x\to 0}\left(\frac{1}{e^{x}-1}-\frac{1}{x}\right).
  • k) lim⁡x→0(cos⁡x)1x2\lim_{x\to 0}\left(\cos x\right)^{\frac{1}{x^{2}}}.
  • l) lim⁡x→0+x31+ln⁡x\lim_{x\to 0^{+}}x^{\frac{3}{1+\ln x}}.

Type your answers, the page tells you right or wrong 0/12

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
k)
l)
Show the solution

Answers

  • a) 4x3\frac{4x}{3} at 22; 83≈2.667\frac{8}{3}\approx 2.667
  • b) 12x+1\frac{1}{\sqrt{2x+1}} at 44; 13\frac{1}{3}
  • c) 2sec⁡2(2x)5cos⁡(5x)\frac{2\sec^{2}(2x)}{5\cos(5x)} at 00; 25\frac{2}{5}
  • d) 3e3x+e−x2cos⁡2x\frac{3e^{3x}+e^{-x}}{2\cos 2x} at 00; 22
  • e) 12x2\frac{1}{2x^{2}} at 11; 12\frac{1}{2}
  • f) 29cos⁡3x\frac{2}{9\cos 3x} at 00, after two rounds; 29\frac{2}{9}
  • g) 9e3x2\frac{9e^{3x}}{2}, after two rounds; +∞+\infty
  • h) 3x3\frac{3}{\sqrt[3]{x}}; 00
  • i) 1−xcot⁡(πx2)\frac{1-x}{\cot\left(\frac{\pi x}{2}\right)}; 2π≈0.637\frac{2}{\pi}\approx 0.637
  • j) x−ex+1x(ex−1)\frac{x-e^{x}+1}{x\left(e^{x}-1\right)}, two rounds; −12-\frac{1}{2}
  • k) ln⁡y→−12\ln y\to-\frac{1}{2}; e−12≈0.607e^{-\frac{1}{2}}\approx 0.607
  • l) ln⁡y→3\ln y\to 3; e3≈20.086e^{3}\approx 20.086

The move that decides everything happens BEFORE you differentiate: substitute and name the form. Only 00\frac{0}{0} and ∞∞\frac{\infty}{\infty} allow the rule; the five other forms are first rewritten as a quotient, and the check is done again before EVERY new differentiation.

a)

Form 00\frac{0}{0}. Differentiate: 4x33x2=4x3→83≈2.667\frac{4x^{3}}{3x^{2}}=\frac{4x}{3}\to\frac{8}{3}\approx 2.667.

b)

Form 00\frac{0}{0}. Differentiate: 222x+11=12x+1→13≈0.333\frac{\frac{2}{2\sqrt{2x+1}}}{1}=\frac{1}{\sqrt{2x+1}}\to\frac{1}{3}\approx 0.333. Pitfall: forgetting the factor 22 from the inner derivative, which gives 16\frac{1}{6}.

c)

Form 00\frac{0}{0}. Differentiate: 2sec⁡2(2x)5cos⁡(5x)→25\frac{2\sec^{2}(2x)}{5\cos(5x)}\to\frac{2}{5}.

d)

Form 1−10=00\frac{1-1}{0}=\frac{0}{0}. Differentiate: 3e3x+e−x2cos⁡2x→3+12=2\frac{3e^{3x}+e^{-x}}{2\cos 2x}\to\frac{3+1}{2}=2. Pitfall: (e−x)′=−e−x\left(e^{-x}\right)'=-e^{-x}, and the minus sign of the difference turns it into a plus.

e)

Form 00\frac{0}{0}, since ln⁡1=0\ln 1=0. Differentiate: 1x2x=12x2→12\frac{\frac{1}{x}}{2x}=\frac{1}{2x^{2}}\to\frac{1}{2}.

f)

Form 00\frac{0}{0}. Differentiate: 2x3sin⁡3x\frac{2x}{3\sin 3x}, still 00\frac{0}{0}; differentiate again: 29cos⁡3x→29≈0.222\frac{2}{9\cos 3x}\to\frac{2}{9}\approx 0.222. Pitfall: stopping after the first round, or forgetting the 33 at each differentiation of the cosine.

g)

Form ∞∞\frac{\infty}{\infty}. Differentiate: 3e3x2x\frac{3e^{3x}}{2x}, still ∞∞\frac{\infty}{\infty}; differentiate again: 9e3x2→+∞\frac{9e^{3x}}{2}\to+\infty. The exponential beats any power.

h)

Form ∞∞\frac{\infty}{\infty}. Differentiate: 1x13x−23=3x13→0\frac{\frac{1}{x}}{\frac{1}{3}x^{-\frac{2}{3}}}=\frac{3}{x^{\frac{1}{3}}}\to 0. The logarithm loses against any positive power, even x13x^{\frac{1}{3}}.

i)

Form 0⋅∞0\cdot\infty. Turn the tangent into a cotangent: 1−xcot⁡(πx2)\frac{1-x}{\cot\left(\frac{\pi x}{2}\right)}, of the form 00\frac{0}{0}. Differentiate: −1−π2csc⁡2(πx2)→2π≈0.637\frac{-1}{-\frac{\pi}{2}\csc^{2}\left(\frac{\pi x}{2}\right)}\to\frac{2}{\pi}\approx 0.637. Pitfall: the factor π2\frac{\pi}{2} from the inner derivative.

j)

Form ∞−∞\infty-\infty. Common denominator: x−ex+1x(ex−1)\frac{x-e^{x}+1}{x\left(e^{x}-1\right)}, of the form 00\frac{0}{0}. Differentiate: 1−exex−1+xex\frac{1-e^{x}}{e^{x}-1+xe^{x}}, still 00\frac{0}{0}; differentiate again: −ex2ex+xex→−12\frac{-e^{x}}{2e^{x}+xe^{x}}\to-\frac{1}{2}.

k)

Form 1∞1^{\infty}. Set y=(cos⁡x)1x2y=(\cos x)^{\frac{1}{x^{2}}}, so ln⁡y=ln⁡(cos⁡x)x2\ln y=\frac{\ln(\cos x)}{x^{2}}, of the form 00\frac{0}{0}. Differentiate: −tan⁡x2x\frac{-\tan x}{2x}, still 00\frac{0}{0}; differentiate again: −sec⁡2x2→−12\frac{-\sec^{2}x}{2}\to-\frac{1}{2}. Therefore y→e−12≈0.607y\to e^{-\frac{1}{2}}\approx 0.607. Pitfall: answering −12-\frac{1}{2}, the limit of the logarithm and not that of yy.

l)

Form 000^{0}, since ln⁡x→−∞\ln x\to-\infty makes the exponent tend to zero. Set ln⁡y=3ln⁡x1+ln⁡x\ln y=\frac{3\ln x}{1+\ln x}, of the form ∞∞\frac{\infty}{\infty}. Differentiate: 3x1x=3\frac{\frac{3}{x}}{\frac{1}{x}}=3. Therefore y→e3≈20.086y\to e^{3}\approx 20.086. Pitfall: believing that a 000^{0} form is always worth 11.

Check: on the calculator, evaluate the original expression very close to the point, for example at a+0.001a+0.001, or for a large value of xx; the number displayed must approach the limit you found. For the exponential forms, convergence is slow: check the limit of ln⁡y\ln y instead.

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.

Part A: the basics (/50)

Exercise 1: Indeterminate, determinate, or a derivative in disguise?

Before differentiating anything, you have to sort. A limit can be DETERMINATE, and be obtained by plain substitution; INDETERMINATE, and call for a tool; or be nothing more than a DERIVATIVE in disguise, that is, the limit lim⁡x→af(x)−f(a)x−a=f′(a)\lim_{x\to a}\dfrac{f(x)-f(a)}{x-a}=f'(a) written backwards.

That third case is the most interesting one in the course: you recognize it, you read the answer in the table of derivatives, and there is nothing to compute.

  • a) Compute lim⁡x→01+x−1x\lim_{x\to 0}\dfrac{\sqrt{1+x}-1}{x} by recognizing it as a derivative at a point. Which function, at which point?
  • b) Do the same for lim⁡x→2x5−32x−2\lim_{x\to 2}\dfrac{x^{5}-32}{x-2} and for lim⁡h→0sin⁡(π6+h)−12h\lim_{h\to 0}\dfrac{\sin\left(\frac{\pi}{6}+h\right)-\frac{1}{2}}{h}.
  • c) Among these four limits, which ones are indeterminate? lim⁡x→0x+1x2+3\lim_{x\to 0}\dfrac{x+1}{x^{2}+3}, lim⁡x→0+ln⁡xx\lim_{x\to 0^{+}}\dfrac{\ln x}{x}, lim⁡x→∞2x3+x7x3−4\lim_{x\to\infty}\dfrac{2x^{3}+x}{7x^{3}-4}, lim⁡x→01−cos⁡xx\lim_{x\to 0}\dfrac{1-\cos x}{x}. Conclude for those that are not.
  • d) Compute the two that remain, with the appropriate method.
  • e) A student writes: “the limit is indeterminate, so it does not exist”. Refute this, and propose the correct wording.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
Show the solution

Answers

  • a) 12\dfrac{1}{2}, the derivative of 1+x\sqrt{1+x} at 00
  • b) 8080 and 32\dfrac{\sqrt{3}}{2}
  • c) Only the third and the fourth are indeterminate
  • d) 27\dfrac{2}{7} and 00
  • e) “Indeterminate” describes the FORM, not the limit: it says that work is needed
a)

You recognize f(x)−f(0)x−0\dfrac{f(x)-f(0)}{x-0} with f(x)=1+xf(x)=\sqrt{1+x} and f(0)=1f(0)=1. The limit is therefore f′(0)f'(0). Now f′(x)=121+xf'(x)=\dfrac{1}{2\sqrt{1+x}}, so f′(0)=12f'(0)=\dfrac{1}{2}. No manipulation, no differentiation of the quotient: the table of derivatives has already done the work.

b)

First limit: x5−25x−2\dfrac{x^{5}-2^{5}}{x-2} is the difference quotient of f(x)=x5f(x)=x^{5} between 22 and xx, so the limit is f′(2)=5×24=80f'(2)=5\times 2^{4}=80. Second: sin⁡(π6+h)−sin⁡π6h\dfrac{\sin\left(\frac{\pi}{6}+h\right)-\sin\frac{\pi}{6}}{h} is the difference quotient of the sine at π6\dfrac{\pi}{6}, so the limit is cos⁡π6=32≈0.866\cos\dfrac{\pi}{6}=\dfrac{\sqrt{3}}{2}\approx 0.866. The signal to remember: a −- followed by the value of the function at the point, divided by the distance to the point, almost always announces a derivative.

c)

x+1x2+3\dfrac{x+1}{x^{2}+3} at 00 equals 13\dfrac{1}{3} by substitution: DETERMINATE. ln⁡xx\dfrac{\ln x}{x} at 0+0^{+} gives −∞0+\dfrac{-\infty}{0^{+}}, which is not an indeterminate form: the limit is −∞-\infty. The other two are indeterminate: ∞∞\dfrac{\infty}{\infty} for the third, 00\dfrac{0}{0} for the fourth. Watch the trap in the second one: 00\dfrac{0}{0} is indeterminate, but nonzero0\dfrac{\text{nonzero}}{0} never is.

d)

lim⁡x→∞2x3+x7x3−4\lim_{x\to\infty}\dfrac{2x^{3}+x}{7x^{3}-4} is settled by ALGEBRA, factoring x3x^{3} out of the top and the bottom: the limit is 27\dfrac{2}{7}. L'Hôpital's rule would give the same result in three differentiations, which would be a waste. lim⁡x→01−cos⁡xx\lim_{x\to 0}\dfrac{1-\cos x}{x} is indeed 00\dfrac{0}{0}; differentiating top and bottom, sin⁡x1→0\dfrac{\sin x}{1}\to 0. The limit is 00, and the example shows that an indeterminate form can perfectly well have a finite limit, zero included.

e)

The sentence confuses the FORM and the LIMIT. “Indeterminate” describes the expression obtained by substitution, not the behaviour of the function: it only means that substitution is not enough to conclude, and that one more tool is needed. The three limits lim⁡x→0x2x=0\lim_{x\to 0}\dfrac{x^{2}}{x}=0, lim⁡x→0xx=1\lim_{x\to 0}\dfrac{x}{x}=1 and lim⁡x→0xx3=∞\lim_{x\to 0}\dfrac{x}{x^{3}}=\infty are all of the form 00\dfrac{0}{0} and have three different behaviours: that is exactly what the word “indeterminate” describes. Correct wording: “substitution gives the indeterminate form 00\dfrac{0}{0}, so the indeterminate form must be resolved”, then you state the result. A limit can also fail to exist, like lim⁡x→0sin⁡1x\lim_{x\to 0}\sin\dfrac{1}{x}, but that is not the same thing, and it has to be proved.

Exercise 2: L'Hôpital's rule, its hypotheses, and the circular argument it hides

RULE. If lim⁡x→af(x)g(x)\lim_{x\to a}\dfrac{f(x)}{g(x)} has the form 00\dfrac{0}{0} or ∞∞\dfrac{\infty}{\infty}, if ff and gg are differentiable near aa except possibly at aa, if g′g' is never zero there, and if lim⁡x→af′(x)g′(x)\lim_{x\to a}\dfrac{f'(x)}{g'(x)} exists, 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)}.

You differentiate the NUMERATOR and the DENOMINATOR separately. This is not the quotient rule.

  • a) Compute lim⁡x→0e2x−1−2xx2\lim_{x\to 0}\dfrac{e^{2x}-1-2x}{x^{2}}, stating the form obtained BEFORE each differentiation.
  • b) A student computes lim⁡x→1x2+3x+1\lim_{x\to 1}\dfrac{x^{2}+3}{x+1} with L'Hôpital's rule and finds 2x1=2\dfrac{2x}{1}=2. Where is the mistake, and what is this limit really?
  • c) Another one computes lim⁡x→0ex−1x\lim_{x\to 0}\dfrac{e^{x}-1}{x} by applying the QUOTIENT rule to the expression. Explain the confusion.
  • d) A third one, for lim⁡x→0sin⁡3xx\lim_{x\to 0}\dfrac{\sin 3x}{x}, applies L'Hôpital's rule and gets 3cos⁡3x→33\cos 3x\to 3. The result is right. Why is this reasoning nevertheless CIRCULAR?
  • e) State, in one sentence, the rule of conduct that these three cases impose.

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
Show the solution

Answers

  • a) 22, after two differentiations
  • b) No indeterminate form: the limit is 22 by substitution, the student's result is right BY CHANCE
  • c) The quotient rule differentiates the EXPRESSION, L'Hôpital's rule differentiates top and bottom SEPARATELY
  • d) The derivative of the sine was established from this very limit
  • e) Check the indeterminate form before EVERY differentiation, and ask where the derivative being used comes from
a)

At x=0x=0: the numerator equals 1−1−0=01-1-0=0 and the denominator 00: form 00\dfrac{0}{0}, the rule applies. Differentiate: 2e2x−22x\dfrac{2e^{2x}-2}{2x}, which is still 00\dfrac{0}{0} at 00: CHECK, and start over. 4e2x2→42=2\dfrac{4e^{2x}}{2}\to\dfrac{4}{2}=2. The limit is 22. The move you must never skip is the intermediate check: you may apply the rule again as many times as the indeterminate form PERSISTS, but only once you have made sure of it.

b)

The mistake is to apply the rule without checking for an indeterminate form. At x=1x=1, the numerator equals 44 and the denominator 22: the form is 42\dfrac{4}{2}, perfectly determinate, and since the function is continuous at 11, the limit is obtained by substitution: it is 22. The student also finds 22, but through wrong reasoning: it is a coincidence, and the same procedure on lim⁡x→1x2+3x+3\lim_{x\to 1}\dfrac{x^{2}+3}{x+3} would give 21=2\dfrac{2}{1}=2 instead of 11. A method that lands on the right answer by chance is worth zero marks.

c)

The quotient rule is used to DIFFERENTIATE a function that is a quotient; L'Hôpital's rule is used to compute a LIMIT of a quotient, and it requires differentiating the top and the bottom SEPARATELY. The two have neither the same purpose nor the same result: here the quotient rule would give xex−(ex−1)x2\dfrac{xe^{x}-(e^{x}-1)}{x^{2}}, which is the derivative of the function, not its limit at 00. The confusion comes from the fact that both statements talk about “differentiating a quotient”; the cure is to ask yourself each time what you are looking for, a derivative function or a limit value.

d)

Because the derivative of the sine was ESTABLISHED from the limit lim⁡x→0sin⁡xx=1\lim_{x\to 0}\dfrac{\sin x}{x}=1, proved by the Squeeze Theorem in the chapter on limits. Using (sin⁡u)′=cos⁡u(\sin u)'=\cos u to prove again a limit of this family assumes what you want to prove. The result, 33, is indeed correct; it is the PROOF that is flawed. The proper write-up sets u=3xu=3x and invokes the special limit: sin⁡3xx=3⋅sin⁡3x3x→3×1=3\dfrac{\sin 3x}{x}=3\cdot\dfrac{\sin 3x}{3x}\to 3\times 1=3. The same warning applies to lim⁡x→0ex−1x\lim_{x\to 0}\dfrac{e^{x}-1}{x} and lim⁡x→0ln⁡(1+x)x\lim_{x\to 0}\dfrac{\ln(1+x)}{x}, which ARE the derivatives that were used to build the table.

e)

The rule of conduct comes in two steps. First: CHECK the indeterminate form before every differentiation, never just once at the start. Second: before applying the rule, ask yourself whether the limit is not itself the derivative that was used to establish the derivative you are about to use; if so, conclude directly from the definition or from the special limit, without going through L'Hôpital's rule.

Exercise 3: The forms 0·∞ and ∞ − ∞: turn everything into a quotient

The rule handles ONLY the forms 00\dfrac{0}{0} and ∞∞\dfrac{\infty}{\infty}. The other indeterminate forms are brought back to these by rewriting.

For a product 0⋅∞0\cdot\infty, move one of the two factors to the denominator: uv=u1/vuv=\dfrac{u}{1/v}. For a difference ∞−∞\infty-\infty, use a common denominator, factor, or multiply by the conjugate.

  • a) Compute lim⁡x→0+x ln⁡x\lim_{x\to 0^{+}}\sqrt{x}\,\ln x. Two rewritings are possible: try both and say which one works.
  • b) Compute lim⁡x→∞x(π2−arctan⁡x)\lim_{x\to\infty}x\left(\dfrac{\pi}{2}-\arctan x\right).
  • c) Compute lim⁡x→1(1ln⁡x−1x−1)\lim_{x\to 1}\left(\dfrac{1}{\ln x}-\dfrac{1}{x-1}\right).
  • d) Compute lim⁡x→∞(x−x2−4x)\lim_{x\to\infty}\left(x-\sqrt{x^{2}-4x}\right). Why is L'Hôpital's rule the wrong tool here?
  • e) Sum up in one sentence the criterion that decides which factor to move in a product.

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
Show the solution

Answers

  • a) 00; only the rewriting ln⁡xx−1/2\dfrac{\ln x}{x^{-1/2}} works
  • b) 11
  • c) 12\dfrac{1}{2}
  • d) 22; the conjugate is faster and safer
  • e) Move down the factor whose derivative COMPLICATES the expression, keep on top the one it simplifies
a)

Form 0⋅(−∞)0\cdot(-\infty). First rewriting, x1/ln⁡x\dfrac{\sqrt{x}}{1/\ln x}: the derivative of the denominator is −1x(ln⁡x)2-\dfrac{1}{x(\ln x)^{2}}, and the quotient of derivatives becomes −x(ln⁡x)22x-\dfrac{x(\ln x)^{2}}{2\sqrt{x}}, worse than at the start. Second rewriting, ln⁡xx−1/2\dfrac{\ln x}{x^{-1/2}}, of the form −∞+∞\dfrac{-\infty}{+\infty}: differentiate, 1/x−12x−3/2=−2x1/2→0\dfrac{1/x}{-\frac{1}{2}x^{-3/2}}=-2x^{1/2}\to 0. The limit is 00. The logarithm SIMPLIFIES when differentiated, the root does not: the logarithm is the one to keep on top.

b)

Form ∞⋅0\infty\cdot 0, since arctan⁡x→π2\arctan x\to\dfrac{\pi}{2}. Move the factor xx down: π2−arctan⁡x1/x\dfrac{\frac{\pi}{2}-\arctan x}{1/x}, of the form 00\dfrac{0}{0}. Differentiate: −11+x2−1x2=x21+x2→1\dfrac{-\frac{1}{1+x^{2}}}{-\frac{1}{x^{2}}}=\dfrac{x^{2}}{1+x^{2}}\to 1. The limit is 11, which can also be read this way: the gap between arctan⁡x\arctan x and its asymptote decreases like 1x\dfrac{1}{x}.

c)

Form ∞−∞\infty-\infty, both terms diverging at 11. Use a common denominator: (x−1)−ln⁡x(x−1)ln⁡x\dfrac{(x-1)-\ln x}{(x-1)\ln x}, of the form 00\dfrac{0}{0}. Differentiate: 1−1xln⁡x+x−1x=x−1xln⁡x+x−1\dfrac{1-\frac{1}{x}}{\ln x+\frac{x-1}{x}}=\dfrac{x-1}{x\ln x+x-1}, still 00\dfrac{0}{0}. Differentiate again: 1ln⁡x+1+1→12\dfrac{1}{\ln x+1+1}\to\dfrac{1}{2}. The limit is 12\dfrac{1}{2}. Going to a common denominator is compulsory: differentiating each term separately makes no sense, the rule is about a QUOTIENT.

d)

Form ∞−∞\infty-\infty. The conjugate: x−x2−4x=x2−(x2−4x)x+x2−4x=4xx+x2−4xx-\sqrt{x^{2}-4x}=\dfrac{x^{2}-(x^{2}-4x)}{x+\sqrt{x^{2}-4x}}=\dfrac{4x}{x+\sqrt{x^{2}-4x}}. Dividing top and bottom by xx, the denominator tends to 22 and the limit is 22. L'Hôpital's rule would be the wrong tool for two reasons: you would first have to rewrite the difference as a quotient, which is already the conjugate's job; and differentiating a square root gives back a square root, so that the expression never simplifies and the rule goes in circles. Practical rule: faced with a difference of two roots, or of a root and a polynomial, ALWAYS try the conjugate first.

e)

The criterion: move to the denominator the factor whose derivative COMPLICATES the expression, and keep on top the one whose derivative simplifies it. A logarithm simplifies when differentiated, and so does a power; an exponential and a root do not. When in doubt, try, and give up as soon as the quotient of derivatives is heavier than the original.

Exercise 4: Transcendental functions at work: exponential, logarithm and arctangent

The previous chapter gave the derivatives of the transcendental functions. These four limits put them all to use, and each one asks you to count the rounds before concluding.

  • a) Compute lim⁡x→0arctan⁡x−xx3\lim_{x\to 0}\dfrac{\arctan x-x}{x^{3}}.
  • b) Compute lim⁡x→0ln⁡(1+x)−xx2\lim_{x\to 0}\dfrac{\ln(1+x)-x}{x^{2}}.
  • c) Compute lim⁡x→∞x2(e1/x−1−1x)\lim_{x\to\infty}x^{2}\left(e^{1/x}-1-\dfrac{1}{x}\right).
  • d) Compute lim⁡x→∞ln⁡(x2+1)ln⁡(x3+x)\lim_{x\to\infty}\dfrac{\ln(x^{2}+1)}{\ln(x^{3}+x)}.
  • e) Each of the first three limits is negative or positive, and that sign means something precise. What do they say about the graph of each function relative to its tangent line at 00?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) −13-\dfrac{1}{3}
  • b) −12-\dfrac{1}{2}
  • c) 12\dfrac{1}{2}
  • d) 23\dfrac{2}{3}
  • e) Negative sign: the curve lies BELOW its tangent line. Positive sign: above it
a)

Form 00\dfrac{0}{0}. Differentiate: 11+x2−13x2=−x23x2(1+x2)=−13(1+x2)→−13\dfrac{\frac{1}{1+x^{2}}-1}{3x^{2}}=\dfrac{-x^{2}}{3x^{2}(1+x^{2})}=\dfrac{-1}{3(1+x^{2})}\to-\dfrac{1}{3}. Simplifying ALGEBRAICALLY after the first differentiation saves two rounds of the rule: it always pays to check whether the quotient of derivatives simplifies before differentiating again.

b)

Form 00\dfrac{0}{0}. Differentiate: 11+x−12x=−x2x(1+x)=−12(1+x)→−12\dfrac{\frac{1}{1+x}-1}{2x}=\dfrac{-x}{2x(1+x)}=\dfrac{-1}{2(1+x)}\to-\dfrac{1}{2}. Same remark: the simplification falls into place by itself.

c)

Form ∞⋅0\infty\cdot 0. Set u=1xu=\dfrac{1}{x}, which tends to 0+0^{+}: the expression becomes eu−1−uu2\dfrac{e^{u}-1-u}{u^{2}}, of the form 00\dfrac{0}{0}. Differentiate: eu−12u\dfrac{e^{u}-1}{2u}, still 00\dfrac{0}{0}; differentiate again: eu2→12\dfrac{e^{u}}{2}\to\dfrac{1}{2}. The change of variable is safer here than moving a factor down directly, because it replaces a limit at infinity by a limit at zero, where forms are easier to read.

d)

Form ∞∞\dfrac{\infty}{\infty}. Differentiate: 2xx2+13x2+1x3+x=2x(x3+x)(x2+1)(3x2+1)=2x2(x2+1)(x2+1)(3x2+1)=2x23x2+1→23\dfrac{\frac{2x}{x^{2}+1}}{\frac{3x^{2}+1}{x^{3}+x}}=\dfrac{2x(x^{3}+x)}{(x^{2}+1)(3x^{2}+1)}=\dfrac{2x^{2}(x^{2}+1)}{(x^{2}+1)(3x^{2}+1)}=\dfrac{2x^{2}}{3x^{2}+1}\to\dfrac{2}{3}. You could also conclude without differentiating: ln⁡(x2+1)∼2ln⁡x\ln(x^{2}+1)\sim 2\ln x and ln⁡(x3+x)∼3ln⁡x\ln(x^{3}+x)\sim 3\ln x, so the quotient tends to 23\dfrac{2}{3}. Both routes are accepted; the second is faster and more robust.

e)

Each limit compares a function with its linear approximation at 00, that is, with its TANGENT LINE. For the arctangent, arctan⁡x−x≈−x33\arctan x-x\approx-\dfrac{x^{3}}{3}: the gap is negative for x>0x>0 and positive for x<0x<0, so the curve crosses its tangent line, the sign of an INFLECTION point at 00. For the logarithm, ln⁡(1+x)−x≈−x22\ln(1+x)-x\approx-\dfrac{x^{2}}{2}: the gap is negative on BOTH sides, so the curve stays below its tangent line, which corresponds to a graph that is concave down. For the exponential, eu−1−u≈+u22e^{u}-1-u\approx+\dfrac{u^{2}}{2}: the curve stays ABOVE its tangent line, concave up. An indeterminate limit of this kind therefore gives more than a number: it tells you on which side of its tangent line the curve lies, and how fast it moves away from it. That is exactly the information you will use in the chapter on curve sketching.

Exercise 5: The three exponential forms: go through the logarithm

A limit of the form f(x)g(x)f(x)^{g(x)} can be indeterminate in three ways: 000^{0}, 1∞1^{\infty} and ∞0\infty^{0}. None of them can be handled directly.

The method is always the same, in three steps. Set y=f(x)g(x)y=f(x)^{g(x)} and write ln⁡y=g(x)ln⁡f(x)\ln y=g(x)\ln f(x), which is a 0⋅∞0\cdot\infty form you already know; compute lim⁡ln⁡y=L\lim\ln y=L; conclude lim⁡y=eL\lim y=e^{L}.

  • a) Compute lim⁡x→0+(tan⁡x)x\lim_{x\to 0^{+}}(\tan x)^{x}, naming the form.
  • b) Compute lim⁡x→∞(x+2x−1)x\lim_{x\to\infty}\left(\dfrac{x+2}{x-1}\right)^{x}.
  • c) Compute lim⁡x→0+(1x)sin⁡x\lim_{x\to 0^{+}}\left(\dfrac{1}{x}\right)^{\sin x}.
  • d) A student writes: “the base tends to 11, and 11 raised to any power is 11, so the limit in b) is 11.” Refute this by computation.
  • e) Another one correctly finds lim⁡ln⁡y=0\lim\ln y=0 in a) and answers 00. What is the right answer, and which step was skipped?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
e)
Show the solution

Answers

  • a) 11, form 000^{0}
  • b) e3≈20.09e^{3}\approx 20.09, form 1∞1^{\infty}
  • c) 11, form ∞0\infty^{0}
  • d) The base tends to 11 but the exponent tends to infinity: their tug of war is settled by the logarithm
  • e) The limit is e0=1e^{0}=1: the return to the exponential was forgotten
a)

Form 000^{0}, since tan⁡x→0+\tan x\to 0^{+} and x→0+x\to 0^{+}. Set y=(tan⁡x)xy=(\tan x)^{x}, so ln⁡y=xln⁡(tan⁡x)\ln y=x\ln(\tan x), of the form 0⋅(−∞)0\cdot(-\infty). Move a factor down: ln⁡(tan⁡x)1/x\dfrac{\ln(\tan x)}{1/x}, of the form −∞+∞\dfrac{-\infty}{+\infty}. Differentiate: 1+tan⁡2xtan⁡x−1x2=−x2(1+tan⁡2x)tan⁡x\dfrac{\frac{1+\tan^{2}x}{\tan x}}{-\frac{1}{x^{2}}}=-\dfrac{x^{2}(1+\tan^{2}x)}{\tan x}. Since tan⁡x∼x\tan x\sim x near 00, this behaves like −x→0-x\to 0. Therefore ln⁡y→0\ln y\to 0 and y→e0=1y\to e^{0}=1.

b)

Form 1∞1^{\infty}, the base tending to 11 and the exponent to infinity. Set ln⁡y=xln⁡x+2x−1\ln y=x\ln\dfrac{x+2}{x-1}, of the form ∞⋅0\infty\cdot 0. Move a factor down: ln⁡(x+2)−ln⁡(x−1)1/x\dfrac{\ln(x+2)-\ln(x-1)}{1/x}, of the form 00\dfrac{0}{0}. Differentiate: 1x+2−1x−1−1x2=−3(x+2)(x−1)−1x2=3x2(x+2)(x−1)→3\dfrac{\frac{1}{x+2}-\frac{1}{x-1}}{-\frac{1}{x^{2}}}=\dfrac{\frac{-3}{(x+2)(x-1)}}{-\frac{1}{x^{2}}}=\dfrac{3x^{2}}{(x+2)(x-1)}\to 3. Therefore ln⁡y→3\ln y\to 3 and y→e3≈20.09y\to e^{3}\approx 20.09.

c)

Form ∞0\infty^{0}, since 1x→+∞\dfrac{1}{x}\to+\infty and sin⁡x→0\sin x\to 0. Set ln⁡y=sin⁡x⋅ln⁡1x=−sin⁡xln⁡x\ln y=\sin x\cdot\ln\dfrac{1}{x}=-\sin x\ln x. Since sin⁡x∼x\sin x\sim x, this behaves like −xln⁡x-x\ln x, whose limit is 00. Therefore y→e0=1y\to e^{0}=1. You could also write −ln⁡x1/sin⁡x\dfrac{-\ln x}{1/\sin x} and differentiate, but recognizing sin⁡x∼x\sin x\sim x shortens everything.

d)

The reasoning confuses a base EQUAL to 11 with a base that TENDS to 11. If the base were exactly 11, the power would be 11 whatever the exponent. But here the base is 1+3x−11+\dfrac{3}{x-1}, so it exceeds 11 by a little, and that excess is raised to the power xx, which tends to infinity. Two opposite tendencies fight it out, and the outcome depends on their RATES: that is exactly what the word “indeterminate” describes. The computation settles it: the limit is e3≈20.09e^{3}\approx 20.09, twenty times the announced answer. An immediate counterexample to convince yourself: (1+1x)x→e\left(1+\dfrac{1}{x}\right)^{x}\to e, not 11.

e)

The right answer is 11, and the skipped step is the last one: the method computes the limit of the LOGARITHM of the expression, not that of the expression. You must therefore go back to the exponential, y=eln⁡y→e0=1y=e^{\ln y}\to e^{0}=1. The mistake is all the easier to make because the auxiliary variable yy often vanishes from the paper; the cure is to write it explicitly on the first line, “let y=…y=\ldots”, and to finish with “therefore y→eLy\to e^{L}”. A marker takes off one or two marks for this omission, which turns e3≈20e^{3}\approx 20 into 33 in case b).

Part B: problems and reasoning (/50)

Exercise 6: Growth rates: the hierarchy that decides the shape of a curve

At infinity, the functions that diverge do not all do so at the same rate. The hierarchy is established once and for all with L'Hôpital's rule, and it is then used without computing anything again.

The rule: the LOGARITHM is beaten by any power, and any power is beaten by any exponential with base greater than 11.

  • a) Prove that lim⁡x→∞(ln⁡x)2x=0\lim_{x\to\infty}\dfrac{(\ln x)^{2}}{x}=0.
  • b) Compute lim⁡x→∞x3e−x\lim_{x\to\infty}x^{3}e^{-x} and lim⁡x→∞x2x\lim_{x\to\infty}\dfrac{x}{2^{x}}.
  • c) Rank by growth at infinity: ln⁡x\ln x, x\sqrt{x}, xln⁡xx\ln x, x2x^{2}, 2x2^{x}, exe^{x}. Justify the two least obvious comparisons.
  • d) Beyond which value of xx does ex>x3e^{x}>x^{3} hold for good? Solve to within 0.010.01.
  • e) What do the two limits in b) say about the shape of the graphs of x3e−xx^{3}e^{-x} and x2x\dfrac{x}{2^{x}}?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 00, after two applications of the rule
  • b) 00 in both cases
  • c) ln⁡x<x<xln⁡x<x2<2x<ex\ln x<\sqrt{x}<x\ln x<x^{2}<2^{x}<e^{x}
  • d) For x>4.54x>4.54 approximately
  • e) Both curves rise, reach a maximum, then come back down towards the axis
a)

Form ∞∞\dfrac{\infty}{\infty}. Differentiate: 2ln⁡x⋅1x1=2ln⁡xx\dfrac{2\ln x\cdot\frac{1}{x}}{1}=\dfrac{2\ln x}{x}, still ∞∞\dfrac{\infty}{\infty}. Differentiate again: 2/x1=2x→0\dfrac{2/x}{1}=\dfrac{2}{x}\to 0. The limit is 00. The mechanism is clear: each differentiation lowers the power of the logarithm by one notch without touching the xx at the bottom, so the logarithm always runs out in the end. The same reasoning gives lim⁡(ln⁡x)nxp=0\lim\dfrac{(\ln x)^{n}}{x^{p}}=0 for all nn and p>0p>0.

b)

x3e−x=x3exx^{3}e^{-x}=\dfrac{x^{3}}{e^{x}}, form ∞∞\dfrac{\infty}{\infty}. Three successive differentiations give 3x2ex\dfrac{3x^{2}}{e^{x}}, then 6xex\dfrac{6x}{e^{x}}, then 6ex→0\dfrac{6}{e^{x}}\to 0. Each round lowers the degree of the polynomial by one while the exponential stays itself: it always wins. For x2x\dfrac{x}{2^{x}}: 2x=exln⁡22^{x}=e^{x\ln 2}, whose derivative is 2xln⁡22^{x}\ln 2, so the quotient of derivatives is 12xln⁡2→0\dfrac{1}{2^{x}\ln 2}\to 0. The base 22 is smaller than ee, but that changes nothing: any exponential with base greater than 11 beats any power.

c)

In order: ln⁡x<x<xln⁡x<x2<2x<ex\ln x<\sqrt{x}<x\ln x<x^{2}<2^{x}<e^{x}. The two least obvious comparisons are the following. First x\sqrt{x} against xln⁡xx\ln x: the quotient is xxln⁡x=1xln⁡x→0\dfrac{\sqrt{x}}{x\ln x}=\dfrac{1}{\sqrt{x}\ln x}\to 0, so xln⁡xx\ln x wins, even though it contains the logarithm, because the logarithm is multiplied by a whole xx. Next 2x2^{x} against exe^{x}: 2xex=(2e)x\dfrac{2^{x}}{e^{x}}=\left(\dfrac{2}{e}\right)^{x} with 2e≈0.736<1\dfrac{2}{e}\approx 0.736<1, so this quotient tends to 00: between two exponentials, the larger base wins, and no derivative is needed.

d)

You are looking for where ex=x3e^{x}=x^{3}, that is, taking the logarithm, where x=3ln⁡xx=3\ln x. The function h(x)=x−3ln⁡xh(x)=x-3\ln x gives h(4)=4−4.159=−0.159h(4)=4-4.159=-0.159 and h(5)=5−4.828=+0.172h(5)=5-4.828=+0.172: there is a root between 44 and 55. Refining, h(4.53)=−0.0022h(4.53)=-0.0022 and h(4.54)=+0.0012h(4.54)=+0.0012: the root is approximately 4.544.54. Beyond it, the exponential wins for good. Check: e4.54=93.7e^{4.54}=93.7 and 4.543=93.64.54^{3}=93.6, almost equal. This figure is worth remembering: the exponential's victory over the cube does not start at infinity, it starts before 55.

e)

Both functions are 00 at 00, positive afterwards, and tend to 00 at infinity by b). A continuous positive function that starts at zero and comes back to it must reach a MAXIMUM somewhere: both curves rise, peak, then come back down and flatten onto the x-axis, which is a horizontal asymptote. The derivative locates the peak: for x3e−xx^{3}e^{-x}, it is x2e−x(3−x)x^{2}e^{-x}(3-x), so the maximum is at x=3x=3, where the function equals 27e−3≈1.3427e^{-3}\approx 1.34. This is how comparing growth rates pays off in graphical information: without it, you would not know whether the curve comes back down to the axis or shoots off to infinity.

1234567891011120.20.40.60.811.21.41.6maximum at x = 3y = x³·exp(−x)x

Exercise 7: Oblique asymptotes of transcendental functions

A curve has the oblique asymptote y=ax+by=ax+b at +∞+\infty when a=lim⁡x→∞f(x)xa=\lim_{x\to\infty}\dfrac{f(x)}{x} exists and is finite and nonzero, and b=lim⁡x→∞(f(x)−ax)b=\lim_{x\to\infty}\left(f(x)-ax\right) exists and is finite.

Both limits are almost always indeterminate: this is the most common use of L'Hôpital's rule in a function analysis.

  • a) For f(x)=x e1/xf(x)=x\,e^{1/x}, compute a=lim⁡x→∞f(x)xa=\lim_{x\to\infty}\dfrac{f(x)}{x}.
  • b) Compute b=lim⁡x→∞(x e1/x−x)b=\lim_{x\to\infty}\left(x\,e^{1/x}-x\right), then give the asymptote.
  • c) For g(x)=xarctan⁡xg(x)=x\arctan x, find the oblique asymptote at +∞+\infty.
  • d) Find the one at −∞-\infty. Do the two answers have the same y-intercept?
  • e) Does the graph of ff lie above or below its asymptote at +∞+\infty? Justify by pushing the computation one step further.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) a=1a=1
  • b) b=1b=1, so y=x+1y=x+1
  • c) y=π2x−1y=\dfrac{\pi}{2}x-1
  • d) y=−π2x−1y=-\dfrac{\pi}{2}x-1: yes, the same y-intercept −1-1
  • e) Above: the gap is approximately 12x\dfrac{1}{2x}, positive
a)

f(x)x=e1/x\dfrac{f(x)}{x}=e^{1/x}, and 1x→0\dfrac{1}{x}\to 0, so a=e0=1a=e^{0}=1. No indeterminate form here: always try substitution before pulling out the rule.

b)

f(x)−x=x(e1/x−1)f(x)-x=x\left(e^{1/x}-1\right), of the form ∞⋅0\infty\cdot 0. Set u=1x→0+u=\dfrac{1}{x}\to 0^{+}: the expression becomes eu−1u\dfrac{e^{u}-1}{u}, of the form 00\dfrac{0}{0}, whose limit is 11, either by L'Hôpital's rule or by recognizing the derivative of the exponential at 00. Therefore b=1b=1 and the asymptote is y=x+1y=x+1. Notice that here, recognizing the derivative, as in exercise 1, spares you any differentiation.

c)

g(x)x=arctan⁡x→π2\dfrac{g(x)}{x}=\arctan x\to\dfrac{\pi}{2}, so a=π2a=\dfrac{\pi}{2}. Next g(x)−π2x=x(arctan⁡x−π2)g(x)-\dfrac{\pi}{2}x=x\left(\arctan x-\dfrac{\pi}{2}\right), of the form ∞⋅0\infty\cdot 0. This is the opposite of the limit computed in exercise 3b, which was 11: so b=−1b=-1 and the asymptote at +∞+\infty is y=π2x−1y=\dfrac{\pi}{2}x-1.

d)

At −∞-\infty, arctan⁡x→−π2\arctan x\to-\dfrac{\pi}{2}, so a=−π2a=-\dfrac{\pi}{2}. Then g(x)+π2x=x(arctan⁡x+π2)g(x)+\dfrac{\pi}{2}x=x\left(\arctan x+\dfrac{\pi}{2}\right): moving a factor down, arctan⁡x+π21/x\dfrac{\arctan x+\frac{\pi}{2}}{1/x}, of the form 00\dfrac{0}{0}, whose differentiation gives 11+x2−1x2=−x21+x2→−1\dfrac{\frac{1}{1+x^{2}}}{-\frac{1}{x^{2}}}=-\dfrac{x^{2}}{1+x^{2}}\to-1. The asymptote is therefore y=−π2x−1y=-\dfrac{\pi}{2}x-1. Both y-intercepts are −1-1: that is to be expected, since gg is EVEN, and the reflection in the y-axis swaps the two asymptotes. A free check: when a function is even, its two oblique asymptotes are symmetric, so they have opposite slopes and the same y-intercept.

e)

Compute the gap f(x)−(x+1)=x(e1/x−1)−1f(x)-(x+1)=x\left(e^{1/x}-1\right)-1. With u=1xu=\dfrac{1}{x}, this reads eu−1−uu\dfrac{e^{u}-1-u}{u}, which tends to 00, confirming the asymptote. To know the SIGN of this gap, push one step further: you know from exercise 4c that eu−1−uu2→12\dfrac{e^{u}-1-u}{u^{2}}\to\dfrac{1}{2}, so eu−1−u≈u22e^{u}-1-u\approx\dfrac{u^{2}}{2} and the gap is approximately u2=12x\dfrac{u}{2}=\dfrac{1}{2x}, POSITIVE for x>0x>0. The curve therefore lies ABOVE its asymptote and approaches it from above, the gap still being 0.0050.005 at x=100x=100. This is the information missing from most papers: finding the asymptote does not tell you from which side the curve approaches it, and a sketch on the wrong side loses a mark.

1234567824681012y = x·exp(1/x)asymptote y = x + 1x

Exercise 8: Five statements to correct

Each of the following five sentences has been heard in tutoring sessions. Say what is wrong with it, then write the correct version. Naming the rule that is broken is worth half the marks.

  • a) “The form is indeterminate, so the limit does not exist.”
  • b) “L'Hôpital's rule means differentiating the quotient, then substituting.”
  • c) “Once you have applied the rule, you can apply it again as many times as you like.”
  • d) “lim⁡x→0sin⁡xx=1\lim_{x\to 0}\dfrac{\sin x}{x}=1 is proved by L'Hôpital's rule in one line.”
  • e) “lim⁡x→∞(1+2x)x=1\lim_{x\to\infty}\left(1+\dfrac{2}{x}\right)^{x}=1, because the base tends to 11.”

Type your answers, the page tells you right or wrong 0/3

a)
c)
e)
Show the solution

Answers

  • a) False: “indeterminate” describes the form, not the limit
  • b) False: you differentiate the top and the bottom SEPARATELY
  • c) False: only as long as the indeterminate form PERSISTS, which you check at every round
  • d) False: it is circular, the derivative of the sine comes from this limit
  • e) False: the limit is e2≈7.39e^{2}\approx 7.39
a)

FALSE. “Indeterminate” describes the FORM obtained by substitution, not the behaviour of the function. The limits of x2x\dfrac{x^{2}}{x}, xx\dfrac{x}{x} and xx3\dfrac{x}{x^{3}} at 00 are all of the form 00\dfrac{0}{0} and are 00, 11 and +∞+\infty respectively: that is precisely why the form determines nothing. Correct version: “substitution gives an indeterminate form, so the indeterminate form must be resolved”.

b)

FALSE, and it is the most costly confusion of the chapter. The quotient rule is used to differentiate a FUNCTION that is a quotient; L'Hôpital's rule is used to compute a LIMIT, and it requires differentiating the numerator and the denominator SEPARATELY, which does not produce the same expression at all. Correct version: “replace fg\dfrac{f}{g} by f′g′\dfrac{f'}{g'}, never by f′g−fg′g2\dfrac{f'g-fg'}{g^{2}}”.

c)

FALSE. You may apply the rule again as long as the indeterminate form PERSISTS, and you must check it before every round. Applied to a determinate form, it gives a result that has nothing to do with it: on lim⁡x→0x+1x2+2\lim_{x\to 0}\dfrac{x+1}{x^{2}+2}, which is 12\dfrac{1}{2}, one round of the rule would give 12x\dfrac{1}{2x}, which blows up at 00. Correct version: “check the form at every step, and stop as soon as it is no longer indeterminate”.

d)

FALSE, and the error is one of logic rather than computation. The result is right, but the proof assumes the derivative of the sine is known, and that derivative was established FROM this very limit, by the Squeeze Theorem. You cannot prove a statement by relying on a consequence of that statement. Correct version: “this limit is proved by a geometric squeeze; L'Hôpital's rule recovers it, but does not prove it”.

e)

FALSE. The base tends to 11 but the exponent tends to infinity: this is the indeterminate form 1∞1^{\infty}, and the two tendencies fight it out. The logarithm computation gives ln⁡y=xln⁡(1+2x)\ln y=x\ln\left(1+\dfrac{2}{x}\right), whose limit is 22, so the limit sought is e2≈7.39e^{2}\approx 7.39. Correct version: “a base that TENDS to 11 is not a base EQUAL to 11; the form 1∞1^{\infty} is handled through the logarithm”. It is the same error as believing that a number very close to 11 raised to a huge power stays close to 11, whereas an interest rate of two percent compounded a hundred times multiplies the capital by more than seven.

Exercise 9: Extend by continuity, then differentiate the extension

A function that is undefined at aa but whose limit at aa exists can be EXTENDED by continuity: set f(a)=lim⁡x→af(x)f(a)=\lim_{x\to a}f(x). The next question, which is the question of differential calculus, is whether the extension is DIFFERENTIABLE at aa, and that is decided by a second indeterminate limit, the limit of the difference quotient.

  • a) Extend f(x)=ex−1xf(x)=\dfrac{e^{x}-1}{x} at 00.
  • b) Is the extension differentiable at 00? Compute f′(0)f'(0) from the definition.
  • c) Do the same for g(x)=sin⁡xxg(x)=\dfrac{\sin x}{x}: value at 00, then g′(0)g'(0).
  • d) The function h(x)=xln⁡xh(x)=x\ln x, extended by h(0)=0h(0)=0, is it differentiable at 00? Conclude.
  • e) Check the result of b) numerically by comparing f(0.1)f(0.1) with 1+0.121+\dfrac{0.1}{2}.

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) f(0)=1f(0)=1
  • b) Yes, f′(0)=12f'(0)=\dfrac{1}{2}
  • c) g(0)=1g(0)=1 and g′(0)=0g'(0)=0
  • d) No: the difference quotient is ln⁡x\ln x, which tends to −∞-\infty
  • e) f(0.1)=1.0517f(0.1)=1.0517 against 1.051.05: the gap is 1.7×10−31.7\times 10^{-3}
a)

The limit lim⁡x→0ex−1x\lim_{x\to 0}\dfrac{e^{x}-1}{x} has the form 00\dfrac{0}{0}; it is the derivative of exe^{x} at 00, so it equals 11. Set f(0)=1f(0)=1, and the function so extended is continuous on all of R\mathbb{R}.

b)

By definition, f′(0)=lim⁡x→0f(x)−f(0)x−0=lim⁡x→0ex−1x−1x=lim⁡x→0ex−1−xx2f'(0)=\lim_{x\to 0}\dfrac{f(x)-f(0)}{x-0}=\lim_{x\to 0}\dfrac{\frac{e^{x}-1}{x}-1}{x}=\lim_{x\to 0}\dfrac{e^{x}-1-x}{x^{2}}. This limit has the form 00\dfrac{0}{0}; differentiate: ex−12x\dfrac{e^{x}-1}{2x}, still 00\dfrac{0}{0}; differentiate again: ex2→12\dfrac{e^{x}}{2}\to\dfrac{1}{2}. The extension is therefore DIFFERENTIABLE at 00, with f′(0)=12f'(0)=\dfrac{1}{2}. Notice that you CANNOT get this result by differentiating the expression ex−1x\dfrac{e^{x}-1}{x} and then substituting 00: that derivative is not defined at 00. Only the definition works at the point where the pieces are joined.

c)

lim⁡x→0sin⁡xx=1\lim_{x\to 0}\dfrac{\sin x}{x}=1, so g(0)=1g(0)=1. Then g′(0)=lim⁡x→0sin⁡xx−1x=lim⁡x→0sin⁡x−xx2g'(0)=\lim_{x\to 0}\dfrac{\frac{\sin x}{x}-1}{x}=\lim_{x\to 0}\dfrac{\sin x-x}{x^{2}}. Form 00\dfrac{0}{0}; differentiate: cos⁡x−12x\dfrac{\cos x-1}{2x}, still 00\dfrac{0}{0}; differentiate again: −sin⁡x2→0\dfrac{-\sin x}{2}\to 0. Therefore g′(0)=0g'(0)=0: the sinc function has a HORIZONTAL tangent line at 00, which its symmetry already suggested, since a differentiable even function always has a zero derivative at 00.

d)

lim⁡x→0+xln⁡x=0\lim_{x\to 0^{+}}x\ln x=0, computed in exercise 3, so the extension h(0)=0h(0)=0 is continuous. But the difference quotient is h(x)−h(0)x−0=xln⁡xx=ln⁡x\dfrac{h(x)-h(0)}{x-0}=\dfrac{x\ln x}{x}=\ln x, which tends to −∞-\infty: the function is NOT differentiable at 00. Its graph has a VERTICAL tangent line there: the curve leaves the origin heading straight down. The lesson matters: continuity of the extension never guarantees its differentiability, and the second computation must be done. Here the difference quotient is not even an indeterminate form, it is read off directly.

e)

f(0.1)=e0.1−10.1=0.1051710.1=1.05171f(0.1)=\dfrac{e^{0.1}-1}{0.1}=\dfrac{0.105171}{0.1}=1.05171. The linear approximation given by b) is f(0)+f′(0)×0.1=1+0.05=1.05f(0)+f'(0)\times 0.1=1+0.05=1.05. The gap is 1.7×10−31.7\times 10^{-3}, that is 0.16%0.16\%: the agreement confirms that f′(0)=12f'(0)=\dfrac{1}{2} and not, say, 11 or 14\dfrac{1}{4}, which would give 1.101.10 and 1.0251.025 respectively. This numerical check takes thirty seconds and catches most differentiation errors: whenever you announce a derivative at a point, you can always test it on a small xx.

Exercise 10: Problem: falling with air resistance, and the limit without resistance

A skydiver of mass mm falling under air resistance proportional to speed reaches, after a time tt, the speed v(t)=mgk(1−e−kt/m)v(t)=\dfrac{mg}{k}\left(1-e^{-kt/m}\right), where kk is the drag coefficient, in kg/s.

Data: m=80m=80 kg, g=9.81g=9.81 m/s², k=12k=12 kg/s.

  • a) Compute the terminal speed, reached as t→∞t\to\infty, in m/s.
  • b) Compute the speed after 3.03.0 s, in m/s, and compare it with free fall gtgt.
  • c) Without air resistance, you expect v=gtv=gt. Show that lim⁡k→0+v(t)=gt\lim_{k\to 0^{+}}v(t)=gt for fixed tt. Which form do you get?
  • d) Push the computation one step further to obtain the approximation v(t)≈gt(1−kt2m)v(t)\approx gt\left(1-\dfrac{kt}{2m}\right) for short times.
  • e) Apply d) at t=0.50t=0.50 s and compare with the exact value. Up to what time does the free-fall approximation stay good to within 5%5\%?

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
e)
Show the solution

Answers

  • a) 65.465.4 m/s, that is 235235 km/h
  • b) 23.723.7 m/s against 29.429.4 m/s: 80.5%80.5\% of free fall
  • c) Form 00\dfrac{0}{0} in the variable kk; the limit is indeed gtgt
  • d) v(t)≈gt(1−kt2m)v(t)\approx gt\left(1-\dfrac{kt}{2m}\right), from 1−e−uu≈1−u2\dfrac{1-e^{-u}}{u}\approx 1-\dfrac{u}{2} with u=ktmu=\dfrac{kt}{m}
  • e) 4.724.72 m/s against 4.734.73; free fall stays good to within 5%5\% up to about 0.690.69 s
a)

As t→∞t\to\infty, e−kt/m→0e^{-kt/m}\to 0 and v→mgk=80×9.8112=65.4v\to\dfrac{mg}{k}=\dfrac{80\times 9.81}{12}=65.4 m/s, that is 235235 km/h. This is the terminal speed, at which drag exactly balances the weight: no indeterminate form here, but it sets the scale of the whole problem.

b)

ktm=12×3.080=0.45\dfrac{kt}{m}=\dfrac{12\times 3.0}{80}=0.45, so v(3.0)=65.4(1−e−0.45)=65.4×0.3624=23.7v(3.0)=65.4\left(1-e^{-0.45}\right)=65.4\times 0.3624=23.7 m/s. Free fall would give gt=9.81×3.0=29.4gt=9.81\times 3.0=29.4 m/s: the skydiver is going 20%20\% slower than the model without air resistance predicts, after only three seconds.

c)

For fixed tt, let kk tend to 0+0^{+}. The factor mgk\dfrac{mg}{k} diverges and the factor in parentheses tends to 00: form ∞⋅0\infty\cdot 0. Rewrite it as a quotient IN THE VARIABLE kk: v=mg(1−e−kt/m)kv=\dfrac{mg\left(1-e^{-kt/m}\right)}{k}, of the form 00\dfrac{0}{0}. Differentiate with respect to kk, the numerator giving mg⋅tme−kt/m=gt e−kt/mmg\cdot\dfrac{t}{m}e^{-kt/m}=gt\,e^{-kt/m} and the denominator 11: the quotient tends to gt e0=gtgt\,e^{0}=gt. The model with air resistance therefore gives back free fall when the resistance disappears, which is the first check to run on any physics formula. The point of method: the variable of differentiation is kk, not tt; mixing the two up is the classic error in this kind of exercise.

d)

Start again from gt e−kt/m 1\dfrac{gt\,e^{-kt/m}\,}{1} obtained in c) and expand the gap to the limit. Setting u=ktmu=\dfrac{kt}{m}, v=mgk(1−e−u)=gt⋅1−e−uuv=\dfrac{mg}{k}\left(1-e^{-u}\right)=gt\cdot\dfrac{1-e^{-u}}{u}. Now exercise 4 established that eu−1−uu2→12\dfrac{e^{u}-1-u}{u^{2}}\to\dfrac{1}{2}, which gives here 1−e−uu≈1−u2\dfrac{1-e^{-u}}{u}\approx 1-\dfrac{u}{2}. Hence v(t)≈gt(1−u2)=gt(1−kt2m)v(t)\approx gt\left(1-\dfrac{u}{2}\right)=gt\left(1-\dfrac{kt}{2m}\right). The relative correction is therefore kt2m\dfrac{kt}{2m}: it is proportional to time, and smaller the heavier the body.

e)

At t=0.50t=0.50 s: kt2m=12×0.50160=0.0375\dfrac{kt}{2m}=\dfrac{12\times 0.50}{160}=0.0375, so v≈9.81×0.50×0.9625=4.72v\approx 9.81\times 0.50\times 0.9625=4.72 m/s. The exact value is 65.4(1−e−0.075)=4.72665.4\left(1-e^{-0.075}\right)=4.726 m/s: the agreement is to within about a thousandth. For free fall alone, without correction, to stay good to within 5%5\%, you need kt2m<0.05\dfrac{kt}{2m}<0.05, that is t<2×80×0.0512=0.67t<\dfrac{2\times 80\times 0.05}{12}=0.67 s. The exact check gives 0.690.69 s. In other words, the high-school free-fall formula is only usable for the first two thirds of the first second: after that, the air matters. This is the kind of conclusion that an indeterminate limit lets you put a number on, and that no intuition provides.

123456789101020304050607080terminal speed 65.4free fall gtwith air resistancet (s)v (m/s)

Part C: the classics (/50)

Exercise 11: When L'Hôpital's rule goes in circles, refuses to answer, or makes things worse

The rule is not universal. It has three ways of failing, all recognizable in the first rounds, and each one has its remedy.

  • a) Try lim⁡x→∞x2+4x+1\lim_{x\to\infty}\dfrac{\sqrt{x^{2}+4}}{x+1} with L'Hôpital's rule. What happens? Then conclude with algebra.
  • b) Try lim⁡x→∞2x+cos⁡x3x+sin⁡x\lim_{x\to\infty}\dfrac{2x+\cos x}{3x+\sin x}. What does the rule give? Does the limit exist all the same? Which precise hypothesis is violated?
  • c) Try lim⁡x→0+e−1/xx\lim_{x\to 0^{+}}\dfrac{e^{-1/x}}{x}. What happens to the quotient after each differentiation? Find the remedy.
  • d) Compute lim⁡x→0x+x2sin⁡1xx\lim_{x\to 0}\dfrac{x+x^{2}\sin\frac{1}{x}}{x}, first with the rule, then correctly.
  • e) Sum up the three ways of failing and the remedy for each one.

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
Show the solution

Answers

  • a) The rule goes in circles; algebra gives 11
  • b) The rule gives a quotient with no limit; the true limit is 23\dfrac{2}{3}
  • c) Every round makes it worse; the change of variable u=1xu=\dfrac{1}{x} gives 00
  • d) The rule fails; the limit is 11
  • e) Going in circles, quotient of derivatives with no limit, getting worse: algebra, squeezing, change of variable
a)

Form ∞∞\dfrac{\infty}{\infty}. Differentiate: xx2+41=xx2+4\dfrac{\frac{x}{\sqrt{x^{2}+4}}}{1}=\dfrac{x}{\sqrt{x^{2}+4}}, still ∞∞\dfrac{\infty}{\infty}. Differentiate again: 1xx2+4=x2+4x\dfrac{1}{\frac{x}{\sqrt{x^{2}+4}}}=\dfrac{\sqrt{x^{2}+4}}{x}: you are back at the starting point, up to the constant. The rule GOES IN CIRCLES. With algebra, factor xx out of the top and the bottom: x1+4x2x(1+1x)→1\dfrac{x\sqrt{1+\frac{4}{x^{2}}}}{x\left(1+\frac{1}{x}\right)}\to 1.

b)

Form ∞∞\dfrac{\infty}{\infty}. The rule gives 2−sin⁡x3+cos⁡x\dfrac{2-\sin x}{3+\cos x}, whose numerator oscillates between 11 and 33 and denominator between 22 and 44: this quotient has NO limit at +∞+\infty. Yet the limit sought exists: dividing by xx, 2+cos⁡xx3+sin⁡xx→23\dfrac{2+\frac{\cos x}{x}}{3+\frac{\sin x}{x}}\to\dfrac{2}{3}, since the two oscillating terms are bounded and divided by xx. The violated hypothesis is the last one in the statement: “IF lim⁡f′g′\lim\dfrac{f'}{g'} exists”. The rule is a one-way implication; when the quotient of derivatives has no limit, it says nothing at all, and certainly not that the original limit does not exist.

c)

Form 00\dfrac{0}{0}, since e−1/x→0e^{-1/x}\to 0 very fast. Differentiate the numerator: (e−1/x)′=e−1/xx2\left(e^{-1/x}\right)'=\dfrac{e^{-1/x}}{x^{2}}, and the denominator gives 11: the quotient becomes e−1/xx2\dfrac{e^{-1/x}}{x^{2}}, where the exponent of xx has INCREASED. Every round makes the situation worse, and the rule will never end. The remedy is a CHANGE OF VARIABLE: set u=1x→+∞u=\dfrac{1}{x}\to+\infty, and the expression becomes u e−u=ueuu\,e^{-u}=\dfrac{u}{e^{u}}, which tends to 00 by comparison of growth rates. The limit is 00.

d)

Form 00\dfrac{0}{0}. The rule gives 1+2xsin⁡1x−cos⁡1x1\dfrac{1+2x\sin\frac{1}{x}-\cos\frac{1}{x}}{1}, whose term cos⁡1x\cos\dfrac{1}{x} oscillates endlessly as x→0x\to 0: the quotient of derivatives has no limit, and the rule does not conclude. Correctly, simplify FIRST: x+x2sin⁡1xx=1+xsin⁡1x\dfrac{x+x^{2}\sin\frac{1}{x}}{x}=1+x\sin\dfrac{1}{x}, and since ∣xsin⁡1x∣≤∣x∣→0\left|x\sin\dfrac{1}{x}\right|\leq|x|\to 0 by squeezing, the limit is 11. It is the same way of failing as in b), with the same lesson: simplifying the expression before differentiating is often faster than the rule, and sometimes it is the only way.

e)

The three ways. FIRST, going in circles: the quotient of derivatives gives back the original quotient, as in a); the remedy is algebra, factoring out the dominant term or using the conjugate. SECOND, the quotient of derivatives has no limit, as in b) and d); the remedy is simplifying or squeezing, by isolating the bounded terms. THIRD, getting worse: every round makes the expression heavier, as in c); the remedy is a change of variable, usually u=1xu=\dfrac{1}{x}, which turns a limit at 00 into a limit at infinity or the other way round. In all three cases, the alarm signal is the same: if after two rounds the expression is not simpler than at the start, L'Hôpital's rule is not the right tool.

Exercise 12: The pocket-sized expansion: reading the first neglected term in a limit

The linear approximation says that near 00, f(x)≈f(0)+f′(0)xf(x)\approx f(0)+f'(0)x. The next question is: by how much is it off? The answer lies in an indeterminate limit, because if lim⁡x→0f(x)−f(0)−f′(0)xxn=C\lim_{x\to 0}\dfrac{f(x)-f(0)-f'(0)x}{x^{n}}=C with CC nonzero, then the error is approximately CxnCx^{n}.

Each of these limits produces one line of a small formula sheet that you will use all year.

  • a) Compute lim⁡x→0ex−1−xx2\lim_{x\to 0}\dfrac{e^{x}-1-x}{x^{2}} and write the approximation of exe^{x} that follows from it.
  • b) Compute lim⁡x→0sin⁡x−xx3\lim_{x\to 0}\dfrac{\sin x-x}{x^{3}} and conclude in the same way.
  • c) Compute lim⁡x→01+x−1−x2x2\lim_{x\to 0}\dfrac{\sqrt{1+x}-1-\frac{x}{2}}{x^{2}}.
  • d) Compute lim⁡x→0cos⁡x−1+x22x4\lim_{x\to 0}\dfrac{\cos x-1+\frac{x^{2}}{2}}{x^{4}}.
  • e) Estimate 1.04\sqrt{1.04} with the linear approximation, then correct it with c). Compare with the exact value, 1.0198041.019804.

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 12\dfrac{1}{2}, so ex≈1+x+x22e^{x}\approx 1+x+\dfrac{x^{2}}{2}
  • b) −16-\dfrac{1}{6}, so sin⁡x≈x−x36\sin x\approx x-\dfrac{x^{3}}{6}
  • c) −18-\dfrac{1}{8}
  • d) 124\dfrac{1}{24}
  • e) 1.021.02 then 1.01981.0198: the correction brings the error down from 2×10−42\times 10^{-4} to 4×10−64\times 10^{-6}
a)

Form 00\dfrac{0}{0}. Differentiate: ex−12x\dfrac{e^{x}-1}{2x}, still 00\dfrac{0}{0}; differentiate again: ex2→12\dfrac{e^{x}}{2}\to\dfrac{1}{2}. The numerator is therefore approximately x22\dfrac{x^{2}}{2}, hence ex≈1+x+x22e^{x}\approx 1+x+\dfrac{x^{2}}{2}. The tangent line at 00 is y=1+xy=1+x, and the curve moves away from it UPWARDS by about x22\dfrac{x^{2}}{2}: the exponential is concave up.

b)

Form 00\dfrac{0}{0}. Three differentiations: cos⁡x−13x2\dfrac{\cos x-1}{3x^{2}}, then −sin⁡x6x\dfrac{-\sin x}{6x}, then −cos⁡x6→−16\dfrac{-\cos x}{6}\to-\dfrac{1}{6}. Therefore sin⁡x≈x−x36\sin x\approx x-\dfrac{x^{3}}{6}. The negative sign says that the sine lies BELOW its tangent line y=xy=x for x>0x>0, which you can see on the graph, and the cube says that the gap is tiny near 00: for x=0.1x=0.1 rad, the error is only 1.7×10−41.7\times 10^{-4}. That is why the approximation sin⁡x≈x\sin x\approx x works so well in physics for small angles.

c)

Form 00\dfrac{0}{0}. Differentiate: 121+x−122x\dfrac{\frac{1}{2\sqrt{1+x}}-\frac{1}{2}}{2x}, still 00\dfrac{0}{0}; differentiate again: −14(1+x)−3/22→−18\dfrac{-\frac{1}{4}(1+x)^{-3/2}}{2}\to-\dfrac{1}{8}. Therefore 1+x≈1+x2−x28\sqrt{1+x}\approx 1+\dfrac{x}{2}-\dfrac{x^{2}}{8}. The square root is CONCAVE DOWN, it lies below its tangent line, hence the negative sign.

d)

Form 00\dfrac{0}{0}. Four differentiations: −sin⁡x+x4x3\dfrac{-\sin x+x}{4x^{3}}, then −cos⁡x+112x2\dfrac{-\cos x+1}{12x^{2}}, then sin⁡x24x\dfrac{\sin x}{24x}, then cos⁡x24→124\dfrac{\cos x}{24}\to\dfrac{1}{24}. Therefore cos⁡x≈1−x22+x424\cos x\approx 1-\dfrac{x^{2}}{2}+\dfrac{x^{4}}{24}. After the second differentiation, you could also conclude faster by recognizing 1−cos⁡xx2→12\dfrac{1-\cos x}{x^{2}}\to\dfrac{1}{2}, a known limit: the quotient was then 112×12=124\dfrac{1}{12}\times\dfrac{1}{2}=\dfrac{1}{24}. Recognizing a limit already established saves two rounds and two chances to get a sign wrong.

e)

Write 1.04=1+0.04\sqrt{1.04}=\sqrt{1+0.04}. The linear approximation gives 1+0.042=1.021+\dfrac{0.04}{2}=1.02, an error of 1.02−1.019804=1.96×10−41.02-1.019804=1.96\times 10^{-4}. The correction from c) adds −0.0428=−2.00×10−4-\dfrac{0.04^{2}}{8}=-2.00\times 10^{-4}, which gives 1.0198001.019800: the error drops to 4×10−64\times 10^{-6}, FIFTY TIMES smaller. Notice in passing that the predicted correction, 2.00×10−42.00\times 10^{-4}, reproduces the observed error, 1.96×10−41.96\times 10^{-4}, almost exactly: that is the best proof that the coefficient −18-\dfrac{1}{8} is right. A five-line formula sheet, built this way, replaces most of the limit computations of the course and gives the accuracy of each approximation as a bonus.

Exercise 13: The order of contact: how fast two curves pull apart

Two curves that touch at a point can pull apart more or less quickly. They are said to have CONTACT OF ORDER nn at aa when lim⁡x→af(x)−g(x)(x−a)n=C\lim_{x\to a}\dfrac{f(x)-g(x)}{(x-a)^{n}}=C with CC finite and NONZERO.

The higher the order, the longer the curves stick together: the gap behaves like C(x−a)nC(x-a)^{n}, so it is divided by 2n2^{n} when you come twice as close to the point.

  • a) Find the order of contact of y=sin⁡xy=\sin x and its tangent line y=xy=x at 00, as well as the constant CC.
  • b) Do the same for y=exy=e^{x} and y=1+xy=1+x.
  • c) Do the same for y=cosh⁡xy=\cosh x and y=1+x22y=1+\dfrac{x^{2}}{2}.
  • d) Compute the three gaps at x=0.20x=0.20 and rank them. Does the order predict the ranking?
  • e) How can you recognize the order of contact without computing any limit?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
Show the solution

Answers

  • a) Order 33, C=−16C=-\dfrac{1}{6}
  • b) Order 22, C=12C=\dfrac{1}{2}
  • c) Order 44, C=124C=\dfrac{1}{24}
  • d) 2.1×10−22.1\times 10^{-2}, 1.3×10−31.3\times 10^{-3} and 6.7×10−56.7\times 10^{-5}: yes
  • e) It is the order of the first successive derivatives that stop agreeing
a)

Test increasing powers. With n=1n=1: sin⁡x−xx→0\dfrac{\sin x-x}{x}\to 0, so CC would be zero, which is excluded. With n=2n=2: sin⁡x−xx2→0\dfrac{\sin x-x}{x^{2}}\to 0 as well. With n=3n=3: sin⁡x−xx3→−16\dfrac{\sin x-x}{x^{3}}\to-\dfrac{1}{6}, finite and nonzero. The order of contact is therefore 33, with C=−16C=-\dfrac{1}{6}. The method is always the same: go up in powers until the limit stops being zero.

b)

ex−1−xx→0\dfrac{e^{x}-1-x}{x}\to 0, then ex−1−xx2→12\dfrac{e^{x}-1-x}{x^{2}}\to\dfrac{1}{2}: the order is 22 and C=12C=\dfrac{1}{2}. It is the loosest contact of the three, and that is to be expected: the exponential is the only one of the three with no symmetry. The gap sin⁡x−x\sin x-x is an odd function and the gap cosh⁡x−1−x22\cosh x-1-\dfrac{x^{2}}{2} an even one, which wipes out every other power; the gap ex−1−xe^{x}-1-x has no such help, and its term in x2x^{2} survives.

c)

cosh⁡x−1−x22x2→0\dfrac{\cosh x-1-\frac{x^{2}}{2}}{x^{2}}\to 0, cosh⁡x−1−x22x3→0\dfrac{\cosh x-1-\frac{x^{2}}{2}}{x^{3}}\to 0, and cosh⁡x−1−x22x4→124\dfrac{\cosh x-1-\frac{x^{2}}{2}}{x^{4}}\to\dfrac{1}{24}. The order is 44 and C=124C=\dfrac{1}{24}. It is the tightest contact of the three.

d)

At x=0.20x=0.20: ∣e0.2−1.2∣=∣1.22140−1.2∣=2.14×10−2|e^{0.2}-1.2|=|1.22140-1.2|=2.14\times 10^{-2}; ∣sin⁡0.2−0.2∣=∣0.198669−0.2∣=1.33×10−3|\sin 0.2-0.2|=|0.198669-0.2|=1.33\times 10^{-3}; ∣cosh⁡0.2−1−0.02∣=∣1.020067−1.02∣=6.7×10−5\left|\cosh 0.2-1-0.02\right|=|1.020067-1.02|=6.7\times 10^{-5}. The ranking follows the order of contact exactly: the pair of order 22 is the furthest apart, the pair of order 44 the closest, with a factor of about sixteen, then about twenty, from one rung to the next. The predicted values confirm it: 12(0.2)2=2.0×10−2\dfrac{1}{2}(0.2)^{2}=2.0\times 10^{-2}, 16(0.2)3=1.3×10−3\dfrac{1}{6}(0.2)^{3}=1.3\times 10^{-3} and 124(0.2)4=6.7×10−5\dfrac{1}{24}(0.2)^{4}=6.7\times 10^{-5}.

e)

The order of contact is the FIRST ORDER OF DERIVATIVE at which the two functions stop agreeing at aa. For sin⁡x\sin x and xx: same values at 00, same first derivatives (11 and 11), same second derivatives (00 and 00), but different third derivatives (−1-1 and 00): order 33. For exe^{x} and 1+x1+x: the second derivatives are already 11 and 00: order 22. For cosh⁡x\cosh x and 1+x221+\dfrac{x^{2}}{2}: the third derivatives agree, sinh⁡0=0\sinh 0=0 and 00, and only the fourth ones differ, cosh⁡0=1\cosh 0=1 against 00: order 44. The constant follows as well: C=f(n)(a)−g(n)(a)n!C=\dfrac{f^{(n)}(a)-g^{(n)}(a)}{n!}, which indeed gives −16-\dfrac{1}{6}, 12\dfrac{1}{2} and 124\dfrac{1}{24}. Comparing successive derivatives therefore spares you any limit computation, and it is the fast way to handle this kind of question on the exam.

Exercise 14: Problem: the catenary and the parabola, how far do they look alike?

A flexible cable hanging between two points takes the shape of a CATENARY, yc(x)=acosh⁡xa−ay_{c}(x)=a\cosh\dfrac{x}{a}-a, where aa is a tension parameter, in metres. Engineers often replace it by the PARABOLA yp(x)=x22ay_{p}(x)=\dfrac{x^{2}}{2a}, which is much handier.

Take a=50.0a=50.0 m, a common value for a power line, and measure xx from the lowest point.

  • a) Check that both curves pass through the origin with the same tangent line and the same second derivative at 00.
  • b) Compute lim⁡x→0yc(x)−yp(x)x4\lim_{x\to 0}\dfrac{y_{c}(x)-y_{p}(x)}{x^{4}} in terms of aa, then its numerical value.
  • c) What is the order of contact of the two curves at 00?
  • d) At what distance xx from the lowest point does the gap reach 1.01.0 mm? Check with the exact formula.
  • e) What does the gap become at x=14.8x=14.8 m, twice as far? State the engineering rule that follows.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Both are 00, with derivative 00 and second derivative 1a\dfrac{1}{a}
  • b) 124a3\dfrac{1}{24a^{3}}, that is 3.33×10−73.33\times 10^{-7} m−3^{-3}
  • c) Order 44
  • d) x=7.40x=7.40 m; the exact formula gives 1.00031.0003 mm
  • e) 1616 mm: the gap is multiplied by SIXTEEN when the distance doubles
a)

At 00: yc(0)=acosh⁡0−a=a−a=0y_{c}(0)=a\cosh 0-a=a-a=0 and yp(0)=0y_{p}(0)=0. First derivatives: yc′(x)=sinh⁡xay_{c}'(x)=\sinh\dfrac{x}{a}, zero at 00, and yp′(x)=xay_{p}'(x)=\dfrac{x}{a}, zero as well: both curves have the same horizontal tangent line, as expected at the lowest point. Second derivatives: yc′′(x)=1acosh⁡xay_{c}''(x)=\dfrac{1}{a}\cosh\dfrac{x}{a}, which equals 1a\dfrac{1}{a} at 00, and yp′′=1ay_{p}''=\dfrac{1}{a} everywhere: same curvature. The parameter aa of the catenary is thus chosen precisely so that the parabola has the same curvature at the bottom.

b)

Let u=xau=\dfrac{x}{a}. Then yc−yp=a(cosh⁡u−1−u22)y_{c}-y_{p}=a\left(\cosh u-1-\dfrac{u^{2}}{2}\right) and x4=a4u4x^{4}=a^{4}u^{4}, so the quotient equals 1a3⋅cosh⁡u−1−u22u4\dfrac{1}{a^{3}}\cdot\dfrac{\cosh u-1-\frac{u^{2}}{2}}{u^{4}}, whose limit is 124a3\dfrac{1}{24a^{3}} by exercise 13c. Numerically, 124×503=13.00×106=3.33×10−7\dfrac{1}{24\times 50^{3}}=\dfrac{1}{3.00\times 10^{6}}=3.33\times 10^{-7} m−3^{-3}.

c)

The limit is finite and nonzero for n=4n=4, and it was zero for n=3n=3: the order of contact is 44. In other words, the two curves share the position, the slope, the curvature AND the rate of change of the curvature at the bottom; they only part ways at the fourth order.

d)

The gap is approximately x424a3\dfrac{x^{4}}{24a^{3}}. Solve x43.00×106=1.0×10−3\dfrac{x^{4}}{3.00\times 10^{6}}=1.0\times 10^{-3}, that is x4=3.00×103x^{4}=3.00\times 10^{3} and x=30004=7.40x=\sqrt[4]{3000}=7.40 m. Check with the exact formula, with u=7.4050=0.1480u=\dfrac{7.40}{50}=0.1480: 50(cosh⁡0.1480−1−0.148022)=1.0003×10−350\left(\cosh 0.1480-1-\dfrac{0.1480^{2}}{2}\right)=1.0003\times 10^{-3} m, that is 1.00031.0003 mm. The approximation is excellent, to within three ten-thousandths.

e)

The gap varies as the FOURTH POWER of the distance: doubling xx multiplies it by 24=162^{4}=16. At x=14.8x=14.8 m, it is therefore 1616 mm. The engineering rule that follows is this one: THE PARABOLA IS AN EXCELLENT APPROXIMATION AS LONG AS THE SPAN STAYS SMALL COMPARED WITH THE PARAMETER aa, and it degrades very quickly beyond that. For a power line with a=50a=50 m, the parabola holds to the millimetre over about fifteen metres of total span, to the centimetre over about twenty-six metres, and you need the exact catenary for a suspension bridge or a cable car. The order of contact is therefore not a curiosity: it tells you from which span on the simple model becomes wrong, and it is computed with a single indeterminate limit.

51015202530246810catenaryparabolax (m)y (m)

Exercise 15: Problem: from monthly compound interest to continuous interest

A principal PP invested at the annual rate rr, compounded nn times a year, is worth after one year A=P(1+rn)nA=P\left(1+\dfrac{r}{n}\right)^{n}.

As compounding becomes more and more frequent, nn tends to infinity and the base to 11: this is the indeterminate form 1∞1^{\infty}.

Data: P=10,000P=10{,}000 dollars and r=5.0%r=5.0\% per year.

  • a) Compute the amount after one year with annual, monthly, then daily compounding, to the nearest cent.
  • b) Prove that lim⁡n→∞(1+rn)n=er\lim_{n\to\infty}\left(1+\dfrac{r}{n}\right)^{n}=e^{r}.
  • c) Compute the amount with CONTINUOUS compounding, to the nearest cent.
  • d) How much more does continuous compounding earn than daily compounding? Comment.
  • e) Redo a) and c) for a rate of 50%50\%. What do you conclude about how much the compounding frequency matters?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 10,500.0010{,}500.00; 10,511.6210{,}511.62; 10,512.6710{,}512.67 dollars
  • b) Through the logarithm: nln⁡(1+rn)→rn\ln\left(1+\dfrac{r}{n}\right)\to r
  • c) 10,512.7110{,}512.71 dollars
  • d) 44 cents: the race stops well before infinity
  • e) 15,00015{,}000 against 16,487.2116{,}487.21 dollars: the frequency matters when the rate is large
a)

Annual, n=1n=1: A=10,000×1.05=10,500.00A=10{,}000\times 1.05=10{,}500.00 dollars. Monthly, n=12n=12: A=10,000(1+0.0512)12=10,000×1.0511619=10,511.62A=10{,}000\left(1+\dfrac{0.05}{12}\right)^{12}=10{,}000\times 1.0511619=10{,}511.62 dollars. Daily, n=365n=365: A=10,000(1+0.05365)365=10,512.67A=10{,}000\left(1+\dfrac{0.05}{365}\right)^{365}=10{,}512.67 dollars. You can already see that the successive gains run out of steam: 11.6211.62 dollars going from yearly to monthly, then 1.051.05 dollars going from monthly to daily.

b)

Set y=(1+rn)ny=\left(1+\dfrac{r}{n}\right)^{n}, so ln⁡y=nln⁡(1+rn)\ln y=n\ln\left(1+\dfrac{r}{n}\right), of the form ∞⋅0\infty\cdot 0. Move a factor down by setting u=1n→0+u=\dfrac{1}{n}\to 0^{+}: ln⁡y=ln⁡(1+ru)u\ln y=\dfrac{\ln(1+ru)}{u}, of the form 00\dfrac{0}{0}. Differentiate with respect to uu: r1+ru1=r1+ru→r\dfrac{\frac{r}{1+ru}}{1}=\dfrac{r}{1+ru}\to r. Therefore ln⁡y→r\ln y\to r and y→ery\to e^{r}. For r=1r=1, you recognize the very definition of the number ee. Without going through the logarithm, no direct computation is possible: this is the textbook case of the form 1∞1^{\infty}.

c)

A=Per=10,000×e0.05=10,000×1.0512711=10,512.71A=Pe^{r}=10{,}000\times e^{0.05}=10{,}000\times 1.0512711=10{,}512.71 dollars.

d)

10,512.71−10,512.67=0.0410{,}512.71-10{,}512.67=0.04 dollars, that is FOUR CENTS on ten thousand dollars invested for one year. The comment matters as much as the number: the limit ere^{r} is reached in practice well before infinity, and compounding every second rather than every day earns strictly nothing. The difference between two institutions is therefore never a matter of compounding frequency, but of the posted rate. This is also why financial institutions are required to disclose an EFFECTIVE ANNUAL RATE, which is precisely (1+rn)n−1\left(1+\dfrac{r}{n}\right)^{n}-1: it makes offers comparable whatever their frequency.

e)

With r=0.50r=0.50: annual compounding, 10,000×1.5=15,00010{,}000\times 1.5=15{,}000 dollars; monthly, 10,000(1+0.512)12=16,320.9410{,}000\left(1+\dfrac{0.5}{12}\right)^{12}=16{,}320.94 dollars; continuous, 10,000 e0.5=16,487.2110{,}000\,e^{0.5}=16{,}487.21 dollars. The gap between annual and continuous now reaches 1,4871{,}487 dollars, nearly 10%10\% of the amount from annual compounding, against barely 1313 dollars for a rate of 5%5\%. Conclusion: in the indeterminate form 1∞1^{\infty}, everything depends on the DISTANCE from the base to 11. When rn\dfrac{r}{n} is tiny, the limit is reached almost immediately; when it is not, the compounding frequency changes the result visibly. This is the financial translation of what exercise 5 said mathematically: a base that tends to 11 is not a base equal to 11, and the difference is paid in dollars.

Something missing from this set? A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous chapter Bisection, Newton's method and fixed-point iteration, 201-SN2-RE Next chapter Function analysis and curve sketching, 201-SN2-RE

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/cegep-calc1-lhopital-indeterminate-forms. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a differential calculus tutor in Montreal?

Get in touch for a first session. We work on indeterminate forms and L'Hôpital's rule through exercises at the level of real CEGEP differential calculus exams.

Site by Studio Squalli