MATH 140 Calculus 1 • McGill University, Montreal

MATH 140 practice final exam with full solutions (McGill)

This is a practice final examination for MATH 140, Calculus 1, the differential calculus course of the first year at McGill University. It covers the whole course and is weighted like a real cumulative final: about a quarter on limits and continuity, a quarter on the derivative and its rules, and half on the applications of the derivative, from related rates and linear approximation to the Mean Value Theorem, curve sketching, optimization and antiderivatives. Twelve questions, one hundred points, three parts.

Sit it as an exam: three hours on a timer, no calculator, no notes. Every answer is exact, −π2-\frac{\pi}{2}, e−1e^{-1}, 427\frac{4}{27}, 1+π901 + \frac{\pi}{90}, 75375\sqrt{3}, and every mark goes to the method: name the algebra that opens a 00\frac{0}{0}, write the form before each round of L'Hospital's rule, name the inner function of every chain, substitute a value only AFTER differentiating, check every hypothesis of a theorem on its interval, and justify that a maximum is absolute. Not one question repeats an exercise of the twenty chapter sets of this site: the gestures are those of every MATH 140 final, the functions, curves and situations are new, so the paper measures what you can do and not what you remember. Each question carries its Answers box for a first quick marking, and the full reasoning underneath.

The traps named in the solutions: writing x2=x\sqrt{x^2} = x at −∞-\infty, using sin⁡θθ→1\frac{\sin\theta}{\theta} \to 1 with an angle that does not tend to 00, forgetting that a differentiable seam must first be continuous, applying L'Hospital's rule to a form that is no longer indeterminate, reading 1∞1^\infty as 11, losing the factor of an inner function, evaluating (f−1)′(f^{-1})' at bb instead of at f−1(b)f^{-1}(b), giving a falling level a positive rate, linearizing with a degree instead of a radian, quoting a theorem without its hypotheses, forgetting the endpoint of a closed interval, and dropping the constant of an antiderivative.

12 corrected exercises • 100 points • 180 minutes

Every MATH 140 chapter →

Self-checking set Type your answers under each 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.

Part A: limits and continuity (/24)

Exercise 1: Four limits, and the algebra that opens each one

Evaluate each limit exactly, or show that it is infinite. L'Hospital's rule is NOT allowed in this question: two points each, and the first line must name the move (conjugate, substitution, division by the dominant power, squeeze).

  • a) lim⁡x→−1x+5−2x3+1\displaystyle\lim_{x\to -1} \frac{\sqrt{x + 5} - 2}{x^3 + 1}
  • b) lim⁡x→1sin⁡(πx)x2−1\displaystyle\lim_{x\to 1} \frac{\sin(\pi x)}{x^2 - 1}
  • c) lim⁡x→∞16x2+5+2x3−x\displaystyle\lim_{x\to\infty} \frac{\sqrt{16x^2 + 5} + 2x}{3 - x} and lim⁡x→−∞16x2+5+2x3−x\displaystyle\lim_{x\to -\infty} \frac{\sqrt{16x^2 + 5} + 2x}{3 - x}. Give the horizontal asymptotes of the graph.
  • d) lim⁡x→∞2x−cos⁡(x2)x+3\displaystyle\lim_{x\to\infty} \frac{2x - \cos(x^2)}{x + 3}

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

a)
b)
c)
d)
Show the solution

Answers

  • a) 112\frac{1}{12}
  • b) −π2-\frac{\pi}{2}
  • c) −6-6 at +∞+\infty and 22 at −∞-\infty: asymptotes y=−6y = -6 and y=2y = 2
  • d) 22: cos⁡(x2)x→0\frac{\cos(x^2)}{x} \to 0 by the squeeze theorem

a) Direct substitution gives 4−2−1+1=00\frac{\sqrt{4} - 2}{-1 + 1} = \frac{0}{0}: the numerator and the denominator share the factor x+1x + 1, and the root hides it on top. Two moves. Multiply top and bottom by the conjugate x+5+2\sqrt{x + 5} + 2: the numerator becomes (x+5)−4=x+1(x + 5) - 4 = x + 1. Factor the sum of cubes below: x3+1=(x+1)(x2−x+1)x^3 + 1 = (x + 1)(x^2 - x + 1). For x≠−1x \ne -1 the quotient is x+1(x+1)(x2−x+1)(x+5+2)=1(x2−x+1)(x+5+2)\frac{x + 1}{(x + 1)(x^2 - x + 1)\left(\sqrt{x + 5} + 2\right)} = \frac{1}{(x^2 - x + 1)\left(\sqrt{x + 5} + 2\right)}, continuous at −1-1, and direct substitution gives 13⋅4=112\frac{1}{3 \cdot 4} = \frac{1}{12}.

b) Substitution gives sin⁡π0=00\frac{\sin\pi}{0} = \frac{0}{0}. The limit sin⁡θθ→1\frac{\sin\theta}{\theta} \to 1 needs an angle that tends to 00, and πx\pi x tends to π\pi: writing sin⁡(πx)πx→1\frac{\sin(\pi x)}{\pi x} \to 1 here is the classic error. Move: let t=x−1t = x - 1, so t→0t \to 0. Then sin⁡(πx)=sin⁡(π+πt)=−sin⁡(πt)\sin(\pi x) = \sin(\pi + \pi t) = -\sin(\pi t) and x2−1=(x−1)(x+1)=t(t+2)x^2 - 1 = (x - 1)(x + 1) = t(t + 2). The quotient is −sin⁡(πt)πt⋅πt+2→−1⋅π2=−π2-\frac{\sin(\pi t)}{\pi t} \cdot \frac{\pi}{t + 2} \to -1 \cdot \frac{\pi}{2} = -\frac{\pi}{2}.

c) Move: take x2x^2 out of the root, remembering that x2=∣x∣\sqrt{x^2} = |x|: 16x2+5=∣x∣16+5x2\sqrt{16x^2 + 5} = |x|\sqrt{16 + \frac{5}{x^2}}, then divide top and bottom by xx. As x→∞x \to \infty, ∣x∣=x|x| = x: the quotient is 16+5/x2+23/x−1→4+2−1=−6\frac{\sqrt{16 + 5/x^2} + 2}{3/x - 1} \to \frac{4 + 2}{-1} = -6. As x→−∞x \to -\infty, ∣x∣=−x|x| = -x, so the numerator is −x16+5x2+2x=x(2−16+5x2)-x\sqrt{16 + \frac{5}{x^2}} + 2x = x\left(2 - \sqrt{16 + \frac{5}{x^2}}\right), and the quotient is 2−16+5/x23/x−1→2−4−1=2\frac{2 - \sqrt{16 + 5/x^2}}{3/x - 1} \to \frac{2 - 4}{-1} = 2.

The graph has TWO horizontal asymptotes, y=−6y = -6 on the right and y=2y = 2 on the left. A student who writes 16x2+5x=16+5x2\frac{\sqrt{16x^2 + 5}}{x} = \sqrt{16 + \frac{5}{x^2}} for every xx finds −6-6 at both ends: that step is false for x<0x < 0, where the left side is negative and the right side positive.

d) Move: divide top and bottom by xx, the dominant power: 2−cos⁡(x2)x1+3x\frac{2 - \frac{\cos(x^2)}{x}}{1 + \frac{3}{x}}. The quotient law needs the limit of cos⁡(x2)x\frac{\cos(x^2)}{x}, and cos⁡(x2)\cos(x^2) itself has none: it oscillates between −1-1 and 11 forever. But it is bounded, and that is enough: for x>0x > 0, −1x≤cos⁡(x2)x≤1x-\frac{1}{x} \le \frac{\cos(x^2)}{x} \le \frac{1}{x}, and both bounds tend to 00, so by the squeeze theorem cos⁡(x2)x→0\frac{\cos(x^2)}{x} \to 0. Now every piece has a limit and the quotient law applies: the limit is 2−01+0=2\frac{2 - 0}{1 + 0} = 2. Writing lim⁡cos⁡(x2)\lim \cos(x^2) as if it existed, or dropping the cosine without the squeeze, costs the mark.

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

Exercise 2: The derivative as a limit, and a seam that must be smooth

Parts a) and b) to d) are independent. In b) to d), aa and bb are constants and f(x)=ax2+bf(x) = ax^2 + b for x<4x < 4, f(x)=2x+1f(x) = \sqrt{2x + 1} for x≥4x \ge 4. The one-sided derivatives at 44 must be computed from the DEFINITION of the derivative, as limits of difference quotients.

  • a) Recognize each limit as a derivative g′(a)g'(a), naming gg and aa, then evaluate it: lim⁡h→027+h3−3h\displaystyle\lim_{h\to 0} \frac{\sqrt[3]{27 + h} - 3}{h} and lim⁡x→22x−4x−2\displaystyle\lim_{x\to 2} \frac{2^x - 4}{x - 2}.
  • b) Find the condition on aa and bb for ff to be continuous on R\mathbb{R}.
  • c) Find aa and bb such that ff is differentiable at 44.
  • d) Take a=0a = 0 and b=3b = 3. Is ff continuous at 44? Differentiable? Name the defect of the graph. What happens to the left difference quotient when 16a+b≠316a + b \ne 3?

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

a)
b)
c)
d)
Show the solution

Answers

  • a) g(x)=x3g(x) = \sqrt[3]{x}, a=27a = 27: 127\frac{1}{27}; g(x)=2xg(x) = 2^x, a=2a = 2: 4ln⁡24\ln 2
  • b) 16a+b=316a + b = 3
  • c) Right derivative 13\frac{1}{3}, left derivative 8a8a: a=124a = \frac{1}{24}, b=73b = \frac{7}{3}
  • d) Continuous, not differentiable: a corner, slopes 00 and 13\frac{1}{3}; if 16a+b≠316a + b \ne 3 the left quotient is infinite

a) The first limit has the shape g(a+h)−g(a)h\frac{g(a + h) - g(a)}{h} with g(x)=x3g(x) = \sqrt[3]{x} and a=27a = 27, since the subtracted constant 33 is exactly g(27)g(27). So it equals g′(27)g'(27), and g′(x)=13x−2/3g'(x) = \frac{1}{3}x^{-2/3} gives 13⋅19=127\frac{1}{3} \cdot \frac{1}{9} = \frac{1}{27}. The second has the shape g(x)−g(a)x−a\frac{g(x) - g(a)}{x - a} with g(x)=2xg(x) = 2^x, a=2a = 2, and g(2)=4g(2) = 4 is indeed the subtracted constant. So it equals g′(2)=22ln⁡2=4ln⁡2g'(2) = 2^2\ln 2 = 4\ln 2, since (2x)′=2xln⁡2(2^x)' = 2^x\ln 2. Checking the subtracted constant is the whole test: lim⁡x→22x−3x−2\lim_{x\to 2}\frac{2^x - 3}{x - 2} is not a derivative at all.

b) On (−∞,4)(-\infty, 4), ff is a polynomial; on (4,∞)(4, \infty) it is 2x+1\sqrt{2x + 1} with 2x+1>02x + 1 > 0: continuous on both open pieces. Only the seam remains. f(4)=9=3f(4) = \sqrt{9} = 3, the right-hand limit is 33, and the left-hand limit is lim⁡x→4−(ax2+b)=16a+b\lim_{x\to 4^-}(ax^2 + b) = 16a + b. So ff is continuous on R\mathbb{R} if and only if 16a+b=316a + b = 3.

c) A differentiable function is continuous, so 16a+b=316a + b = 3 is required first. Right quotient, h>0h > 0: f(4+h)−f(4)h=9+2h−3h=(9+2h)−9h(9+2h+3)=29+2h+3→26=13\frac{f(4 + h) - f(4)}{h} = \frac{\sqrt{9 + 2h} - 3}{h} = \frac{(9 + 2h) - 9}{h\left(\sqrt{9 + 2h} + 3\right)} = \frac{2}{\sqrt{9 + 2h} + 3} \to \frac{2}{6} = \frac{1}{3} (conjugate). Left quotient, h<0h < 0: f(4+h)=a(16+8h+h2)+b=3+8ah+ah2f(4 + h) = a(16 + 8h + h^2) + b = 3 + 8ah + ah^2 by the condition of b), so f(4+h)−f(4)h=8ah+ah2h=8a+ah→8a\frac{f(4 + h) - f(4)}{h} = \frac{8ah + ah^2}{h} = 8a + ah \to 8a.

The two one-sided derivatives are equal if and only if 8a=138a = \frac{1}{3}: a=124a = \frac{1}{24}, and then b=3−1624=73b = 3 - \frac{16}{24} = \frac{7}{3}. Check with the rules: the parabola x224+73\frac{x^2}{24} + \frac{7}{3} has slope x12\frac{x}{12}, which is 13\frac{1}{3} at 44, and (2x+1)′=12x+1\left(\sqrt{2x + 1}\right)' = \frac{1}{\sqrt{2x + 1}} is 13\frac{1}{3} at 44: the two pieces share the point (4,3)(4, 3) AND the tangent there.

d) With a=0a = 0, b=3b = 3: 16a+b=316a + b = 3, so ff is continuous at 44. The left quotient is 8a=08a = 0 (the left piece is the constant 33), the right one is 13\frac{1}{3}: two finite, different one-sided derivatives, so ff is not differentiable at 44 and the graph has a CORNER at (4,3)(4, 3). If 16a+b≠316a + b \ne 3, the numerator of the left quotient tends to 16a+b−3≠016a + b - 3 \ne 0 while h→0−h \to 0^-: the quotient is infinite, and ff has no derivative, as it must, since it is not even continuous. Continuity is necessary for differentiability, never sufficient.

Exercise 3: L'Hospital's rule: the form first, then the power forms

Evaluate each limit. Two points each: before EVERY application of L'Hospital's rule, write the form and check that it is indeterminate; for a product or a power, write the rewritten quotient and its form first.

  • a) lim⁡x→0ex−1−sin⁡xx2\displaystyle\lim_{x\to 0} \frac{e^x - 1 - \sin x}{x^2}
  • b) lim⁡x→∞x(π2−arctan⁡x)\displaystyle\lim_{x\to\infty} x\left(\frac{\pi}{2} - \arctan x\right)
  • c) lim⁡x→1x1/(1−x)\displaystyle\lim_{x\to 1} x^{1/(1 - x)}
  • d) lim⁡x→0+(ex−1)x\displaystyle\lim_{x\to 0^+} \left(e^x - 1\right)^x

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

a)
b)
c)
d)
Show the solution

Answers

  • a) 00\frac{0}{0} twice, then e0+sin⁡02=12\frac{e^0 + \sin 0}{2} = \frac{1}{2}
  • b) 0⋅∞0 \cdot \infty rewritten as 00\frac{0}{0}: limit 11
  • c) 1±∞1^{\pm\infty}; ln⁡y=ln⁡x1−x→−1\ln y = \frac{\ln x}{1 - x} \to -1: limit e−1e^{-1}
  • d) 000^0; ln⁡y=xln⁡(ex−1)→0\ln y = x\ln(e^x - 1) \to 0: limit 11

a) Form: 1−1−00=00\frac{1 - 1 - 0}{0} = \frac{0}{0}, indeterminate. Round 1, top and bottom differentiated separately: ex−cos⁡x2x\frac{e^x - \cos x}{2x}, whose form is 1−10=00\frac{1 - 1}{0} = \frac{0}{0} again. Round 2: ex+sin⁡x2\frac{e^x + \sin x}{2}, whose form is 1+02\frac{1 + 0}{2}: NOT indeterminate, so stop and substitute: the limit is 12\frac{1}{2}. A third round would differentiate the constant 22 into 00 and produce nonsense: the rule is applied only to an indeterminate form.

b) Form: ∞⋅0\infty \cdot 0, since arctan⁡x→π2\arctan x \to \frac{\pi}{2}. Rewrite as a quotient, putting the factor xx in the denominator as 1x\frac{1}{x}: π2−arctan⁡x1/x\frac{\frac{\pi}{2} - \arctan x}{1/x}, of the form 00\frac{0}{0}. Differentiate: −11+x2−1x2=x21+x2→1\frac{-\frac{1}{1 + x^2}}{-\frac{1}{x^2}} = \frac{x^2}{1 + x^2} \to 1. The limit is 11: the gap π2−arctan⁡x\frac{\pi}{2} - \arctan x shrinks exactly like 1x\frac{1}{x}. The other rewriting, x1/(π/2−arctan⁡x)\frac{x}{1/(\pi/2 - \arctan x)}, leads to a heavier quotient.

c) As x→1x \to 1 the base tends to 11 and the exponent 11−x\frac{1}{1 - x} to +∞+\infty from the left and −∞-\infty from the right: the form 1±∞1^{\pm\infty} is indeterminate, and the answer is NOT 11. Near 11, x>0x > 0, so let y=x1/(1−x)y = x^{1/(1 - x)} and ln⁡y=ln⁡x1−x\ln y = \frac{\ln x}{1 - x}, of the form 00\frac{0}{0}. Differentiate: 1/x−1→−1\frac{1/x}{-1} \to -1, from both sides. Since the exponential is continuous, y=eln⁡y→e−1y = e^{\ln y} \to e^{-1}.

d) As x→0+x \to 0^+, ex−1→0+e^x - 1 \to 0^+ and the exponent x→0x \to 0: the form 000^0. Let y=(ex−1)xy = (e^x - 1)^x, so ln⁡y=xln⁡(ex−1)\ln y = x\ln(e^x - 1), of the form 0⋅(−∞)0 \cdot (-\infty). Rewrite: ln⁡(ex−1)1/x\frac{\ln(e^x - 1)}{1/x}, of the form −∞∞\frac{-\infty}{\infty}. Differentiate, with the chain rule on the top: ex/(ex−1)−1/x2=−xex⋅xex−1\frac{e^x/(e^x - 1)}{-1/x^2} = -x e^x \cdot \frac{x}{e^x - 1}. Now xex−1→1\frac{x}{e^x - 1} \to 1 (it is the reciprocal of ex−e0x−0→(ex)′(0)=1\frac{e^x - e^0}{x - 0} \to (e^x)'(0) = 1), and −xex→0-x e^x \to 0: so ln⁡y→0\ln y \to 0 and y→e0=1y \to e^0 = 1. Simplifying after the round avoids a second, heavier round.

Part B: derivatives and their rules (/26)

Exercise 4: Three derivatives, every rule named

Three points each. Name every rule as you use it (product, quotient, chain with the inner function written down), then simplify: the factored or reduced form is part of the answer.

  • a) Differentiate f(x)=x4e−x/2f(x) = x^4 e^{-x/2}, factor f′(x)f'(x), and find the points of the graph where the tangent is horizontal.
  • b) Differentiate g(x)=sin⁡x−xcos⁡xcos⁡x+xsin⁡xg(x) = \dfrac{\sin x - x\cos x}{\cos x + x\sin x} and show that g′(x)=x2(cos⁡x+xsin⁡x)2g'(x) = \dfrac{x^2}{(\cos x + x\sin x)^2}. Find the tangent line at x=π2x = \frac{\pi}{2}.
  • c) Differentiate h(x)=x+xh(x) = \sqrt{x + \sqrt{x}}, list its layers, and compute h′(1)h'(1). Where is hh defined, and where is it differentiable?

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

a)
b)
c)
hh is defined on ,
hh is differentiable on ,
Show the solution

Answers

  • a) f′(x)=12x3e−x/2(8−x)f'(x) = \frac{1}{2}x^3 e^{-x/2}(8 - x); horizontal tangents at (0,0)(0, 0) and (8,4096e−4)(8, 4096e^{-4})
  • b) g′(x)=x2(cos⁡x+xsin⁡x)2g'(x) = \frac{x^2}{(\cos x + x\sin x)^2}; tangent y=2π+x−π2y = \frac{2}{\pi} + x - \frac{\pi}{2}
  • c) h′(x)=2x+14xx+xh'(x) = \frac{2\sqrt{x} + 1}{4\sqrt{x}\sqrt{x + \sqrt{x}}}, h′(1)=328h'(1) = \frac{3\sqrt{2}}{8}; defined on [0,∞)[0, \infty), differentiable on (0,∞)(0, \infty)

a) Product rule with u=x4u = x^4 and v=e−x/2v = e^{-x/2}. For v′v', the chain rule with inner function w=−x2w = -\frac{x}{2}: v′=ew⋅w′=−12e−x/2v' = e^{w} \cdot w' = -\frac{1}{2}e^{-x/2}. So f′(x)=4x3e−x/2−12x4e−x/2=12x3e−x/2(8−x)f'(x) = 4x^3 e^{-x/2} - \frac{1}{2}x^4 e^{-x/2} = \frac{1}{2}x^3 e^{-x/2}(8 - x). Horizontal tangents where f′(x)=0f'(x) = 0: the exponential is never 00, so x3=0x^3 = 0 or 8−x=08 - x = 0, that is x=0x = 0 or x=8x = 8. The points are (0,0)(0, 0) and (8,84e−4)=(8,4096e−4)(8, 8^4 e^{-4}) = (8, 4096e^{-4}). The common slip is v′=e−x/2v' = e^{-x/2}, forgetting the factor −12-\frac{1}{2} of the inner function: it moves the second point to x=−4x = -4.

b) Quotient rule with N=sin⁡x−xcos⁡xN = \sin x - x\cos x and D=cos⁡x+xsin⁡xD = \cos x + x\sin x. Each needs the product rule on its second term: N′=cos⁡x−(cos⁡x−xsin⁡x)=xsin⁡xN' = \cos x - (\cos x - x\sin x) = x\sin x and D′=−sin⁡x+(sin⁡x+xcos⁡x)=xcos⁡xD' = -\sin x + (\sin x + x\cos x) = x\cos x. Then g′=N′D−ND′D2=xsin⁡x(cos⁡x+xsin⁡x)−(sin⁡x−xcos⁡x) xcos⁡xD2=x[sin⁡xcos⁡x+xsin⁡2x−sin⁡xcos⁡x+xcos⁡2x]D2=x2(sin⁡2x+cos⁡2x)D2=x2(cos⁡x+xsin⁡x)2g' = \frac{N'D - ND'}{D^2} = \frac{x\sin x(\cos x + x\sin x) - (\sin x - x\cos x)\,x\cos x}{D^2} = \frac{x\left[\sin x\cos x + x\sin^2 x - \sin x\cos x + x\cos^2 x\right]}{D^2} = \frac{x^2(\sin^2 x + \cos^2 x)}{D^2} = \frac{x^2}{(\cos x + x\sin x)^2}, wherever D≠0D \ne 0.

At x=π2x = \frac{\pi}{2}: N=1−0=1N = 1 - 0 = 1 and D=0+π2=π2D = 0 + \frac{\pi}{2} = \frac{\pi}{2}, so g(π2)=2πg\left(\frac{\pi}{2}\right) = \frac{2}{\pi} and g′(π2)=π2/4π2/4=1g'\left(\frac{\pi}{2}\right) = \frac{\pi^2/4}{\pi^2/4} = 1. Tangent: y=2π+(x−π2)y = \frac{2}{\pi} + \left(x - \frac{\pi}{2}\right). Expanding D2D^2 in the denominator, or stopping before sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1, leaves an answer that cannot be evaluated at a glance: the simplification is what the question tests.

c) Layers, from the outside: the square root u\sqrt{u}, with u=x+xu = x + \sqrt{x}, and inside uu the root x\sqrt{x}. Chain rule on the outer root, then the sum rule inside: h′(x)=12x+x⋅(1+12x)=2x+14xx+xh'(x) = \frac{1}{2\sqrt{x + \sqrt{x}}} \cdot \left(1 + \frac{1}{2\sqrt{x}}\right) = \frac{2\sqrt{x} + 1}{4\sqrt{x}\sqrt{x + \sqrt{x}}}. At x=1x = 1: 34⋅1⋅2=342=328\frac{3}{4 \cdot 1 \cdot \sqrt{2}} = \frac{3}{4\sqrt{2}} = \frac{3\sqrt{2}}{8}.

hh is defined when x≥0x \ge 0 (for x\sqrt{x}), and then x+x≥0x + \sqrt{x} \ge 0 holds automatically: domain [0,∞)[0, \infty). The formula of h′h' needs x>0x > 0; at 00 the difference quotient h(t)−h(0)t=t+tt≥t1/4t→∞\frac{h(t) - h(0)}{t} = \frac{\sqrt{t + \sqrt{t}}}{t} \ge \frac{t^{1/4}}{t} \to \infty, a vertical tangent. So hh is differentiable on (0,∞)(0, \infty) only.

Exercise 5: A curve with no formula for y, and an inverse with no formula at all

Parts a) to c) concern the curve CC of equation xey+y=2x e^{y} + y = 2, shown in the figure with its tangent at P(2,0)P(2, 0) (dashed) and a point VV of part b). Part d) is independent.

-1-0.50.511.522.533.54-1-0.50.511.522.533.54x e^y + y = 2PV
  • a) Check that P(2,0)P(2, 0) is on CC, find dydx\frac{dy}{dx} by implicit differentiation, and write the tangent line at PP.
  • b) Show that CC has no horizontal tangent, and find the exact point VV where its tangent is vertical.
  • c) Find d2ydx2\frac{d^2y}{dx^2} at PP. Is the curve above or below its tangent near PP?
  • d) Let f(x)=x+arctan⁡xf(x) = x + \arctan x. Explain why ff is one-to-one, then find (f−1)′(0)(f^{-1})'(0), the tangent line to y=f−1(x)y = f^{-1}(x) at the origin, and (f−1)′(1+π4)\left(f^{-1}\right)'\left(1 + \frac{\pi}{4}\right).

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

a)
b)
c)
d)
Show the solution

Answers

  • a) dydx=−eyxey+1\frac{dy}{dx} = -\frac{e^y}{x e^y + 1}; slope −13-\frac{1}{3} at PP; tangent y=−13(x−2)y = -\frac{1}{3}(x - 2)
  • b) The numerator −ey-e^y never vanishes; V=(−e−3,3)V = (-e^{-3}, 3)
  • c) y′′=427>0y'' = \frac{4}{27} > 0 at PP: the curve is above its tangent
  • d) (f−1)′(0)=12(f^{-1})'(0) = \frac{1}{2}, tangent y=x2y = \frac{x}{2}; (f−1)′(1+π4)=23\left(f^{-1}\right)'\left(1 + \frac{\pi}{4}\right) = \frac{2}{3}

a) At (2,0)(2, 0): 2e0+0=22e^0 + 0 = 2, so PP is on CC. Differentiate both sides with respect to xx, yy being a function of xx. The term xeyx e^y is a product, and eye^y is a composition with inner function yy: ddx(xey)=ey+xeyy′\frac{d}{dx}(x e^y) = e^y + x e^y y'. So ey+xeyy′+y′=0e^y + x e^y y' + y' = 0, hence y′(xey+1)=−eyy'(x e^y + 1) = -e^y and dydx=−eyxey+1\frac{dy}{dx} = -\frac{e^y}{x e^y + 1} wherever xey+1≠0x e^y + 1 \ne 0. At PP: −12+1=−13-\frac{1}{2 + 1} = -\frac{1}{3}. Tangent: y=−13(x−2)y = -\frac{1}{3}(x - 2). The formula contains yy: it gives the slope at a POINT, which is all that is needed.

b) A horizontal tangent needs the numerator −ey-e^y to vanish, which never happens: no horizontal tangent anywhere. A vertical tangent needs xey+1=0x e^y + 1 = 0 at a point of CC, with the numerator nonzero. On CC, xey=2−yx e^y = 2 - y, so the condition reads 2−y+1=02 - y + 1 = 0: y=3y = 3, then x=(2−3)e−3=−e−3x = (2 - 3)e^{-3} = -e^{-3}. There the numerator is −e3≠0-e^3 \ne 0: V=(−e−3,3)V = (-e^{-3}, 3) is the only point with a vertical tangent. It lies a hair to the left of the yy-axis, e−3e^{-3} being about 0.050.05, which is why the figure barely shows the curve turning back. Check: CC is the graph of x=(2−y)e−yx = (2 - y)e^{-y}, and dxdy=−(3−y)e−y\frac{dx}{dy} = -(3 - y)e^{-y} vanishes exactly at y=3y = 3.

c) Differentiate ey+xeyy′+y′=0e^y + x e^y y' + y' = 0 once more, remembering that yy and y′y' are both functions of xx: eyy′+[eyy′+xey(y′)2+xeyy′′]+y′′=0e^y y' + \left[e^y y' + x e^y (y')^2 + x e^y y''\right] + y'' = 0, that is 2eyy′+xey(y′)2+(xey+1)y′′=02e^y y' + x e^y (y')^2 + (x e^y + 1)y'' = 0. At PP, with y′=−13y' = -\frac{1}{3}: −23+29+3y′′=0-\frac{2}{3} + \frac{2}{9} + 3y'' = 0, so 3y′′=493y'' = \frac{4}{9} and y′′=427y'' = \frac{4}{27}. It is positive: near PP the curve is concave up and lies ABOVE its tangent, as in the figure.

d) xx and arctan⁡x\arctan x are both increasing on R\mathbb{R}, so their sum is increasing, and an increasing function never takes the same value twice: ff is one-to-one. No formula for f−1f^{-1} exists in terms of elementary functions, and none is needed. f(0)=0f(0) = 0, so f−1(0)=0f^{-1}(0) = 0; f′(x)=1+11+x2f'(x) = 1 + \frac{1}{1 + x^2}, the derivative of arctan⁡\arctan being 11+x2\frac{1}{1 + x^2}, and f′(0)=2≠0f'(0) = 2 \ne 0. Hence (f−1)′(0)=1f′(f−1(0))=12(f^{-1})'(0) = \frac{1}{f'(f^{-1}(0))} = \frac{1}{2}, and the tangent to y=f−1(x)y = f^{-1}(x) at the origin is y=x2y = \frac{x}{2}, the reflection in y=xy = x of the tangent y=2xy = 2x of ff.

For b=1+π4b = 1 + \frac{\pi}{4}, first find the point where ff takes that value: f(1)=1+π4f(1) = 1 + \frac{\pi}{4}, so f−1(b)=1f^{-1}(b) = 1. Then (f−1)′(b)=1f′(1)=11+12=23\left(f^{-1}\right)'(b) = \frac{1}{f'(1)} = \frac{1}{1 + \frac{1}{2}} = \frac{2}{3}. The classic error is 1f′(b)\frac{1}{f'(b)}: the derivative of ff must be taken at f−1(b)f^{-1}(b), not at bb.

Exercise 6: Logarithmic differentiation: a moving exponent, then a heavy quotient

Parts a) and b) are independent. Four points each.

  • a) Let y=xxy = x^{\sqrt{x}} for x>0x > 0. Explain why neither the power rule nor the exponential rule applies, find y′y', compute y′(4)y'(4), and find the exact point where the tangent is horizontal.
  • b) Let y=e2x1+x2(1+x)3y = \dfrac{e^{2x}\sqrt{1 + x^2}}{(1 + x)^3} for x>−1x > -1. Find y′y\frac{y'}{y} by logarithmic differentiation, write the tangent line at x=0x = 0, and show that y′(1)=y(1)y'(1) = y(1).

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

a)
b)
Show the solution

Answers

  • a) y′=xx ln⁡x+22xy' = x^{\sqrt{x}}\,\frac{\ln x + 2}{2\sqrt{x}}; y′(4)=8(ln⁡2+1)y'(4) = 8(\ln 2 + 1); horizontal tangent at (e−2,e−2/e)\left(e^{-2}, e^{-2/e}\right)
  • b) y′y=2+x1+x2−31+x\frac{y'}{y} = 2 + \frac{x}{1 + x^2} - \frac{3}{1 + x}; tangent y=1−xy = 1 - x; at x=1x = 1, y′y=1\frac{y'}{y} = 1

a) The power rule (xn)′=nxn−1(x^n)' = nx^{n-1} needs a CONSTANT exponent, and the exponential rule (bx)′=bxln⁡b(b^x)' = b^x\ln b a CONSTANT base; here both move. Take logarithms, y>0y > 0: ln⁡y=xln⁡x\ln y = \sqrt{x}\ln x. Differentiate both sides, the left by the chain rule, the right by the product rule: y′y=12xln⁡x+x⋅1x=ln⁡x+22x\frac{y'}{y} = \frac{1}{2\sqrt{x}}\ln x + \sqrt{x} \cdot \frac{1}{x} = \frac{\ln x + 2}{2\sqrt{x}}. So y′=xx ln⁡x+22xy' = x^{\sqrt{x}}\,\frac{\ln x + 2}{2\sqrt{x}}.

At x=4x = 4: y(4)=42=16y(4) = 4^2 = 16 and y′(4)=16⋅2ln⁡2+24=8(ln⁡2+1)y'(4) = 16 \cdot \frac{2\ln 2 + 2}{4} = 8(\ln 2 + 1). Horizontal tangent: xx>0x^{\sqrt{x}} > 0 and 2x>02\sqrt{x} > 0, so y′=0y' = 0 exactly when ln⁡x=−2\ln x = -2, x=e−2x = e^{-2}. Then x=e−1\sqrt{x} = e^{-1} and y=(e−2)e−1=e−2/ey = \left(e^{-2}\right)^{e^{-1}} = e^{-2/e}: the point is (e−2,e−2/e)\left(e^{-2}, e^{-2/e}\right).

b) On (−1,∞)(-1, \infty) every factor is positive (e2xe^{2x}, the root, and 1+x1 + x), so y>0y > 0 and ln⁡y\ln y can be taken without absolute values. Expand BEFORE differentiating: ln⁡y=2x+12ln⁡(1+x2)−3ln⁡(1+x)\ln y = 2x + \frac{1}{2}\ln(1 + x^2) - 3\ln(1 + x). Differentiate: y′y=2+12⋅2x1+x2−31+x=2+x1+x2−31+x\frac{y'}{y} = 2 + \frac{1}{2} \cdot \frac{2x}{1 + x^2} - \frac{3}{1 + x} = 2 + \frac{x}{1 + x^2} - \frac{3}{1 + x}. The product and quotient rules would need three factors and a cube in the denominator; here each factor contributes one relative rate.

At x=0x = 0: y(0)=1⋅11=1y(0) = \frac{1 \cdot 1}{1} = 1 and y′y=2+0−3=−1\frac{y'}{y} = 2 + 0 - 3 = -1, so y′(0)=−1y'(0) = -1 and the tangent is y=1−xy = 1 - x. At x=1x = 1: y′y=2+12−32=1\frac{y'}{y} = 2 + \frac{1}{2} - \frac{3}{2} = 1, so y′(1)=y(1)=e228y'(1) = y(1) = \frac{e^2\sqrt{2}}{8}. Forgetting to multiply by yy at the end, and answering 11 for y′(1)y'(1), is the usual loss of marks.

Part C: applications of the derivative (/50)

Exercise 7: Filling a trough with a triangular cross-section

A water trough is 44 m long. Its two ends are isosceles triangles, vertex down, 8080 cm across the top and 4040 cm deep, as in the figure. Water is pumped in at the constant rate of 0.080.08 m3^3/min. Let hh be the depth of the water and ww the width of its surface, in metres, functions of the time tt in minutes.

80 cm40 cmhw
  • a) Use similar triangles to express ww in terms of hh, then the volume VV of water in terms of hh alone.
  • b) How fast is the water level rising when the water is 2020 cm deep?
  • c) How fast is the width ww of the water surface increasing at that instant? How fast does the level rise just as the trough becomes full, and why is it slower?
  • d) Later, a crack opens in the trough and water leaks out while the pump keeps running. At the instant the depth is 3030 cm, the level is observed to FALL at 11 cm/min. At what rate is water leaking out?

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

a)
b)
c)
d)
Show the solution

Answers

  • a) w=2hw = 2h, V=4h2V = 4h^2 m3^3 for 0≤h≤0.40 \le h \le 0.4
  • b) dhdt=0.05\frac{dh}{dt} = 0.05 m/min, that is 55 cm/min
  • c) dwdt=0.1\frac{dw}{dt} = 0.1 m/min; at h=0.4h = 0.4, dhdt=0.025\frac{dh}{dt} = 0.025 m/min
  • d) 0.1040.104 m3^3/min, about 104104 litres per minute

a) The water fills a triangle similar to the end of the trough: same apex at the bottom, same angles. Corresponding sides are proportional: wh=0.80.4\frac{w}{h} = \frac{0.8}{0.4}, so w=2hw = 2h at every instant. The cross-section of the water has area 12wh=12(2h)h=h2\frac{1}{2}wh = \frac{1}{2}(2h)h = h^2, and the volume is that area times the length: V=4h2V = 4h^2 m3^3, for 0≤h≤0.40 \le h \le 0.4. Eliminating ww BEFORE differentiating is what leaves one unknown rate.

b) Differentiate V=4h2V = 4h^2 with respect to tt, by the chain rule: dVdt=8hdhdt\frac{dV}{dt} = 8h\frac{dh}{dt}. With dVdt=0.08\frac{dV}{dt} = 0.08 and, only now, h=0.2h = 0.2: 0.08=1.6 dhdt0.08 = 1.6\,\frac{dh}{dt}, so dhdt=0.05\frac{dh}{dt} = 0.05 m/min, 55 cm/min. Check without related rates: starting from empty, V=0.08tV = 0.08t, so h=0.02th = \sqrt{0.02t}; the depth is 0.20.2 at t=2t = 2, and dhdt=0.010.02t=0.010.2=0.05\frac{dh}{dt} = \frac{0.01}{\sqrt{0.02t}} = \frac{0.01}{0.2} = 0.05 there.

c) From w=2hw = 2h: dwdt=2dhdt=0.1\frac{dw}{dt} = 2\frac{dh}{dt} = 0.1 m/min, 1010 cm/min at that instant. Just as the trough becomes full, h=0.4h = 0.4: 0.08=8(0.4)dhdt=3.2 dhdt0.08 = 8(0.4)\frac{dh}{dt} = 3.2\,\frac{dh}{dt}, so dhdt=0.025\frac{dh}{dt} = 0.025 m/min, half the rate of b). The same 0.080.08 m3^3 per minute now spreads over a surface twice as wide (8080 cm against 4040 cm), so it raises the level half as much: dVdt\frac{dV}{dt} is constant, dhdt\frac{dh}{dt} is not.

d) Let LL be the leak rate, in m3^3/min. The volume now changes at dVdt=0.08−L\frac{dV}{dt} = 0.08 - L. At the instant h=0.3h = 0.3 with dhdt=−0.01\frac{dh}{dt} = -0.01 m/min (the level falls, so the rate is NEGATIVE, and 11 cm is 0.010.01 m): dVdt=8(0.3)(−0.01)=−0.024\frac{dV}{dt} = 8(0.3)(-0.01) = -0.024. Hence 0.08−L=−0.0240.08 - L = -0.024 and L=0.104L = 0.104 m3^3/min, about 104104 litres per minute. Using +0.01+0.01 gives L=0.056L = 0.056, a leak smaller than the pump, which could never make the level fall.

Exercise 8: Linear approximation: a tangent in degrees, and an artery that narrows

Parts a) and b), c) are independent. In b) and c), Poiseuille's law says that the flow of blood through an artery of radius rr is F=kr4F = kr^4, where kk is a positive constant.

  • a) Use a linear approximation of tan⁡x\tan x to estimate tan⁡46∘\tan 46^\circ exactly, then as a short decimal. Is the estimate too large or too small?
  • b) Plaque reduces the radius of an artery by 5%5\%. Use differentials to estimate the percentage change of the flow. Compute the exact change, and explain from the concavity of FF why the linear estimate exaggerates the drop.
  • c) By what percentage must the radius shrink to halve the flow? Give the linear estimate, then the exact answer, bracketed without a calculator using 1.184<2<1.1941.18^4 < 2 < 1.19^4.

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

a)
b)
c)
Show the solution

Answers

  • a) tan⁡46∘≈1+π90≈1.035\tan 46^\circ \approx 1 + \frac{\pi}{90} \approx 1.035, too small
  • b) dFF=4drr=−20%\frac{dF}{F} = 4\frac{dr}{r} = -20\%; exact 0.954=0.814506250.95^4 = 0.81450625, a drop of 18.55%18.55\%
  • c) Linear: 12.5%12.5\%; exact: 1−2−1/41 - 2^{-1/4}, between 15.2%15.2\% and 16.0%16.0\%

a) Calculus works in radians: 46∘=π4+π18046^\circ = \frac{\pi}{4} + \frac{\pi}{180}. Linearize f(x)=tan⁡xf(x) = \tan x at a=π4a = \frac{\pi}{4}, where everything is exact: f(a)=1f(a) = 1, f′(x)=sec⁡2xf'(x) = \sec^2 x, f′(π4)=2f'\left(\frac{\pi}{4}\right) = 2. So L(x)=1+2(x−π4)L(x) = 1 + 2\left(x - \frac{\pi}{4}\right) and tan⁡46∘≈1+2⋅π180=1+π90≈1.035\tan 46^\circ \approx 1 + 2 \cdot \frac{\pi}{180} = 1 + \frac{\pi}{90} \approx 1.035. Taking dx=1dx = 1 because the angle grew by one degree gives 33, an absurd value: the increment must be in radians. Side: f′′(x)=2sec⁡2xtan⁡x>0f''(x) = 2\sec^2 x\tan x > 0 on (0,π2)\left(0, \frac{\pi}{2}\right), so tan⁡\tan is concave up there and lies ABOVE its tangent line: the estimate is too small.

b) dF=4kr3 drdF = 4kr^3\,dr, so the relative change is dFF=4kr3 drkr4=4drr\frac{dF}{F} = \frac{4kr^3\,dr}{kr^4} = 4\frac{dr}{r}: a power 44 multiplies relative changes by 44. With drr=−0.05\frac{dr}{r} = -0.05: dFF=−0.20\frac{dF}{F} = -0.20, a drop of about 20%20\%. Exact: F(0.95r)F(r)=0.954=0.90252=0.81450625\frac{F(0.95r)}{F(r)} = 0.95^4 = 0.9025^2 = 0.81450625, a drop of 18.549375%18.549375\%. The linear estimate exaggerates the drop because F′′=12kr2>0F'' = 12kr^2 > 0: FF is concave up in rr, its tangent lies BELOW the curve, so the tangent predicts a smaller flow than the true one.

c) Linear: 4drr=−0.54\frac{dr}{r} = -0.5 gives drr=−0.125\frac{dr}{r} = -0.125, a 12.5%12.5\% reduction. Exact: (1−s)4=12(1 - s)^4 = \frac{1}{2}, so s=1−2−1/4s = 1 - 2^{-1/4}. From 1.184<2<1.1941.18^4 < 2 < 1.19^4 (indeed 1.184=1.39242=1.93877…1.18^4 = 1.3924^2 = 1.93877\ldots and 1.194=1.41612=2.00533…1.19^4 = 1.4161^2 = 2.00533\ldots): 1.18<21/4<1.191.18 < 2^{1/4} < 1.19, so 1−11.18<s<1−11.191 - \frac{1}{1.18} < s < 1 - \frac{1}{1.19}, that is 0.181.18<s<0.191.19\frac{0.18}{1.18} < s < \frac{0.19}{1.19}, between about 15.2%15.2\% and 16.0%16.0\%. The linear estimate is off by a quarter of itself: a differential is a tool for SMALL changes, and halving a flow is not one.

Exercise 9: Three theorems, their hypotheses checked one by one

Parts a), b) and c) are independent. For each theorem you use, name it and check EVERY hypothesis, on the right interval, before quoting the conclusion. The figure, for part b), shows y=xx+2y = \frac{x}{x + 2}, the chord ABAB over [0,2][0, 2] and a tangent parallel to it at CC.

-0.40.40.81.21.622.4-0.10.10.20.30.40.50.60.7y = x/(x + 2)BAC
  • a) Prove that the equation ex+x3=4e^x + x^3 = 4 has exactly one real solution, and that it lies in (1,2)(1, 2).
  • b) Check the hypotheses of the Mean Value Theorem for f(x)=xx+2f(x) = \frac{x}{x + 2} on [0,2][0, 2], and find the number cc exactly. Prove without a calculator that it lies in (0,2)(0, 2).
  • c) Apply the Mean Value Theorem to x\sqrt{x} on [49,50][49, 50] to prove that 7+116<50<7+1147 + \frac{1}{16} < \sqrt{50} < 7 + \frac{1}{14}. Deduce that 11380<2<9970\frac{113}{80} < \sqrt{2} < \frac{99}{70}.

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

a)
b)
Show the solution

Answers

  • a) IVT on [1,2][1, 2]: f(1)=e−3<0<f(2)=e2+4f(1) = e - 3 < 0 < f(2) = e^2 + 4; f′(x)=ex+3x2>0f'(x) = e^x + 3x^2 > 0 and Rolle forbid a second root
  • b) Chord slope 14\frac{1}{4}; c=22−2c = 2\sqrt{2} - 2
  • c) 50−7=12c\sqrt{50} - 7 = \frac{1}{2\sqrt{c}} with 7<c<87 < \sqrt{c} < 8; then 50=52\sqrt{50} = 5\sqrt{2}

a) Let f(x)=ex+x3−4f(x) = e^x + x^3 - 4. Existence, by the Intermediate Value Theorem: ff is continuous on [1,2][1, 2] (an exponential plus a polynomial), f(1)=e−3<0f(1) = e - 3 < 0 because e<3e < 3, and f(2)=e2+4>0f(2) = e^2 + 4 > 0. So f(c)=0f(c) = 0 for some cc in (1,2)(1, 2). At most one root, by Rolle's theorem and contradiction: suppose f(r1)=f(r2)=0f(r_1) = f(r_2) = 0 with r1<r2r_1 < r_2. Then ff is continuous on [r1,r2][r_1, r_2], differentiable on (r1,r2)(r_1, r_2) and f(r1)=f(r2)f(r_1) = f(r_2), so f′(c)=0f'(c) = 0 for some cc between them. But f′(x)=ex+3x2>0f'(x) = e^x + 3x^2 > 0 for EVERY xx, since ex>0e^x > 0 and 3x2≥03x^2 \ge 0. Contradiction: the equation has exactly one real solution, and it lies in (1,2)(1, 2).

b) ff is a rational function whose denominator x+2≥2>0x + 2 \ge 2 > 0 on [0,2][0, 2]: it is continuous on [0,2][0, 2] and differentiable on (0,2)(0, 2), the two hypotheses. The chord has slope f(2)−f(0)2−0=1/2−02=14\frac{f(2) - f(0)}{2 - 0} = \frac{1/2 - 0}{2} = \frac{1}{4}. By the quotient rule, f′(x)=(x+2)−x(x+2)2=2(x+2)2f'(x) = \frac{(x + 2) - x}{(x + 2)^2} = \frac{2}{(x + 2)^2}. Solve 2(c+2)2=14\frac{2}{(c + 2)^2} = \frac{1}{4}: (c+2)2=8(c + 2)^2 = 8, c+2=±22c + 2 = \pm 2\sqrt{2}. The root c=−2−22c = -2 - 2\sqrt{2} is outside (0,2)(0, 2) and rejected; c=22−2c = 2\sqrt{2} - 2 remains. Since 1<2<21 < \sqrt{2} < 2: 0<22−2<20 < 2\sqrt{2} - 2 < 2. The figure's point CC is at x≈0.83x \approx 0.83.

c) g(x)=xg(x) = \sqrt{x} is continuous on [49,50][49, 50] and differentiable on (49,50)(49, 50), where x>0x > 0. The Mean Value Theorem gives cc in (49,50)(49, 50) with 50−49=g′(c)(50−49)\sqrt{50} - \sqrt{49} = g'(c)(50 - 49), that is 50−7=12c\sqrt{50} - 7 = \frac{1}{2\sqrt{c}}. The number cc stays unknown; only its interval is used: 49<c<50<6449 < c < 50 < 64, so 7<c<87 < \sqrt{c} < 8 and 116<12c<114\frac{1}{16} < \frac{1}{2\sqrt{c}} < \frac{1}{14}. Hence 7+116<50<7+1147 + \frac{1}{16} < \sqrt{50} < 7 + \frac{1}{14}, both inequalities strict.

Now 50=52\sqrt{50} = 5\sqrt{2}: dividing by 55, 11380<2<9970\frac{113}{80} < \sqrt{2} < \frac{99}{70}, that is 1.4125<2<1.414291.4125 < \sqrt{2} < 1.41429. Check by squaring: (11380)2=127696400<2\left(\frac{113}{80}\right)^2 = \frac{12769}{6400} < 2 since 12769<1280012769 < 12800, and (9970)2=98014900>2\left(\frac{99}{70}\right)^2 = \frac{9801}{4900} > 2 since 9801>98009801 > 9800. The upper bound is famous: 9970\frac{99}{70} misses 2\sqrt{2} by less than 10−410^{-4}.

Exercise 10: A complete study: x minus twice its arctangent

Let f(x)=x−2arctan⁡xf(x) = x - 2\arctan x. The figure shows its graph and two dashed lines; every feature of it must be justified by a computation, as on the final. No calculator: π\pi stays π\pi.

-6-5-4-3-2-1123456-4-3-2-11234y = x − πy = x + πy = x − 2 arctan x
  • a) Give the domain and the symmetry of ff. Find lim⁡x→∞[f(x)−(x−π)]\lim_{x\to\infty}\left[f(x) - (x - \pi)\right] and lim⁡x→−∞[f(x)−(x+π)]\lim_{x\to -\infty}\left[f(x) - (x + \pi)\right], name the two asymptotes, and say on which side of each the graph lies.
  • b) Find f′f', the intervals of increase and decrease, and the local extreme values, exactly.
  • c) Find f′′f'', the intervals of concavity, the inflection point and the tangent line there.
  • d) Prove that ff has exactly three zeros, 00 and ±r\pm r, with 2<r<π2 < r < \pi.
  • e) Give the range of ff. For which real numbers kk does the equation x−2arctan⁡x=kx - 2\arctan x = k have three solutions? Two? One?

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

a)
b)
ff decreases on ,
c)
Concave up on ,
d)
e)
Range ,
Show the solution

Answers

  • a) R\mathbb{R}, odd; both limits 00: asymptotes y=x−πy = x - \pi (graph above) and y=x+πy = x + \pi (graph below)
  • b) f′(x)=x2−1x2+1f'(x) = \frac{x^2 - 1}{x^2 + 1}; increasing on (−∞,−1](-\infty, -1] and [1,∞)[1, \infty); local max π2−1\frac{\pi}{2} - 1 at −1-1, local min 1−π21 - \frac{\pi}{2} at 11
  • c) f′′(x)=4x(1+x2)2f''(x) = \frac{4x}{(1 + x^2)^2}; concave down on (−∞,0)(-\infty, 0), up on (0,∞)(0, \infty); inflection (0,0)(0, 0), tangent y=−xy = -x
  • d) f<0f < 0 on (0,1](0, 1], ff increasing on [1,∞)[1, \infty), f(2)<0<f(π)f(2) < 0 < f(\pi); then oddness
  • e) Range R\mathbb{R}; three solutions for ∣k∣<π2−1|k| < \frac{\pi}{2} - 1, two for ∣k∣=π2−1|k| = \frac{\pi}{2} - 1, one otherwise

a) arctan⁡\arctan is defined on R\mathbb{R}: the domain is R\mathbb{R}, and ff is continuous everywhere, so there is no vertical asymptote. f(−x)=−x−2arctan⁡(−x)=−x+2arctan⁡x=−f(x)f(-x) = -x - 2\arctan(-x) = -x + 2\arctan x = -f(x), since arctan⁡\arctan is odd: ff is odd, its graph symmetric about the origin. Asymptotes: f(x)−(x−π)=π−2arctan⁡x→π−2⋅π2=0f(x) - (x - \pi) = \pi - 2\arctan x \to \pi - 2 \cdot \frac{\pi}{2} = 0 as x→∞x \to \infty, and f(x)−(x+π)=−π−2arctan⁡x→−π+π=0f(x) - (x + \pi) = -\pi - 2\arctan x \to -\pi + \pi = 0 as x→−∞x \to -\infty. So y=x−πy = x - \pi is a slant asymptote on the right and y=x+πy = x + \pi on the left: TWO different slant asymptotes, because arctan⁡\arctan has two different limits.

Position: arctan⁡x<π2\arctan x < \frac{\pi}{2} for every xx, so f(x)−(x−π)=π−2arctan⁡x>0f(x) - (x - \pi) = \pi - 2\arctan x > 0: the graph is always ABOVE y=x−πy = x - \pi. And arctan⁡x>−π2\arctan x > -\frac{\pi}{2}, so f(x)−(x+π)=−(π+2arctan⁡x)<0f(x) - (x + \pi) = -(\pi + 2\arctan x) < 0: always BELOW y=x+πy = x + \pi. The whole graph lives in the band between the two dashed lines.

b) f′(x)=1−21+x2=x2−1x2+1f'(x) = 1 - \frac{2}{1 + x^2} = \frac{x^2 - 1}{x^2 + 1}, defined everywhere; the denominator is positive, so f′f' has the sign of x2−1x^2 - 1. Critical numbers: ±1\pm 1. f′>0f' > 0 on (−∞,−1)(-\infty, -1) and (1,∞)(1, \infty), f′<0f' < 0 on (−1,1)(-1, 1): ff increases on (−∞,−1](-\infty, -1], decreases on [−1,1][-1, 1], increases on [1,∞)[1, \infty). By the First Derivative Test, local maximum f(−1)=−1−2(−π4)=π2−1f(-1) = -1 - 2\left(-\frac{\pi}{4}\right) = \frac{\pi}{2} - 1 and local minimum f(1)=1−π2f(1) = 1 - \frac{\pi}{2}, the two values opposite as oddness requires.

c) f′′(x)=ddx(1−2(1+x2)−1)=2(1+x2)−2⋅2x=4x(1+x2)2f''(x) = \frac{d}{dx}\left(1 - 2(1 + x^2)^{-1}\right) = 2(1 + x^2)^{-2} \cdot 2x = \frac{4x}{(1 + x^2)^2}, with the sign of xx. Concave down on (−∞,0)(-\infty, 0), concave up on (0,∞)(0, \infty): the concavity CHANGES at 00, where ff is continuous, so (0,0)(0, 0) is an inflection point. There f′(0)=−1f'(0) = -1: the tangent is y=−xy = -x, and the graph crosses it at the origin.

d) f(0)=0f(0) = 0. On (0,1](0, 1], ff is decreasing from f(0)=0f(0) = 0, so f(x)<0f(x) < 0: no zero there. On [1,∞)[1, \infty), ff is increasing, so it has at most one zero. Existence: ff is continuous on [2,π][2, \pi]. f(2)=2−2arctan⁡2<0f(2) = 2 - 2\arctan 2 < 0 amounts to arctan⁡2>1\arctan 2 > 1, that is tan⁡1<2\tan 1 < 2: true, since 0<1<π30 < 1 < \frac{\pi}{3} (as π>3\pi > 3) and tan⁡\tan increases on (0,π2)\left(0, \frac{\pi}{2}\right), so tan⁡1<tan⁡π3=3<2\tan 1 < \tan\frac{\pi}{3} = \sqrt{3} < 2. And f(π)=π−2arctan⁡π>π−2⋅π2=0f(\pi) = \pi - 2\arctan\pi > \pi - 2 \cdot \frac{\pi}{2} = 0. By the Intermediate Value Theorem, f(r)=0f(r) = 0 for exactly one rr in (2,π)(2, \pi). By oddness f(−r)=0f(-r) = 0, and there is no other zero on (−∞,0)(-\infty, 0). Exactly three zeros.

e) ff is continuous, f(x)→∞f(x) \to \infty as x→∞x \to \infty (it stays above x−πx - \pi) and f(x)→−∞f(x) \to -\infty as x→−∞x \to -\infty: by the IVT its range is R\mathbb{R}. The number of solutions of f(x)=kf(x) = k is the number of times the horizontal line y=ky = k meets the graph. With m=π2−1m = \frac{\pi}{2} - 1, the local maximum value: for −m<k<m-m < k < m the line meets each of the three monotonic pieces once, three solutions; for k=±mk = \pm m it touches at an extremum and crosses once elsewhere, two solutions; for ∣k∣>m|k| > m, one solution. Sign table: f′f' is +,0,−,0,++, 0, -, 0, + at −1-1 and 11; f′′f'' is −,0,+-, 0, + at 00.

Exercise 11: Optimization: the rain gutter folded at the best angle

A rain gutter is made from a long sheet of metal 3030 cm wide, by folding up 1010 cm on each side. The base stays 1010 cm wide, and each side makes the same angle θ\theta with the horizontal, 0≤θ≤π20 \le \theta \le \frac{\pi}{2}, as in the cross-section of the figure. The gutter carries the most water when the area AA of its cross-section is largest.

10 cmθ10 cmh
  • a) Show that A(θ)=100sin⁡θ (1+cos⁡θ)A(\theta) = 100\sin\theta\,(1 + \cos\theta), in cm2^2.
  • b) Find the critical numbers of AA in (0,π2)\left(0, \frac{\pi}{2}\right), factoring A′(θ)A'(\theta).
  • c) Find the angle that gives the largest cross-section, justifying that the maximum is ABSOLUTE, and give that area exactly. Compare with a rectangular gutter, θ=π2\theta = \frac{\pi}{2}.
  • d) A rectangular gutter could also be folded along other lines: fold up xx cm on each side, at a right angle. Find the best xx and the largest area, and show without a calculator that the best gutter of c) still carries more.

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

b)
c)
d)
Show the solution

Answers

  • a) Height 10sin⁡θ10\sin\theta, top width 10+20cos⁡θ10 + 20\cos\theta: A=100sin⁡θ(1+cos⁡θ)A = 100\sin\theta(1 + \cos\theta)
  • b) A′(θ)=100(2cos⁡θ−1)(cos⁡θ+1)A'(\theta) = 100(2\cos\theta - 1)(\cos\theta + 1); only θ=π3\theta = \frac{\pi}{3}
  • c) A(0)=0A(0) = 0, A(π3)=753A\left(\frac{\pi}{3}\right) = 75\sqrt{3}, A(π2)=100A\left(\frac{\pi}{2}\right) = 100: maximum 75375\sqrt{3} cm2^2 at θ=π3\theta = \frac{\pi}{3}
  • d) A=x(30−2x)A = x(30 - 2x), best x=7.5x = 7.5, area 112.5112.5 cm2^2 <753< 75\sqrt{3}

a) The cross-section is a trapezoid. Each side, of length 1010, rises by 10sin⁡θ10\sin\theta and moves outward by 10cos⁡θ10\cos\theta: the height is h=10sin⁡θh = 10\sin\theta, the base 1010 and the top 10+2⋅10cos⁡θ10 + 2 \cdot 10\cos\theta. Its area is the mean of the parallel sides times the height: A=10+(10+20cos⁡θ)2⋅10sin⁡θ=(10+10cos⁡θ)⋅10sin⁡θ=100sin⁡θ (1+cos⁡θ)A = \frac{10 + (10 + 20\cos\theta)}{2} \cdot 10\sin\theta = (10 + 10\cos\theta) \cdot 10\sin\theta = 100\sin\theta\,(1 + \cos\theta). The domain is the closed interval [0,π2]\left[0, \frac{\pi}{2}\right] given by the statement, and AA is continuous on it.

b) Product rule: A′(θ)=100[cos⁡θ (1+cos⁡θ)+sin⁡θ (−sin⁡θ)]=100(cos⁡θ+cos⁡2θ−sin⁡2θ)A'(\theta) = 100\left[\cos\theta\,(1 + \cos\theta) + \sin\theta\,(-\sin\theta)\right] = 100\left(\cos\theta + \cos^2\theta - \sin^2\theta\right). Replace sin⁡2θ\sin^2\theta by 1−cos⁡2θ1 - \cos^2\theta to get a quadratic in cos⁡θ\cos\theta: A′(θ)=100(2cos⁡2θ+cos⁡θ−1)=100(2cos⁡θ−1)(cos⁡θ+1)A'(\theta) = 100\left(2\cos^2\theta + \cos\theta - 1\right) = 100(2\cos\theta - 1)(\cos\theta + 1). On (0,π2)\left(0, \frac{\pi}{2}\right), cos⁡θ+1>0\cos\theta + 1 > 0, so A′=0A' = 0 only when cos⁡θ=12\cos\theta = \frac{1}{2}: θ=π3\theta = \frac{\pi}{3}. The other factor would give θ=π\theta = \pi, outside the domain.

c) Closed interval method, AA being continuous on [0,π2]\left[0, \frac{\pi}{2}\right]: A(0)=0A(0) = 0 (a flat sheet), A(π3)=100⋅32⋅32=753A\left(\frac{\pi}{3}\right) = 100 \cdot \frac{\sqrt{3}}{2} \cdot \frac{3}{2} = 75\sqrt{3}, and A(π2)=100⋅1⋅1=100A\left(\frac{\pi}{2}\right) = 100 \cdot 1 \cdot 1 = 100, the rectangular gutter. Compare exactly: 753>10075\sqrt{3} > 100 amounts to 3>43\sqrt{3} > \frac{4}{3}, that is 3>1693 > \frac{16}{9}, true. The absolute maximum is 75375\sqrt{3} cm2^2, about 130130 cm2^2, at θ=π3\theta = \frac{\pi}{3}: the sides lean outward at 60∘60^\circ, the top is 2020 cm wide and the depth 535\sqrt{3} cm. The sign of A′A', that of 2cos⁡θ−12\cos\theta - 1, confirms it: positive before π3\frac{\pi}{3}, negative after. Stopping at A′=0A' = 0, without the endpoint π2\frac{\pi}{2} whose value is not 00, is where the mark is lost.

d) Folding xx cm on each side at right angles leaves a base of 30−2x30 - 2x: A(x)=x(30−2x)=30x−2x2A(x) = x(30 - 2x) = 30x - 2x^2 on [0,15][0, 15]. A′(x)=30−4x=0A'(x) = 30 - 4x = 0 at x=7.5x = 7.5; the closed interval method gives A(0)=A(15)=0A(0) = A(15) = 0 and A(7.5)=7.5⋅15=112.5A(7.5) = 7.5 \cdot 15 = 112.5 cm2^2, the absolute maximum. And 753>112.575\sqrt{3} > 112.5 amounts to 3>1.5\sqrt{3} > 1.5, that is 3>2.253 > 2.25: the best trapezoid beats the best rectangle.

Exercise 12: Antiderivatives: rewrite first, one condition per constant

Two points each. Check every answer by differentiating it.

  • a) Find ff if f′(x)=x−4x+2f'(x) = \dfrac{x - 4}{\sqrt{x} + 2} for x>0x > 0 and f(9)=1f(9) = 1.
  • b) Find ff if f′′(x)=1x2f''(x) = \dfrac{1}{x^2} for x>0x > 0, f(1)=0f(1) = 0 and f(e)=0f(e) = 0.
  • c) The area of a growing leaf increases at the rate A′(t)=3tA'(t) = 3\sqrt{t} cm2^2 per day, tt in days, and A(0)=2A(0) = 2 cm2^2. Find A(t)A(t), and the day on which the area reaches 1818 cm2^2.

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

a)
b)
c)
Show the solution

Answers

  • a) f(x)=23x3/2−2x+1f(x) = \frac{2}{3}x^{3/2} - 2x + 1
  • b) f(x)=x−1e−1−ln⁡xf(x) = \frac{x - 1}{e - 1} - \ln x
  • c) A(t)=2t3/2+2A(t) = 2t^{3/2} + 2; 1818 cm2^2 at t=4t = 4 days

a) No quotient rule runs backwards: rewrite first. x−4=(x−2)(x+2)x - 4 = (\sqrt{x} - 2)(\sqrt{x} + 2) for x>0x > 0, so f′(x)=x−2=x1/2−2f'(x) = \sqrt{x} - 2 = x^{1/2} - 2. The general antiderivative on (0,∞)(0, \infty) is f(x)=23x3/2−2x+Cf(x) = \frac{2}{3}x^{3/2} - 2x + C. Condition: f(9)=23⋅27−18+C=C=1f(9) = \frac{2}{3} \cdot 27 - 18 + C = C = 1. So f(x)=23x3/2−2x+1f(x) = \frac{2}{3}x^{3/2} - 2x + 1. Check: f′(x)=x1/2−2f'(x) = x^{1/2} - 2, and (x−2)(x+2)=x−4(\sqrt{x} - 2)(\sqrt{x} + 2) = x - 4.

b) First antiderivative: f′(x)=−1x+Cf'(x) = -\frac{1}{x} + C. Second: f(x)=−ln⁡x+Cx+Df(x) = -\ln x + Cx + D, on the interval (0,∞)(0, \infty), where ln⁡∣x∣=ln⁡x\ln|x| = \ln x. Two constants, two conditions: f(1)=C+D=0f(1) = C + D = 0 and f(e)=−1+Ce+D=0f(e) = -1 + Ce + D = 0. Subtracting, C(e−1)=1C(e - 1) = 1, so C=1e−1C = \frac{1}{e - 1} and D=−1e−1D = -\frac{1}{e - 1}. Hence f(x)=x−1e−1−ln⁡xf(x) = \frac{x - 1}{e - 1} - \ln x. Check: f′′=1x2f'' = \frac{1}{x^2}, f(1)=0−0f(1) = 0 - 0, f(e)=1−1f(e) = 1 - 1. The two conditions are VALUES at two points, not a value and a slope: they still fix the two constants, because the resulting system has a unique solution.

c) A(t)=3⋅23t3/2+C=2t3/2+CA(t) = 3 \cdot \frac{2}{3}t^{3/2} + C = 2t^{3/2} + C, and A(0)=C=2A(0) = C = 2: A(t)=2t3/2+2A(t) = 2t^{3/2} + 2. Then 2t3/2+2=182t^{3/2} + 2 = 18 gives t3/2=8t^{3/2} = 8, t=82/3=4t = 8^{2/3} = 4: the area reaches 1818 cm2^2 after 44 days. Forgetting the constant, A=2t3/2A = 2t^{3/2}, gives t=92/3t = 9^{2/3}, a leaf with no area at t=0t = 0.

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

See also

Preparing for the MATH 140 final?

I tutor first-year calculus at McGill and Concordia, in English or in French, in Montreal or online. Get in touch for a first session.

Site by Studio Squalli