MATH 203 Calculus I • Concordia University, Montreal

Practice midterm with full solutions (MATH 203)

This is a practice midterm for MATH 203, Differential and Integral Calculus I, at Concordia University. It covers what the course outline puts before the midterm, lectures 1 to 6: sections 1.2, 1.3, 1.5 and 1.6 of Thomas' Calculus on functions, exponentials, inverses and logarithms, then 2.1, 2.2, 2.4, 2.6 and 2.5 on rates of change, limits, one-sided limits, limits at infinity and continuity, then 3.1 to 3.7 on the derivative, the differentiation rules, the trigonometric derivatives, the chain rule and implicit differentiation. Nothing after 3.7: no inverse trigonometric function, no derivative of a logarithm, no related rates. Eight questions, one hundred points, two parts: four short questions worth forty-two points, then four long problems worth fifty-eight.

Sit it as an exam: ninety minutes on a timer, an approved scientific calculator, no notes. The calculator evaluates, it never replaces a step: every limit is argued, every derivative is written, and an exact answer such as −124-\frac{1}{24}, ln⁡3\ln 3 or 9725125\frac{972\sqrt 5}{125} stays exact, with a decimal only where a context asks for one. The marks of this course are lost in the algebra inside the calculus, and every solution names the algebraic gesture where they go: a sign chart instead of multiplying by an unknown sign, a complex fraction brought to one line, x2=∣x∣\sqrt{x^2} = |x| at −∞-\infty, a difference of cubes in exe^x, the lowest power factored out, a cubic factored by its obvious root. Not one question repeats an exercise of the eleven chapter sets of this site: the gestures are the ones the exam asks for, the functions are new, so the paper measures what you can do and not what you remember.

The traps named in the solutions: reading a domain on a simplified formula, keeping a candidate 3x=−33^x = -3, cancelling 3−x3 - x against x−3x - 3, losing the second horizontal asymptote at −∞-\infty, calling every zero of a denominator an asymptote, simplifying a quotient of exponentials term by term, expanding −(x2+3)(x+h−1)-(x^2 + 3)(x + h - 1) with one sign changed, taking every absolute value for a corner, dividing a trigonometric equation by cos⁡x\cos x, keeping the headlight position that lies behind the car, and forgetting that −xy-xy differentiates into two terms.

8 corrected exercises • 100 points • 90 minutes

Every MATH 203 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: short questions (/42)

Exercise 1: A domain read on its construction, an inverse with two exponentials, and a hidden quadratic

Parts a) to c) are independent. The figure belongs to part b): it shows f(x)=ex+5ex+1f(x) = \frac{e^x + 5}{e^x + 1} in blue, its inverse in orange, the dashed line y=xy = x, and the horizontal asymptotes y=1y = 1 and y=5y = 5 of ff, with equal scales on both axes.

-4-3-2-1123456-4-3-2-1123456y = f(x)y = f⁻¹(x)
  • a) Let p(x)=2x−3p(x) = \frac{2}{x - 3} and q(x)=x+5q(x) = \sqrt{x + 5}. Find (p∘q)(x)(p \circ q)(x) and (q∘p)(x)(q \circ p)(x), each with its domain, and compute (p∘q)(−1)(p \circ q)(-1) and (q∘p)(5)(q \circ p)(5).
  • b) Let f(x)=ex+5ex+1f(x) = \frac{e^x + 5}{e^x + 1}. Explain, without any derivative, why ff is decreasing and therefore one-to-one, and give its range. Find f−1(x)f^{-1}(x) with its domain, then f−1(3)f^{-1}(3) and f−1(2)f^{-1}(2) exactly.
  • c) Solve 9x−2⋅3x+1−27=09^x - 2 \cdot 3^{x + 1} - 27 = 0.

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

a)
b)
Range of ff ,
c)
Show the solution

Answers

  • a) (p∘q)(x)=2x+5−3(p \circ q)(x) = \frac{2}{\sqrt{x + 5} - 3} on [−5,4)∪(4,∞)[-5, 4) \cup (4, \infty); (q∘p)(x)=5x−13x−3(q \circ p)(x) = \sqrt{\frac{5x - 13}{x - 3}} on (−∞,135]∪(3,∞)\left(-\infty, \frac{13}{5}\right] \cup (3, \infty); (p∘q)(−1)=−2(p \circ q)(-1) = -2, (q∘p)(5)=6(q \circ p)(5) = \sqrt 6
  • b) Range (1,5)(1, 5); f−1(x)=ln⁡5−xx−1f^{-1}(x) = \ln\frac{5 - x}{x - 1} on (1,5)(1, 5); f−1(3)=0f^{-1}(3) = 0, f−1(2)=ln⁡3f^{-1}(2) = \ln 3
  • c) x=2x = 2 (the candidate 3x=−33^x = -3 is rejected)

a) (p∘q)(x)=p(x+5)=2x+5−3(p \circ q)(x) = p\left(\sqrt{x + 5}\right) = \frac{2}{\sqrt{x + 5} - 3}. The domain is read on the construction, in two steps: qq needs x+5≥0x + 5 \ge 0, so x≥−5x \ge -5; then q(x)q(x) must lie in the domain of pp, which excludes 33, and x+5=3\sqrt{x + 5} = 3 exactly when x+5=9x + 5 = 9, that is x=4x = 4. The domain of p∘qp \circ q is [−5,4)∪(4,∞)[-5, 4) \cup (4, \infty), and (p∘q)(−1)=22−3=−2(p \circ q)(-1) = \frac{2}{2 - 3} = -2.

(q∘p)(x)=2x−3+5(q \circ p)(x) = \sqrt{\frac{2}{x - 3} + 5}. First x≠3x \ne 3, for pp. Then the radicand must be nonnegative, and here the algebra decides: bring it to ONE fraction, 2x−3+5=2+5(x−3)x−3=5x−13x−3\frac{2}{x - 3} + 5 = \frac{2 + 5(x - 3)}{x - 3} = \frac{5x - 13}{x - 3}, and read its sign on a chart with the two critical numbers 135\frac{13}{5} and 33. The quotient is positive for x<135x < \frac{13}{5} (both factors negative), zero at 135\frac{13}{5}, negative between 135\frac{13}{5} and 33, positive for x>3x > 3. The domain is (−∞,135]∪(3,∞)\left(-\infty, \frac{13}{5}\right] \cup (3, \infty), and (q∘p)(5)=1+5=6(q \circ p)(5) = \sqrt{1 + 5} = \sqrt 6. Multiplying 2x−3+5≥0\frac{2}{x - 3} + 5 \ge 0 by x−3x - 3 without knowing its sign is the classic error: it gives x≥135x \ge \frac{13}{5}, which keeps the forbidden interval (135,3)\left(\frac{13}{5}, 3\right) and loses every x<135x < \frac{13}{5}.

b) Rewrite first: ex+5ex+1=(ex+1)+4ex+1=1+4ex+1\frac{e^x + 5}{e^x + 1} = \frac{(e^x + 1) + 4}{e^x + 1} = 1 + \frac{4}{e^x + 1}. Since exe^x is increasing, so is ex+1>1e^x + 1 > 1, and its reciprocal is decreasing: ff is decreasing, so it never takes the same value twice, and it is one-to-one. Range: ex+1e^x + 1 takes every value of (1,∞)(1, \infty), so 4ex+1\frac{4}{e^x + 1} takes every value of (0,4)(0, 4) and ff every value of (1,5)(1, 5). The figure agrees: f→5f \to 5 as x→−∞x \to -\infty and f→1f \to 1 as x→∞x \to \infty.

Inverse: from y=ex+5ex+1y = \frac{e^x + 5}{e^x + 1}, clear the denominator, yex+y=ex+5ye^x + y = e^x + 5. The unknown exe^x now appears in two terms: collect them on one side and FACTOR it out, ex(y−1)=5−ye^x(y - 1) = 5 - y, so ex=5−yy−1e^x = \frac{5 - y}{y - 1} and x=ln⁡5−yy−1x = \ln\frac{5 - y}{y - 1}. Renaming, f−1(x)=ln⁡5−xx−1f^{-1}(x) = \ln\frac{5 - x}{x - 1}, whose domain is the range of ff, (1,5)(1, 5): exactly where the fraction is positive, as a logarithm requires. Check: f(0)=62=3f(0) = \frac{6}{2} = 3 and f−1(3)=ln⁡1=0f^{-1}(3) = \ln 1 = 0. Then f−1(2)=ln⁡31=ln⁡3≈1.0986f^{-1}(2) = \ln\frac{3}{1} = \ln 3 \approx 1.0986, and indeed f(ln⁡3)=3+53+1=2f(\ln 3) = \frac{3 + 5}{3 + 1} = 2. Writing ln⁡5−xx−1\ln\frac{5 - x}{x - 1} as ln⁡(5−x)ln⁡(x−1)\frac{\ln(5 - x)}{\ln(x - 1)} is a false law: the quotient law gives ln⁡(5−x)−ln⁡(x−1)\ln(5 - x) - \ln(x - 1).

c) 9x=(32)x=(3x)29^x = (3^2)^x = (3^x)^2 and 3x+1=3⋅3x3^{x + 1} = 3 \cdot 3^x: with u=3xu = 3^x, the equation becomes u2−6u−27=0u^2 - 6u - 27 = 0, a quadratic hidden behind the laws of exponents. It factors as (u−9)(u+3)=0(u - 9)(u + 3) = 0, so u=9u = 9 or u=−3u = -3. Back to xx: 3x=93^x = 9 gives x=2x = 2, and 3x=−33^x = -3 has no solution, since 3x>03^x > 0 for every xx; that candidate is rejected. Check: 81−2⋅27−27=081 - 2 \cdot 27 - 27 = 0. The trap is 2⋅3x+1=6x+12 \cdot 3^{x + 1} = 6^{x + 1}: a law of exponents never multiplies a base by a coefficient.

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: Three limits, two gestures each

Evaluate each limit exactly. A calculator table would only suggest the answer: write the form you get by substitution FIRST, then name each rewriting on the line where you use it. You may use lim⁡θ→0sin⁡θθ=1\lim_{\theta \to 0} \frac{\sin\theta}{\theta} = 1.

  • a) lim⁡x→31x−1−12x2−9\displaystyle\lim_{x \to 3} \frac{\frac{1}{x - 1} - \frac{1}{2}}{x^2 - 9}
  • b) lim⁡x→0tan⁡2xx2+5x\displaystyle\lim_{x \to 0} \frac{\tan 2x}{x^2 + 5x}
  • c) lim⁡x→5−25−x25−x\displaystyle\lim_{x \to 5^-} \frac{\sqrt{25 - x^2}}{\sqrt{5 - x}}. Why is only the left-hand limit asked?

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

a)
b)
c)
Show the solution

Answers

  • a) −124-\frac{1}{24}
  • b) 25\frac{2}{5}
  • c) 10\sqrt{10}; the function is not defined for x>5x > 5

a) Substitution gives 12−120=00\frac{\frac{1}{2} - \frac{1}{2}}{0} = \frac{0}{0}. First gesture, the complex fraction: bring the two small fractions to one, 1x−1−12=2−(x−1)2(x−1)=3−x2(x−1)\frac{1}{x - 1} - \frac{1}{2} = \frac{2 - (x - 1)}{2(x - 1)} = \frac{3 - x}{2(x - 1)}. Second gesture, factor: x2−9=(x−3)(x+3)x^2 - 9 = (x - 3)(x + 3), and 3−x=−(x−3)3 - x = -(x - 3). Dividing by x2−9x^2 - 9 means multiplying the denominator by it: for x≠3x \ne 3, the quotient is −(x−3)2(x−1)(x−3)(x+3)=−12(x−1)(x+3)\frac{-(x - 3)}{2(x - 1)(x - 3)(x + 3)} = \frac{-1}{2(x - 1)(x + 3)}, and the limit is −12⋅2⋅6=−124\frac{-1}{2 \cdot 2 \cdot 6} = -\frac{1}{24}.

Two algebra slips cost the marks here: dropping the bracket in 2−(x−1)2 - (x - 1), which gives 2−x−1=1−x2 - x - 1 = 1 - x and leaves no factor x−3x - 3 to cancel, and cancelling 3−x3 - x against x−3x - 3 as if they were equal, which gives +124+\frac{1}{24}.

b) Substitution gives 00\frac{0}{0}. First gesture, factor the denominator: x2+5x=x(x+5)x^2 + 5x = x(x + 5). Second gesture, give the sine the denominator it needs. With tan⁡2x=sin⁡2xcos⁡2x\tan 2x = \frac{\sin 2x}{\cos 2x}: tan⁡2xx(x+5)=sin⁡2x2x⋅2(x+5)cos⁡2x\frac{\tan 2x}{x(x + 5)} = \frac{\sin 2x}{2x} \cdot \frac{2}{(x + 5)\cos 2x}, the factor 22 multiplied and divided at once. As x→0x \to 0, 2x→02x \to 0 and 2x≠02x \ne 0, so the first factor tends to 11, and the second tends to 25⋅1\frac{2}{5 \cdot 1}. The limit is 25\frac{2}{5}. The answer 22 comes from dividing by xx alone, as if the factor x+5x + 5 were not there.

c) The domain decides the side. 25−x2\sqrt{25 - x^2} needs −5≤x≤5-5 \le x \le 5 and 5−x\sqrt{5 - x} in the denominator needs x<5x < 5: near 55 the function exists only on the left. The right-hand limit has no meaning, and at this endpoint of the domain only x→5−x \to 5^- can be asked. Substitution gives 00\frac{0}{0}. Factor under the root, 25−x2=(5−x)(5+x)25 - x^2 = (5 - x)(5 + x), and split it: (5−x)(5+x)=5−x 5+x\sqrt{(5 - x)(5 + x)} = \sqrt{5 - x}\,\sqrt{5 + x}, legal because both factors are nonnegative for −5≤x<5-5 \le x < 5. The quotient equals 5+x\sqrt{5 + x} there, and the limit is 10≈3.1623\sqrt{10} \approx 3.1623. The rule ab=a b\sqrt{ab} = \sqrt a\,\sqrt b needs a≥0a \ge 0 and b≥0b \ge 0: that is why the domain was read first.

Exercise 3: Every asymptote of two functions, and a hole that is not one

The figure belongs to part a): it shows the graph of ff, the dashed lines x=−3x = -3 and y=x−1y = x - 1, and an open dot at x=2x = 2. Every limit must come from the formula; the figure only lets you check.

-9-8-7-6-5-4-3-2-1123456-14-12-10-8-6-4-22468x = −3y = x − 1y = f(x)
  • a) Let f(x)=x3−4xx2+x−6f(x) = \frac{x^3 - 4x}{x^2 + x - 6}. Factor it, find the vertical asymptotes with their one-sided limits, explain what happens at x=2x = 2, and find the oblique asymptote by long division. On which side of it is the graph for x>−3x > -3?
  • b) Let g(x)=4x2+1+xx−3g(x) = \frac{\sqrt{4x^2 + 1} + x}{x - 3}. Find lim⁡x→∞g(x)\lim_{x \to \infty} g(x) and lim⁡x→−∞g(x)\lim_{x \to -\infty} g(x), the horizontal asymptotes, and the vertical asymptote with its one-sided limits.

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

a)
b)
Show the solution

Answers

  • a) f(x)=x(x+2)x+3f(x) = \frac{x(x + 2)}{x + 3} for x≠2x \ne 2; vertical asymptote x=−3x = -3, +∞+\infty from the right and −∞-\infty from the left; a hole at (2,85)\left(2, \frac{8}{5}\right); oblique asymptote y=x−1y = x - 1, the graph above it for x>−3x > -3
  • b) 33 and −1-1: horizontal asymptotes y=3y = 3 and y=−1y = -1; vertical asymptote x=3x = 3, −∞-\infty from the left and +∞+\infty from the right

a) Factor completely before deciding anything: x3−4x=x(x2−4)=x(x−2)(x+2)x^3 - 4x = x(x^2 - 4) = x(x - 2)(x + 2), the common factor xx FIRST, then the difference of squares; and x2+x−6=(x+3)(x−2)x^2 + x - 6 = (x + 3)(x - 2). The denominator vanishes at 22 and at −3-3, but only a zero that the numerator does not share gives a vertical asymptote. At x=2x = 2 the factor cancels: for x≠2x \ne 2, f(x)=x(x+2)x+3f(x) = \frac{x(x + 2)}{x + 3}, so lim⁡x→2f(x)=85\lim_{x \to 2} f(x) = \frac{8}{5}, a finite limit. The graph has a hole at (2,85)\left(2, \frac{8}{5}\right), the open dot of the figure, and no asymptote there.

At x=−3x = -3, the numerator x(x+2)x(x + 2) tends to (−3)(−1)=3>0(-3)(-1) = 3 > 0 while x+3→0x + 3 \to 0. For x→−3+x \to -3^+, x+3>0x + 3 > 0 and f(x)→+∞f(x) \to +\infty; for x→−3−x \to -3^-, x+3<0x + 3 < 0 and f(x)→−∞f(x) \to -\infty. Long division of x2+2xx^2 + 2x by x+3x + 3 gives the quotient x−1x - 1 and the remainder 33: f(x)=x−1+3x+3f(x) = x - 1 + \frac{3}{x + 3} for x≠2x \ne 2. The fraction tends to 00 as x→±∞x \to \pm\infty, so y=x−1y = x - 1 is the oblique asymptote. For x>−3x > -3, 3x+3>0\frac{3}{x + 3} > 0: the graph lies above the asymptote, and below it for x<−3x < -3. Dividing x3−4xx^3 - 4x by x2+x−6x^2 + x - 6 directly gives the same quotient x−1x - 1, with the remainder 3x−63x - 6: the hole changes nothing at infinity.

b) The key fact is x2=∣x∣\sqrt{x^2} = |x|. Factor x2x^2 out of the root, 4x2+1=∣x∣4+1x2\sqrt{4x^2 + 1} = |x|\sqrt{4 + \frac{1}{x^2}}, then divide the numerator and the denominator by xx. As x→∞x \to \infty, ∣x∣=x|x| = x: g(x)=4+1/x2+11−3/x→2+11=3g(x) = \frac{\sqrt{4 + 1/x^2} + 1}{1 - 3/x} \to \frac{2 + 1}{1} = 3. As x→−∞x \to -\infty, ∣x∣=−x|x| = -x, so ∣x∣x=−1\frac{|x|}{x} = -1: g(x)=−4+1/x2+11−3/x→−2+1=−1g(x) = \frac{-\sqrt{4 + 1/x^2} + 1}{1 - 3/x} \to -2 + 1 = -1. Two horizontal asymptotes, y=3y = 3 on the right and y=−1y = -1 on the left. Writing 4x2+1x=4+1x2\frac{\sqrt{4x^2 + 1}}{x} = \sqrt{4 + \frac{1}{x^2}} for negative xx gives 33 at both ends and loses the second one.

The denominator vanishes only at 33. The numerator is positive for EVERY xx, since 4x2+1>4x2=2∣x∣≥−x\sqrt{4x^2 + 1} > \sqrt{4x^2} = 2|x| \ge -x. So the sign of gg is the sign of x−3x - 3: g(x)→−∞g(x) \to -\infty as x→3−x \to 3^- and g(x)→+∞g(x) \to +\infty as x→3+x \to 3^+, and x=3x = 3 is the vertical asymptote. The same remark shows g<0g < 0 for every x<3x < 3, consistent with the asymptote y=−1y = -1 on the left.

Exercise 4: A constant for continuity, then the Intermediate Value Theorem with a bisection table

Parts b) and c) are independent of a). The figure belongs to b) and c): it shows y=x 2xy = x\,2^x and the dashed line y=5y = 5. A calculator is allowed for the values of b), rounded to four decimals.

-1.5-1-0.50.511.522.5-1123456789y = 5y = x·2ˣ
  • a) Find every constant cc such that ff is continuous on R\mathbb{R}, where f(x)=e3x−1ex−1f(x) = \frac{e^{3x} - 1}{e^x - 1} for x<0x < 0 and f(x)=c2−2ccos⁡xf(x) = c^2 - 2c\cos x for x≥0x \ge 0.
  • b) Prove that the equation x 2x=5x\,2^x = 5 has a solution in (1,2)(1, 2), naming the function, the interval and each hypothesis of the Intermediate Value Theorem. Then do three steps of bisection, in a table, and give an interval of length 18\frac{1}{8} that contains the solution.
  • c) Explain, without any derivative, why the equation has no solution with x≤0x \le 0 and at most one with x>0x > 0. How many solutions does it have?

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

a)
b)
c)
Show the solution

Answers

  • a) The left limit at 00 is 33: c2−2c=3c^2 - 2c = 3, so c=3c = 3 or c=−1c = -1
  • b) h(x)=x 2x−5h(x) = x\,2^x - 5 is continuous on [1,2][1, 2], h(1)=−3<0<h(2)=3h(1) = -3 < 0 < h(2) = 3; after three steps the solution lies in [1.5,1.625][1.5, 1.625]
  • c) Exactly one solution

a) For x<0x < 0, ex≠1e^x \ne 1, so the first piece is a quotient of continuous functions with a nonzero denominator; the second piece is continuous everywhere. Only the seam x=0x = 0 remains, where f(0)=c2−2cf(0) = c^2 - 2c comes from the piece with the equality sign, and the right-hand limit is the same number. The left piece gives 00\frac{0}{0} at 00 and must be simplified, never plugged in. The algebra: e3x=(ex)3e^{3x} = (e^x)^3, so the numerator is a DIFFERENCE OF CUBES in u=exu = e^x, u3−1=(u−1)(u2+u+1)u^3 - 1 = (u - 1)(u^2 + u + 1). For x<0x < 0, e3x−1ex−1=e2x+ex+1\frac{e^{3x} - 1}{e^x - 1} = e^{2x} + e^x + 1, which tends to 1+1+1=31 + 1 + 1 = 3 as x→0−x \to 0^-.

Continuity at 00 therefore requires c2−2c=3c^2 - 2c = 3, that is c2−2c−3=(c−3)(c+1)=0c^2 - 2c - 3 = (c - 3)(c + 1) = 0: c=3c = 3 or c=−1c = -1. Both work, and the question asked for every constant: with c=3c = 3 the right piece is 9−6cos⁡x9 - 6\cos x, with c=−1c = -1 it is 1+2cos⁡x1 + 2\cos x, and both equal 33 at 00. Simplifying e3x−1ex−1\frac{e^{3x} - 1}{e^x - 1} term by term, as e3xex+−1−1=e2x+1\frac{e^{3x}}{e^x} + \frac{-1}{-1} = e^{2x} + 1, is not algebra: it gives the limit 22 and the wrong equation c2−2c=2c^2 - 2c = 2.

b) Let h(x)=x 2x−5h(x) = x\,2^x - 5; the solutions are the zeros of hh. hh is the product of a polynomial and an exponential, minus a constant, so it is continuous on R\mathbb{R}, in particular on the CLOSED interval [1,2][1, 2]. The values: h(1)=2−5=−3<0h(1) = 2 - 5 = -3 < 0 and h(2)=8−5=3>0h(2) = 8 - 5 = 3 > 0. Since 00 lies strictly between h(1)h(1) and h(2)h(2), the Intermediate Value Theorem gives a number cc in (1,2)(1, 2) with h(c)=0h(c) = 0.

Bisection, keeping each time the half where hh changes sign: h(1.5)≈−0.7574<0h(1.5) \approx -0.7574 < 0, keep [1.5,2][1.5, 2]; h(1.75)≈0.8863>0h(1.75) \approx 0.8863 > 0, keep [1.5,1.75][1.5, 1.75]; h(1.625)≈0.0122>0h(1.625) \approx 0.0122 > 0, keep [1.5,1.625][1.5, 1.625], of length 18\frac{1}{8}. Each step is the theorem again, on a smaller interval. The tiny value at 1.6251.625 says the solution is near that end (it is about 1.62311.6231), but three steps prove only that it lies in [1.5,1.625][1.5, 1.625].

c) For x≤0x \le 0: x≤0x \le 0 and 2x>02^x > 0, so x 2x≤0<5x\,2^x \le 0 < 5, and there is no solution. For x>0x > 0: xx and 2x2^x are both positive and increasing, so their product is increasing, since 0<a<b0 < a < b gives a 2a<b 2a<b 2ba\,2^a < b\,2^a < b\,2^b. An increasing function takes the value 55 at most once. With b), the equation has exactly one solution, in [1.5,1.625][1.5, 1.625]. The theorem proves existence only: uniqueness came from this sign argument, not from the theorem.

Part B: long problems (/58)

Exercise 5: The derivative from its definition: a complex fraction, two limits read backwards, two absolute values

In parts a) and d), every derivative comes from the definition as a limit; the differentiation rules may only CHECK an answer. Parts a) and b) use f(x)=x2+3x−1f(x) = \frac{x^2 + 3}{x - 1}, x≠1x \ne 1.

  • a) Find f′(x)f'(x) from the definition f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}, and factor it.
  • b) Write the equation of the tangent line at x=2x = 2, and find the points of the graph where the tangent is horizontal.
  • c) Each limit is a derivative F′(a)F'(a): give FF and aa, then evaluate. (i) lim⁡x→8x2/3−4x−8\displaystyle\lim_{x \to 8} \frac{x^{2/3} - 4}{x - 8}; (ii) lim⁡h→0tan⁡(π3+h)−3h\displaystyle\lim_{h \to 0} \frac{\tan\left(\frac{\pi}{3} + h\right) - \sqrt 3}{h}.
  • d) Let m(x)=(x−2) ∣x−2∣m(x) = (x - 2)\,|x - 2| and n(x)=∣x2−2x∣n(x) = |x^2 - 2x|. Using one-sided difference quotients at 22, decide which of the two functions is differentiable at 22.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) f′(x)=x2−2x−3(x−1)2=(x−3)(x+1)(x−1)2f'(x) = \frac{x^2 - 2x - 3}{(x - 1)^2} = \frac{(x - 3)(x + 1)}{(x - 1)^2}
  • b) y=−3x+13y = -3x + 13; horizontal tangents at (3,6)(3, 6) and (−1,−2)(-1, -2)
  • c) (i) F(x)=x2/3F(x) = x^{2/3}, a=8a = 8: 13\frac{1}{3}; (ii) F=tan⁡F = \tan, a=π3a = \frac{\pi}{3}: sec⁡2π3=4\sec^2\frac{\pi}{3} = 4
  • d) m′(2)=0m'(2) = 0: mm is differentiable at 22; nn has one-sided derivatives −2-2 and 22, a corner: not differentiable

a) The numerator f(x+h)−f(x)f(x + h) - f(x) is a difference of two fractions: put it over ONE denominator first, that is the gesture of the question. f(x+h)−f(x)=((x+h)2+3)(x−1)−(x2+3)(x+h−1)(x+h−1)(x−1)f(x + h) - f(x) = \frac{\left((x + h)^2 + 3\right)(x - 1) - (x^2 + 3)(x + h - 1)}{(x + h - 1)(x - 1)}. Write A=x2+3A = x^2 + 3 for short, (x+h)2+3=A+2xh+h2(x + h)^2 + 3 = A + 2xh + h^2 and x+h−1=(x−1)+hx + h - 1 = (x - 1) + h. The numerator becomes (A+2xh+h2)(x−1)−A(x−1)−Ah=(2xh+h2)(x−1)−Ah=h[(2x+h)(x−1)−(x2+3)](A + 2xh + h^2)(x - 1) - A(x - 1) - Ah = (2xh + h^2)(x - 1) - Ah = h\left[(2x + h)(x - 1) - (x^2 + 3)\right]. It is a multiple of hh, as it must be; if it is not, an error has been made upstream.

Dividing by h≠0h \ne 0: f(x+h)−f(x)h=(2x+h)(x−1)−(x2+3)(x+h−1)(x−1)\frac{f(x + h) - f(x)}{h} = \frac{(2x + h)(x - 1) - (x^2 + 3)}{(x + h - 1)(x - 1)}. With xx fixed and h→0h \to 0: f′(x)=2x(x−1)−x2−3(x−1)2=x2−2x−3(x−1)2=(x−3)(x+1)(x−1)2f'(x) = \frac{2x(x - 1) - x^2 - 3}{(x - 1)^2} = \frac{x^2 - 2x - 3}{(x - 1)^2} = \frac{(x - 3)(x + 1)}{(x - 1)^2}, for x≠1x \ne 1. The quotient rule, allowed as a check, gives 2x(x−1)−(x2+3)⋅1(x−1)2\frac{2x(x - 1) - (x^2 + 3) \cdot 1}{(x - 1)^2}, the same thing. The frequent slip is to expand −(x2+3)(x+h−1)-(x^2 + 3)(x + h - 1) with only its first term negated.

b) f(2)=71=7f(2) = \frac{7}{1} = 7 and f′(2)=(−1)(3)1=−3f'(2) = \frac{(-1)(3)}{1} = -3: the tangent is y=7−3(x−2)y = 7 - 3(x - 2), that is y=−3x+13y = -3x + 13. Horizontal tangents: f′(x)=0f'(x) = 0 where the numerator vanishes and the denominator does not, x=3x = 3 or x=−1x = -1. The points are (3,f(3))=(3,122)=(3,6)(3, f(3)) = \left(3, \frac{12}{2}\right) = (3, 6) and (−1,f(−1))=(−1,4−2)=(−1,−2)(-1, f(-1)) = \left(-1, \frac{4}{-2}\right) = (-1, -2).

c) (i) With F(x)=x2/3F(x) = x^{2/3} and a=8a = 8: F(8)=(83)2=4F(8) = \left(\sqrt[3]{8}\right)^2 = 4 is exactly the subtracted number and the denominator is x−8x - 8, so the limit is F′(8)F'(8) in the x→ax \to a form. With the power rule, F′(x)=23x−1/3F'(x) = \frac{2}{3}x^{-1/3} and F′(8)=23⋅12=13F'(8) = \frac{2}{3} \cdot \frac{1}{2} = \frac{1}{3}. Algebra agrees: with t=x1/3→2t = x^{1/3} \to 2, the quotient is t2−4t3−8=t+2t2+2t+4→412\frac{t^2 - 4}{t^3 - 8} = \frac{t + 2}{t^2 + 2t + 4} \to \frac{4}{12}.

(ii) With F=tan⁡F = \tan and a=π3a = \frac{\pi}{3}: tan⁡π3=3\tan\frac{\pi}{3} = \sqrt 3 is the subtracted number, so the limit is F′(π3)=sec⁡2π3=1cos⁡2(π/3)=11/4=4F'\left(\frac{\pi}{3}\right) = \sec^2\frac{\pi}{3} = \frac{1}{\cos^2(\pi/3)} = \frac{1}{1/4} = 4. No algebra opens tan⁡(π3+h)\tan\left(\frac{\pi}{3} + h\right) quickly: recognizing the derivative is the move.

d) For mm: m(2)=0m(2) = 0 and, for h≠0h \ne 0, m(2+h)−m(2)h=h ∣h∣h=∣h∣\frac{m(2 + h) - m(2)}{h} = \frac{h\,|h|}{h} = |h|. Both one-sided limits are 00: mm is differentiable at 22, with m′(2)=0m'(2) = 0. An absolute value does not always make a corner: here the factor x−2x - 2 flattens it.

For nn: n(x)=∣x∣ ∣x−2∣n(x) = |x|\,|x - 2|, and near 22, ∣x∣=x|x| = x. So n(2+h)−n(2)h=(2+h) ∣h∣h\frac{n(2 + h) - n(2)}{h} = \frac{(2 + h)\,|h|}{h}, which equals 2+h→22 + h \to 2 for h>0h > 0 and −(2+h)→−2-(2 + h) \to -2 for h<0h < 0. The one-sided derivatives are 22 and −2-2: the graph of nn has a corner at (2,0)(2, 0), and nn is continuous but not differentiable there.

Exercise 6: Rewrite first, then the power, quotient and trigonometric rules

Before each derivative, name the rule and the functions it combines. The figure belongs to part c): it shows f(x)=cos⁡2x−2sin⁡xf(x) = \cos 2x - 2\sin x on [0,2π][0, 2\pi], with its horizontal tangents dashed.

123456-3.5-3-2.5-2-1.5-1-0.50.511.522.5y = f(x)
  • a) Let y=x2−4x2/3y = \frac{x^2 - 4}{x^{2/3}} for x>0x > 0. Write yy as a sum of two powers of xx, differentiate, write y′y' as a single factored fraction, and compute y′(1)y'(1) and y′(8)y'(8). Does the graph have a horizontal tangent for x>0x > 0?
  • b) Let y=ex+xex−xy = \frac{e^x + x}{e^x - x}, and admit that ex−x>0e^x - x > 0 for every xx. Show that y′=2ex(1−x)(ex−x)2y' = \frac{2e^x(1 - x)}{(e^x - x)^2}, compute y′(0)y'(0), and find the point where the tangent is horizontal.
  • c) Let f(x)=cos⁡2x−2sin⁡xf(x) = \cos 2x - 2\sin x, 0≤x≤2π0 \le x \le 2\pi. Find f′(x)f'(x), factor it, and find every point of the graph where the tangent is horizontal. Which of them is the lowest point of the figure?

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

a)
b)
c)
Show the solution

Answers

  • a) y=x4/3−4x−2/3y = x^{4/3} - 4x^{-2/3}, y′=4(x2+2)3x5/3y' = \frac{4(x^2 + 2)}{3x^{5/3}}; y′(1)=4y'(1) = 4, y′(8)=114y'(8) = \frac{11}{4}; y′>0y' > 0, so no horizontal tangent
  • b) y′(0)=2y'(0) = 2; horizontal tangent at (1,e+1e−1)≈(1,2.1640)\left(1, \frac{e + 1}{e - 1}\right) \approx (1, 2.1640)
  • c) f′(x)=−2cos⁡x (2sin⁡x+1)f'(x) = -2\cos x\,(2\sin x + 1); horizontal tangents at (π2,−3)\left(\frac{\pi}{2}, -3\right), (7π6,32)\left(\frac{7\pi}{6}, \frac{3}{2}\right), (3π2,1)\left(\frac{3\pi}{2}, 1\right), (11π6,32)\left(\frac{11\pi}{6}, \frac{3}{2}\right); the lowest is (π2,−3)\left(\frac{\pi}{2}, -3\right)

a) Rewrite before differentiating, dividing each term of the numerator by x2/3x^{2/3}: x2x2/3=x2−2/3=x4/3\frac{x^2}{x^{2/3}} = x^{2 - 2/3} = x^{4/3} and 4x2/3=4x−2/3\frac{4}{x^{2/3}} = 4x^{-2/3}, so y=x4/3−4x−2/3y = x^{4/3} - 4x^{-2/3}. Power rule term by term: y′=43x1/3+83x−5/3y' = \frac{4}{3}x^{1/3} + \frac{8}{3}x^{-5/3}, the product −4⋅(−23)-4 \cdot \left(-\frac{2}{3}\right) giving a plus, and the new exponent being −23−1=−53-\frac{2}{3} - 1 = -\frac{5}{3}, not −13-\frac{1}{3}. Factor the LOWEST power, x−5/3x^{-5/3}: the first term keeps x1/3+5/3=x2x^{1/3 + 5/3} = x^2, so y′=43x−5/3(x2+2)=4(x2+2)3x5/3y' = \frac{4}{3}x^{-5/3}(x^2 + 2) = \frac{4(x^2 + 2)}{3x^{5/3}}.

Then y′(1)=4⋅33=4y'(1) = \frac{4 \cdot 3}{3} = 4 and, since 85/3=25=328^{5/3} = 2^5 = 32, y′(8)=4⋅663⋅32=114y'(8) = \frac{4 \cdot 66}{3 \cdot 32} = \frac{11}{4}. For x>0x > 0 the numerator and the denominator are positive, so y′>0y' > 0: no horizontal tangent. The quotient rule on the original form works too, and is three times as long.

b) Quotient rule with top u=ex+xu = e^x + x, u′=ex+1u' = e^x + 1, and bottom v=ex−xv = e^x - x, v′=ex−1v' = e^x - 1: y′=(ex+1)(ex−x)−(ex+x)(ex−1)(ex−x)2y' = \frac{(e^x + 1)(e^x - x) - (e^x + x)(e^x - 1)}{(e^x - x)^2}. Expand each product, and let the minus sign reach EVERY term of the second: (ex+1)(ex−x)=e2x−xex+ex−x(e^x + 1)(e^x - x) = e^{2x} - xe^x + e^x - x and (ex+x)(ex−1)=e2x−ex+xex−x(e^x + x)(e^x - 1) = e^{2x} - e^x + xe^x - x. The difference is 2ex−2xex=2ex(1−x)2e^x - 2xe^x = 2e^x(1 - x), which gives the announced y′y'.

Then y′(0)=2⋅1⋅112=2y'(0) = \frac{2 \cdot 1 \cdot 1}{1^2} = 2. Since ex>0e^x > 0, y′=0y' = 0 only at x=1x = 1, and the point is (1,e+1e−1)≈(1,2.1640)\left(1, \frac{e + 1}{e - 1}\right) \approx (1, 2.1640). A student who negates only the first term of the second product, writing −e2x−ex+xex−x- e^{2x} - e^x + xe^x - x, finds the numerator −2x-2x, and a horizontal tangent at x=0x = 0 where the slope is in fact 22.

c) The derivative of cos⁡2x\cos 2x is −2sin⁡2x-2\sin 2x (chain rule, inner function 2x2x; or write cos⁡2x=1−2sin⁡2x\cos 2x = 1 - 2\sin^2 x and use the product rule). So f′(x)=−2sin⁡2x−2cos⁡xf'(x) = -2\sin 2x - 2\cos x. Now the algebra that decides the question: sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x, so f′(x)=−4sin⁡xcos⁡x−2cos⁡x=−2cos⁡x (2sin⁡x+1)f'(x) = -4\sin x\cos x - 2\cos x = -2\cos x\,(2\sin x + 1). Set EACH factor to 00 on [0,2π][0, 2\pi]. First, cos⁡x=0\cos x = 0: x=π2x = \frac{\pi}{2} or 3π2\frac{3\pi}{2}. Second, sin⁡x=−12\sin x = -\frac{1}{2}: the reference angle is π6\frac{\pi}{6} and the sine is negative in quadrants III and IV, so x=7π6x = \frac{7\pi}{6} or 11π6\frac{11\pi}{6}. Dividing −4sin⁡xcos⁡x=2cos⁡x-4\sin x\cos x = 2\cos x by cos⁡x\cos x would lose the first two.

The heights: f(π2)=cos⁡π−2=−3f\left(\frac{\pi}{2}\right) = \cos\pi - 2 = -3, f(3π2)=cos⁡3π+2=1f\left(\frac{3\pi}{2}\right) = \cos 3\pi + 2 = 1, f(7π6)=cos⁡7π3+1=32f\left(\frac{7\pi}{6}\right) = \cos\frac{7\pi}{3} + 1 = \frac{3}{2} and f(11π6)=cos⁡11π3+1=32f\left(\frac{11\pi}{6}\right) = \cos\frac{11\pi}{3} + 1 = \frac{3}{2}. Four horizontal tangents. The lowest point of the figure is (π2,−3)\left(\frac{\pi}{2}, -3\right); the two highest are at height 32\frac{3}{2}, with the dip (3π2,1)\left(\frac{3\pi}{2}, 1\right) between them.

Exercise 7: Product and chain together, factored at the lowest power, and a pair of headlights

Before each chain rule, name the inner function. The figure belongs to part a): it shows h(x)=x29−2xh(x) = x^2\sqrt{9 - 2x} for −2≤x≤92-2 \le x \le \frac{9}{2}, with its two horizontal tangents and its vertical tangent dashed. Part c) is a short applied problem; a calculator is allowed for its decimals.

-2-112345-22468101214161820y = h(x)
  • a) Let h(x)=x29−2xh(x) = x^2\sqrt{9 - 2x}, x≤92x \le \frac{9}{2}. Show that h′(x)=x(18−5x)9−2xh'(x) = \frac{x(18 - 5x)}{\sqrt{9 - 2x}} for x<92x < \frac{9}{2}, find the points where the tangent is horizontal, compute h′(4)h'(4), and say what happens to h′(x)h'(x) as x→(92)−x \to \left(\frac{9}{2}\right)^-.
  • b) Let y=(x2+2)3(4x−1)2y = (x^2 + 2)^3(4x - 1)^2. Differentiate, factor y′y' completely, compute y′(0)y'(0), and show that the graph has exactly one horizontal tangent.
  • c) Seen from above, a road follows the curve y=x2+36y = \sqrt{x^2 + 36}, with xx and yy in tens of metres. A car drives along it in the direction of increasing xx, and its headlights shine straight ahead, along the tangent line. A barn stands at B(0,4)B(0, 4). Show that the tangent at the point of abscissa aa meets the yy-axis at the height 36a2+36\frac{36}{\sqrt{a^2 + 36}}. Then find where the car is when its headlights hit the barn, and its distance to the barn at that moment.

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

a)
b)
c)
Show the solution

Answers

  • a) Horizontal tangents at (0,0)(0, 0) and (185,9725125)≈(3.6,17.39)\left(\frac{18}{5}, \frac{972\sqrt 5}{125}\right) \approx (3.6, 17.39); h′(4)=−8h'(4) = -8; h′(x)→−∞h'(x) \to -\infty: a vertical tangent at (92,0)\left(\frac{9}{2}, 0\right)
  • b) y′=2(x2+2)2(4x−1)(16x2−3x+8)y' = 2(x^2 + 2)^2(4x - 1)(16x^2 - 3x + 8); y′(0)=−64y'(0) = -64; only at x=14x = \frac{1}{4}, since 16x2−3x+816x^2 - 3x + 8 has discriminant −503<0-503 < 0
  • c) The car is at (−35,9)≈(−6.71,9)\left(-3\sqrt 5, 9\right) \approx (-6.71, 9), the candidate a=35a = 3\sqrt 5 being behind the car; distance 70≈8.37\sqrt{70} \approx 8.37 tens of metres, about 8484 m

a) Product rule with u=x2u = x^2 and v=9−2x=(9−2x)1/2v = \sqrt{9 - 2x} = (9 - 2x)^{1/2}. The second factor needs the chain rule, inner function w=9−2xw = 9 - 2x, w′=−2w' = -2: v′=12(9−2x)−1/2⋅(−2)=−(9−2x)−1/2v' = \frac{1}{2}(9 - 2x)^{-1/2} \cdot (-2) = -(9 - 2x)^{-1/2}. So h′(x)=2x(9−2x)1/2−x2(9−2x)−1/2h'(x) = 2x(9 - 2x)^{1/2} - x^2(9 - 2x)^{-1/2}. It is not finished: a sum can be neither set to 00 nor signed. Factor the LOWEST power of the bracket, (9−2x)−1/2(9 - 2x)^{-1/2}, and the common factor xx: h′(x)=x(9−2x)−1/2[2(9−2x)−x]=x(18−5x)9−2xh'(x) = x(9 - 2x)^{-1/2}\left[2(9 - 2x) - x\right] = \frac{x(18 - 5x)}{\sqrt{9 - 2x}}. Inside the square bracket, (9−2x)1/2(9 - 2x)^{1/2} divided by (9−2x)−1/2(9 - 2x)^{-1/2} leaves (9−2x)1(9 - 2x)^1: the exponents subtract, 12−(−12)=1\frac{1}{2} - \left(-\frac{1}{2}\right) = 1.

Horizontal tangents: h′(x)=0h'(x) = 0 where the numerator vanishes, x=0x = 0 or x=185x = \frac{18}{5}. With 9−365=959 - \frac{36}{5} = \frac{9}{5}, h(185)=3242595=32425⋅35=9725125≈17.39h\left(\frac{18}{5}\right) = \frac{324}{25}\sqrt{\frac{9}{5}} = \frac{324}{25} \cdot \frac{3}{\sqrt 5} = \frac{972\sqrt 5}{125} \approx 17.39: the points are (0,0)(0, 0) and (185,9725125)\left(\frac{18}{5}, \frac{972\sqrt 5}{125}\right). Then h′(4)=4(18−20)1=−8h'(4) = \frac{4(18 - 20)}{\sqrt 1} = -8. As x→(92)−x \to \left(\frac{9}{2}\right)^-, the numerator tends to 92(18−452)=−814\frac{9}{2}\left(18 - \frac{45}{2}\right) = -\frac{81}{4} and the denominator to 0+0^+: h′(x)→−∞h'(x) \to -\infty, and the curve reaches (92,0)\left(\frac{9}{2}, 0\right) with a vertical tangent, as on the figure.

b) Product rule on u=(x2+2)3u = (x^2 + 2)^3 and v=(4x−1)2v = (4x - 1)^2, each with the power chain rule: u′=3(x2+2)2⋅2xu' = 3(x^2 + 2)^2 \cdot 2x (inner function x2+2x^2 + 2) and v′=2(4x−1)⋅4v' = 2(4x - 1) \cdot 4 (inner function 4x−14x - 1). So y′=6x(x2+2)2(4x−1)2+8(x2+2)3(4x−1)y' = 6x(x^2 + 2)^2(4x - 1)^2 + 8(x^2 + 2)^3(4x - 1). Factor each bracket at its lowest power, (x2+2)2(x^2 + 2)^2 and (4x−1)1(4x - 1)^1: y′=(x2+2)2(4x−1)[6x(4x−1)+8(x2+2)]=(x2+2)2(4x−1)(32x2−6x+16)=2(x2+2)2(4x−1)(16x2−3x+8)y' = (x^2 + 2)^2(4x - 1)\left[6x(4x - 1) + 8(x^2 + 2)\right] = (x^2 + 2)^2(4x - 1)(32x^2 - 6x + 16) = 2(x^2 + 2)^2(4x - 1)(16x^2 - 3x + 8). Then y′(0)=2⋅4⋅(−1)⋅8=−64y'(0) = 2 \cdot 4 \cdot (-1) \cdot 8 = -64.

A horizontal tangent needs one factor to vanish. x2+2≥2x^2 + 2 \ge 2 never does; 16x2−3x+816x^2 - 3x + 8 has discriminant 9−512=−503<09 - 512 = -503 < 0 and never does either. Only 4x−1=04x - 1 = 0 remains: exactly one horizontal tangent, at x=14x = \frac{1}{4}. Expanding yy into a polynomial of degree 88 before differentiating is legal, and it hides the factorization that answers the question.

c) Chain rule with inner function w=x2+36w = x^2 + 36: y′=12(x2+36)−1/2⋅2x=xx2+36y' = \frac{1}{2}(x^2 + 36)^{-1/2} \cdot 2x = \frac{x}{\sqrt{x^2 + 36}}. Write r=a2+36r = \sqrt{a^2 + 36}. The tangent at (a,r)(a, r) is y=r+ar(x−a)y = r + \frac{a}{r}(x - a), and at x=0x = 0 its height is r−a2r=r2−a2r=36rr - \frac{a^2}{r} = \frac{r^2 - a^2}{r} = \frac{36}{r}, since r2=a2+36r^2 = a^2 + 36: one common denominator, and the a2a^2 cancel.

The headlights hit the barn when 36r=4\frac{36}{r} = 4, so r=9r = 9, a2+36=81a^2 + 36 = 81 and a=±35a = \pm 3\sqrt 5. The two candidates do not play the same role. The car moves toward increasing xx, so the barn, at x=0x = 0, is AHEAD of the car only if a<0a < 0; at a=35a = 3\sqrt 5 the tangent line does pass through BB, but behind the car, where the tail lights point. So the car is at (−35,9)≈(−6.71,9)\left(-3\sqrt 5, 9\right) \approx (-6.71, 9), that is about 6767 m before the yy-axis. Its distance to the barn is (35)2+(9−4)2=45+25=70≈8.37\sqrt{\left(3\sqrt 5\right)^2 + (9 - 4)^2} = \sqrt{45 + 25} = \sqrt{70} \approx 8.37 tens of metres, about 8484 m.

Exercise 8: Implicit differentiation on a cubic: tangents, a cubic to factor, and a second derivative

The curve CC has equation x3−xy+y2=7x^3 - xy + y^2 = 7. The figure shows CC, the points P(1,−2)P(1, -2), Q(1,3)Q(1, 3) and R(2,1)R(2, 1), and the tangent lines at these three points, dashed. A calculator is allowed in c) for the decimals.

-2.5-2-1.5-1-0.50.511.522.53-7-6-5-4-3-2-112345PQRC
  • a) Check that PP, QQ and RR lie on CC. Find dydx\frac{dy}{dx} by implicit differentiation, then the tangent lines at PP and at QQ, and the normal line at PP.
  • b) Find every point of CC where the tangent is vertical. You will meet a cubic equation: find one root by inspection, then factor.
  • c) Show that a point of CC with a horizontal tangent satisfies 9x4−2x3−7=09x^4 - 2x^3 - 7 = 0, and factor this equation. Use the Intermediate Value Theorem to show that CC has a second point with a horizontal tangent, with xx in (−1,−0.8)(-1, -0.8), then do one step of bisection.
  • d) Find d2ydx2\frac{d^2y}{dx^2} at PP by differentiating the equation twice.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) dydx=3x2−yx−2y\frac{dy}{dx} = \frac{3x^2 - y}{x - 2y}; at PP: slope 11, tangent y=x−3y = x - 3, normal y=−x−1y = -x - 1; at QQ: slope 00, tangent y=3y = 3
  • b) Only R(2,1)R(2, 1): x=2yx = 2y gives 8y3−y2−7=(y−1)(8y2+7y+7)=08y^3 - y^2 - 7 = (y - 1)(8y^2 + 7y + 7) = 0
  • c) y=3x2y = 3x^2 gives (x−1)(9x3+7x2+7x+7)=0(x - 1)(9x^3 + 7x^2 + 7x + 7) = 0: the point QQ, and a root of the cubic in (−0.9,−0.8)(-0.9, -0.8), about −0.888-0.888
  • d) y′′(P)=65y''(P) = \frac{6}{5}

a) At PP: 1−(1)(−2)+4=71 - (1)(-2) + 4 = 7. At QQ: 1−3+9=71 - 3 + 9 = 7. At RR: 8−2+1=78 - 2 + 1 = 7. All three lie on CC. Differentiate both sides with respect to xx, yy being a function of xx: x3x^3 gives 3x23x^2; xyxy is a PRODUCT and gives y+xy′y + xy'; y2y^2 gives 2yy′2yy' (chain rule, inner function yy). So 3x2−y−xy′+2yy′=03x^2 - y - xy' + 2yy' = 0. Collect the y′y' terms, factor y′y' out, and divide: y′(2y−x)=y−3x2y'(2y - x) = y - 3x^2, so dydx=3x2−yx−2y\frac{dy}{dx} = \frac{3x^2 - y}{x - 2y} wherever x≠2yx \ne 2y. The sign is where the marks go: −xy-xy gives two negative terms, −y−xy′-y - xy', not one.

At P(1,−2)P(1, -2): y′=3+21+4=1y' = \frac{3 + 2}{1 + 4} = 1, and the tangent is y=−2+(x−1)=x−3y = -2 + (x - 1) = x - 3. The normal at PP has slope −1-1: y=−2−(x−1)=−x−1y = -2 - (x - 1) = -x - 1. At Q(1,3)Q(1, 3): y′=3−31−6=0y' = \frac{3 - 3}{1 - 6} = 0, and the tangent is the horizontal line y=3y = 3, the top of the upper arc on the figure.

b) A vertical tangent needs the denominator x−2y=0x - 2y = 0 with the numerator not zero. The condition x=2yx = 2y describes a line, not the answer: the answer is where that line meets CC. Substitute x=2yx = 2y: 8y3−2y2+y2=78y^3 - 2y^2 + y^2 = 7, that is 8y3−y2−7=08y^3 - y^2 - 7 = 0. The coefficients add up to 00, so y=1y = 1 is a root, and dividing by y−1y - 1 gives 8y3−y2−7=(y−1)(8y2+7y+7)8y^3 - y^2 - 7 = (y - 1)(8y^2 + 7y + 7). The quadratic has discriminant 49−224=−175<049 - 224 = -175 < 0: no other root. So y=1y = 1, x=2x = 2, the point R(2,1)R(2, 1), where the numerator is 12−1=11≠012 - 1 = 11 \ne 0: the tangent there is indeed vertical. RR is the rightmost point of the curve.

c) A horizontal tangent needs 3x2−y=03x^2 - y = 0 with x−2y≠0x - 2y \ne 0. Substitute y=3x2y = 3x^2: x3−3x3+9x4=7x^3 - 3x^3 + 9x^4 = 7, that is 9x4−2x3−7=09x^4 - 2x^3 - 7 = 0. Again the coefficients add up to 00, so x=1x = 1 is a root and 9x4−2x3−7=(x−1)(9x3+7x2+7x+7)9x^4 - 2x^3 - 7 = (x - 1)(9x^3 + 7x^2 + 7x + 7). The root x=1x = 1 gives y=3y = 3, the point QQ of a), where x−2y=−5≠0x - 2y = -5 \ne 0.

The cubic k(x)=9x3+7x2+7x+7k(x) = 9x^3 + 7x^2 + 7x + 7 is a polynomial, hence continuous on [−1,−0.8][-1, -0.8], with k(−1)=−9+7−7+7=−2<0k(-1) = -9 + 7 - 7 + 7 = -2 < 0 and k(−0.8)=−4.608+4.48−5.6+7=1.272>0k(-0.8) = -4.608 + 4.48 - 5.6 + 7 = 1.272 > 0. By the Intermediate Value Theorem, kk has a root x0x_0 in (−1,−0.8)(-1, -0.8), and (x0,3x02)\left(x_0, 3x_0^2\right) is a point of CC with a horizontal tangent, since there x0−6x02<0x_0 - 6x_0^2 < 0 is not zero. Bisection: k(−0.9)=−6.561+5.67−6.3+7=−0.191<0k(-0.9) = -6.561 + 5.67 - 6.3 + 7 = -0.191 < 0, so the root lies in (−0.9,−0.8)(-0.9, -0.8). It is about −0.888-0.888, and the point about (−0.888,2.366)(-0.888, 2.366): the bottom of the dip of the upper arc. The algebra, not the calculus, found both points: substitute, then factor by the obvious root.

d) Differentiate 3x2−y−xy′+2yy′=03x^2 - y - xy' + 2yy' = 0 once more, yy and y′y' being functions of xx: the product xy′xy' gives y′+xy′′y' + xy'' and the product yy′yy' gives (y′)2+yy′′(y')^2 + yy'', so 6x−y′−y′−xy′′+2(y′)2+2yy′′=06x - y' - y' - xy'' + 2(y')^2 + 2yy'' = 0. Substitute the numbers BEFORE isolating y′′y'': at PP, x=1x = 1, y=−2y = -2, y′=1y' = 1, so 6−1−1−y′′+2−4y′′=06 - 1 - 1 - y'' + 2 - 4y'' = 0, that is 6=5y′′6 = 5y'' and y′′(P)=65y''(P) = \frac{6}{5}. Differentiating the formula 3x2−yx−2y\frac{3x^2 - y}{x - 2y} with the quotient rule works too, provided yy is still treated as a function of xx inside it.

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

See also

Preparing for the MATH 203 midterm?

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

Site by Studio Squalli