MATH 140 Calculus 1 • McGill University, Montreal

Corrected exercises: curve sketching (MATH 140)

This is the corrected exercise set for curve sketching in MATH 140, Calculus 1, at McGill University, section 4.5 of Stewart. It is the chapter where everything learned since the first week meets: limits give the asymptotes, the first derivative the increase and the extrema, the second derivative the concavity. Each exercise is a complete study or a synthesis, never a single test, and the final sketch is always in the solution, because the statement asks for it. Every value is exact and computed by hand, as on the exam.

The thread running through the whole set: a sketch is only as good as its sign table, and the table is built on the DOMAIN. The domain decides what a sign change means. A change of concavity at a vertical asymptote is not an inflection point, a point where f′f' does not exist but ff does is a critical number, and a zero of the denominator that cancels is a hole, not an asymptote. Then the features must agree with each other before the pencil moves.

The traps named in the solutions: an interval of increase written across an asymptote, an inflection point placed where ff is undefined, x2=x\sqrt{x^2} = x at −∞-\infty, the belief that a curve cannot cross its asymptote, the forgotten critical number of a cusp, a zero of f′f' taken for an extremum, L'Hospital's rule applied to a form that is not indeterminate, the tallest curve taken for ff, and a local maximum below a local minimum taken for a contradiction.

10 corrected exercises • 100 points • 150 minutes

Revision sheet for this chapter → 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.

Course recap

  • • Checklist: domain, intercepts, symmetry, asymptotes, f′f' and its sign, extrema, f′′f'' and its sign, inflection points, then ONE sign table and the sketch.
  • • Vertical asymptote at aa: an infinite one-sided limit at aa. Cancel common factors first; a cancelled factor gives a hole.
  • • Horizontal asymptote: lim⁡x→±∞f(x)=L\lim_{x\to\pm\infty} f(x) = L, computed at EACH end. x2=∣x∣\sqrt{x^2} = |x|, so −x-x for x<0x < 0. Slant asymptote y=mx+by = mx + b: f(x)−(mx+b)→0f(x) - (mx + b) \to 0.
  • • Critical number: aa in the domain with f′(a)=0f'(a) = 0 or f′(a)f'(a) undefined. Extremum only if f′f' changes sign.
  • • Inflection point: (a,f(a))(a, f(a)) with aa in the domain, ff continuous at aa, and a change of concavity at aa.
  • • f′→±∞f' \to \pm\infty with opposite signs on the two sides: a cusp. Same sign: a vertical tangent.

Part A: the basics (/50)

Exercise 1: The full checklist on a rational function with two vertical asymptotes

Sketch the graph of f(x)=x2+4x2−4f(x) = \frac{x^2 + 4}{x^2 - 4} by following the checklist: domain, intercepts, symmetry, asymptotes, increase and decrease, extrema, concavity, inflection points. Every feature of the sketch must come from a computed sign or a computed limit, and all of them go into ONE sign table written on the domain.

No calculator: every value below is exact.

  • a) Find the domain, the intercepts and the symmetry of ff.
  • b) Find the vertical and horizontal asymptotes. For each vertical asymptote, give the limit of ff on EACH side.
  • c) Show that f′(x)=−16x(x2−4)2f'(x) = \frac{-16x}{(x^2 - 4)^2}. Find the intervals of increase and decrease and the local extrema.
  • d) Show that f′′(x)=16(3x2+4)(x2−4)3f''(x) = \frac{16(3x^2 + 4)}{(x^2 - 4)^3} and study the concavity. The concavity changes at x=±2x = \pm 2: does ff have inflection points?
  • e) Gather everything in one sign table, sketch the graph and give the range of ff.

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

a)
b)
c)
Increasing on the interval just right of −2-2 ,
d)
Concave down on ,
e)
Range, left piece ,
Range, right piece ,
Show the solution

Answers

  • a) Domain R∖{−2,2}\mathbb{R} \setminus \{-2, 2\}; yy-intercept (0,−1)(0, -1), no xx-intercept; ff is even.
  • b) x=±2x = \pm 2: f→+∞f \to +\infty for ∣x∣→2+|x| \to 2^+, f→−∞f \to -\infty for ∣x∣→2−|x| \to 2^-; y=1y = 1 at both ends.
  • c) Increasing on (−∞,−2)(-\infty, -2) and (−2,0](-2, 0], decreasing on [0,2)[0, 2) and (2,∞)(2, \infty); local max f(0)=−1f(0) = -1.
  • d) Concave up for ∣x∣>2|x| > 2, down for ∣x∣<2|x| < 2; no inflection point, since ±2\pm 2 are not in the domain.
  • e) Range (−∞,−1]∪(1,∞)(-\infty, -1] \cup (1, \infty).

a) The denominator x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2) vanishes at ±2\pm 2, so the domain is R∖{−2,2}\mathbb{R} \setminus \{-2, 2\}. The numerator x2+4≥4x^2 + 4 \ge 4 never vanishes: no xx-intercept. f(0)=4−4=−1f(0) = \frac{4}{-4} = -1, the yy-intercept is (0,−1)(0, -1). Only even powers of xx appear, so f(−x)=f(x)f(-x) = f(x): ff is even and its graph is symmetric about the yy-axis. Symmetry halves the computations, but the table is still written on the whole domain, and the two excluded points will cut EVERY row of it. That is why the domain comes first.

b) At x=2x = 2 the numerator tends to 8≠08 \ne 0 and the denominator to 00, so the limit is infinite and its sign is the sign of x2−4x^2 - 4. As x→2+x \to 2^+, x2−4→0+x^2 - 4 \to 0^+ and f→+∞f \to +\infty; as x→2−x \to 2^-, x2−4→0−x^2 - 4 \to 0^- and f→−∞f \to -\infty. By symmetry, f→+∞f \to +\infty as x→−2−x \to -2^- and f→−∞f \to -\infty as x→−2+x \to -2^+. No factor cancels, so x=2x = 2 and x=−2x = -2 are genuine vertical asymptotes. At ±∞\pm\infty, divide by x2x^2: f(x)=1+4/x21−4/x2→1f(x) = \frac{1 + 4/x^2}{1 - 4/x^2} \to 1, so y=1y = 1 is the horizontal asymptote at both ends. Its position: f(x)−1=8x2−4>0f(x) - 1 = \frac{8}{x^2 - 4} > 0 for ∣x∣>2|x| > 2, so the two outer branches stay ABOVE y=1y = 1 and never cross it.

c) Quotient rule: f′(x)=2x(x2−4)−(x2+4)(2x)(x2−4)2=2x[(x2−4)−(x2+4)](x2−4)2=−16x(x2−4)2f'(x) = \frac{2x(x^2 - 4) - (x^2 + 4)(2x)}{(x^2 - 4)^2} = \frac{2x\left[(x^2 - 4) - (x^2 + 4)\right]}{(x^2 - 4)^2} = \frac{-16x}{(x^2 - 4)^2}. The denominator is positive on the domain, so f′f' has the sign of −16x-16x: positive for x<0x < 0, negative for x>0x > 0. The only critical number is 00; the points ±2\pm 2 are NOT critical numbers, since they are not in the domain. So ff increases on (−∞,−2)(-\infty, -2) and on (−2,0](-2, 0], decreases on [0,2)[0, 2) and on (2,∞)(2, \infty), and the first derivative test gives a local maximum f(0)=−1f(0) = -1. Writing increasing on (−∞,0](-\infty, 0] in one piece is false: −3<−1-3 < -1 and yet f(−3)=135>f(−1)=−53f(-3) = \frac{13}{5} > f(-1) = -\frac{5}{3}. The asymptote breaks the interval, and so must the answer.

d) Write f′(x)=−16x(x2−4)−2f'(x) = -16x(x^2 - 4)^{-2} and use the product rule, then the chain rule with inner function x2−4x^2 - 4: f′′(x)=−16(x2−4)−2+(−16x)(−2)(x2−4)−3(2x)=−16(x2−4)+64x2(x2−4)3=48x2+64(x2−4)3=16(3x2+4)(x2−4)3f''(x) = -16(x^2 - 4)^{-2} + (-16x)(-2)(x^2 - 4)^{-3}(2x) = \frac{-16(x^2 - 4) + 64x^2}{(x^2 - 4)^3} = \frac{48x^2 + 64}{(x^2 - 4)^3} = \frac{16(3x^2 + 4)}{(x^2 - 4)^3}. The numerator is always positive, so f′′f'' has the sign of x2−4x^2 - 4: concave up for ∣x∣>2|x| > 2, concave down for ∣x∣<2|x| < 2. The concavity does change at x=±2x = \pm 2, but an inflection point is a POINT (a,f(a))(a, f(a)) of the graph where the concavity changes, and f(2)f(2) does not exist. So ff has NO inflection point. Listing (2,f(2))(2, f(2)) as an inflection point costs the mark, and the sketch cannot even place it.

e) The table, from left to right: on (−∞,−2)(-\infty, -2), f′>0f' > 0 and f′′>0f'' > 0, the branch leaves y=1y = 1 from above and climbs, concave up, to +∞+\infty at −2−-2^-; on (−2,2)(-2, 2), the branch comes up from −∞-\infty, reaches its maximum (0,−1)(0, -1) and falls back to −∞-\infty, concave down all the way; on (2,∞)(2, \infty) the branch comes down from +∞+\infty toward y=1y = 1, concave up. The sketch in the figure is nothing more than this table drawn. Range: the middle branch takes every value of (−∞,−1](-\infty, -1], by continuity and the values of the limits; the outer branches take every value of (1,∞)(1, \infty), never 11 itself. Values in (−1,1](-1, 1] are never taken, so the range is (−∞,−1]∪(1,∞)(-\infty, -1] \cup (1, \infty). Consistency check: a middle branch drawn crossing the xx-axis would contradict a), and outer branches dipping below y=1y = 1 would contradict b).

-6-5-4-3-2-1123456-5-4-3-2-112345x = −2x = 2y = 1max

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: A square root in the denominator: two horizontal asymptotes, and one of them crossed

Sketch the graph of f(x)=x+3x2+1f(x) = \frac{x + 3}{\sqrt{x^2 + 1}}. There is no vertical asymptote here: the whole difficulty moves to infinity, where the square root behaves differently at the two ends, and to the middle, where the curve rises above its own asymptote.

No calculator: every coordinate asked for is exact.

  • a) Find the domain, the intercepts and any symmetry. Find lim⁡x→∞f(x)\lim_{x\to\infty} f(x) and lim⁡x→−∞f(x)\lim_{x\to-\infty} f(x), writing x2=∣x∣\sqrt{x^2} = |x|.
  • b) Show that f′(x)=1−3x(x2+1)3/2f'(x) = \frac{1 - 3x}{(x^2 + 1)^{3/2}} and find the extrema of ff, with exact values.
  • c) Solve f(x)=1f(x) = 1. What does the answer say about the graph and its horizontal asymptote?
  • d) Show that f′′(x)=3(2x+1)(x−1)(x2+1)5/2f''(x) = \frac{3(2x + 1)(x - 1)}{(x^2 + 1)^{5/2}}. Study the concavity and give the inflection points with exact coordinates.
  • e) Sketch the graph from one sign table and give the range of ff.

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

a)
b)
c)
d)
Concave down on ,
e)
Show the solution

Answers

  • a) Domain R\mathbb{R}; intercepts (−3,0)(-3, 0) and (0,3)(0, 3); no symmetry; f→1f \to 1 as x→∞x \to \infty, f→−1f \to -1 as x→−∞x \to -\infty.
  • b) Increasing on (−∞,13]\left(-\infty, \frac{1}{3}\right], decreasing on [13,∞)\left[\frac{1}{3}, \infty\right); absolute max f(13)=10f\left(\frac{1}{3}\right) = \sqrt{10}; no minimum.
  • c) x=−43x = -\frac{4}{3} only: the graph crosses y=1y = 1 once, then approaches it from above as x→∞x \to \infty.
  • d) Concave up on (−∞,−12)\left(-\infty, -\frac{1}{2}\right) and (1,∞)(1, \infty), down on (−12,1)\left(-\frac{1}{2}, 1\right); inflection points (−12,5)\left(-\frac{1}{2}, \sqrt 5\right) and (1,22)(1, 2\sqrt 2).
  • e) Range (−1,10](-1, \sqrt{10}].

a) x2+1≥1>0x^2 + 1 \ge 1 > 0, so the domain is R\mathbb{R} and ff is continuous everywhere: no vertical asymptote, since that would need an infinite limit at a finite point. f(0)=3f(0) = 3 and f(x)=0  ⟺  x=−3f(x) = 0 \iff x = -3. f(1)=42=22f(1) = \frac{4}{\sqrt 2} = 2\sqrt 2 while f(−1)=22=2f(-1) = \frac{2}{\sqrt 2} = \sqrt 2, neither equal nor opposite: no symmetry. At infinity, factor x2x^2 under the root: x2+1=∣x∣1+1/x2\sqrt{x^2 + 1} = |x|\sqrt{1 + 1/x^2}. For x>0x > 0, ∣x∣=x|x| = x and f(x)=1+3/x1+1/x2→1f(x) = \frac{1 + 3/x}{\sqrt{1 + 1/x^2}} \to 1. For x<0x < 0, ∣x∣=−x|x| = -x and f(x)=−1+3/x1+1/x2→−1f(x) = -\frac{1 + 3/x}{\sqrt{1 + 1/x^2}} \to -1. Two different horizontal asymptotes: y=1y = 1 on the right, y=−1y = -1 on the left. Writing x2=x\sqrt{x^2} = x on both sides gives y=1y = 1 twice, and the whole left half of the sketch is then wrong.

b) Product rule on (x+3)(x2+1)−1/2(x + 3)(x^2 + 1)^{-1/2}, with the chain rule on the second factor (inner function x2+1x^2 + 1): f′(x)=(x2+1)−1/2+(x+3)(−12)(x2+1)−3/2(2x)=(x2+1)−x(x+3)(x2+1)3/2=1−3x(x2+1)3/2f'(x) = (x^2 + 1)^{-1/2} + (x + 3)\left(-\frac{1}{2}\right)(x^2 + 1)^{-3/2}(2x) = \frac{(x^2 + 1) - x(x + 3)}{(x^2 + 1)^{3/2}} = \frac{1 - 3x}{(x^2 + 1)^{3/2}}. The denominator is positive, so f′f' has the sign of 1−3x1 - 3x. The only critical number is 13\frac{1}{3}, where f′f' goes from ++ to −-. Since ff increases on all of (−∞,13]\left(-\infty, \frac{1}{3}\right] and decreases on all of [13,∞)\left[\frac{1}{3}, \infty\right), this local maximum is the absolute maximum: f(13)=10/310/9=103⋅310=10f\left(\frac{1}{3}\right) = \frac{10/3}{\sqrt{10/9}} = \frac{10}{3} \cdot \frac{3}{\sqrt{10}} = \sqrt{10}. There is no minimum: the values come arbitrarily close to −1-1 on the left without reaching it.

c) f(x)=1  ⟺  x+3=x2+1f(x) = 1 \iff x + 3 = \sqrt{x^2 + 1}. The right side is positive, so a solution needs x+3≥0x + 3 \ge 0. Squaring: x2+6x+9=x2+1x^2 + 6x + 9 = x^2 + 1, so 6x=−86x = -8 and x=−43x = -\frac{4}{3}, which satisfies x+3=53≥0x + 3 = \frac{5}{3} \ge 0 and is kept (check: 169+1=53\sqrt{\frac{16}{9} + 1} = \frac{5}{3}). The graph crosses the line y=1y = 1 exactly once, at x=−43x = -\frac{4}{3}, on the way UP, far to the left of the region where y=1y = 1 is an asymptote. There is no contradiction: a horizontal asymptote describes the behaviour as x→∞x \to \infty only, and says nothing about finite xx. After the crossing f>1f > 1 for good, so the curve climbs to 10\sqrt{10} and then comes back down toward y=1y = 1 from above, never touching it again.

d) From f′(x)=(1−3x)(x2+1)−3/2f'(x) = (1 - 3x)(x^2 + 1)^{-3/2}, product rule and chain rule: f′′(x)=−3(x2+1)−3/2+(1−3x)(−32)(2x)(x2+1)−5/2=−3(x2+1)−3x(1−3x)(x2+1)5/2=6x2−3x−3(x2+1)5/2=3(2x+1)(x−1)(x2+1)5/2f''(x) = -3(x^2 + 1)^{-3/2} + (1 - 3x)\left(-\frac{3}{2}\right)(2x)(x^2 + 1)^{-5/2} = \frac{-3(x^2 + 1) - 3x(1 - 3x)}{(x^2 + 1)^{5/2}} = \frac{6x^2 - 3x - 3}{(x^2 + 1)^{5/2}} = \frac{3(2x + 1)(x - 1)}{(x^2 + 1)^{5/2}}. Signs: ++ for x<−12x < -\frac{1}{2}, −- on (−12,1)\left(-\frac{1}{2}, 1\right), ++ for x>1x > 1. Both points are in the domain and f′′f'' changes sign there, so both are inflection points: f(−12)=5/25/4=52⋅25=5f\left(-\frac{1}{2}\right) = \frac{5/2}{\sqrt{5/4}} = \frac{5}{2} \cdot \frac{2}{\sqrt 5} = \sqrt 5 and f(1)=42=22f(1) = \frac{4}{\sqrt 2} = 2\sqrt 2.

e) Reading the table from left to right: the curve leaves y=−1y = -1 from above, rising and concave up; crosses y=0y = 0 at −3-3 and y=1y = 1 at −43-\frac{4}{3}; turns concave down at (−12,5)\left(-\frac{1}{2}, \sqrt 5\right); reaches its top (13,10)\left(\frac{1}{3}, \sqrt{10}\right); turns concave up again at (1,22)(1, 2\sqrt 2) while decreasing; and settles on y=1y = 1 from above. The values agree with each other: 5<10\sqrt 5 < \sqrt{10} and 22=8<102\sqrt 2 = \sqrt 8 < \sqrt{10}, as they must on either side of the maximum. Range: ff increases from values just above −1-1 up to 10\sqrt{10}, then decreases toward 11, so the range is (−1,10](-1, \sqrt{10}]. The last concave up piece is forced by the asymptote: a decreasing curve that levels off must bend upward.

-10-8-6-4-2246810-2-11234max (1/3, √10)y = 1y = −1x = −4/3inflection (1, 2√2)(−1/2, √5)

Exercise 3: A fractional power: the critical number where the derivative does not exist

Sketch the graph of f(x)=x2/3(x−5)f(x) = x^{2/3}(x - 5). The function is defined on all of R\mathbb{R}, but its derivative is not, and the one point where f′f' fails to exist is the most characteristic point of the graph.

Recall that x2/3=(x3)2x^{2/3} = \left(\sqrt[3]{x}\right)^2 is defined for every real xx, negative ones included.

  • a) Find the domain, the intercepts, the symmetry, the sign of ff and its limits at ±∞\pm\infty. Does the graph have any asymptote?
  • b) Write f(x)=x5/3−5x2/3f(x) = x^{5/3} - 5x^{2/3} and show that f′(x)=5(x−2)3x1/3f'(x) = \frac{5(x - 2)}{3x^{1/3}}. List ALL the critical numbers of ff.
  • c) Classify each critical number. Compute the one-sided limits of f′f' at 00 and describe the graph at the origin.
  • d) Show that f′′(x)=10(x+1)9x4/3f''(x) = \frac{10(x + 1)}{9x^{4/3}}. Study the concavity and find the inflection points.
  • e) Sketch the graph, and explain why a smooth rounded top at the origin would be wrong.

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

a)
b)
c)
d)
Concave down on ,
e)
Show the solution

Answers

  • a) Domain R\mathbb{R}; intercepts (0,0)(0, 0) and (5,0)(5, 0); no symmetry; f≤0f \le 0 for x≤5x \le 5; f→−∞f \to -\infty at −∞-\infty, +∞+\infty at +∞+\infty; no asymptote.
  • b) Critical numbers 00 (f′f' undefined) and 22 (f′=0f' = 0).
  • c) Local max f(0)=0f(0) = 0, a cusp (f′→+∞f' \to +\infty at 0−0^-, −∞-\infty at 0+0^+); local min f(2)=−343f(2) = -3\sqrt[3]{4}.
  • d) Concave down on (−∞,−1)(-\infty, -1), up on (−1,0)(-1, 0) and (0,∞)(0, \infty); inflection point (−1,−6)(-1, -6).
  • e) The graph reaches the origin vertically from both sides: a cusp, not a horizontal tangent.

a) The cube root exists for every real number, so the domain is R\mathbb{R} and ff is continuous everywhere: no vertical asymptote. f(x)=0  ⟺  x=0f(x) = 0 \iff x = 0 or x=5x = 5. f(−1)=1⋅(−6)=−6f(-1) = 1 \cdot (-6) = -6 and f(1)=−4f(1) = -4: neither even nor odd. Since x2/3≥0x^{2/3} \ge 0, ff has the sign of x−5x - 5: negative for x<5x < 5 except at 00, positive after 55. So the graph TOUCHES the axis at the origin without crossing it. As x→∞x \to \infty, both factors tend to ∞\infty; as x→−∞x \to -\infty, x2/3→∞x^{2/3} \to \infty and x−5→−∞x - 5 \to -\infty, so f→−∞f \to -\infty. No horizontal asymptote, and no slant one either, because f(x)x=x2/3(1−5x)→∞\frac{f(x)}{x} = x^{2/3}\left(1 - \frac{5}{x}\right) \to \infty: the graph ends up steeper than any line.

b) The power rule on each term: f′(x)=53x2/3−103x−1/3f'(x) = \frac{5}{3}x^{2/3} - \frac{10}{3}x^{-1/3}. Factor out 53x−1/3\frac{5}{3}x^{-1/3}: f′(x)=53x−1/3(x−2)=5(x−2)3x1/3f'(x) = \frac{5}{3}x^{-1/3}(x - 2) = \frac{5(x - 2)}{3x^{1/3}}. A critical number is a point of the DOMAIN of ff where f′=0f' = 0 or f′f' does not exist. f′=0f' = 0 at x=2x = 2; f′f' does not exist at x=0x = 0, and 00 IS in the domain of ff. So there are two critical numbers, 00 and 22. Forgetting 00 is the classic loss on this chapter: the sign table then runs from −∞-\infty to 22 in one piece and the local maximum disappears from the sketch.

c) x1/3x^{1/3} has the sign of xx, so the table of f′f' reads: for x<0x < 0, (−)(−)>0\frac{(-)}{(-)} > 0; for 0<x<20 < x < 2, (−)(+)<0\frac{(-)}{(+)} < 0; for x>2x > 2, f′>0f' > 0. So ff increases on (−∞,0](-\infty, 0], decreases on [0,2][0, 2] and increases on [2,∞)[2, \infty). First derivative test: local maximum f(0)=0f(0) = 0, local minimum f(2)=22/3(2−5)=−3⋅22/3=−343f(2) = 2^{2/3}(2 - 5) = -3 \cdot 2^{2/3} = -3\sqrt[3]{4}. By hand, 1.53=3.375<4<4.096=1.631.5^3 = 3.375 < 4 < 4.096 = 1.6^3, so 43\sqrt[3]{4} lies between 1.51.5 and 1.61.6 and f(2)f(2) between −4.8-4.8 and −4.5-4.5. At 00: the numerator tends to −10-10 and 3x1/3→0−3x^{1/3} \to 0^- from the left, 0+0^+ from the right, so f′→+∞f' \to +\infty as x→0−x \to 0^- and f′→−∞f' \to -\infty as x→0+x \to 0^+. The tangent lines become vertical from both sides while the graph goes up, then down: a cusp.

d) f′′(x)=109x−1/3+109x−4/3=109x−4/3(x+1)=10(x+1)9x4/3f''(x) = \frac{10}{9}x^{-1/3} + \frac{10}{9}x^{-4/3} = \frac{10}{9}x^{-4/3}(x + 1) = \frac{10(x + 1)}{9x^{4/3}}. For x≠0x \ne 0, x4/3=(x3)4>0x^{4/3} = \left(\sqrt[3]{x}\right)^4 > 0, so f′′f'' has the sign of x+1x + 1: concave down on (−∞,−1)(-\infty, -1), concave up on (−1,0)(-1, 0) and on (0,∞)(0, \infty). At −1-1, which is in the domain, the concavity changes: inflection point (−1,f(−1))=(−1,−6)(-1, f(-1)) = (-1, -6). At 00, f′′f'' does not exist, but the concavity is up on both sides: the cusp is NOT an inflection point. A missing f′′f'' is not a sign change.

e) The table, left to right: from −∞-\infty the curve rises, concave down, bends at (−1,−6)(-1, -6), keeps rising concave up and arrives at the origin with a vertical tangent; it leaves the origin going down, again vertically, falls to (2,−343)\left(2, -3\sqrt[3]{4}\right), then rises through (5,0)(5, 0) and on to +∞+\infty, concave up. A rounded top at the origin would mean f′(0)=0f'(0) = 0, a horizontal tangent, and the one-sided limits of c) say exactly the opposite. The same limits explain why both sides near the origin are concave up although 00 is a maximum: the two arcs curve upward, like the two halves of a bird's beak meeting at the tip. That is the picture the computation draws, and the one the marker looks for.

-3-2-11234567-8-6-4-224cusp (0, 0)min (2, −3∛4)(−1, −6)(5, 0)

Exercise 4: Logarithm over x: a one-sided domain, a limit that is not indeterminate, and its odd extension

Sketch the graph of f(x)=ln⁡xxf(x) = \frac{\ln x}{x}. The logarithm brings a one-sided domain and one-sided asymptotes, and one of the two limits needed is a trap: it LOOKS like a case for L'Hospital's rule, and is not.

Symmetry then gives a second graph almost for free, provided each feature is transformed correctly.

  • a) Find the domain, the intercept and the sign of ff. Find lim⁡x→0+f(x)\lim_{x\to 0^+} f(x), explaining why L'Hospital's rule must NOT be used there, then lim⁡x→∞f(x)\lim_{x\to\infty} f(x).
  • b) Show that f′(x)=1−ln⁡xx2f'(x) = \frac{1 - \ln x}{x^2}, study the increase and decrease of ff and find its maximum exactly.
  • c) Show that f′′(x)=2ln⁡x−3x3f''(x) = \frac{2\ln x - 3}{x^3}, study the concavity and find the inflection point exactly.
  • d) Gather the results in one sign table, sketch the graph and give the range of ff.
  • e) Let g(x)=ln⁡∣x∣xg(x) = \frac{\ln|x|}{x} for x≠0x \ne 0. Show that gg is odd and, without computing any new derivative, give its asymptotes, its extrema and its inflection points. Is there an inflection point at x=0x = 0?

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

a)
Domain ,
b)
c)
e)
Show the solution

Answers

  • a) Domain (0,∞)(0, \infty); xx-intercept (1,0)(1, 0); f<0f < 0 on (0,1)(0, 1), f>0f > 0 on (1,∞)(1, \infty); f→−∞f \to -\infty as x→0+x \to 0^+ (asymptote x=0x = 0), f→0f \to 0 as x→∞x \to \infty (asymptote y=0y = 0).
  • b) Increasing on (0,e](0, e], decreasing on [e,∞)[e, \infty); absolute max f(e)=1ef(e) = \frac{1}{e}.
  • c) Concave down on (0,e3/2)\left(0, e^{3/2}\right), up on (e3/2,∞)\left(e^{3/2}, \infty\right); inflection point (e3/2,32e−3/2)\left(e^{3/2}, \frac{3}{2}e^{-3/2}\right).
  • d) Range (−∞,1e]\left(-\infty, \frac{1}{e}\right].
  • e) gg is odd and equals ff for x>0x > 0; asymptotes x=0x = 0 (g→+∞g \to +\infty at 0−0^-) and y=0y = 0 at both ends; max (e,1e)\left(e, \frac{1}{e}\right), min (−e,−1e)\left(-e, -\frac{1}{e}\right); inflection points (±e3/2,±32e−3/2)\left(\pm e^{3/2}, \pm\frac{3}{2}e^{-3/2}\right); none at 00.

a) ln⁡x\ln x requires x>0x > 0, which also keeps the denominator away from 00: the domain is (0,∞)(0, \infty). f(x)=0  ⟺  ln⁡x=0  ⟺  x=1f(x) = 0 \iff \ln x = 0 \iff x = 1, and since x>0x > 0, ff has the sign of ln⁡x\ln x: negative on (0,1)(0, 1), positive on (1,∞)(1, \infty). As x→0+x \to 0^+, ln⁡x→−∞\ln x \to -\infty while x→0+x \to 0^+: the form is −∞0+\frac{-\infty}{0^+}, which is NOT indeterminate. A very large negative number divided by a very small positive one is very large and negative: f→−∞f \to -\infty, and x=0x = 0 is a vertical asymptote, from the right only. A student who applies L'Hospital's rule here writes 1/x1→+∞\frac{1/x}{1} \to +\infty, the wrong sign, because the rule needs 00\frac{0}{0} or ∞∞\frac{\infty}{\infty} and its conclusion is false outside those forms. As x→∞x \to \infty, the form is ∞∞\frac{\infty}{\infty} and the rule applies: lim⁡1/x1=0\lim \frac{1/x}{1} = 0. So y=0y = 0 is a horizontal asymptote as x→∞x \to \infty, approached from above since f>0f > 0 there.

b) Quotient rule: f′(x)=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2f'(x) = \frac{\frac{1}{x} \cdot x - \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^2}. Since x2>0x^2 > 0, f′f' has the sign of 1−ln⁡x1 - \ln x, positive exactly when ln⁡x<1\ln x < 1, that is x<ex < e, because ln⁡\ln is increasing. So ff increases on (0,e](0, e] and decreases on [e,∞)[e, \infty), and ee is the only critical number. The local maximum is the absolute one: f(e)=ln⁡ee=1ef(e) = \frac{\ln e}{e} = \frac{1}{e}.

c) Write f′(x)=(1−ln⁡x)x−2f'(x) = (1 - \ln x)x^{-2}; product rule: f′′(x)=−1x⋅x−2+(1−ln⁡x)(−2x−3)=−1−2+2ln⁡xx3=2ln⁡x−3x3f''(x) = -\frac{1}{x} \cdot x^{-2} + (1 - \ln x)(-2x^{-3}) = \frac{-1 - 2 + 2\ln x}{x^3} = \frac{2\ln x - 3}{x^3}. As x3>0x^3 > 0, f′′f'' has the sign of 2ln⁡x−32\ln x - 3: negative for x<e3/2x < e^{3/2}, positive after. Inflection point at x=e3/2=eex = e^{3/2} = e\sqrt e, with f(e3/2)=3/2e3/2=32e−3/2f\left(e^{3/2}\right) = \frac{3/2}{e^{3/2}} = \frac{3}{2}e^{-3/2}. The position is coherent with b): after its maximum the curve decreases toward an asymptote from above, so it must end up concave up, and the switch has to happen to the RIGHT of the maximum, which it does since e3/2>ee^{3/2} > e. Order of magnitude: e≈1.65\sqrt e \approx 1.65 because 1.652≈2.721.65^2 \approx 2.72, so e3/2≈4.5e^{3/2} \approx 4.5.

d) Table: from x=0+x = 0^+, where f→−∞f \to -\infty, the curve rises, concave down, through (1,0)(1, 0) to its top (e,1e)\left(e, \frac{1}{e}\right), then decreases, still concave down, until the inflection point near x=4.5x = 4.5, and finally decreases concave up toward y=0y = 0. The maximum and the inflection point have close heights, 1e\frac{1}{e} and 32e−3/2\frac{3}{2}e^{-3/2}, which is why the right part of the graph looks almost flat. Range: on (0,e](0, e], ff is continuous and increasing from −∞-\infty to 1e\frac{1}{e}, so it takes every value of (−∞,1e]\left(-\infty, \frac{1}{e}\right]; on [e,∞)[e, \infty) it takes only values of (0,1e]\left(0, \frac{1}{e}\right]. The range is (−∞,1e]\left(-\infty, \frac{1}{e}\right].

e) For x≠0x \ne 0, g(−x)=ln⁡∣−x∣−x=−g(x)g(-x) = \frac{\ln|-x|}{-x} = -g(x): gg is odd, its graph is symmetric about the origin, and g=fg = f on (0,∞)(0, \infty). The half turn about the origin carries every feature of the right half to the left half, changing the sign of BOTH coordinates. The maximum (e,1e)\left(e, \frac{1}{e}\right) becomes a minimum (−e,−1e)\left(-e, -\frac{1}{e}\right). The limit −∞-\infty at 0+0^+ becomes +∞+\infty at 0−0^-: x=0x = 0 is a vertical asymptote with opposite behaviours on its two sides. y=0y = 0 is an asymptote at both ends, approached from below as x→−∞x \to -\infty. A half turn also swaps concave up and concave down, since g′′(x)=−f′′(−x)g''(x) = -f''(-x): gg is concave down on (−∞,−e3/2)\left(-\infty, -e^{3/2}\right) and concave up on (−e3/2,0)\left(-e^{3/2}, 0\right), and the inflection points are (e3/2,32e−3/2)\left(e^{3/2}, \frac{3}{2}e^{-3/2}\right) and (−e3/2,−32e−3/2)\left(-e^{3/2}, -\frac{3}{2}e^{-3/2}\right). At x=0x = 0 the concavity changes as well, up on the left and down on the right, but 00 is not in the domain: no inflection point there. Symmetry is one line of the checklist, and this is what it is worth: half the work for free, provided each feature is transformed, a maximum into a minimum and one concavity into the other.

123456789101112-1.5-1-0.50.5max (e, 1/e)inflection at x = e√e(1, 0)

Exercise 5: Three graphs to match: f, f prime and f double prime on one figure

The figure shows, on [−1,5][-1, 5], the graphs of a function ff, of its derivative f′f' and of its second derivative f′′f'', labelled A, B and C in no particular order. The function is f(x)=xe−xf(x) = xe^{-x}, but part a) must be answered from the figure alone.

Matching graphs is the sketching skill read backwards: each feature of one curve must appear, at the same xx, as a sign or a zero on another.

-112345-3-2-1123ABC
  • a) From the figure alone, decide which curve is ff, which is f′f' and which is f′′f''. Give at least two independent reasons.
  • b) Compute f′(x)f'(x) and f′′(x)f''(x) and check your answer to a) on the zeros and on the values at x=0x = 0.
  • c) Find the exact local extremum and the exact inflection point of ff, and the intervals where ff increases and where it is concave up.
  • d) Find the limits of ff at −∞-\infty and at +∞+\infty, and its horizontal asymptote.
  • e) Prove by induction that f(n)(x)=(−1)n(x−n)e−xf^{(n)}(x) = (-1)^n (x - n)e^{-x} for every n≥1n \ge 1. What does this say about the positions of the zeros seen on the figure?

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

a)
b)
c)
Increasing on ,
Concave up on ,
d)
e)
Show the solution

Answers

  • a) B is ff, C is f′f', A is f′′f''.
  • b) f′(x)=(1−x)e−xf'(x) = (1 - x)e^{-x}, zero at 11; f′′(x)=(x−2)e−xf''(x) = (x - 2)e^{-x}, zero at 22; f′(0)=1f'(0) = 1, f′′(0)=−2f''(0) = -2.
  • c) Max f(1)=1ef(1) = \frac{1}{e}; inflection point (2,2e2)\left(2, \frac{2}{e^2}\right); increasing on (−∞,1](-\infty, 1], concave up on (2,∞)(2, \infty).
  • d) f→−∞f \to -\infty as x→−∞x \to -\infty; f→0f \to 0 as x→∞x \to \infty: asymptote y=0y = 0 on the right only.
  • e) f(n)f^{(n)} vanishes only at x=nx = n: each zero sits one unit to the right of the previous one.

a) First reason, zeros against horizontal tangents. B has exactly one horizontal tangent, a maximum near x=1x = 1, and C crosses zero at x=1x = 1, positive before and negative after: C is positive exactly where B increases, so C is the derivative of B. Second, C has a horizontal tangent, a minimum near x=2x = 2, and A crosses zero at x=2x = 2, negative before and positive after: A is the derivative of C. Third, an independent check on concavity: B is concave down around its maximum and becomes concave up after x=2x = 2, exactly where A changes from negative to positive. So B is ff, C is f′f' and A is f′′f''. The tempting shortcut, taking the tallest curve for ff, has no basis: a derivative can be larger than its function, as C is on the left.

b) Product rule, with the chain rule on e−xe^{-x} (inner function −x-x): f′(x)=e−x+x(−e−x)=(1−x)e−xf'(x) = e^{-x} + x(-e^{-x}) = (1 - x)e^{-x}. Again: f′′(x)=−e−x+(1−x)(−e−x)=(x−2)e−xf''(x) = -e^{-x} + (1 - x)(-e^{-x}) = (x - 2)e^{-x}. Since e−x>0e^{-x} > 0, the zeros are 00 for ff, 11 for f′f' and 22 for f′′f'': B passes through the origin, C crosses at 11, A at 22, as read in a). At x=0x = 0: f′(0)=1f'(0) = 1 and f′′(0)=−2f''(0) = -2, and C does pass through (0,1)(0, 1), A through (0,−2)(0, -2).

c) f′f' has the sign of 1−x1 - x: ff increases on (−∞,1](-\infty, 1] and decreases on [1,∞)[1, \infty), with maximum f(1)=e−1=1ef(1) = e^{-1} = \frac{1}{e}, absolute since it is the only critical number and the test changes sign there. f′′f'' has the sign of x−2x - 2: concave down on (−∞,2)(-\infty, 2), concave up on (2,∞)(2, \infty), and the inflection point is (2,2e−2)=(2,2e2)\left(2, 2e^{-2}\right) = \left(2, \frac{2}{e^2}\right). At the inflection point ff decreases FASTEST: that is where f′f' reaches its minimum, the bottom of curve C, with f′(2)=−e−2f'(2) = -e^{-2}. An inflection point of ff is always an extremum of f′f' when f′′f'' changes sign.

d) As x→−∞x \to -\infty, x→−∞x \to -\infty and e−x→+∞e^{-x} \to +\infty: the product tends to −∞-\infty, and no indeterminate form arises. As x→∞x \to \infty, xe−x=xexxe^{-x} = \frac{x}{e^x} has the form ∞∞\frac{\infty}{\infty}, and L'Hospital's rule gives lim⁡1ex=0\lim \frac{1}{e^x} = 0. So y=0y = 0 is a horizontal asymptote as x→∞x \to \infty only, approached from above since f>0f > 0 for x>0x > 0. On the left there is no asymptote at all, and the sketch must show the curve plunging.

e) For n=1n = 1: (−1)1(x−1)e−x=(1−x)e−x=f′(x)(-1)^1(x - 1)e^{-x} = (1 - x)e^{-x} = f'(x). Assume f(n)(x)=(−1)n(x−n)e−xf^{(n)}(x) = (-1)^n(x - n)e^{-x}. By the product rule, f(n+1)(x)=(−1)n[e−x−(x−n)e−x]=(−1)n(n+1−x)e−x=(−1)n+1(x−(n+1))e−xf^{(n+1)}(x) = (-1)^n\left[e^{-x} - (x - n)e^{-x}\right] = (-1)^n(n + 1 - x)e^{-x} = (-1)^{n+1}\left(x - (n + 1)\right)e^{-x}, the formula at rank n+1n + 1. So f(n)f^{(n)} has a single zero, at x=nx = n, where it changes sign. Consequently f(n−1)f^{(n-1)} has its only extremum at x=nx = n, and f(n−2)f^{(n-2)} its only inflection point there. This is the staircase on the figure: the maximum of B stands above the zero of C at 11, the minimum of C above the zero of A at 22, and A itself has its maximum at 33, where f′′′=−(x−3)e−xf''' = -(x - 3)e^{-x} vanishes.

Part B: problems and reasoning (/50)

Exercise 6: From a sign table to the graph, and a table that cannot exist

Every complete study ends in a sign table, and the sketch is only that table drawn. Here the table is GIVEN, for a function ff defined on R∖{−1}\mathbb{R} \setminus \{-1\}; the double bar marks the value excluded from the domain, and the arrows show where ff increases and decreases.

Parts a) to c) use the table only. The formula comes in d).

xf′(x)f″(x)f(x)−∞−1012+∞−++0−−−−−−0+0−∞−∞018/90
  • a) Read the table: domain, asymptotes (with the side of each limit), local extrema and inflection points. Is there an extremum at x=−1x = -1?
  • b) Find the sign of ff on each interval and the range of ff, justifying from the table alone.
  • c) Sketch a graph that respects every entry of the table.
  • d) Show that f(x)=4x(x+1)2f(x) = \frac{4x}{(x + 1)^2} matches every entry of the table.
  • e) A student claims that some function, defined and twice differentiable on all of R\mathbb{R}, satisfies f(x)>0f(x) > 0, f′(x)<0f'(x) < 0 and f′′(x)<0f''(x) < 0 for every xx. Prove that no such function exists.

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

a)
b)
Range ,
d)
Show the solution

Answers

  • a) Domain R∖{−1}\mathbb{R} \setminus \{-1\}; x=−1x = -1 with f→−∞f \to -\infty on both sides; y=0y = 0 at both ends; local max (1,1)(1, 1); inflection point (2,89)\left(2, \frac{8}{9}\right); no extremum at −1-1.
  • b) f<0f < 0 on (−∞,−1)(-\infty, -1) and (−1,0)(-1, 0), f(0)=0f(0) = 0, f>0f > 0 on (0,∞)(0, \infty); range (−∞,1](-\infty, 1].
  • c) See the figure: two branches plunging along x=−1x = -1, the right one rising to (1,1)(1, 1) and settling on y=0y = 0 from above.
  • d) f′(x)=4(1−x)(x+1)3f'(x) = \frac{4(1 - x)}{(x + 1)^3}, f′′(x)=8(x−2)(x+1)4f''(x) = \frac{8(x - 2)}{(x + 1)^4}; signs, values and limits all agree.
  • e) Concave down, the graph lies below its tangent at 00, of negative slope, so f→−∞f \to -\infty: contradiction with f>0f > 0.

a) The domain is R∖{−1}\mathbb{R} \setminus \{-1\}. Just left of the double bar the row of ff ends at −∞-\infty, and just right of it the row restarts at −∞-\infty: x=−1x = -1 is a vertical asymptote with f→−∞f \to -\infty on BOTH sides. The row starts at 00 at −∞-\infty and ends at 00 at +∞+\infty: y=0y = 0 is a horizontal asymptote at both ends. f′f' changes from ++ to −- at x=1x = 1, where f=1f = 1: local maximum (1,1)(1, 1). f′f' also changes sign across −1-1, but −1-1 is not in the domain, so there is no extremum there. f′′f'' changes from −- to ++ at x=2x = 2, a point of the domain: inflection point (2,89)\left(2, \frac{8}{9}\right). Across −1-1 the concavity does not even change.

b) On (−∞,−1)(-\infty, -1), ff decreases from the limit 00 toward −∞-\infty, so all its values are below 00. On (−1,0](-1, 0], ff increases from −∞-\infty to f(0)=0f(0) = 0, so f<0f < 0 on (−1,0)(-1, 0). On [0,1][0, 1], ff increases from 00 to 11. On [1,∞)[1, \infty), ff decreases strictly toward the limit 00 and stays ABOVE it: if some f(b)≤0f(b) \le 0 with b>1b > 1, then f(x)<f(b)≤0f(x) < f(b) \le 0 for x>bx > b, and the limit would be at most f(b+1)<0f(b + 1) < 0, not 00. So f>0f > 0 on (0,∞)(0, \infty). Range: (−1,0](-1, 0] already gives (−∞,0](-\infty, 0] and [0,1][0, 1] gives [0,1][0, 1], so the range is (−∞,1](-\infty, 1], the maximum 11 being absolute.

c) The sketch follows the columns. Left branch: it leaves y=0y = 0 from below and falls, concave down, into −∞-\infty along x=−1x = -1. Right of the asymptote: the curve rises from −∞-\infty, concave down, through the origin to the top (1,1)(1, 1), falls, still concave down, to (2,89)\left(2, \frac{8}{9}\right), then keeps falling, concave up, toward y=0y = 0 from above. The table gives no other values: a sketch only has to respect EVERY entry, and the figure shows one that does.

d) Quotient rule: f′(x)=4(x+1)2−4x⋅2(x+1)(x+1)4=4(x+1)[(x+1)−2x](x+1)4=4(1−x)(x+1)3f'(x) = \frac{4(x + 1)^2 - 4x \cdot 2(x + 1)}{(x + 1)^4} = \frac{4(x + 1)\left[(x + 1) - 2x\right]}{(x + 1)^4} = \frac{4(1 - x)}{(x + 1)^3}. Signs: for x<−1x < -1, (+)(−)<0\frac{(+)}{(-)} < 0; on (−1,1)(-1, 1), (+)(+)>0\frac{(+)}{(+)} > 0; for x>1x > 1, (−)(+)<0\frac{(-)}{(+)} < 0. Next, from f′(x)=4(1−x)(x+1)−3f'(x) = 4(1 - x)(x + 1)^{-3}, the product rule gives f′′(x)=4[−(x+1)−3−3(1−x)(x+1)−4]=4[−(x+1)−3+3x](x+1)4=8(x−2)(x+1)4f''(x) = 4\left[-(x + 1)^{-3} - 3(1 - x)(x + 1)^{-4}\right] = \frac{4\left[-(x + 1) - 3 + 3x\right]}{(x + 1)^4} = \frac{8(x - 2)}{(x + 1)^4}, with the sign of x−2x - 2 since (x+1)4>0(x + 1)^4 > 0: negative on both sides of −1-1, zero at 22, positive after. Values: f(0)=0f(0) = 0, f(1)=44=1f(1) = \frac{4}{4} = 1, f(2)=89f(2) = \frac{8}{9}. Limits: degree 11 over degree 22 gives 00 at ±∞\pm\infty; at −1-1 the numerator tends to −4-4 and (x+1)2→0+(x + 1)^2 \to 0^+ from both sides, so f→−∞f \to -\infty on both sides. Every entry matches.

e) Suppose such an ff exists, and let m=f′(0)<0m = f'(0) < 0. Since f′′<0f'' < 0, f′f' is decreasing, so f′(c)≤mf'(c) \le m for every c≥0c \ge 0. For x>0x > 0, the Mean Value Theorem on [0,x][0, x] (valid since ff is differentiable everywhere) gives some cc in (0,x)(0, x) with f(x)=f(0)+f′(c)x≤f(0)+mxf(x) = f(0) + f'(c)x \le f(0) + mx. As x→∞x \to \infty, f(0)+mx→−∞f(0) + mx \to -\infty because m<0m < 0, so f(x)→−∞f(x) \to -\infty, contradicting f>0f > 0. Geometrically: a concave down curve lies below each of its tangent lines, and a tangent with negative slope eventually crosses below the axis. This is why the table above NEEDS its inflection point at x=2x = 2: a decreasing curve that settles on a horizontal asymptote from above must end up concave up.

-6-5-4-3-2-112345678-4-3-2-112max (1, 1)inflection (2, 8/9)x = −1

Exercise 7: A trigonometric function on one period: symmetry, a flat point and four inflections

Sketch f(x)=2cos⁡x+sin⁡2xf(x) = 2\cos x + \sin 2x on one period, [0,2π][0, 2\pi]. A trigonometric function has no asymptote: the checklist lives in its symmetries and in trigonometric equations solved EXACTLY, with the double angle identities sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x and cos⁡2x=1−2sin⁡2x\cos 2x = 1 - 2\sin^2 x.

No calculator: an angle that is not a standard one is written with arcsin⁡\arcsin.

  • a) Show that ff has period 2π2\pi and that f(π−x)=−f(x)f(\pi - x) = -f(x). What symmetry of the graph does this give? Find the zeros of ff in [0,2π][0, 2\pi] by factoring.
  • b) Show that f′(x)=−2(2sin⁡x−1)(sin⁡x+1)f'(x) = -2(2\sin x - 1)(\sin x + 1) and find the critical numbers in [0,2π][0, 2\pi].
  • c) Classify each critical number with a sign table of f′f', give the exact values, and compare them with f(0)f(0) and f(2π)f(2\pi).
  • d) Show that f′′(x)=−2cos⁡x(1+4sin⁡x)f''(x) = -2\cos x(1 + 4\sin x) and find the four inflection points in (0,2π)(0, 2\pi), with exact coordinates. Let α=arcsin⁡14\alpha = \arcsin\frac{1}{4}.
  • e) Sketch the graph on [0,2π][0, 2\pi] and give the absolute maximum and minimum of ff on that interval.

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

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

Answers

  • a) Period 2π2\pi; the graph is symmetric about the point (π2,0)\left(\frac{\pi}{2}, 0\right); zeros π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}.
  • b) π6\frac{\pi}{6}, 5π6\frac{5\pi}{6} and 3π2\frac{3\pi}{2}.
  • c) Local max f(π6)=332f\left(\frac{\pi}{6}\right) = \frac{3\sqrt 3}{2}, local min f(5π6)=−332f\left(\frac{5\pi}{6}\right) = -\frac{3\sqrt 3}{2}; at 3π2\frac{3\pi}{2} a horizontal tangent and no extremum; f(0)=f(2π)=2f(0) = f(2\pi) = 2.
  • d) (π2,0)\left(\frac{\pi}{2}, 0\right), (π+α,−3158)\left(\pi + \alpha, -\frac{3\sqrt{15}}{8}\right), (3π2,0)\left(\frac{3\pi}{2}, 0\right), (2π−α,3158)\left(2\pi - \alpha, \frac{3\sqrt{15}}{8}\right).
  • e) Absolute max 332\frac{3\sqrt 3}{2} at π6\frac{\pi}{6}, absolute min −332-\frac{3\sqrt 3}{2} at 5π6\frac{5\pi}{6}.

a) cos⁡x\cos x has period 2π2\pi and sin⁡2x\sin 2x has period π\pi, which divides 2π2\pi, so f(x+2π)=f(x)f(x + 2\pi) = f(x): one period tells everything. Next, f(π−x)=2cos⁡(π−x)+sin⁡(2π−2x)=−2cos⁡x−sin⁡2x=−f(x)f(\pi - x) = 2\cos(\pi - x) + \sin(2\pi - 2x) = -2\cos x - \sin 2x = -f(x). Writing x=π2−tx = \frac{\pi}{2} - t, this reads f(π2+t)=−f(π2−t)f\left(\frac{\pi}{2} + t\right) = -f\left(\frac{\pi}{2} - t\right): the graph is symmetric about the POINT (π2,0)\left(\frac{\pi}{2}, 0\right), a half turn. With sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x, f(x)=2cos⁡x(1+sin⁡x)f(x) = 2\cos x(1 + \sin x), so f=0  ⟺  cos⁡x=0f = 0 \iff \cos x = 0 or sin⁡x=−1\sin x = -1, that is x=π2x = \frac{\pi}{2} or x=3π2x = \frac{3\pi}{2}. Since 1+sin⁡x≥01 + \sin x \ge 0, ff has the sign of cos⁡x\cos x: positive on [0,π2)\left[0, \frac{\pi}{2}\right) and (3π2,2π]\left(\frac{3\pi}{2}, 2\pi\right], negative in between.

b) Chain rule on sin⁡2x\sin 2x, inner function 2x2x: f′(x)=−2sin⁡x+2cos⁡2xf'(x) = -2\sin x + 2\cos 2x. With cos⁡2x=1−2sin⁡2x\cos 2x = 1 - 2\sin^2 x: f′(x)=−2sin⁡x+2−4sin⁡2x=−2(2sin⁡2x+sin⁡x−1)=−2(2sin⁡x−1)(sin⁡x+1)f'(x) = -2\sin x + 2 - 4\sin^2 x = -2(2\sin^2 x + \sin x - 1) = -2(2\sin x - 1)(\sin x + 1), the factorization of 2u2+u−12u^2 + u - 1 with u=sin⁡xu = \sin x. f′f' exists everywhere, and f′(x)=0  ⟺  sin⁡x=12f'(x) = 0 \iff \sin x = \frac{1}{2} or sin⁡x=−1\sin x = -1: the critical numbers in [0,2π][0, 2\pi] are π6\frac{\pi}{6}, 5π6\frac{5\pi}{6} and 3π2\frac{3\pi}{2}.

c) The factor sin⁡x+1\sin x + 1 is ≥0\ge 0 and vanishes only at 3π2\frac{3\pi}{2}, so apart from that point f′f' has the sign of 1−2sin⁡x1 - 2\sin x: positive where sin⁡x<12\sin x < \frac{1}{2}, on [0,π6)\left[0, \frac{\pi}{6}\right) and (5π6,2π]\left(\frac{5\pi}{6}, 2\pi\right], negative on (π6,5π6)\left(\frac{\pi}{6}, \frac{5\pi}{6}\right). So ff has a local maximum f(π6)=2⋅32+sin⁡π3=3+32=332f\left(\frac{\pi}{6}\right) = 2 \cdot \frac{\sqrt 3}{2} + \sin\frac{\pi}{3} = \sqrt 3 + \frac{\sqrt 3}{2} = \frac{3\sqrt 3}{2} and a local minimum f(5π6)=−332f\left(\frac{5\pi}{6}\right) = -\frac{3\sqrt 3}{2}, as the symmetry of a) predicts since 5π6=π−π6\frac{5\pi}{6} = \pi - \frac{\pi}{6}. At 3π2\frac{3\pi}{2}, f′f' is positive on BOTH sides: ff keeps increasing through a horizontal tangent, and there is no extremum. A table that marks every zero of f′f' as an extremum draws a false bump there. Endpoints: f(0)=f(2π)=2f(0) = f(2\pi) = 2, and (332)2=274>4=22\left(\frac{3\sqrt 3}{2}\right)^2 = \frac{27}{4} > 4 = 2^2, so the maximum beats the endpoints.

d) Differentiate f′(x)=−2sin⁡x+2cos⁡2xf'(x) = -2\sin x + 2\cos 2x, with the chain rule on cos⁡2x\cos 2x: f′′(x)=−2cos⁡x−4sin⁡2x=−2cos⁡x−8sin⁡xcos⁡x=−2cos⁡x(1+4sin⁡x)f''(x) = -2\cos x - 4\sin 2x = -2\cos x - 8\sin x\cos x = -2\cos x(1 + 4\sin x). Zeros in (0,2π)(0, 2\pi): cos⁡x=0\cos x = 0 at π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}; sin⁡x=−14\sin x = -\frac{1}{4} in the third and fourth quadrants, at π+α\pi + \alpha and 2π−α2\pi - \alpha with α=arcsin⁡14\alpha = \arcsin\frac{1}{4}, and 0<α<π60 < \alpha < \frac{\pi}{6} since 14<12\frac{1}{4} < \frac{1}{2}. Signs of f′′f'' on the five intervals: −- on (0,π2)\left(0, \frac{\pi}{2}\right), ++ on (π2,π+α)\left(\frac{\pi}{2}, \pi + \alpha\right), −- on (π+α,3π2)\left(\pi + \alpha, \frac{3\pi}{2}\right), ++ on (3π2,2π−α)\left(\frac{3\pi}{2}, 2\pi - \alpha\right), −- on (2π−α,2π)(2\pi - \alpha, 2\pi). Four sign changes, four inflection points. Values from f=2cos⁡x(1+sin⁡x)f = 2\cos x(1 + \sin x): at sin⁡x=−14\sin x = -\frac{1}{4}, 1+sin⁡x=341 + \sin x = \frac{3}{4} and cos⁡x=∓1−116=∓154\cos x = \mp\sqrt{1 - \frac{1}{16}} = \mp\frac{\sqrt{15}}{4}, so f(π+α)=−3158f(\pi + \alpha) = -\frac{3\sqrt{15}}{8} and f(2π−α)=3158f(2\pi - \alpha) = \frac{3\sqrt{15}}{8}; and f=0f = 0 at π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}. At 3π2\frac{3\pi}{2} the curve is flat AND changes concavity: an inflection point with a horizontal tangent.

e) Left to right: from (0,2)(0, 2) the curve rises, concave down, to (π6,332)\left(\frac{\pi}{6}, \frac{3\sqrt 3}{2}\right); falls through the inflection point (π2,0)\left(\frac{\pi}{2}, 0\right) to (5π6,−332)\left(\frac{5\pi}{6}, -\frac{3\sqrt 3}{2}\right); rises concave up, bends at π+α\pi + \alpha, flattens to a horizontal tangent at (3π2,0)\left(\frac{3\pi}{2}, 0\right) and keeps rising, concave up, through 2π−α2\pi - \alpha, then concave down to (2π,2)(2\pi, 2). The half turn about (π2,0)\left(\frac{\pi}{2}, 0\right) is visible on the first half. On the closed interval [0,2π][0, 2\pi] the absolute extrema are among the critical values and the endpoint values 22, 332\frac{3\sqrt 3}{2}, −332-\frac{3\sqrt 3}{2}, 00: the absolute maximum is 332\frac{3\sqrt 3}{2} at π6\frac{\pi}{6} and the absolute minimum −332-\frac{3\sqrt 3}{2} at 5π6\frac{5\pi}{6}. Check: 3158<2\frac{3\sqrt{15}}{8} < 2 since 13564<4\frac{135}{64} < 4, so the last inflection point sits below the endpoint, as a rising curve requires.

0.511.522.533.544.555.566.5-3-2-1123max at π/6min at 5π/6f′(3π/2) = 0

Exercise 8: Five statements to correct

Each statement below was written by a student while sketching a graph for MATH 140, and each is false. Say what is wrong, give a counterexample, and write the correct statement.

  • a) If the concavity of ff changes at x=ax = a, then ff has an inflection point at aa.
  • b) A graph can never cross its horizontal asymptote.
  • c) If the denominator of a rational function vanishes at x=ax = a, then the line x=ax = a is a vertical asymptote.
  • d) If f′(a)f'(a) does not exist, then the graph of ff has a vertical asymptote or a break at x=ax = a.
  • e) If f(x)x→1\frac{f(x)}{x} \to 1 as x→∞x \to \infty, then the line y=xy = x is a slant asymptote.

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

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

Answers

  • a) False: 1x\frac{1}{x} changes concavity at 00, which is not in the domain. True when aa is in the domain and ff is continuous at aa.
  • b) False: xx2+1\frac{x}{x^2 + 1} crosses y=0y = 0 at x=0x = 0; the function of Exercise 2 crosses y=1y = 1 at −43-\frac{4}{3}.
  • c) False: x2−3x+2x2−1=x−2x+1\frac{x^2 - 3x + 2}{x^2 - 1} = \frac{x - 2}{x + 1} for x≠1x \ne 1 has a hole at (1,−12)\left(1, -\frac{1}{2}\right).
  • d) False: x2/3(x−5)x^{2/3}(x - 5) is continuous at 00 with a cusp; x3\sqrt[3]{x} has a vertical tangent at 00.
  • e) False: x+ln⁡xx + \ln x has f(x)x→1\frac{f(x)}{x} \to 1 but f(x)−x=ln⁡x→∞f(x) - x = \ln x \to \infty.

a) FALSE. f(x)=1xf(x) = \frac{1}{x} has f′′(x)=2x3f''(x) = \frac{2}{x^3}, negative for x<0x < 0 and positive for x>0x > 0: the concavity changes at 00, but there is no point (0,f(0))(0, f(0)) on the graph. The same happens at x=±2x = \pm 2 in Exercise 1 and at x=0x = 0 for exx\frac{e^x}{x} in Exercise 10. Correct statement: if aa is in the domain, ff is continuous at aa and the concavity changes at aa, then (a,f(a))(a, f(a)) is an inflection point. Note that f′′(a)f''(a) need not exist: x3\sqrt[3]{x} has an inflection point at the origin, where f′′f'' is undefined.

b) FALSE. A horizontal asymptote describes f(x)f(x) as x→∞x \to \infty or x→−∞x \to -\infty only; it says nothing at finite xx. f(x)=xx2+1f(x) = \frac{x}{x^2 + 1} tends to 00 at both ends and equals 00 at x=0x = 0: it crosses its asymptote y=0y = 0 at the origin. The function of Exercise 2 crosses y=1y = 1 at x=−43x = -\frac{4}{3}, and sin⁡xx\frac{\sin x}{x} crosses y=0y = 0 infinitely many times. Correct statement: the graph may cross a horizontal asymptote, even infinitely often; what is true is that f(x)f(x) gets as close as we like to the asymptote's value for xx large enough.

c) FALSE. f(x)=x2−3x+2x2−1=(x−1)(x−2)(x−1)(x+1)f(x) = \frac{x^2 - 3x + 2}{x^2 - 1} = \frac{(x - 1)(x - 2)}{(x - 1)(x + 1)}, and for x≠1x \ne 1 the common factor cancels: f(x)=x−2x+1f(x) = \frac{x - 2}{x + 1}. At x=1x = 1 the limit is 1−21+1=−12\frac{1 - 2}{1 + 1} = -\frac{1}{2}, finite: the graph has a HOLE at (1,−12)\left(1, -\frac{1}{2}\right), drawn as an open circle, and no asymptote. At x=−1x = -1 the reduced numerator tends to −3≠0-3 \ne 0: that one is a genuine vertical asymptote. Correct statement: cancel the common factors first; x=ax = a is a vertical asymptote when the limit of ff at aa is infinite, which for a reduced fraction means a zero of the denominator where the numerator does not vanish. The figure shows both situations on one graph.

d) FALSE. f(x)=x2/3(x−5)f(x) = x^{2/3}(x - 5) of Exercise 3 is continuous at 00 with f(0)=0f(0) = 0, and f′(0)f'(0) does not exist: the graph has a cusp, no break at all. x3\sqrt[3]{x} is continuous and increasing through 00, with f′(x)=13x2/3→∞f'(x) = \frac{1}{3x^{2/3}} \to \infty: a vertical TANGENT, not an asymptote. ∣x∣|x| has a corner. Correct statement: if aa is in the domain and f′(a)f'(a) does not exist, aa is a critical number, and the graph may have a corner, a cusp or a vertical tangent there. A vertical asymptote needs an infinite limit of ff itself, not of f′f'.

e) FALSE. Take f(x)=x+ln⁡xf(x) = x + \ln x for x>0x > 0: f(x)x=1+ln⁡xx→1\frac{f(x)}{x} = 1 + \frac{\ln x}{x} \to 1, by the limit of Exercise 4, but f(x)−x=ln⁡x→∞f(x) - x = \ln x \to \infty. The vertical gap between the curve and the line y=xy = x grows without bound: the curve runs parallel to that direction without approaching the line. Correct statement: y=mx+by = mx + b is a slant asymptote as x→∞x \to \infty exactly when f(x)−(mx+b)→0f(x) - (mx + b) \to 0. The limit m=lim⁡f(x)xm = \lim \frac{f(x)}{x} is only the first step; b=lim⁡(f(x)−mx)b = \lim\left(f(x) - mx\right) must then exist and be finite.

-6-5-4-3-2-1123456-5-4-3-2-112345hole (1, −1/2)x = −1y = 1

Exercise 9: A final exam problem: slant asymptote, a flat point and a maximum below a minimum

A typical long question from a MATH 140 final: every item of the checklist appears, and the marks go to the justification of each line of the table. Let f(x)=x3x2−3f(x) = \frac{x^3}{x^2 - 3}.

No calculator. For the sketch only, 3≈1.73\sqrt 3 \approx 1.73.

  • a) Find the domain, the intercepts and the symmetry of ff. Find the vertical asymptotes, with the sign of the limit on each side.
  • b) Show that f(x)=x+3xx2−3f(x) = x + \frac{3x}{x^2 - 3}. Deduce the slant asymptote and the position of the curve relative to it on each interval. Where does the graph meet its asymptote?
  • c) Show that f′(x)=x2(x2−9)(x2−3)2f'(x) = \frac{x^2(x^2 - 9)}{(x^2 - 3)^2} and find the local extrema. What happens at x=0x = 0?
  • d) Show that f′′(x)=6x(x2+9)(x2−3)3f''(x) = \frac{6x(x^2 + 9)}{(x^2 - 3)^3}. Study the concavity and find the inflection points.
  • e) Sketch the graph. The local maximum value is smaller than the local minimum value: explain why this is not a contradiction, and give the range of ff.

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

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

Answers

  • a) Domain R∖{±3}\mathbb{R} \setminus \{\pm\sqrt 3\}; only intercept (0,0)(0, 0); ff is odd; f→−∞f \to -\infty as x→3−x \to \sqrt 3^-, +∞+\infty as x→3+x \to \sqrt 3^+, −∞-\infty as x→−3−x \to -\sqrt 3^-, +∞+\infty as x→−3+x \to -\sqrt 3^+.
  • b) Slant asymptote y=xy = x; curve above it on (−3,0)(-\sqrt 3, 0) and (3,∞)(\sqrt 3, \infty), below on (−∞,−3)(-\infty, -\sqrt 3) and (0,3)(0, \sqrt 3); they meet only at the origin.
  • c) Local max f(−3)=−92f(-3) = -\frac{9}{2}, local min f(3)=92f(3) = \frac{9}{2}; f′(0)=0f'(0) = 0 but no extremum at 00.
  • d) Concave down on (−∞,−3)(-\infty, -\sqrt 3) and (0,3)(0, \sqrt 3), up on (−3,0)(-\sqrt 3, 0) and (3,∞)(\sqrt 3, \infty); only inflection point (0,0)(0, 0).
  • e) The two values lie on different branches; range R\mathbb{R}.

a) x2−3=0  ⟺  x=±3x^2 - 3 = 0 \iff x = \pm\sqrt 3: the domain is R∖{−3,3}\mathbb{R} \setminus \{-\sqrt 3, \sqrt 3\}. f(x)=0  ⟺  x=0f(x) = 0 \iff x = 0: the only intercept is the origin. f(−x)=−x3x2−3=−f(x)f(-x) = \frac{-x^3}{x^2 - 3} = -f(x): ff is odd, the graph symmetric about the origin. At 3\sqrt 3 the numerator tends to 33>03\sqrt 3 > 0 and the denominator to 00, with the sign of x2−3x^2 - 3: f→−∞f \to -\infty as x→3−x \to \sqrt 3^- and f→+∞f \to +\infty as x→3+x \to \sqrt 3^+. By oddness, f→−∞f \to -\infty as x→−3−x \to -\sqrt 3^- and f→+∞f \to +\infty as x→−3+x \to -\sqrt 3^+. No factor cancels: two vertical asymptotes. Writing the four one-sided limits, not just ±∞\pm\infty, is what allows the branches to be drawn on the right side of each line.

b) Long division: x3=x(x2−3)+3xx^3 = x(x^2 - 3) + 3x, so f(x)=x+3xx2−3f(x) = x + \frac{3x}{x^2 - 3}. As x→±∞x \to \pm\infty, 3xx2−3→0\frac{3x}{x^2 - 3} \to 0 (degree 11 over degree 22), so f(x)−x→0f(x) - x \to 0 and y=xy = x is a slant asymptote at both ends. The position of the curve is the sign of f(x)−x=3xx2−3f(x) - x = \frac{3x}{x^2 - 3}: for x<−3x < -\sqrt 3, (−)(+)<0\frac{(-)}{(+)} < 0, below; on (−3,0)(-\sqrt 3, 0), (−)(−)>0\frac{(-)}{(-)} > 0, above; on (0,3)(0, \sqrt 3), below; for x>3x > \sqrt 3, above. The curve meets the line where 3xx2−3=0\frac{3x}{x^2 - 3} = 0, only at x=0x = 0: the graph CROSSES its slant asymptote at the origin, which is allowed, as for a horizontal one.

c) Quotient rule: f′(x)=3x2(x2−3)−x3⋅2x(x2−3)2=x4−9x2(x2−3)2=x2(x2−9)(x2−3)2f'(x) = \frac{3x^2(x^2 - 3) - x^3 \cdot 2x}{(x^2 - 3)^2} = \frac{x^4 - 9x^2}{(x^2 - 3)^2} = \frac{x^2(x^2 - 9)}{(x^2 - 3)^2}. Since x2≥0x^2 \ge 0 and the denominator is positive, f′f' has the sign of x2−9x^2 - 9, except at 00 where it vanishes: f′>0f' > 0 for ∣x∣>3|x| > 3, f′<0f' < 0 for ∣x∣<3|x| < 3, x≠0,±3x \ne 0, \pm\sqrt 3. Critical numbers: −3-3, 00, 33. At −3-3, f′f' goes from ++ to −-: local maximum f(−3)=−276=−92f(-3) = \frac{-27}{6} = -\frac{9}{2}. At 33, from −- to ++: local minimum f(3)=92f(3) = \frac{9}{2}. At 00, f′f' is negative on BOTH sides: a horizontal tangent with no extremum, the curve keeps decreasing through the origin. So ff increases on (−∞,−3](-\infty, -3], decreases on [−3,−3)[-3, -\sqrt 3) and on (−3,3)(-\sqrt 3, \sqrt 3), decreases on (3,3](\sqrt 3, 3] and increases on [3,∞)[3, \infty).

d) x2+9>0x^2 + 9 > 0, so f′′f'' has the sign of x(x2−3)3\frac{x}{(x^2 - 3)^3}, which is the sign of xx2−3\frac{x}{x^2 - 3}: negative for x<−3x < -\sqrt 3, positive on (−3,0)(-\sqrt 3, 0), negative on (0,3)(0, \sqrt 3), positive for x>3x > \sqrt 3. The concavity changes at 00, −3-\sqrt 3 and 3\sqrt 3, but only 00 is in the domain: the only inflection point is (0,0)(0, 0), where the tangent is horizontal. A remark that saves time on the sketch: this is exactly the sign pattern of b). The curve is concave up where it lies above its asymptote and concave down where it lies below, as it must be to approach the line from that side.

e) The sketch has three branches: on the left, the curve comes up from below the line y=xy = x, reaches (−3,−92)\left(-3, -\frac{9}{2}\right) and dives to −∞-\infty along x=−3x = -\sqrt 3, concave down; in the middle, it comes down from +∞+\infty along x=−3x = -\sqrt 3, crosses the asymptote at the origin with a horizontal tangent, and falls to −∞-\infty along x=3x = \sqrt 3; on the right, it comes down from +∞+\infty to (3,92)\left(3, \frac{9}{2}\right) and rises back toward y=xy = x from above. A LOCAL maximum is compared only with its neighbours: −92-\frac{9}{2} is the top of the left branch, which lives entirely in (−∞,−92]\left(-\infty, -\frac{9}{2}\right], and nothing forces it above a point of another branch. The asymptotes separate the branches, so local maximum below local minimum is not a contradiction. Range: the middle branch alone, continuous and decreasing from +∞+\infty to −∞-\infty, takes every real value, so the range is R\mathbb{R}.

-7-6-5-4-3-2-11234567-10-8-6-4-2246810(3, 9/2)(−3, −9/2)y = xx = √3x = −√3

Exercise 10: A final exam problem: e to the x over x, and the number of solutions of e to the x equals kx

Another final exam question, in which the sketch is not the end but the tool. Let f(x)=exxf(x) = \frac{e^x}{x}.

The figure shows the curve y=exy = e^x and four lines y=kxy = kx through the origin, for k=−1k = -1, k=1k = 1, k=ek = e and k=4k = 4. It suggests an answer to part e); only the study of ff can prove it.

-2-1.5-1-0.50.511.522.53-2-112345678y = eˣy = −xy = xy = exy = 4x
  • a) Find the domain, the sign and the intercepts of ff. Find the limits of ff at −∞-\infty, 0−0^-, 0+0^+ and +∞+\infty, naming each form.
  • b) Show that f′(x)=ex(x−1)x2f'(x) = \frac{e^x(x - 1)}{x^2}, and find the intervals of increase and decrease and the local extrema.
  • c) Show that f′′(x)=ex(x2−2x+2)x3f''(x) = \frac{e^x(x^2 - 2x + 2)}{x^3} and study the concavity. Does ff have an inflection point?
  • d) Sketch the graph of ff and give its range.
  • e) Using the graph of ff, find, according to the value of the real number kk, the number of real solutions of ex=kxe^x = kx. Compare with the figure, and explain what is special about the line y=exy = ex.

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

a)
b)
c)
d)
Range, left piece ,
e)
Show the solution

Answers

  • a) Domain R∖{0}\mathbb{R} \setminus \{0\}; no intercept; f<0f < 0 for x<0x < 0, f>0f > 0 for x>0x > 0; limits 00 (from below), −∞-\infty, +∞+\infty, +∞+\infty.
  • b) Decreasing on (−∞,0)(-\infty, 0) and on (0,1](0, 1], increasing on [1,∞)[1, \infty); local min f(1)=ef(1) = e.
  • c) Concave down on (−∞,0)(-\infty, 0), up on (0,∞)(0, \infty); no inflection point.
  • d) Range (−∞,0)∪[e,∞)(-\infty, 0) \cup [e, \infty).
  • e) k<0k < 0: one solution; 0≤k<e0 \le k < e: none; k=ek = e: one (x=1x = 1); k>ek > e: two. The line y=exy = ex is tangent to y=exy = e^x at (1,e)(1, e).

a) The domain is R∖{0}\mathbb{R} \setminus \{0\}. Since ex>0e^x > 0, ff has the sign of xx, never vanishes, and 00 is not in the domain: no intercept at all. As x→−∞x \to -\infty, ex→0+e^x \to 0^+ and x→−∞x \to -\infty: a small positive number over a large negative one, NOT an indeterminate form, so f→0f \to 0 from below and y=0y = 0 is a horizontal asymptote on the left. As x→0−x \to 0^-, exx\frac{e^x}{x} is of the form 10−\frac{1}{0^-}: f→−∞f \to -\infty; as x→0+x \to 0^+, 10+\frac{1}{0^+}: f→+∞f \to +\infty. So x=0x = 0 is a vertical asymptote. As x→∞x \to \infty, the form ∞∞\frac{\infty}{\infty} IS indeterminate, and L'Hospital's rule gives lim⁡ex1=∞\lim \frac{e^x}{1} = \infty. No asymptote on the right: not even a slant one, since f(x)x=exx2→∞\frac{f(x)}{x} = \frac{e^x}{x^2} \to \infty by the rule applied twice.

b) Quotient rule: f′(x)=ex⋅x−ex⋅1x2=ex(x−1)x2f'(x) = \frac{e^x \cdot x - e^x \cdot 1}{x^2} = \frac{e^x(x - 1)}{x^2}. With ex>0e^x > 0 and x2>0x^2 > 0, f′f' has the sign of x−1x - 1. The only critical number is 11, since 00 is not in the domain. ff decreases on (−∞,0)(-\infty, 0) and on (0,1](0, 1], increases on [1,∞)[1, \infty), and has a local minimum f(1)=ef(1) = e. It is the lowest point of the right branch, NOT the absolute minimum of ff: the left branch goes down to −∞-\infty.

c) Write f′(x)=ex(x−1−x−2)f'(x) = e^x\left(x^{-1} - x^{-2}\right); product rule: f′′(x)=ex(x−1−x−2)+ex(−x−2+2x−3)=ex(x−1−2x−2+2x−3)=ex(x2−2x+2)x3f''(x) = e^x\left(x^{-1} - x^{-2}\right) + e^x\left(-x^{-2} + 2x^{-3}\right) = e^x\left(x^{-1} - 2x^{-2} + 2x^{-3}\right) = \frac{e^x(x^2 - 2x + 2)}{x^3}. Completing the square, x2−2x+2=(x−1)2+1>0x^2 - 2x + 2 = (x - 1)^2 + 1 > 0, so f′′f'' has the sign of x3x^3, that is of xx: concave down on (−∞,0)(-\infty, 0), concave up on (0,∞)(0, \infty). The concavity changes at 00, but 00 is not in the domain: no inflection point.

d) Left branch: it leaves y=0y = 0 from below and plunges, decreasing and concave down, to −∞-\infty along the yy-axis. Right branch: it comes down from +∞+\infty along the yy-axis, concave up, to its bottom (1,e)(1, e), then climbs faster and faster. Range: the left branch, continuous and decreasing from 0−0^- to −∞-\infty, takes every value of (−∞,0)(-\infty, 0); the right branch takes every value of [e,∞)[e, \infty), twice for values above ee. The range is (−∞,0)∪[e,∞)(-\infty, 0) \cup [e, \infty): the values of [0,e)[0, e) are never taken.

e) x=0x = 0 is never a solution of ex=kxe^x = kx, since e0=1≠0e^0 = 1 \ne 0. So for x≠0x \ne 0 we may divide: ex=kx  ⟺  exx=k  ⟺  f(x)=ke^x = kx \iff \frac{e^x}{x} = k \iff f(x) = k, and the number of solutions is the number of points where the horizontal line y=ky = k meets the graph of ff. If k<0k < 0, the left branch takes the value kk exactly once (strictly decreasing and continuous from 00 to −∞-\infty), the right branch never: ONE solution. If 0≤k<e0 \le k < e: NONE, by the range. If k=ek = e: only x=1x = 1, ONE solution. If k>ek > e: once on (0,1)(0, 1) and once on (1,∞)(1, \infty), TWO solutions. The figure agrees: y=−xy = -x meets y=exy = e^x once on the left, y=xy = x never, y=4xy = 4x twice. And y=exy = ex touches y=exy = e^x at (1,e)(1, e) with the same slope, since (ex)′=e1=e\left(e^x\right)' = e^1 = e at x=1x = 1: it is the tangent to y=exy = e^x through the origin. The borderline value k=ek = e is exactly the minimum of ff, and no picture could have told a tangent from two crossings very close together: the sign table decides.

-5-4-3-2-11234-4-3-2-112345678min (1, e)y = 4y = econcave downconcave up

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

See also

Struggling with MATH 140?

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