MATH 140 Calculus 1 • McGill University, Montreal

Corrected exercises: what derivatives tell us about the shape of a graph (MATH 140)

This is the corrected exercise set for section 4.3 of Stewart in MATH 140, Calculus 1, at McGill University: what f′f' and f′′f'' tell us about the shape of a graph. It is the chapter where derivatives stop being computed for their own sake and start answering questions: where a function goes up or down, where it bends, where it peaks. Every answer is exact and done by hand, and each solution names the test it uses and checks its hypotheses, because a correct maximum without its justification earns almost nothing.

The thread running through the whole set: a zero NOMINATES, a sign DECIDES. f′(c)=0f'(c) = 0, f′′(c)=0f''(c) = 0, or a derivative that does not exist, only produce candidates; what the sign does on each side of the candidate decides between a maximum, a minimum, an inflection point or nothing at all. And f′f' and f′′f'' answer two different questions, direction and bending, which must never be read one for the other.

The traps named in the solutions: declaring an extremum wherever f′(c)=0f'(c) = 0, an inflection point wherever f′′(c)=0f''(c) = 0, forgetting the critical numbers where f′f' does not exist, alternating the signs of a chart across a double root, reading the maximum of f′f' as a maximum of ff, concluding “no extremum” from a silent Second Derivative Test, claiming ff increasing on a union of intervals, giving x=cx = c when the question asks for the value, and confusing “still increasing” with “still accelerating”.

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

  • • Critical number: cc in the domain with f′(c)=0f'(c) = 0 or f′(c)f'(c) undefined. It is a candidate for a local extremum, never a verdict.
  • • Increasing/Decreasing Test: f′>0f' > 0 on an interval gives ff increasing on it, f′<0f' < 0 decreasing. One interval at a time.
  • • First Derivative Test at a critical number cc of a continuous ff: f′f' from ++ to −-, local maximum; from −- to ++, local minimum; no sign change, no extremum.
  • • Concavity Test: f′′>0f'' > 0 on an interval, concave upward; f′′<0f'' < 0, concave downward. Inflection point: ff continuous at cc and the concavity changes at cc.
  • • Second Derivative Test: f′(c)=0f'(c) = 0 and f′′(c)>0f''(c) > 0 give a local minimum, f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0 a local maximum. If f′′(c)=0f''(c) = 0 or does not exist, no conclusion: back to the first test.
  • • On the graph of f′f': its SIGN gives the direction of ff, its SLOPE gives the concavity of ff; the local extrema of f′f' are the inflection points of ff.

Part A: the basics (/50)

Exercise 1: The First Derivative Test: a zero nominates, a sign decides

Increasing/Decreasing Test: if f′(x)>0f'(x) > 0 on an interval, ff is increasing on that interval; if f′(x)<0f'(x) < 0, it is decreasing. First Derivative Test: at a critical number cc of a continuous function, if f′f' changes from positive to negative, ff has a local maximum at cc; from negative to positive, a local minimum; if f′f' does not change sign, no local extremum at all.

A critical number is a number cc of the domain where f′(c)=0f'(c) = 0 OR f′(c)f'(c) does not exist. It is only a CANDIDATE: the sign of f′f' on each side is what decides, and a sign chart is the way to show it on a paper.

  • a) Let f(x)=x4+4x3−8x2+1f(x) = x^4 + 4x^3 - 8x^2 + 1. Find the intervals on which ff is increasing or decreasing, and its local maximum and minimum values.
  • b) Let g(x)=x3−6x2+12x−5g(x) = x^3 - 6x^2 + 12x - 5. Show that gg has a critical number, and that gg has no local extremum. On which intervals is gg increasing?
  • c) Let h(x)=x−3x1/3h(x) = x - 3x^{1/3}. Find ALL the critical numbers of hh, then classify each one.
  • d) Let k(x)=x2exk(x) = x^2 e^x. Find the local extreme values of kk, exactly.
  • e) In c), a student writes: h′(0)h'(0) does not exist, so 00 is not a critical number and there is nothing to check. Correct the argument, and say what the graph of hh looks like at the origin.

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

a)
Unbounded interval where ff decreases ,
Bounded interval where ff decreases ,
b)
gg is increasing on ,
c)
d)
e)
Show the solution

Answers

  • a) Decreasing on (−∞,−4](-\infty, -4] and [0,1][0, 1], increasing on [−4,0][-4, 0] and [1,∞)[1, \infty); local minima f(−4)=−127f(-4) = -127 and f(1)=−2f(1) = -2, local maximum f(0)=1f(0) = 1
  • b) g′(x)=3(x−2)2g'(x) = 3(x - 2)^2: critical number 22, no sign change, no extremum; gg is increasing on (−∞,∞)(-\infty, \infty)
  • c) Critical numbers −1-1, 00, 11; local max h(−1)=2h(-1) = 2, local min h(1)=−2h(1) = -2, no extremum at 00
  • d) Local maximum k(−2)=4e−2k(-2) = 4e^{-2}, local minimum k(0)=0k(0) = 0
  • e) 00 IS a critical number (h′(0)h'(0) undefined, 00 in the domain); h′<0h' < 0 on both sides, so no extremum: a vertical tangent on a decreasing stretch.

a) ff is a polynomial, so f′f' exists everywhere and the only critical numbers are the zeros of f′(x)=4x3+12x2−16x=4x(x2+3x−4)=4x(x+4)(x−1)f'(x) = 4x^3 + 12x^2 - 16x = 4x(x^2 + 3x - 4) = 4x(x + 4)(x - 1): they are −4-4, 00 and 11. The sign chart of the solution figure takes each factor on each interval: with test values, f′(−5)=−120<0f'(-5) = -120 < 0, f′(−1)=24>0f'(-1) = 24 > 0, f′(12)=−92<0f'\left(\frac{1}{2}\right) = -\frac{9}{2} < 0, f′(2)=48>0f'(2) = 48 > 0. So ff is decreasing on (−∞,−4](-\infty, -4], increasing on [−4,0][-4, 0], decreasing on [0,1][0, 1] and increasing on [1,∞)[1, \infty). At −4-4, f′f' goes from −- to ++: local minimum f(−4)=256−256−128+1=−127f(-4) = 256 - 256 - 128 + 1 = -127. At 00, from ++ to −-: local maximum f(0)=1f(0) = 1. At 11, from −- to ++: local minimum f(1)=1+4−8+1=−2f(1) = 1 + 4 - 8 + 1 = -2. The question asks for VALUES: the answer is −127-127, 11 and −2-2, attained at x=−4x = -4, 00 and 11; writing “the maximum is x=0x = 0” confuses where and how much, and costs a mark.

b) g′(x)=3x2−12x+12=3(x2−4x+4)=3(x−2)2g'(x) = 3x^2 - 12x + 12 = 3(x^2 - 4x + 4) = 3(x - 2)^2. The only critical number is 22, with g(2)=8−24+24−5=3g(2) = 8 - 24 + 24 - 5 = 3. But (x−2)2>0(x - 2)^2 > 0 for every x≠2x \neq 2: g′g' is positive on BOTH sides of 22, it does not change sign, and by the First Derivative Test gg has no local extremum at 22. Indeed g(x)=(x−2)3+3g(x) = (x - 2)^3 + 3, the cube curve shifted. As for monotonicity, g′>0g' > 0 on (−∞,2)(-\infty, 2) and on (2,∞)(2, \infty), so gg is increasing on (−∞,2](-\infty, 2] and on [2,∞)[2, \infty), two intervals that share the point 22: hence gg is increasing on the whole real line. A derivative that vanishes at an isolated point does not stop a function from increasing.

c) hh is defined for every real xx (a cube root accepts negative numbers). For x≠0x \neq 0, h′(x)=1−x−2/3=x2/3−1x2/3h'(x) = 1 - x^{-2/3} = \frac{x^{2/3} - 1}{x^{2/3}}, and h′(0)h'(0) does not exist since x−2/3x^{-2/3} is undefined there. So the critical numbers are 00 (derivative undefined) and the zeros of the numerator, x2/3=1x^{2/3} = 1, that is x=1x = 1 and x=−1x = -1. The denominator x2/3=(x3)2x^{2/3} = (\sqrt[3]{x})^2 is positive for x≠0x \neq 0, so the sign of h′h' is that of x2/3−1x^{2/3} - 1: positive for ∣x∣>1|x| > 1, negative for 0<∣x∣<10 < |x| < 1. At −1-1, ++ to −-: local maximum h(−1)=−1−3(−1)=2h(-1) = -1 - 3(-1) = 2. At 11, −- to ++: local minimum h(1)=1−3=−2h(1) = 1 - 3 = -2. At 00, −- on both sides: no extremum.

d) By the product rule, k′(x)=2xex+x2ex=x(x+2)exk'(x) = 2x e^x + x^2 e^x = x(x + 2)e^x. The factor exe^x is positive for every xx, so it never changes the sign: the sign of k′k' is the sign of x(x+2)x(x + 2), positive for x<−2x < -2, negative on (−2,0)(-2, 0), positive for x>0x > 0. Local maximum at −2-2: k(−2)=4e−2k(-2) = 4e^{-2}; local minimum at 00: k(0)=0k(0) = 0. The answer stays exact, 4e−2=4e24e^{-2} = \frac{4}{e^2}, about 0.540.54 if you want to check the figure mentally with e2≈7.4e^2 \approx 7.4. The minimum 00 is even the smallest value of kk on the whole line, since x2ex≥0x^2 e^x \ge 0.

e) A critical number is defined as a number of the DOMAIN where f′f' is zero OR does not exist: 00 is in the domain of hh and h′(0)h'(0) does not exist, so 00 is a critical number, and forgetting it is the most common omission of the chapter. It is then classified like the others, by the sign of h′h': negative just left of 00 and just right of 00, so hh keeps decreasing through the origin and 00 is NOT an extremum. Since h′(x)=1−x−2/3h'(x) = 1 - x^{-2/3} becomes very negative near 00, the curve crosses the origin with a vertical tangent. Here the candidate happens to be rejected; for ∣x∣|x| instead of x1/3x^{1/3} it would have been a minimum. A candidate is never skipped, it is tested.

x−4014x−−0++x + 4−0+++x − 1−−−0+f'(x)−0+0−0+f(x)↘−127↗1↘−2↗

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: Concavity and inflection points: a zero of f'' is only a candidate

Concavity Test: if f′′(x)>0f''(x) > 0 on an interval, the graph of ff is concave upward there (it bends up, lying above its tangent lines); if f′′(x)<0f''(x) < 0, concave downward. A point P=(c,f(c))P = (c, f(c)) is an inflection point when ff is continuous at cc and the concavity CHANGES at cc.

The candidates are therefore the numbers where f′′(c)=0f''(c) = 0 or f′′(c)f''(c) does not exist, and each one is kept only if f′′f'' changes sign there. The figure shows the bell curve y=e−x2/2y = e^{-x^2/2}: it bends down around its top and up in its two tails.

-3-2.5-2-1.5-1-0.50.511.522.530.20.40.60.811.2y = e^(−x²/2)x
  • a) Let f(x)=x4−2x3−12x2+7f(x) = x^4 - 2x^3 - 12x^2 + 7. Find the intervals of concavity and the inflection points of ff.
  • b) Let g(x)=x5−5x4g(x) = x^5 - 5x^4. Show that g′′(0)=0g''(0) = 0 and g′′(3)=0g''(3) = 0, and decide which of the two gives an inflection point.
  • c) Let h(x)=x5/3h(x) = x^{5/3}. Show that h′′(0)h''(0) does not exist, and decide whether the origin is an inflection point.
  • d) Let φ(x)=e−x2/2\varphi(x) = e^{-x^2/2}. Find the inflection points of the curve of the figure, with exact coordinates.

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

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

Answers

  • a) Concave up on (−∞,−1)(-\infty, -1) and (2,∞)(2, \infty), down on (−1,2)(-1, 2); inflection points (−1,−2)(-1, -2) and (2,−41)(2, -41)
  • b) g′′(x)=20x2(x−3)g''(x) = 20x^2(x - 3): no sign change at 00, no inflection; inflection point (3,−162)(3, -162)
  • c) h′′(x)=109x1/3h''(x) = \frac{10}{9x^{1/3}}, undefined at 00, negative then positive: (0,0)(0, 0) is an inflection point
  • d) φ′′(x)=(x2−1)e−x2/2\varphi''(x) = (x^2 - 1)e^{-x^2/2}; inflection points (−1,e−1/2)\left(-1, e^{-1/2}\right) and (1,e−1/2)\left(1, e^{-1/2}\right)

a) f′(x)=4x3−6x2−24xf'(x) = 4x^3 - 6x^2 - 24x and f′′(x)=12x2−12x−24=12(x2−x−2)=12(x−2)(x+1)f''(x) = 12x^2 - 12x - 24 = 12(x^2 - x - 2) = 12(x - 2)(x + 1). The candidates are −1-1 and 22. The quadratic 12(x−2)(x+1)12(x - 2)(x + 1) is positive outside its roots and negative between them: ff is concave upward on (−∞,−1)(-\infty, -1) and (2,∞)(2, \infty), concave downward on (−1,2)(-1, 2). The sign changes at both candidates and ff is a polynomial, hence continuous, so both are inflection points: f(−1)=1+2−12+7=−2f(-1) = 1 + 2 - 12 + 7 = -2 and f(2)=16−16−48+7=−41f(2) = 16 - 16 - 48 + 7 = -41. An inflection POINT is a point of the curve: the answer is (−1,−2)(-1, -2) and (2,−41)(2, -41), not just “x=−1x = -1 and x=2x = 2”.

b) g′(x)=5x4−20x3g'(x) = 5x^4 - 20x^3 and g′′(x)=20x3−60x2=20x2(x−3)g''(x) = 20x^3 - 60x^2 = 20x^2(x - 3), so g′′(0)=0g''(0) = 0 and g′′(3)=0g''(3) = 0. Now look at the SIGN. The factor x2x^2 is positive on both sides of 00, so near 00 the sign of g′′g'' is the sign of 20(x−3)20(x - 3), negative on both sides: the curve is concave downward before and after 00, and (0,0)(0, 0) is NOT an inflection point. At 33, the factor x−3x - 3 changes sign while x2>0x^2 > 0: concave downward on (−∞,3)(-\infty, 3), upward on (3,∞)(3, \infty), and (3,g(3))=(3,243−405)=(3,−162)(3, g(3)) = (3, 243 - 405) = (3, -162) is an inflection point. A double root of f′′f'', like x2x^2 here or like x4x^4 at the origin, is the classic candidate that fails.

c) h′(x)=53x2/3h'(x) = \frac{5}{3}x^{2/3}, which exists everywhere with h′(0)=0h'(0) = 0, and h′′(x)=109x−1/3=109x1/3h''(x) = \frac{10}{9}x^{-1/3} = \frac{10}{9x^{1/3}} for x≠0x \neq 0, undefined at 00. So 00 is a candidate although h′′(0)h''(0) is not zero: the list of candidates includes the points where f′′f'' does not exist. The cube root has the sign of xx, so h′′<0h'' < 0 for x<0x < 0 and h′′>0h'' > 0 for x>0x > 0: the concavity changes. Since hh is continuous at 00, the origin IS an inflection point, with a horizontal tangent there. Discarding 00 because “h′′(0)h''(0) does not exist, so there is nothing to test” loses the only inflection point of the curve.

d) By the chain rule with inner function −x22-\frac{x^2}{2}, φ′(x)=−xe−x2/2\varphi'(x) = -x e^{-x^2/2}. By the product rule, φ′′(x)=−e−x2/2+x2e−x2/2=(x2−1)e−x2/2\varphi''(x) = -e^{-x^2/2} + x^2 e^{-x^2/2} = (x^2 - 1)e^{-x^2/2}. The exponential is positive, so φ′′\varphi'' has the sign of x2−1x^2 - 1: positive for ∣x∣>1|x| > 1, negative for ∣x∣<1|x| < 1. The concavity changes at −1-1 and at 11, and φ(±1)=e−1/2=1e\varphi(\pm 1) = e^{-1/2} = \frac{1}{\sqrt e}. Inflection points: (−1,e−1/2)\left(-1, e^{-1/2}\right) and (1,e−1/2)\left(1, e^{-1/2}\right), at height about 0.610.61 on the figure (with e≈1.65\sqrt e \approx 1.65), exactly where the curve stops bending down and starts flattening into its tails. These are the points where the bell is steepest.

Exercise 3: The Second Derivative Test, and the case where it says nothing

Second Derivative Test: suppose f′′f'' is continuous near cc. If f′(c)=0f'(c) = 0 and f′′(c)>0f''(c) > 0, ff has a local minimum at cc; if f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0, a local maximum. The test is often faster than a sign chart, but it has a blind spot: when f′′(c)=0f''(c) = 0, or when f′′(c)f''(c) does not exist, it gives NO information, and the First Derivative Test takes over.

A silent test is not a negative answer: it does not say “no extremum”, it says nothing at all.

  • a) Let f(x)=2x3−3x2−36x+1f(x) = 2x^3 - 3x^2 - 36x + 1. Find the critical numbers and classify them with the Second Derivative Test.
  • b) Let s(x)=sin⁡x+cos⁡xs(x) = \sin x + \cos x on (0,2π)(0, 2\pi). Find its local maximum and minimum values with the Second Derivative Test.
  • c) Let p(x)=3x5−5x3p(x) = 3x^5 - 5x^3. Classify its three critical numbers. Where the Second Derivative Test is silent, conclude anyway, and state what happens there.
  • d) Let q(x)=x4/3q(x) = x^{4/3}. Why can the Second Derivative Test not even be applied at 00? Classify 00 anyway.

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

a)
b)
c)
d)
Show the solution

Answers

  • a) Critical numbers −2-2 and 33; f′′(−2)=−30f''(-2) = -30: local max f(−2)=45f(-2) = 45; f′′(3)=30f''(3) = 30: local min f(3)=−80f(3) = -80
  • b) Local max s(π4)=2s\left(\frac{\pi}{4}\right) = \sqrt 2, local min s(5π4)=−2s\left(\frac{5\pi}{4}\right) = -\sqrt 2
  • c) Local max p(−1)=2p(-1) = 2, local min p(1)=−2p(1) = -2; at 00 the test is silent, p′≤0p' \le 0 on both sides: no extremum, an inflection point with horizontal tangent
  • d) q′′(x)=49x−2/3q''(x) = \frac{4}{9}x^{-2/3} does not exist at 00; q′q' goes from −- to ++: local minimum q(0)=0q(0) = 0

a) f′(x)=6x2−6x−36=6(x2−x−6)=6(x−3)(x+2)f'(x) = 6x^2 - 6x - 36 = 6(x^2 - x - 6) = 6(x - 3)(x + 2), so the critical numbers are −2-2 and 33 (a polynomial has no other kind). f′′(x)=12x−6f''(x) = 12x - 6. At −2-2: f′′(−2)=−30<0f''(-2) = -30 < 0, so ff has a local maximum, f(−2)=−16−12+72+1=45f(-2) = -16 - 12 + 72 + 1 = 45. At 33: f′′(3)=30>0f''(3) = 30 > 0, local minimum, f(3)=54−27−108+1=−80f(3) = 54 - 27 - 108 + 1 = -80. The written form the marker expects names the hypothesis of the test at each point: “f′(3)=0f'(3) = 0 and f′′(3)=30>0f''(3) = 30 > 0, so by the Second Derivative Test ff has a local minimum at 33”. The mnemonic: f′′>0f'' > 0, concave UP, a cup, a MINIMUM.

b) s′(x)=cos⁡x−sin⁡x=0s'(x) = \cos x - \sin x = 0 when tan⁡x=1\tan x = 1, which on (0,2π)(0, 2\pi) gives x=π4x = \frac{\pi}{4} and x=5π4x = \frac{5\pi}{4} (dividing by cos⁡x\cos x is safe: cos⁡x=0\cos x = 0 would force sin⁡x=±1≠0\sin x = \pm 1 \neq 0). s′′(x)=−sin⁡x−cos⁡x=−s(x)s''(x) = -\sin x - \cos x = -s(x). At π4\frac{\pi}{4}: s(π4)=22+22=2s\left(\frac{\pi}{4}\right) = \frac{\sqrt 2}{2} + \frac{\sqrt 2}{2} = \sqrt 2, so s′′(π4)=−2<0s''\left(\frac{\pi}{4}\right) = -\sqrt 2 < 0: local maximum 2\sqrt 2. At 5π4\frac{5\pi}{4}: s=−2s = -\sqrt 2, s′′=2>0s'' = \sqrt 2 > 0: local minimum −2-\sqrt 2. Here the Second Derivative Test is clearly the faster route: a sign chart of cos⁡x−sin⁡x\cos x - \sin x on (0,2π)(0, 2\pi) would need four test values.

c) p′(x)=15x4−15x2=15x2(x2−1)=15x2(x−1)(x+1)p'(x) = 15x^4 - 15x^2 = 15x^2(x^2 - 1) = 15x^2(x - 1)(x + 1): critical numbers −1-1, 00, 11. p′′(x)=60x3−30x=30x(2x2−1)p''(x) = 60x^3 - 30x = 30x(2x^2 - 1). At 11: p′′(1)=30>0p''(1) = 30 > 0, local minimum p(1)=3−5=−2p(1) = 3 - 5 = -2. At −1-1: p′′(−1)=−30<0p''(-1) = -30 < 0, local maximum p(−1)=2p(-1) = 2. At 00: p′′(0)=0p''(0) = 0, the test is SILENT. Go back to the sign of p′p': near 00, 15x2>015x^2 > 0 and x2−1<0x^2 - 1 < 0, so p′<0p' < 0 on both sides of 00 and there is no extremum. What happens instead is visible on the solution figure: p′′(x)=30x(2x2−1)p''(x) = 30x(2x^2 - 1) is positive just left of 00 and negative just right, so the origin is an inflection point with a horizontal tangent. The silence of the test covers three different realities: x4x^4 has a minimum at 00, −x4-x^4 a maximum, x3x^3 neither, and all three have f′(0)=f′′(0)=0f'(0) = f''(0) = 0.

d) q′(x)=43x1/3q'(x) = \frac{4}{3}x^{1/3}, so q′(0)=0q'(0) = 0 and 00 is a critical number. But q′′(x)=49x−2/3q''(x) = \frac{4}{9}x^{-2/3} does not exist at 00, and the test needs the value q′′(0)q''(0) and a continuous f′′f'' near 00: its hypotheses fail, it cannot be invoked. The First Derivative Test has no such requirement: x1/3x^{1/3} has the sign of xx, so q′q' goes from negative to positive and qq has a local minimum q(0)=0q(0) = 0, the lowest point of the curve since x4/3=(x1/3)4≥0x^{4/3} = (x^{1/3})^4 \ge 0. The First Derivative Test always applies at a critical number of a continuous function; the second is a shortcut, to be used only when its hypotheses hold and it speaks.

-1.5-1-0.50.511.5-6-4-2246max (−1, 2)min (1, −2)f'(0) = f''(0) = 0x

Exercise 4: Reading f on the graph of f': sign for direction, slope for bending

The figure shows the graph of the DERIVATIVE f′f' of a function ff defined on [−3,3][-3, 3], not the graph of ff. The marked points (−2,0)(-2, 0), (−1,1)(-1, 1) and (1,0)(1, 0) are exact; f′f' crosses the xx-axis at −2-2, touches it at 11 without crossing, and has horizontal tangents at x=−1x = -1 and x=1x = 1.

Two readings, never mixed up. The SIGN of f′f' (above or below the axis) gives the direction of ff. The SLOPE of f′f' (is the curve of f′f' going up or down?) is f′′f'', and gives the concavity of ff.

-3-2.5-2-1.5-1-0.50.511.522.53-4-3-2-112345y = f'(x)(−2, 0)(−1, 1)(1, 0)x
  • a) On which intervals is ff increasing, decreasing? Find the xx-values of the local extrema of ff in (−3,3)(-3, 3), with their type.
  • b) On which intervals is ff concave upward, downward? Find the xx-coordinates of the inflection points of ff.
  • c) A student writes: f′f' has a local maximum at x=−1x = -1, so ff has a local maximum at x=−1x = -1. Correct.
  • d) Put in increasing order, where the figure allows it: f(−2)f(-2), f(0)f(0), f(1)f(1); then compare f(−3)f(-3) and f(−2)f(-2). At which xx does ff reach its smallest value on [−3,3][-3, 3]?
  • e) Describe precisely what the graph of ff does at x=1x = 1.

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

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

Answers

  • a) Decreasing on [−3,−2][-3, -2], increasing on [−2,3][-2, 3]; local minimum at x=−2x = -2; no extremum at x=1x = 1
  • b) Concave up on (−3,−1)(-3, -1) and (1,3)(1, 3), down on (−1,1)(-1, 1); inflection points at x=−1x = -1 and x=1x = 1
  • c) False: f′(−1)=1>0f'(-1) = 1 > 0, ff is increasing there; x=−1x = -1 is an inflection point, where ff climbs fastest.
  • d) f(−2)<f(0)<f(1)f(-2) < f(0) < f(1) and f(−3)>f(−2)f(-3) > f(-2); smallest value at x=−2x = -2
  • e) Horizontal tangent AND change of concavity: an inflection point with a horizontal tangent, ff keeps increasing.

a) Read the SIGN of f′f': the curve is below the axis on [−3,−2)[-3, -2) and above it on (−2,1)(-2, 1) and (1,3](1, 3]. So ff is decreasing on [−3,−2][-3, -2] and increasing on [−2,1][-2, 1] and on [1,3][1, 3], hence on [−2,3][-2, 3]. The critical numbers are the zeros of f′f', −2-2 and 11. At −2-2, f′f' changes from negative to positive: local minimum of ff. At 11, f′(1)=0f'(1) = 0 but f′>0f' > 0 on both sides: no sign change, no extremum. The point where f′f' TOUCHES the axis is a candidate that the sign rejects, exactly like g(x)=(x−2)3+3g(x) = (x - 2)^3 + 3 of Exercise 1.

b) Now read the SLOPE of the curve of f′f', which is f′′f''. The curve of f′f' rises on (−3,−1)(-3, -1), falls on (−1,1)(-1, 1) and rises again on (1,3)(1, 3). So f′′>0f'' > 0, ff concave upward, on (−3,−1)(-3, -1) and (1,3)(1, 3); f′′<0f'' < 0, concave downward, on (−1,1)(-1, 1). The concavity changes at x=−1x = -1 and at x=1x = 1, which are the inflection points of ff. The rule to remember: the inflection points of ff are the local extrema of f′f', the places where the slope of ff stops growing and starts shrinking, or the reverse.

c) The student read the graph of f′f' as if it were the graph of ff. At x=−1x = -1, f′(−1)=1>0f'(-1) = 1 > 0: ff is increasing there, so it cannot have a local maximum (at a local maximum inside the interval, f′f' would be 00 or undefined). What the top of the curve of f′f' says is that the slope of ff is the largest around there: ff climbs fastest at x=−1x = -1, its concavity switches from up to down, and x=−1x = -1 is an inflection point, as found in b). Before reading anything, write on the figure “this is y=f′(x)y = f'(x)”: it prevents the confusion.

d) ff is increasing on [−2,3][-2, 3] and −2<0<1-2 < 0 < 1, so f(−2)<f(0)<f(1)f(-2) < f(0) < f(1): strictly, since f′>0f' > 0 on (−2,1)(-2, 1). ff is decreasing on [−3,−2][-3, -2], so f(−3)>f(−2)f(-3) > f(-2). Hence ff decreases until x=−2x = -2 and increases afterwards, and f(x)≥f(−2)f(x) \ge f(-2) for every xx of [−3,3][-3, 3]: the smallest value of ff on [−3,3][-3, 3] is reached at x=−2x = -2. What the figure does NOT allow is to compare f(−3)f(-3) with f(3)f(3): the sign of f′f' tells the direction of each move, not how far ff travels. The solution figure shows one function with exactly this derivative, chosen with f(−2)=0f(-2) = 0; any vertical shift of it would fit too.

e) At x=1x = 1 two things happen at once: f′(1)=0f'(1) = 0, so the tangent to the graph of ff is horizontal, and f′′f'' changes sign (the curve of f′f' goes from falling to rising), so the concavity switches from downward to upward. The graph of ff climbs, flattens to a horizontal tangent, and climbs again, bending the other way: an inflection point with a horizontal tangent, the same shape as y=x3y = x^3 at the origin. It is a critical number and an inflection point, and not an extremum.

-3-2.5-2-1.5-1-0.50.511.522.53-112345local mininflectionflat inflectiony = f(x)x

Exercise 5: Reading f' and f'' on the graph of f

The figure shows the graph of a function ff on [−4,4][-4, 4], with five labelled points AA, BB, CC, DD, EE at x=−3,−2,0,1,3x = -3, -2, 0, 1, 3. The tangent at BB is horizontal, and CC is the point where the curve changes the way it bends.

Reading a graph for f′f' means asking “is the curve going up or down here?”, and for f′′f'', “is it bending up like a cup or down like a cap?” Two questions, answered separately at each point.

-4-3-2-11234-112345ABCDEy = f(x)x
  • a) Using the figure only, give the sign (++, −- or 00) of f′f' and of f′′f'' at each of the five points.
  • b) At which of the five points is f′f' smallest? Why is CC an inflection point?
  • c) On which interval of [−4,4][-4, 4] is f′f' increasing? Explain the link with the concavity of ff.
  • d) A student writes: at CC the curve is steepest, so f′′(C)f''(C) is the largest value of f′′f'' on the figure. Correct.
  • e) The curve is f(x)=x3−12x8+2f(x) = \frac{x^3 - 12x}{8} + 2. Check the table of a) by computing f′f' and f′′f'' at the five points, and give the slope of ff at CC.

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

a)
b)
c)
f′f' is increasing on ,
d)
e)
Show the solution

Answers

  • a) AA: f′>0f' > 0, f′′<0f'' < 0; BB: f′=0f' = 0, f′′<0f'' < 0; CC: f′<0f' < 0, f′′=0f'' = 0; DD: f′<0f' < 0, f′′>0f'' > 0; EE: f′>0f' > 0, f′′>0f'' > 0
  • b) At CC: the concavity changes there, so f′f' has its minimum there.
  • c) f′f' is increasing on (0,4)(0, 4), where ff is concave upward.
  • d) False: f′′(C)=0f''(C) = 0. Steepest means f′f' is extreme at CC, so f′′f'' changes sign there.
  • e) f′(x)=3x2−128f'(x) = \frac{3x^2 - 12}{8}, f′′(x)=3x4f''(x) = \frac{3x}{4}; slope at CC: f′(0)=−32f'(0) = -\frac{3}{2}

a) At AA the curve goes up and bends down (a cap): f′(A)>0f'(A) > 0, f′′(A)<0f''(A) < 0. At BB the tangent is horizontal at the top of the cap: f′(B)=0f'(B) = 0, f′′(B)<0f''(B) < 0, which is exactly the situation of a local maximum in the Second Derivative Test. At CC the curve goes down and the bending switches: f′(C)<0f'(C) < 0, f′′(C)=0f''(C) = 0. At DD it still goes down but bends up (a cup): f′(D)<0f'(D) < 0, f′′(D)>0f''(D) > 0. At EE it goes up and bends up: f′(E)>0f'(E) > 0, f′′(E)>0f''(E) > 0. Each pair of signs is one of the four shapes: up and cap, down and cap, down and cup, up and cup. The classic error is to read f′′f'' from the height of the point, or from the direction: DD is low and going down, yet f′′(D)>0f''(D) > 0.

b) Between BB and the local minimum at x=2x = 2 the curve goes down, first more and more steeply, then less and less. The slope, which is negative on that stretch, is therefore most negative at the point where the steepening stops, CC: f′f' is smallest at CC among the five points (at AA and EE, f′>0f' > 0; at BB, 00; DD is less steep than CC). CC is an inflection point because ff is continuous there and its concavity changes: cap on the left of CC, cup on the right. The two facts are the same fact: where f′f' has a local extremum, f′′f'' changes sign.

c) f′f' is increasing exactly where its derivative f′′f'' is positive, that is where ff is concave upward: on (0,4)(0, 4). There the slope of ff grows, from very negative at CC, through 00 at the local minimum (x=2x = 2), to positive at EE and beyond. On (−4,0)(-4, 0) the slope decreases and ff is concave downward. Concave upward is not the same as increasing: on (0,2)(0, 2) the function DEcreases while its slope INcreases.

d) The student confuses f′f' and f′′f''. “Steepest” is a statement about f′f': at CC, ∣f′∣|f'| is largest among nearby points, so CC is a local extremum of f′f' (a minimum). At a local extremum of the differentiable function f′f', its derivative f′′f'' is 00: f′′(C)=0f''(C) = 0, the sign change seen in a). Among the five points, f′′f'' is actually largest at EE, where the cup is sharpest. Correct statement: at CC the slope f′f' is smallest, and f′′(C)=0f''(C) = 0.

e) f′(x)=3x2−128=3(x−2)(x+2)8f'(x) = \frac{3x^2 - 12}{8} = \frac{3(x - 2)(x + 2)}{8} and f′′(x)=6x8=3x4f''(x) = \frac{6x}{8} = \frac{3x}{4}. At AA: f′(−3)=158>0f'(-3) = \frac{15}{8} > 0, f′′(−3)=−94<0f''(-3) = -\frac{9}{4} < 0. At BB: f′(−2)=0f'(-2) = 0, f′′(−2)=−32<0f''(-2) = -\frac{3}{2} < 0. At CC: f′(0)=−32<0f'(0) = -\frac{3}{2} < 0, f′′(0)=0f''(0) = 0. At DD: f′(1)=−98<0f'(1) = -\frac{9}{8} < 0, f′′(1)=34>0f''(1) = \frac{3}{4} > 0. At EE: f′(3)=158>0f'(3) = \frac{15}{8} > 0, f′′(3)=94>0f''(3) = \frac{9}{4} > 0. Every sign of a) is confirmed. The slope of ff at CC is −32-\frac{3}{2}, the minimum of the quadratic f′f', whose vertex is at x=0x = 0, the zero of f′′f''. The graph reading gave the SIGNS in seconds; the computation gives the values.

Part B: problems and reasoning (/50)

Exercise 6: A cubic rebuilt from its two extrema

A cubic f(x)=ax3+bx2+cx+df(x) = ax^3 + bx^2 + cx + d, with a≠0a \neq 0, has a derivative of degree 22: it has two critical numbers, one, or none, according to the discriminant of f′f'. When it has two, one is a local maximum and the other a local minimum, and its single inflection point sits exactly halfway between them.

The figure shows ONLY two points of the graph of a cubic and the horizontal tangents there: a local maximum at (−1,6)(-1, 6) and a local minimum at (2,−21)(2, -21).

-2-1.5-1-0.50.511.522.53-24-21-18-15-12-9-6-3369local max (−1, 6)local min (2, −21)x
  • a) Find aa, bb, cc, dd.
  • b) Confirm with the Second Derivative Test that (−1,6)(-1, 6) is a local maximum and (2,−21)(2, -21) a local minimum. Why did the four equations of a) not guarantee it by themselves?
  • c) Find the inflection point, and show that it is the midpoint of the two extreme points.
  • d) Prove that for EVERY cubic with two critical numbers x1≠x2x_1 \neq x_2, the inflection point has xx-coordinate x1+x22\frac{x_1 + x_2}{2} and is the midpoint of the two extreme points.
  • e) For which values of kk does fk(x)=x3+kx2+3xf_k(x) = x^3 + kx^2 + 3x have no local extremum? What happens exactly at the boundary values of kk?

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

a)
b)
c)
e)
Values of kk with no local extremum ,
Show the solution

Answers

  • a) a=2a = 2, b=−3b = -3, c=−12c = -12, d=−1d = -1: f(x)=2x3−3x2−12x−1f(x) = 2x^3 - 3x^2 - 12x - 1
  • b) f′′(−1)=−18<0f''(-1) = -18 < 0: max; f′′(2)=18>0f''(2) = 18 > 0: min. The equations f′(−1)=f′(2)=0f'(-1) = f'(2) = 0 only make them critical numbers.
  • c) Inflection point (12,−152)\left(\frac{1}{2}, -\frac{15}{2}\right), the midpoint of (−1,6)(-1, 6) and (2,−21)(2, -21)
  • d) x0=−b3a=x1+x22x_0 = -\frac{b}{3a} = \frac{x_1 + x_2}{2}, and f(x0+h)−f(x0)f(x_0 + h) - f(x_0) is odd in hh
  • e) −3≤k≤3-3 \le k \le 3; at k=±3k = \pm 3, fk′(x)=3(x±1)2f_k'(x) = 3(x \pm 1)^2: a critical number without extremum

a) Horizontal tangents at −1-1 and 22 mean f′(−1)=0f'(-1) = 0 and f′(2)=0f'(2) = 0. Since f′(x)=3ax2+2bx+cf'(x) = 3ax^2 + 2bx + c is a quadratic with roots −1-1 and 22, it factors: f′(x)=3a(x+1)(x−2)=3a(x2−x−2)f'(x) = 3a(x + 1)(x - 2) = 3a(x^2 - x - 2). Identifying, 2b=−3a2b = -3a and c=−6ac = -6a. So f(x)=ax3−3a2x2−6ax+df(x) = ax^3 - \frac{3a}{2}x^2 - 6ax + d, and f(−1)=−a−3a2+6a+d=7a2+df(-1) = -a - \frac{3a}{2} + 6a + d = \frac{7a}{2} + d, f(2)=8a−6a−12a+d=−10a+df(2) = 8a - 6a - 12a + d = -10a + d. The conditions f(−1)=6f(-1) = 6 and f(2)=−21f(2) = -21 give, by subtraction, 27a2=27\frac{27a}{2} = 27, so a=2a = 2, then d=6−7=−1d = 6 - 7 = -1, b=−3b = -3, c=−12c = -12. Check: f(−1)=−2−3+12−1=6f(-1) = -2 - 3 + 12 - 1 = 6 and f(2)=16−12−24−1=−21f(2) = 16 - 12 - 24 - 1 = -21. Factoring f′f' from its known roots saves a 4×44 \times 4 system.

b) f′′(x)=12x−6f''(x) = 12x - 6. f′(−1)=0f'(-1) = 0 and f′′(−1)=−18<0f''(-1) = -18 < 0: local maximum at −1-1. f′(2)=0f'(2) = 0 and f′′(2)=18>0f''(2) = 18 > 0: local minimum at 22. The four equations of a) only say that −1-1 and 22 are CRITICAL numbers with the given heights; a critical number is a candidate, not a verdict. Had the heights been swapped, f(−1)=−21f(-1) = -21 and f(2)=6f(2) = 6, the same computation would give a=−2a = -2, and the point at −1-1 would be the minimum. The sign of aa, fixed by the heights, decides which is which, and the test is the written proof.

c) f′′(x)=12x−6f''(x) = 12x - 6 is zero at x=12x = \frac{1}{2} and changes sign there (negative before, positive after), and ff is continuous: inflection point at x=12x = \frac{1}{2}, with f(12)=28−34−6−1=−152f\left(\frac{1}{2}\right) = \frac{2}{8} - \frac{3}{4} - 6 - 1 = -\frac{15}{2}. The midpoint of (−1,6)(-1, 6) and (2,−21)(2, -21) is (−1+22,6−212)=(12,−152)\left(\frac{-1 + 2}{2}, \frac{6 - 21}{2}\right) = \left(\frac{1}{2}, -\frac{15}{2}\right): the same point. The solution figure shows the dashed segment joining the extrema, cut in its middle by the curve.

d) The two critical numbers are the roots of 3ax2+2bx+c3ax^2 + 2bx + c, so their sum is x1+x2=−2b3ax_1 + x_2 = -\frac{2b}{3a}. And f′′(x)=6ax+2bf''(x) = 6ax + 2b vanishes at x0=−b3a=x1+x22x_0 = -\frac{b}{3a} = \frac{x_1 + x_2}{2} and changes sign there, since it is linear with slope 6a≠06a \neq 0: the inflection point is at x0x_0. For the heights, expand f(x0+h)f(x_0 + h) in powers of hh: the coefficient of h2h^2 is 3ax0+b=03ax_0 + b = 0, so f(x0+h)=f(x0)+mh+ah3f(x_0 + h) = f(x_0) + mh + ah^3 with m=f′(x0)m = f'(x_0). The difference f(x0+h)−f(x0)f(x_0 + h) - f(x_0) is an ODD function of hh: the graph is symmetric about the inflection point. With x1=x0−sx_1 = x_0 - s and x2=x0+sx_2 = x_0 + s, f(x1)+f(x2)=2f(x0)f(x_1) + f(x_2) = 2f(x_0), so the inflection point is the midpoint of the two extreme points.

e) fk′(x)=3x2+2kx+3f_k'(x) = 3x^2 + 2kx + 3, a quadratic with discriminant 4k2−364k^2 - 36. If ∣k∣>3|k| > 3, it has two distinct roots and changes sign at each: a local maximum and a local minimum. If ∣k∣<3|k| < 3, it has no root and stays positive: fkf_k is increasing on the whole line, no critical number at all. If k=3k = 3, f3′(x)=3(x2+2x+1)=3(x+1)2f_3'(x) = 3(x^2 + 2x + 1) = 3(x + 1)^2: −1-1 is a critical number, but f3′≥0f_3' \ge 0 on both sides, no sign change, no extremum; likewise k=−3k = -3 gives 3(x−1)23(x - 1)^2 and the critical number 11. So fkf_k has no local extremum exactly when −3≤k≤3-3 \le k \le 3. The boundary values are the ones a hurried answer gets wrong: a double root of f′f' is a critical number, not an extremum.

-2-1.5-1-0.50.511.522.53-24-21-18-15-12-9-6-3369(−1, 6)(2, −21)(1/2, −15/2)x

Exercise 7: Monotonicity proves inequalities: e to the pi against pi to the e

To prove F(x)≥G(x)F(x) \ge G(x) on an interval, study the difference g=F−Gg = F - G: find where gg is increasing and decreasing with the sign of g′g', locate its minimum, and show that this minimum is ≥0\ge 0. No inequality is guessed from a picture; the Increasing/Decreasing Test does the proof.

The figure shows y=exy = e^x and the line y=1+xy = 1 + x, its tangent at (0,1)(0, 1).

-3-2.5-2-1.5-1-0.50.511.52-2-11234567y = eˣy = 1 + xx
  • a) Prove that ex≥1+xe^x \ge 1 + x for every real xx, with equality only at x=0x = 0.
  • b) Prove that ln⁡x≤x−1\ln x \le x - 1 for every x>0x > 0, in two ways: by studying a difference, then by using a).
  • c) Prove that tan⁡x>x\tan x > x for 0<x<π20 < x < \frac{\pi}{2}.
  • d) Without a calculator, decide which is larger, eπe^\pi or πe\pi^e. Hint: study q(x)=ln⁡xxq(x) = \frac{\ln x}{x} on (0,∞)(0, \infty).

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

a)
b)
d)
Show the solution

Answers

  • a) g(x)=ex−1−xg(x) = e^x - 1 - x decreases on (−∞,0](-\infty, 0], increases on [0,∞)[0, \infty), so g(x)≥g(0)=0g(x) \ge g(0) = 0
  • b) x−1−ln⁡xx - 1 - \ln x has minimum 00 at x=1x = 1; or put ln⁡x\ln x in a): x=eln⁡x≥1+ln⁡xx = e^{\ln x} \ge 1 + \ln x
  • c) g(x)=tan⁡x−xg(x) = \tan x - x, g′(x)=tan⁡2x>0g'(x) = \tan^2 x > 0 on (0,π2)\left(0, \frac{\pi}{2}\right), g(0)=0g(0) = 0
  • d) qq is decreasing on [e,∞)[e, \infty) and π>e\pi > e, so ln⁡ππ<1e\frac{\ln \pi}{\pi} < \frac{1}{e}: πe<eπ\pi^e < e^\pi

a) Let g(x)=ex−1−xg(x) = e^x - 1 - x. Then g′(x)=ex−1g'(x) = e^x - 1, negative for x<0x < 0 and positive for x>0x > 0, because exe^x is increasing and e0=1e^0 = 1. So gg is decreasing on (−∞,0](-\infty, 0] and increasing on [0,∞)[0, \infty): by the First Derivative Test its minimum is g(0)=0g(0) = 0, and g(x)≥0g(x) \ge 0, that is ex≥1+xe^x \ge 1 + x, for every xx. Equality only at 00: gg is STRICTLY decreasing on (−∞,0](-\infty, 0] and strictly increasing on [0,∞)[0, \infty), so g(x)>g(0)g(x) > g(0) for x≠0x \neq 0. The figure says the same thing in concavity language: (ex)′′=ex>0(e^x)'' = e^x > 0, the curve is concave upward everywhere, and a concave upward curve lies above each of its tangent lines.

b) First way: g(x)=x−1−ln⁡xg(x) = x - 1 - \ln x on (0,∞)(0, \infty), g′(x)=1−1x=x−1xg'(x) = 1 - \frac{1}{x} = \frac{x - 1}{x}, negative on (0,1)(0, 1) and positive on (1,∞)(1, \infty) (the denominator xx is positive). So gg has its minimum at 11: g(x)≥g(1)=0g(x) \ge g(1) = 0, that is ln⁡x≤x−1\ln x \le x - 1. Second way: apply a) to the number ln⁡x\ln x, which is allowed since a) holds for EVERY real number: eln⁡x≥1+ln⁡xe^{\ln x} \ge 1 + \ln x, and eln⁡x=xe^{\ln x} = x for x>0x > 0, so x≥1+ln⁡xx \ge 1 + \ln x. The line y=x−1y = x - 1 is the tangent to y=ln⁡xy = \ln x at (1,0)(1, 0), and ln⁡\ln is concave downward ((ln⁡x)′′=−1x2<0(\ln x)'' = -\frac{1}{x^2} < 0): the curve lies below its tangent.

c) Let g(x)=tan⁡x−xg(x) = \tan x - x on [0,π2)\left[0, \frac{\pi}{2}\right). Then g′(x)=sec⁡2x−1=tan⁡2xg'(x) = \sec^2 x - 1 = \tan^2 x, which is >0> 0 on (0,π2)\left(0, \frac{\pi}{2}\right) since tan⁡x>0\tan x > 0 there. So gg is increasing on [0,π2)\left[0, \frac{\pi}{2}\right) (continuous at 00, positive derivative inside), and for 0<x<π20 < x < \frac{\pi}{2}, g(x)>g(0)=0g(x) > g(0) = 0: tan⁡x>x\tan x > x. The starting value g(0)=0g(0) = 0 is half of the proof: an increasing function is not positive by itself, it is positive because it STARTS at 00 and then goes up. A write-up without the value g(0)g(0) proves nothing.

d) Both numbers are positive and ln⁡\ln is increasing, so compare their logarithms: ln⁡(eπ)=π\ln(e^\pi) = \pi and ln⁡(πe)=eln⁡π\ln(\pi^e) = e \ln \pi. Dividing by eπ>0e\pi > 0, the question becomes: is ln⁡ππ\frac{\ln \pi}{\pi} smaller or larger than ln⁡ee=1e\frac{\ln e}{e} = \frac{1}{e}? Let q(x)=ln⁡xxq(x) = \frac{\ln x}{x}. By the quotient rule, q′(x)=1x⋅x−ln⁡xx2=1−ln⁡xx2q'(x) = \frac{\frac{1}{x} \cdot x - \ln x}{x^2} = \frac{1 - \ln x}{x^2}, positive on (0,e)(0, e) and negative on (e,∞)(e, \infty). So qq is decreasing on [e,∞)[e, \infty), and π>e\pi > e gives q(π)<q(e)q(\pi) < q(e): ln⁡ππ<1e\frac{\ln \pi}{\pi} < \frac{1}{e}, hence eln⁡π<πe \ln \pi < \pi, and πe<eπ\pi^e < e^\pi. No decimal is needed, only e<πe < \pi. The same study says more: qq has its maximum 1e\frac{1}{e} at ee, so xe≤exx^e \le e^x for every x>0x > 0, with equality only at x=ex = e.

Exercise 8: Five statements to correct

Each statement below was written by a student on a MATH 140 assignment, and each is false. Say what is wrong, give a counterexample, and write the correct statement. All functions are defined and differentiable where they are used.

  • a) If f′(c)=0f'(c) = 0, then ff has a local maximum or a local minimum at cc.
  • b) If f′′(c)=0f''(c) = 0, then (c,f(c))(c, f(c)) is an inflection point of the graph of ff.
  • c) If f′(x)>0f'(x) > 0 for every xx in the domain of ff, then ff is increasing on its domain.
  • d) If ff is twice differentiable and has a local maximum at cc, then f′′(c)<0f''(c) < 0.
  • e) If ff and gg are both increasing on an interval II, then the product fgfg is increasing on II.

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

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

Answers

  • a) False: x3x^3 at 00. True if f′f' changes sign at cc (First Derivative Test).
  • b) False: x4x^4 at 00. True if f′′f'' changes sign at cc and ff is continuous there.
  • c) False: −1x-\frac{1}{x}, with f(−1)=1>f(1)=−1f(-1) = 1 > f(1) = -1. True on each INTERVAL where f′>0f' > 0.
  • d) False: −x4-x^4 at 00, with f′′(0)=0f''(0) = 0. True: f′′(c)≤0f''(c) \le 0; and f′(c)=0f'(c) = 0, f′′(c)<0f''(c) < 0 imply a maximum.
  • e) False: f(x)=g(x)=xf(x) = g(x) = x on (−∞,∞)(-\infty, \infty). True if moreover f>0f > 0 and g>0g > 0 on II.

a) FALSE. f(x)=x3f(x) = x^3 has f′(0)=0f'(0) = 0, but f′(x)=3x2>0f'(x) = 3x^2 > 0 on both sides of 00: ff is increasing through the origin, and 00 is neither a maximum nor a minimum. A zero of f′f' nominates a candidate; it does not decide. Correct statement: if cc is a critical number of a continuous ff and f′f' changes from ++ to −- at cc, then ff has a local maximum at cc; from −- to ++, a local minimum; if f′f' keeps its sign, no local extremum. The true implication goes the other way (Fermat): a local extremum at cc, with f′(c)f'(c) existing, forces f′(c)=0f'(c) = 0.

b) FALSE. f(x)=x4f(x) = x^4 has f′′(x)=12x2f''(x) = 12x^2, so f′′(0)=0f''(0) = 0, but f′′>0f'' > 0 on both sides of 00: the graph is concave upward everywhere, and the origin is its lowest point, not an inflection point. Correct statement: if ff is continuous at cc and f′′f'' CHANGES SIGN at cc, then (c,f(c))(c, f(c)) is an inflection point; the candidates are the zeros of f′′f'' and the points where f′′f'' does not exist, and x5/3x^{5/3} shows that the second kind can be an inflection point too.

c) FALSE. f(x)=−1xf(x) = -\frac{1}{x} has f′(x)=1x2>0f'(x) = \frac{1}{x^2} > 0 at every point of its domain, yet −1<1-1 < 1 and f(−1)=1>f(1)=−1f(-1) = 1 > f(1) = -1. The domain (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty) is not an interval, and the Increasing/Decreasing Test is a statement about ONE interval. Correct statement: ff is increasing on (−∞,0)(-\infty, 0) and increasing on (0,∞)(0, \infty), separately. Writing “increasing on (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty)” is exactly the false claim, and markers take the mark away for the union sign.

d) FALSE. f(x)=−x4f(x) = -x^4 has a local (even absolute) maximum at 00, while f′′(x)=−12x2f''(x) = -12x^2 gives f′′(0)=0f''(0) = 0, not a negative number. The Second Derivative Test is a sufficient condition only: f′(c)=0f'(c) = 0 and f′′(c)<0f''(c) < 0 imply a local maximum, and its converse fails. Correct statement: if ff has a local maximum at cc and is twice differentiable, then f′(c)=0f'(c) = 0 and f′′(c)≤0f''(c) \le 0 (with f′′(c)>0f''(c) > 0, the test would give a strict local minimum instead).

e) FALSE. f(x)=g(x)=xf(x) = g(x) = x are increasing on (−∞,∞)(-\infty, \infty), but f(x)g(x)=x2f(x)g(x) = x^2 is decreasing on (−∞,0](-\infty, 0]. The product rule shows where it breaks: (fg)′=f′g+fg′(fg)' = f'g + fg', and the factors gg and ff can be negative. Correct statement: if ff and gg are positive and increasing on II, with f′>0f' > 0 and g′>0g' > 0, then (fg)′=f′g+fg′>0(fg)' = f'g + fg' > 0 and fgfg is increasing on II.

Exercise 9: The point of diminishing returns: where revenue stops accelerating

A company models its monthly revenue RR, in thousands of dollars, as a function of its monthly advertising budget xx, in thousands of dollars: R(x)=−x3+27x2+120xR(x) = -x^3 + 27x^2 + 120x for 0≤x≤200 \le x \le 20. The figure shows the graph of RR.

The derivative R′(x)R'(x) is the marginal revenue, the extra revenue brought by one more thousand dollars of advertising, approximately. The POINT OF DIMINISHING RETURNS is the inflection point where RR changes from concave upward to concave downward: beyond it, every extra thousand dollars still brings revenue, but less than the previous one.

2468101214161820100020003000400050006000y = R(x)x (thousand dollars)R (thousand dollars)
  • a) Show that RR is increasing on [0,20][0, 20].
  • b) Study the concavity of RR on [0,20][0, 20] and find the point of diminishing returns exactly.
  • c) Show that the marginal revenue R′R' is largest at that point, give its value, and interpret it with units.
  • d) Compute R(10)−R(9)R(10) - R(9) and R(20)−R(19)R(20) - R(19). What do these two numbers show?
  • e) The manager says: revenue is still increasing at x=15x = 15, so we have not reached the point of diminishing returns yet. Correct her.

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

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

Answers

  • a) R′(x)=−3(x−20)(x+2)≥0R'(x) = -3(x - 20)(x + 2) \ge 0 on [0,20][0, 20]
  • b) Concave up on (0,9)(0, 9), down on (9,20)(9, 20); point of diminishing returns (9,2538)(9, 2538)
  • c) R′(9)=363R'(9) = 363: about 363363 thousand dollars of revenue per extra thousand dollars of advertising, the best rate
  • d) R(10)−R(9)=362R(10) - R(9) = 362 and R(20)−R(19)=32R(20) - R(19) = 32 (thousand dollars)
  • e) At 1515, R′>0R' > 0 but R′′<0R'' < 0: increasing, yet past the point of diminishing returns, reached at x=9x = 9.

a) R′(x)=−3x2+54x+120=−3(x2−18x−40)=−3(x−20)(x+2)R'(x) = -3x^2 + 54x + 120 = -3(x^2 - 18x - 40) = -3(x - 20)(x + 2). On [0,20][0, 20], x+2>0x + 2 > 0 and x−20≤0x - 20 \le 0, so R′(x)=−3(x−20)(x+2)≥0R'(x) = -3(x - 20)(x + 2) \ge 0, with equality only at x=20x = 20. By the Increasing/Decreasing Test, RR is increasing on [0,20][0, 20]: more advertising always brings more revenue inside the model. The factorization is checked at x=0x = 0: −3(−20)(2)=120-3(-20)(2) = 120, the constant term.

b) R′′(x)=−6x+54=−6(x−9)R''(x) = -6x + 54 = -6(x - 9). It is positive on (0,9)(0, 9) and negative on (9,20)(9, 20): RR is concave upward on (0,9)(0, 9) and concave downward on (9,20)(9, 20). The concavity changes at 99 and RR is continuous, so (9,R(9))(9, R(9)) is an inflection point, with R(9)=−729+2187+1080=2538R(9) = -729 + 2187 + 1080 = 2538. The point of diminishing returns is reached for an advertising budget of 99 thousand dollars, with a revenue of 25382538 thousand dollars. On the figure it is where the curve stops bending up and starts bending down, the place where it is steepest.

c) Apply the First Derivative Test to the function R′R' itself: its derivative R′′R'' is positive before 99 and negative after, so R′R' increases on [0,9][0, 9] and decreases on [9,20][9, 20], and its largest value on [0,20][0, 20] is R′(9)=−243+486+120=363R'(9) = -243 + 486 + 120 = 363. Interpretation, with units: when the budget is 99 thousand dollars, one more thousand dollars of advertising brings about 363363 thousand dollars of extra revenue, the best rate anywhere on [0,20][0, 20]. The solution figure shows R′R', a parabola whose top is at x=9x = 9: the inflection point of RR is the maximum of R′R'.

d) R(10)=−1000+2700+1200=2900R(10) = -1000 + 2700 + 1200 = 2900, so R(10)−R(9)=362R(10) - R(9) = 362: the tenth thousand dollars brings 362362 thousand dollars, close to R′(9)=363R'(9) = 363. R(19)=−6859+9747+2280=5168R(19) = -6859 + 9747 + 2280 = 5168 and R(20)=−8000+10800+2400=5200R(20) = -8000 + 10800 + 2400 = 5200, so R(20)−R(19)=32R(20) - R(19) = 32. Both gains are positive, since RR is increasing, but the same thousand dollars of advertising brings more than eleven times less at the end of the range. This is what diminishing returns means, in two subtractions.

e) She confuses the sign of R′R' with the sign of R′′R''. At x=15x = 15, R′(15)=−3(−5)(17)=255>0R'(15) = -3(-5)(17) = 255 > 0: revenue is indeed still increasing. But R′′(15)=−36<0R''(15) = -36 < 0: the curve is concave downward, the marginal revenue is falling, and the point of diminishing returns was passed at x=9x = 9. Increasing tells the direction, concavity tells whether the increase speeds up or slows down, and diminishing returns is a statement about the second question only. Correct sentence: “revenue is still increasing at x=15x = 15, but more and more slowly: we are past the point of diminishing returns, reached at 99 thousand dollars.”

246810121416182050100150200250300350400top (9, 363)y = R'(x)x

Exercise 10: The growth of an epidemic: when does the curve stop accelerating?

During an epidemic, the total number of cases recorded since the first report is modelled by C(t)=60001+125e−0.3tC(t) = \frac{6000}{1 + 125e^{-0.3t}}, where tt is in days. The figure shows the typical S shape: slow start, fast growth, saturation near 60006000.

The derivative C′(t)C'(t) is the number of NEW cases per day. Public health reports watch two things: whether CC still increases, and whether it increases faster and faster, which is the sign of C′′C''. Use the notation u=125e−0.3tu = 125e^{-0.3t}, so that u′=−0.3uu' = -0.3u.

5101520253035401000200030004000500060007000cumulative cases C(t)ceiling 6000t (days)
  • a) Show that C′(t)=1800u(1+u)2C'(t) = \frac{1800u}{(1 + u)^2}, and deduce that CC is increasing.
  • b) Show that C′′(t)=−540u(1−u)(1+u)3C''(t) = -\frac{540u(1 - u)}{(1 + u)^3}. Find the time t∗t^* of the inflection point exactly, and C(t∗)C(t^*).
  • c) Show that the number of new cases per day is largest at t∗t^*, and give that maximum.
  • d) Prove that C′(t∗+s)=C′(t∗−s)C'(t^* + s) = C'(t^* - s) for every ss: the daily curve is symmetric about its peak.
  • e) A news report on day 10 says the epidemic is accelerating, and another on day 20 says the same thing because cases are still rising. Decide, without a calculator.

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

b)
c)
e)
Show the solution

Answers

  • a) C′(t)=1800u(1+u)2>0C'(t) = \frac{1800u}{(1 + u)^2} > 0: CC is increasing
  • b) C′′>0C'' > 0 iff u>1u > 1; t∗=10ln⁡5t^* = 10\ln 5 days, C(t∗)=3000C(t^*) = 3000
  • c) C′C' increases before t∗t^*, decreases after: at most C′(t∗)=450C'(t^*) = 450 new cases per day
  • d) u(t∗±s)=e∓0.3su(t^* \pm s) = e^{\mp 0.3s}, and u(1+u)2\frac{u}{(1 + u)^2} is unchanged when uu is replaced by 1u\frac{1}{u}
  • e) Day 10: 10<10ln⁡510 < 10\ln 5 since e<5e < 5, accelerating. Day 20: 20>10ln⁡520 > 10\ln 5 since 5<e25 < e^2, rising but decelerating.

a) Write C=6000(1+u)−1C = 6000(1 + u)^{-1}. By the chain rule, with inner function 1+u1 + u whose derivative is u′=−0.3uu' = -0.3u: C′(t)=−6000(1+u)−2⋅(−0.3u)=1800u(1+u)2C'(t) = -6000(1 + u)^{-2} \cdot (-0.3u) = \frac{1800u}{(1 + u)^2}. Since u=125e−0.3t>0u = 125e^{-0.3t} > 0 and (1+u)2>0(1 + u)^2 > 0, C′(t)>0C'(t) > 0 for every tt: CC is increasing, as a cumulative count must be. The substitution is only a bookkeeping device: in terms of tt, C′(t)=225000e−0.3t(1+125e−0.3t)2C'(t) = \frac{225000e^{-0.3t}}{(1 + 125e^{-0.3t})^2}.

b) Differentiate u(1+u)2\frac{u}{(1 + u)^2} with respect to tt by the quotient rule, remembering that uu depends on tt: u′(1+u)2−u⋅2(1+u)u′(1+u)4=u′(1+u−2u)(1+u)3=u′(1−u)(1+u)3\frac{u'(1 + u)^2 - u \cdot 2(1 + u)u'}{(1 + u)^4} = \frac{u'(1 + u - 2u)}{(1 + u)^3} = \frac{u'(1 - u)}{(1 + u)^3}. With u′=−0.3uu' = -0.3u: C′′(t)=1800⋅−0.3u(1−u)(1+u)3=−540u(1−u)(1+u)3C''(t) = 1800 \cdot \frac{-0.3u(1 - u)}{(1 + u)^3} = -\frac{540u(1 - u)}{(1 + u)^3}. Since u>0u > 0 and (1+u)3>0(1 + u)^3 > 0, C′′C'' has the sign of −(1−u)=u−1-(1 - u) = u - 1: C′′>0C'' > 0 when u>1u > 1 and C′′<0C'' < 0 when u<1u < 1. Now uu is decreasing in tt, and u=1u = 1 when e0.3t=125e^{0.3t} = 125, that is t∗=ln⁡1250.3=3ln⁡50.3=10ln⁡5t^* = \frac{\ln 125}{0.3} = \frac{3\ln 5}{0.3} = 10\ln 5. The concavity changes there: inflection point, with C(t∗)=60001+1=3000C(t^*) = \frac{6000}{1 + 1} = 3000, half the ceiling. With ln⁡5≈1.61\ln 5 \approx 1.61, t∗t^* is about 1616 days.

c) Apply the First Derivative Test to the function C′C': its derivative C′′C'' is positive for t<t∗t < t^* and negative for t>t∗t > t^*, so C′C' increases, then decreases, and its largest value is at t∗t^*, where u=1u = 1: C′(t∗)=18004=450C'(t^*) = \frac{1800}{4} = 450 new cases per day. The inflection point of the cumulative curve is the PEAK of the daily curve: that is why reports on an epidemic watch for it.

d) At t=t∗+st = t^* + s, u=125e−0.3t∗e−0.3s=e−0.3su = 125e^{-0.3t^*}e^{-0.3s} = e^{-0.3s}, because 125e−0.3t∗=1125e^{-0.3t^*} = 1. At t=t∗−st = t^* - s, u=e0.3su = e^{0.3s}, the reciprocal. And φ(u)=u(1+u)2\varphi(u) = \frac{u}{(1 + u)^2} satisfies φ(1u)=1/u(1+1/u)2=1/u(u+1)2/u2=u(1+u)2=φ(u)\varphi\left(\frac{1}{u}\right) = \frac{1/u}{(1 + 1/u)^2} = \frac{1/u}{(u + 1)^2/u^2} = \frac{u}{(1 + u)^2} = \varphi(u). Hence C′(t∗+s)=1800φ(e−0.3s)=1800φ(e0.3s)=C′(t∗−s)C'(t^* + s) = 1800\varphi(e^{-0.3s}) = 1800\varphi(e^{0.3s}) = C'(t^* - s): ss days after the peak, the daily count is the same as ss days before it. The same computation gives C(t∗+s)+C(t∗−s)=6000C(t^* + s) + C(t^* - s) = 6000: the S curve is symmetric about its inflection point, like the cubic of Exercise 6.

e) The question is the sign of C′′C'', that is the position of the day with respect to t∗=10ln⁡5t^* = 10\ln 5. Day 10: 10<10ln⁡510 < 10\ln 5 exactly when ln⁡5>1\ln 5 > 1, that is 5>e5 > e, which is true. So C′′(10)>0C''(10) > 0: on day 10 the epidemic is accelerating, the first report is right. Day 20: 20>10ln⁡520 > 10\ln 5 exactly when ln⁡5<2\ln 5 < 2, that is 5<e25 < e^2, and e2>2.72=7.29>5e^2 > 2.7^2 = 7.29 > 5. So C′′(20)<0C''(20) < 0: cases are still rising (C′>0C' > 0), but more slowly every day. The second report confuses “increasing” with “accelerating”: on day 20 the epidemic is past its peak of new cases, even though the total keeps growing.

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/math140-shape-of-graph. 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