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′ and 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.
What the set covers, the traps it targets
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)=0, f′′(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′ and 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)=0, an inflection point wherever f′′(c)=0, forgetting the critical numbers where f′ does not exist, alternating the signs of a chart across a double root, reading the maximum of f′ as a maximum of f, concluding “no extremum” from a silent Second Derivative Test, claiming f increasing on a union of intervals, giving x=c when the question asks for the value, and confusing “still increasing” with “still accelerating”.
•Critical number: c in the domain with f′(c)=0 or f′(c) undefined. It is a candidate for a local extremum, never a verdict.
•Increasing/Decreasing Test: f′>0 on an interval gives f increasing on it, f′<0 decreasing. One interval at a time.
•First Derivative Test at a critical number c of a continuous f: f′ from + to −, local maximum; from − to +, local minimum; no sign change, no extremum.
•Concavity Test: f′′>0 on an interval, concave upward; f′′<0, concave downward. Inflection point: f continuous at c and the concavity changes at c.
•Second Derivative Test: f′(c)=0 and f′′(c)>0 give a local minimum, f′(c)=0 and f′′(c)<0 a local maximum. If f′′(c)=0 or does not exist, no conclusion: back to the first test.
•On the graph of f′: its SIGN gives the direction of f, its SLOPE gives the concavity of f; the local extrema of f′ are the inflection points of f.
Part A: the basics (/50)
Exercise 1: The First Derivative Test: a zero nominates, a sign decides
17 answers to check
Increasing/Decreasing Test: if f′(x)>0 on an interval, f is increasing on that interval; if f′(x)<0, it is decreasing. First Derivative Test: at a critical number c of a continuous function, if f′ changes from positive to negative, f has a local maximum at c; from negative to positive, a local minimum; if f′ does not change sign, no local extremum at all.
A critical number is a number c of the domain where f′(c)=0 OR f′(c) does not exist. It is only a CANDIDATE: the sign of 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+1. Find the intervals on which f is increasing or decreasing, and its local maximum and minimum values.
b) Let g(x)=x3−6x2+12x−5. Show that g has a critical number, and that g has no local extremum. On which intervals is g increasing?
c) Let h(x)=x−3x1/3. Find ALL the critical numbers of h, then classify each one.
d) Let k(x)=x2ex. Find the local extreme values of k, exactly.
e) In c), a student writes: h′(0) does not exist, so 0 is not a critical number and there is nothing to check. Correct the argument, and say what the graph of h looks like at the origin.
Show the solution
Answers
a)Decreasing on (−∞,−4] and [0,1], increasing on [−4,0] and [1,∞); local minima f(−4)=−127 and f(1)=−2, local maximum f(0)=1
b)g′(x)=3(x−2)2: critical number 2, no sign change, no extremum; g is increasing on (−∞,∞)
c)Critical numbers −1, 0, 1; local max h(−1)=2, local min h(1)=−2, no extremum at 0
d)Local maximum k(−2)=4e−2, local minimum k(0)=0
e)0 IS a critical number (h′(0) undefined, 0 in the domain); h′<0 on both sides, so no extremum: a vertical tangent on a decreasing stretch.
a)
f is a polynomial, so 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): they are −4, 0 and 1. The sign chart of the solution figure takes each factor on each interval: with test values, f′(−5)=−120<0, f′(−1)=24>0, f′(21)=−29<0, f′(2)=48>0. So f is decreasing on (−∞,−4], increasing on [−4,0], decreasing on [0,1] and increasing on [1,∞). At −4, f′ goes from − to +: local minimum f(−4)=256−256−128+1=−127. At 0, from + to −: local maximum f(0)=1. At 1, from − to +: local minimum f(1)=1+4−8+1=−2. The question asks for VALUES: the answer is −127, 1 and −2, attained at x=−4, 0 and 1; writing “the maximum is x=0” confuses where and how much, and costs a mark.
b)
g′(x)=3x2−12x+12=3(x2−4x+4)=3(x−2)2. The only critical number is 2, with g(2)=8−24+24−5=3. But (x−2)2>0 for every x=2: g′ is positive on BOTH sides of 2, it does not change sign, and by the First Derivative Test g has no local extremum at 2. Indeed g(x)=(x−2)3+3, the cube curve shifted. As for monotonicity, g′>0 on (−∞,2) and on (2,∞), so g is increasing on (−∞,2] and on [2,∞), two intervals that share the point 2: hence g is increasing on the whole real line. A derivative that vanishes at an isolated point does not stop a function from increasing.
c)
h is defined for every real x (a cube root accepts negative numbers). For x=0, h′(x)=1−x−2/3=x2/3x2/3−1, and h′(0) does not exist since x−2/3 is undefined there. So the critical numbers are 0 (derivative undefined) and the zeros of the numerator, x2/3=1, that is x=1 and x=−1. The denominator x2/3=(3x)2 is positive for x=0, so the sign of h′ is that of x2/3−1: positive for ∣x∣>1, negative for 0<∣x∣<1. At −1, + to −: local maximum h(−1)=−1−3(−1)=2. At 1, − to +: local minimum h(1)=1−3=−2. At 0, − on both sides: no extremum.
d)
By the product rule, k′(x)=2xex+x2ex=x(x+2)ex. The factor ex is positive for every x, so it never changes the sign: the sign of k′ is the sign of x(x+2), positive for x<−2, negative on (−2,0), positive for x>0. Local maximum at −2: k(−2)=4e−2; local minimum at 0: k(0)=0. The answer stays exact, 4e−2=e24, about 0.54 if you want to check the figure mentally with e2≈7.4. The minimum 0 is even the smallest value of k on the whole line, since x2ex≥0.
e)
A critical number is defined as a number of the DOMAIN where f′ is zero OR does not exist: 0 is in the domain of h and h′(0) does not exist, so 0 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′: negative just left of 0 and just right of 0, so h keeps decreasing through the origin and 0 is NOT an extremum. Since h′(x)=1−x−2/3 becomes very negative near 0, the curve crosses the origin with a vertical tangent. Here the candidate happens to be rejected; for ∣x∣ instead of x1/3 it would have been a minimum. A candidate is never skipped, it is tested.
Points are earned before the solution; after it, you can keep practising.
For you:
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: Concavity and inflection points: a zero of f'' is only a candidate
13 answers to check
Concavity Test: if f′′(x)>0 on an interval, the graph of f is concave upward there (it bends up, lying above its tangent lines); if f′′(x)<0, concave downward. A point P=(c,f(c)) is an inflection point when f is continuous at c and the concavity CHANGES at c.
The candidates are therefore the numbers where f′′(c)=0 or f′′(c) does not exist, and each one is kept only if f′′ changes sign there. The figure shows the bell curve y=e−x2/2: it bends down around its top and up in its two tails.
a) Let f(x)=x4−2x3−12x2+7. Find the intervals of concavity and the inflection points of f.
b) Let g(x)=x5−5x4. Show that g′′(0)=0 and g′′(3)=0, and decide which of the two gives an inflection point.
c) Let h(x)=x5/3. Show that h′′(0) does not exist, and decide whether the origin is an inflection point.
d) Let φ(x)=e−x2/2. Find the inflection points of the curve of the figure, with exact coordinates.
Show the solution
Answers
a)Concave up on (−∞,−1) and (2,∞), down on (−1,2); inflection points (−1,−2) and (2,−41)
b)g′′(x)=20x2(x−3): no sign change at 0, no inflection; inflection point (3,−162)
c)h′′(x)=9x1/310, undefined at 0, negative then positive: (0,0) is an inflection point
d)φ′′(x)=(x2−1)e−x2/2; inflection points (−1,e−1/2) and (1,e−1/2)
a)
f′(x)=4x3−6x2−24x and f′′(x)=12x2−12x−24=12(x2−x−2)=12(x−2)(x+1). The candidates are −1 and 2. The quadratic 12(x−2)(x+1) is positive outside its roots and negative between them: f is concave upward on (−∞,−1) and (2,∞), concave downward on (−1,2). The sign changes at both candidates and f is a polynomial, hence continuous, so both are inflection points: f(−1)=1+2−12+7=−2 and f(2)=16−16−48+7=−41. An inflection POINT is a point of the curve: the answer is (−1,−2) and (2,−41), not just “x=−1 and x=2”.
b)
g′(x)=5x4−20x3 and g′′(x)=20x3−60x2=20x2(x−3), so g′′(0)=0 and g′′(3)=0. Now look at the SIGN. The factor x2 is positive on both sides of 0, so near 0 the sign of g′′ is the sign of 20(x−3), negative on both sides: the curve is concave downward before and after 0, and (0,0) is NOT an inflection point. At 3, the factor x−3 changes sign while x2>0: concave downward on (−∞,3), upward on (3,∞), and (3,g(3))=(3,243−405)=(3,−162) is an inflection point. A double root of f′′, like x2 here or like x4 at the origin, is the classic candidate that fails.
c)
h′(x)=35x2/3, which exists everywhere with h′(0)=0, and h′′(x)=910x−1/3=9x1/310 for x=0, undefined at 0. So 0 is a candidate although h′′(0) is not zero: the list of candidates includes the points where f′′ does not exist. The cube root has the sign of x, so h′′<0 for x<0 and h′′>0 for x>0: the concavity changes. Since h is continuous at 0, the origin IS an inflection point, with a horizontal tangent there. Discarding 0 because “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 −2x2, φ′(x)=−xe−x2/2. By the product rule, φ′′(x)=−e−x2/2+x2e−x2/2=(x2−1)e−x2/2. The exponential is positive, so φ′′ has the sign of x2−1: positive for ∣x∣>1, negative for ∣x∣<1. The concavity changes at −1 and at 1, and φ(±1)=e−1/2=e1. Inflection points: (−1,e−1/2) and (1,e−1/2), at height about 0.61 on the figure (with e≈1.65), exactly where the curve stops bending down and starts flattening into its tails. These are the points where the bell is steepest.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 3: The Second Derivative Test, and the case where it says nothing
14 answers to check
Second Derivative Test: suppose f′′ is continuous near c. If f′(c)=0 and f′′(c)>0, f has a local minimum at c; if f′(c)=0 and f′′(c)<0, a local maximum. The test is often faster than a sign chart, but it has a blind spot: when f′′(c)=0, or when 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+1. Find the critical numbers and classify them with the Second Derivative Test.
b) Let s(x)=sinx+cosx on (0,2π). Find its local maximum and minimum values with the Second Derivative Test.
c) Let p(x)=3x5−5x3. Classify its three critical numbers. Where the Second Derivative Test is silent, conclude anyway, and state what happens there.
d) Let q(x)=x4/3. Why can the Second Derivative Test not even be applied at 0? Classify 0 anyway.
Show the solution
Answers
a)Critical numbers −2 and 3; f′′(−2)=−30: local max f(−2)=45; f′′(3)=30: local min f(3)=−80
b)Local max s(4π)=2, local min s(45π)=−2
c)Local max p(−1)=2, local min p(1)=−2; at 0 the test is silent, p′≤0 on both sides: no extremum, an inflection point with horizontal tangent
d)q′′(x)=94x−2/3 does not exist at 0; q′ goes from − to +: local minimum q(0)=0
a)
f′(x)=6x2−6x−36=6(x2−x−6)=6(x−3)(x+2), so the critical numbers are −2 and 3 (a polynomial has no other kind). f′′(x)=12x−6. At −2: f′′(−2)=−30<0, so f has a local maximum, f(−2)=−16−12+72+1=45. At 3: f′′(3)=30>0, local minimum, f(3)=54−27−108+1=−80. The written form the marker expects names the hypothesis of the test at each point: “f′(3)=0 and f′′(3)=30>0, so by the Second Derivative Test f has a local minimum at 3”. The mnemonic: f′′>0, concave UP, a cup, a MINIMUM.
b)
s′(x)=cosx−sinx=0 when tanx=1, which on (0,2π) gives x=4π and x=45π (dividing by cosx is safe: cosx=0 would force sinx=±1=0). s′′(x)=−sinx−cosx=−s(x). At 4π: s(4π)=22+22=2, so s′′(4π)=−2<0: local maximum 2. At 45π: s=−2, s′′=2>0: local minimum −2. Here the Second Derivative Test is clearly the faster route: a sign chart of cosx−sinx on (0,2π) would need four test values.
c)
p′(x)=15x4−15x2=15x2(x2−1)=15x2(x−1)(x+1): critical numbers −1, 0, 1. p′′(x)=60x3−30x=30x(2x2−1). At 1: p′′(1)=30>0, local minimum p(1)=3−5=−2. At −1: p′′(−1)=−30<0, local maximum p(−1)=2. At 0: p′′(0)=0, the test is SILENT. Go back to the sign of p′: near 0, 15x2>0 and x2−1<0, so p′<0 on both sides of 0 and there is no extremum. What happens instead is visible on the solution figure: p′′(x)=30x(2x2−1) is positive just left of 0 and negative just right, so the origin is an inflection point with a horizontal tangent. The silence of the test covers three different realities: x4 has a minimum at 0, −x4 a maximum, x3 neither, and all three have f′(0)=f′′(0)=0.
d)
q′(x)=34x1/3, so q′(0)=0 and 0 is a critical number. But q′′(x)=94x−2/3 does not exist at 0, and the test needs the value q′′(0) and a continuous f′′ near 0: its hypotheses fail, it cannot be invoked. The First Derivative Test has no such requirement: x1/3 has the sign of x, so q′ goes from negative to positive and q has a local minimum q(0)=0, the lowest point of the curve since x4/3=(x1/3)4≥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.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 4: Reading f on the graph of f': sign for direction, slope for bending
11 answers to check
The figure shows the graph of the DERIVATIVE f′ of a function f defined on [−3,3], not the graph of f. The marked points (−2,0), (−1,1) and (1,0) are exact; f′ crosses the x-axis at −2, touches it at 1 without crossing, and has horizontal tangents at x=−1 and x=1.
Two readings, never mixed up. The SIGN of f′ (above or below the axis) gives the direction of f. The SLOPE of f′ (is the curve of f′ going up or down?) is f′′, and gives the concavity of f.
a) On which intervals is f increasing, decreasing? Find the x-values of the local extrema of f in (−3,3), with their type.
b) On which intervals is f concave upward, downward? Find the x-coordinates of the inflection points of f.
c) A student writes: f′ has a local maximum at x=−1, so f has a local maximum at x=−1. Correct.
d) Put in increasing order, where the figure allows it: f(−2), f(0), f(1); then compare f(−3) and f(−2). At which x does f reach its smallest value on [−3,3]?
e) Describe precisely what the graph of f does at x=1.
Show the solution
Answers
a)Decreasing on [−3,−2], increasing on [−2,3]; local minimum at x=−2; no extremum at x=1
b)Concave up on (−3,−1) and (1,3), down on (−1,1); inflection points at x=−1 and x=1
c)False: f′(−1)=1>0, f is increasing there; x=−1 is an inflection point, where f climbs fastest.
d)f(−2)<f(0)<f(1) and f(−3)>f(−2); smallest value at x=−2
e)Horizontal tangent AND change of concavity: an inflection point with a horizontal tangent, f keeps increasing.
a)
Read the SIGN of f′: the curve is below the axis on [−3,−2) and above it on (−2,1) and (1,3]. So f is decreasing on [−3,−2] and increasing on [−2,1] and on [1,3], hence on [−2,3]. The critical numbers are the zeros of f′, −2 and 1. At −2, f′ changes from negative to positive: local minimum of f. At 1, f′(1)=0 but f′>0 on both sides: no sign change, no extremum. The point where f′ TOUCHES the axis is a candidate that the sign rejects, exactly like g(x)=(x−2)3+3 of Exercise 1.
b)
Now read the SLOPE of the curve of f′, which is f′′. The curve of f′ rises on (−3,−1), falls on (−1,1) and rises again on (1,3). So f′′>0, f concave upward, on (−3,−1) and (1,3); f′′<0, concave downward, on (−1,1). The concavity changes at x=−1 and at x=1, which are the inflection points of f. The rule to remember: the inflection points of f are the local extrema of f′, the places where the slope of f stops growing and starts shrinking, or the reverse.
c)
The student read the graph of f′ as if it were the graph of f. At x=−1, f′(−1)=1>0: f is increasing there, so it cannot have a local maximum (at a local maximum inside the interval, f′ would be 0 or undefined). What the top of the curve of f′ says is that the slope of f is the largest around there: f climbs fastest at x=−1, its concavity switches from up to down, and x=−1 is an inflection point, as found in b). Before reading anything, write on the figure “this is y=f′(x)”: it prevents the confusion.
d)
f is increasing on [−2,3] and −2<0<1, so f(−2)<f(0)<f(1): strictly, since f′>0 on (−2,1). f is decreasing on [−3,−2], so f(−3)>f(−2). Hence f decreases until x=−2 and increases afterwards, and f(x)≥f(−2) for every x of [−3,3]: the smallest value of f on [−3,3] is reached at x=−2. What the figure does NOT allow is to compare f(−3) with f(3): the sign of f′ tells the direction of each move, not how far f travels. The solution figure shows one function with exactly this derivative, chosen with f(−2)=0; any vertical shift of it would fit too.
e)
At x=1 two things happen at once: f′(1)=0, so the tangent to the graph of f is horizontal, and f′′ changes sign (the curve of f′ goes from falling to rising), so the concavity switches from downward to upward. The graph of f 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=x3 at the origin. It is a critical number and an inflection point, and not an extremum.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 5: Reading f' and f'' on the graph of f
10 answers to check
The figure shows the graph of a function f on [−4,4], with five labelled points A, B, C, D, E at x=−3,−2,0,1,3. The tangent at B is horizontal, and C is the point where the curve changes the way it bends.
Reading a graph for f′ means asking “is the curve going up or down here?”, and for f′′, “is it bending up like a cup or down like a cap?” Two questions, answered separately at each point.
a) Using the figure only, give the sign (+, − or 0) of f′ and of f′′ at each of the five points.
b) At which of the five points is f′ smallest? Why is C an inflection point?
c) On which interval of [−4,4] is f′ increasing? Explain the link with the concavity of f.
d) A student writes: at C the curve is steepest, so f′′(C) is the largest value of f′′ on the figure. Correct.
e) The curve is f(x)=8x3−12x+2. Check the table of a) by computing f′ and f′′ at the five points, and give the slope of f at C.
b)At C: the concavity changes there, so f′ has its minimum there.
c)f′ is increasing on (0,4), where f is concave upward.
d)False: f′′(C)=0. Steepest means f′ is extreme at C, so f′′ changes sign there.
e)f′(x)=83x2−12, f′′(x)=43x; slope at C: f′(0)=−23
a)
At A the curve goes up and bends down (a cap): f′(A)>0, f′′(A)<0. At B the tangent is horizontal at the top of the cap: f′(B)=0, f′′(B)<0, which is exactly the situation of a local maximum in the Second Derivative Test. At C the curve goes down and the bending switches: f′(C)<0, f′′(C)=0. At D it still goes down but bends up (a cup): f′(D)<0, f′′(D)>0. At E it goes up and bends up: f′(E)>0, f′′(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′′ from the height of the point, or from the direction: D is low and going down, yet f′′(D)>0.
b)
Between B and the local minimum at x=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, C: f′ is smallest at C among the five points (at A and E, f′>0; at B, 0; D is less steep than C). C is an inflection point because f is continuous there and its concavity changes: cap on the left of C, cup on the right. The two facts are the same fact: where f′ has a local extremum, f′′ changes sign.
c)
f′ is increasing exactly where its derivative f′′ is positive, that is where f is concave upward: on (0,4). There the slope of f grows, from very negative at C, through 0 at the local minimum (x=2), to positive at E and beyond. On (−4,0) the slope decreases and f is concave downward. Concave upward is not the same as increasing: on (0,2) the function DEcreases while its slope INcreases.
d)
The student confuses f′ and f′′. “Steepest” is a statement about f′: at C, ∣f′∣ is largest among nearby points, so C is a local extremum of f′ (a minimum). At a local extremum of the differentiable function f′, its derivative f′′ is 0: f′′(C)=0, the sign change seen in a). Among the five points, f′′ is actually largest at E, where the cup is sharpest. Correct statement: at C the slope f′ is smallest, and f′′(C)=0.
e)
f′(x)=83x2−12=83(x−2)(x+2) and f′′(x)=86x=43x. At A: f′(−3)=815>0, f′′(−3)=−49<0. At B: f′(−2)=0, f′′(−2)=−23<0. At C: f′(0)=−23<0, f′′(0)=0. At D: f′(1)=−89<0, f′′(1)=43>0. At E: f′(3)=815>0, f′′(3)=49>0. Every sign of a) is confirmed. The slope of f at C is −23, the minimum of the quadratic f′, whose vertex is at x=0, the zero of f′′. The graph reading gave the SIGNS in seconds; the computation gives the values.
Points are earned before the solution; after it, you can keep practising.
For you:
Part B: problems and reasoning (/50)
Exercise 6: A cubic rebuilt from its two extrema
10 answers to check
A cubic f(x)=ax3+bx2+cx+d, with a=0, has a derivative of degree 2: it has two critical numbers, one, or none, according to the discriminant of 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) and a local minimum at (2,−21).
a) Find a, b, c, d.
b) Confirm with the Second Derivative Test that (−1,6) is a local maximum and (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=x2, the inflection point has x-coordinate 2x1+x2 and is the midpoint of the two extreme points.
e) For which values of k does fk(x)=x3+kx2+3x have no local extremum? What happens exactly at the boundary values of k?
Show the solution
Answers
a)a=2, b=−3, c=−12, d=−1: f(x)=2x3−3x2−12x−1
b)f′′(−1)=−18<0: max; f′′(2)=18>0: min. The equations f′(−1)=f′(2)=0 only make them critical numbers.
c)Inflection point (21,−215), the midpoint of (−1,6) and (2,−21)
d)x0=−3ab=2x1+x2, and f(x0+h)−f(x0) is odd in h
e)−3≤k≤3; at k=±3, fk′(x)=3(x±1)2: a critical number without extremum
a)
Horizontal tangents at −1 and 2 mean f′(−1)=0 and f′(2)=0. Since f′(x)=3ax2+2bx+c is a quadratic with roots −1 and 2, it factors: f′(x)=3a(x+1)(x−2)=3a(x2−x−2). Identifying, 2b=−3a and c=−6a. So f(x)=ax3−23ax2−6ax+d, and f(−1)=−a−23a+6a+d=27a+d, f(2)=8a−6a−12a+d=−10a+d. The conditions f(−1)=6 and f(2)=−21 give, by subtraction, 227a=27, so a=2, then d=6−7=−1, b=−3, c=−12. Check: f(−1)=−2−3+12−1=6 and f(2)=16−12−24−1=−21. Factoring f′ from its known roots saves a 4×4 system.
b)
f′′(x)=12x−6. f′(−1)=0 and f′′(−1)=−18<0: local maximum at −1. f′(2)=0 and f′′(2)=18>0: local minimum at 2. The four equations of a) only say that −1 and 2 are CRITICAL numbers with the given heights; a critical number is a candidate, not a verdict. Had the heights been swapped, f(−1)=−21 and f(2)=6, the same computation would give a=−2, and the point at −1 would be the minimum. The sign of a, fixed by the heights, decides which is which, and the test is the written proof.
c)
f′′(x)=12x−6 is zero at x=21 and changes sign there (negative before, positive after), and f is continuous: inflection point at x=21, with f(21)=82−43−6−1=−215. The midpoint of (−1,6) and (2,−21) is (2−1+2,26−21)=(21,−215): 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+c, so their sum is x1+x2=−3a2b. And f′′(x)=6ax+2b vanishes at x0=−3ab=2x1+x2 and changes sign there, since it is linear with slope 6a=0: the inflection point is at x0. For the heights, expand f(x0+h) in powers of h: the coefficient of h2 is 3ax0+b=0, so f(x0+h)=f(x0)+mh+ah3 with m=f′(x0). The difference f(x0+h)−f(x0) is an ODD function of h: the graph is symmetric about the inflection point. With x1=x0−s and x2=x0+s, f(x1)+f(x2)=2f(x0), so the inflection point is the midpoint of the two extreme points.
e)
fk′(x)=3x2+2kx+3, a quadratic with discriminant 4k2−36. If ∣k∣>3, it has two distinct roots and changes sign at each: a local maximum and a local minimum. If ∣k∣<3, it has no root and stays positive: fk is increasing on the whole line, no critical number at all. If k=3, f3′(x)=3(x2+2x+1)=3(x+1)2: −1 is a critical number, but f3′≥0 on both sides, no sign change, no extremum; likewise k=−3 gives 3(x−1)2 and the critical number 1. So fk has no local extremum exactly when −3≤k≤3. The boundary values are the ones a hurried answer gets wrong: a double root of f′ is a critical number, not an extremum.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 7: Monotonicity proves inequalities: e to the pi against pi to the e
6 answers to check
To prove F(x)≥G(x) on an interval, study the difference g=F−G: find where g is increasing and decreasing with the sign of g′, locate its minimum, and show that this minimum is ≥0. No inequality is guessed from a picture; the Increasing/Decreasing Test does the proof.
The figure shows y=ex and the line y=1+x, its tangent at (0,1).
a) Prove that ex≥1+x for every real x, with equality only at x=0.
b) Prove that lnx≤x−1 for every x>0, in two ways: by studying a difference, then by using a).
c) Prove that tanx>x for 0<x<2π.
d) Without a calculator, decide which is larger, eπ or πe. Hint: study q(x)=xlnx on (0,∞).
Show the solution
Answers
a)g(x)=ex−1−x decreases on (−∞,0], increases on [0,∞), so g(x)≥g(0)=0
b)x−1−lnx has minimum 0 at x=1; or put lnx in a): x=elnx≥1+lnx
c)g(x)=tanx−x, g′(x)=tan2x>0 on (0,2π), g(0)=0
d)q is decreasing on [e,∞) and π>e, so πlnπ<e1: πe<eπ
a)
Let g(x)=ex−1−x. Then g′(x)=ex−1, negative for x<0 and positive for x>0, because ex is increasing and e0=1. So g is decreasing on (−∞,0] and increasing on [0,∞): by the First Derivative Test its minimum is g(0)=0, and g(x)≥0, that is ex≥1+x, for every x. Equality only at 0: g is STRICTLY decreasing on (−∞,0] and strictly increasing on [0,∞), so g(x)>g(0) for x=0. The figure says the same thing in concavity language: (ex)′′=ex>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−lnx on (0,∞), g′(x)=1−x1=xx−1, negative on (0,1) and positive on (1,∞) (the denominator x is positive). So g has its minimum at 1: g(x)≥g(1)=0, that is lnx≤x−1. Second way: apply a) to the number lnx, which is allowed since a) holds for EVERY real number: elnx≥1+lnx, and elnx=x for x>0, so x≥1+lnx. The line y=x−1 is the tangent to y=lnx at (1,0), and ln is concave downward ((lnx)′′=−x21<0): the curve lies below its tangent.
c)
Let g(x)=tanx−x on [0,2π). Then g′(x)=sec2x−1=tan2x, which is >0 on (0,2π) since tanx>0 there. So g is increasing on [0,2π) (continuous at 0, positive derivative inside), and for 0<x<2π, g(x)>g(0)=0: tanx>x. The starting value g(0)=0 is half of the proof: an increasing function is not positive by itself, it is positive because it STARTS at 0 and then goes up. A write-up without the value g(0) proves nothing.
d)
Both numbers are positive and ln is increasing, so compare their logarithms: ln(eπ)=π and ln(πe)=elnπ. Dividing by eπ>0, the question becomes: is πlnπ smaller or larger than elne=e1? Let q(x)=xlnx. By the quotient rule, q′(x)=x2x1⋅x−lnx=x21−lnx, positive on (0,e) and negative on (e,∞). So q is decreasing on [e,∞), and π>e gives q(π)<q(e): πlnπ<e1, hence elnπ<π, and πe<eπ. No decimal is needed, only e<π. The same study says more: q has its maximum e1 at e, so xe≤ex for every x>0, with equality only at x=e.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 8: Five statements to correct
5 answers to check
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)=0, then f has a local maximum or a local minimum at c.
b) If f′′(c)=0, then (c,f(c)) is an inflection point of the graph of f.
c) If f′(x)>0 for every x in the domain of f, then f is increasing on its domain.
d) If f is twice differentiable and has a local maximum at c, then f′′(c)<0.
e) If f and g are both increasing on an interval I, then the product fg is increasing on I.
Show the solution
Answers
a)False: x3 at 0. True if f′ changes sign at c (First Derivative Test).
b)False: x4 at 0. True if f′′ changes sign at c and f is continuous there.
c)False: −x1, with f(−1)=1>f(1)=−1. True on each INTERVAL where f′>0.
d)False: −x4 at 0, with f′′(0)=0. True: f′′(c)≤0; and f′(c)=0, f′′(c)<0 imply a maximum.
e)False: f(x)=g(x)=x on (−∞,∞). True if moreover f>0 and g>0 on I.
a)
FALSE. f(x)=x3 has f′(0)=0, but f′(x)=3x2>0 on both sides of 0: f is increasing through the origin, and 0 is neither a maximum nor a minimum. A zero of f′ nominates a candidate; it does not decide. Correct statement: if c is a critical number of a continuous f and f′ changes from + to − at c, then f has a local maximum at c; from − to +, a local minimum; if f′ keeps its sign, no local extremum. The true implication goes the other way (Fermat): a local extremum at c, with f′(c) existing, forces f′(c)=0.
b)
FALSE. f(x)=x4 has f′′(x)=12x2, so f′′(0)=0, but f′′>0 on both sides of 0: the graph is concave upward everywhere, and the origin is its lowest point, not an inflection point. Correct statement: if f is continuous at c and f′′ CHANGES SIGN at c, then (c,f(c)) is an inflection point; the candidates are the zeros of f′′ and the points where f′′ does not exist, and x5/3 shows that the second kind can be an inflection point too.
c)
FALSE. f(x)=−x1 has f′(x)=x21>0 at every point of its domain, yet −1<1 and f(−1)=1>f(1)=−1. The domain (−∞,0)∪(0,∞) is not an interval, and the Increasing/Decreasing Test is a statement about ONE interval. Correct statement: f is increasing on (−∞,0) and increasing on (0,∞), separately. Writing “increasing on (−∞,0)∪(0,∞)” is exactly the false claim, and markers take the mark away for the union sign.
d)
FALSE. f(x)=−x4 has a local (even absolute) maximum at 0, while f′′(x)=−12x2 gives f′′(0)=0, not a negative number. The Second Derivative Test is a sufficient condition only: f′(c)=0 and f′′(c)<0 imply a local maximum, and its converse fails. Correct statement: if f has a local maximum at c and is twice differentiable, then f′(c)=0 and f′′(c)≤0 (with f′′(c)>0, the test would give a strict local minimum instead).
e)
FALSE. f(x)=g(x)=x are increasing on (−∞,∞), but f(x)g(x)=x2 is decreasing on (−∞,0]. The product rule shows where it breaks: (fg)′=f′g+fg′, and the factors g and f can be negative. Correct statement: if f and g are positive and increasing on I, with f′>0 and g′>0, then (fg)′=f′g+fg′>0 and fg is increasing on I.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 9: The point of diminishing returns: where revenue stops accelerating
8 answers to check
A company models its monthly revenue R, in thousands of dollars, as a function of its monthly advertising budget x, in thousands of dollars: R(x)=−x3+27x2+120x for 0≤x≤20. The figure shows the graph of R.
The derivative 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 R changes from concave upward to concave downward: beyond it, every extra thousand dollars still brings revenue, but less than the previous one.
a) Show that R is increasing on [0,20].
b) Study the concavity of R on [0,20] and find the point of diminishing returns exactly.
c) Show that the marginal revenue R′ is largest at that point, give its value, and interpret it with units.
d) Compute R(10)−R(9) and R(20)−R(19). What do these two numbers show?
e) The manager says: revenue is still increasing at x=15, so we have not reached the point of diminishing returns yet. Correct her.
Show the solution
Answers
a)R′(x)=−3(x−20)(x+2)≥0 on [0,20]
b)Concave up on (0,9), down on (9,20); point of diminishing returns (9,2538)
c)R′(9)=363: about 363 thousand dollars of revenue per extra thousand dollars of advertising, the best rate
d)R(10)−R(9)=362 and R(20)−R(19)=32 (thousand dollars)
e)At 15, R′>0 but R′′<0: increasing, yet past the point of diminishing returns, reached at x=9.
a)
R′(x)=−3x2+54x+120=−3(x2−18x−40)=−3(x−20)(x+2). On [0,20], x+2>0 and x−20≤0, so R′(x)=−3(x−20)(x+2)≥0, with equality only at x=20. By the Increasing/Decreasing Test, R is increasing on [0,20]: more advertising always brings more revenue inside the model. The factorization is checked at x=0: −3(−20)(2)=120, the constant term.
b)
R′′(x)=−6x+54=−6(x−9). It is positive on (0,9) and negative on (9,20): R is concave upward on (0,9) and concave downward on (9,20). The concavity changes at 9 and R is continuous, so (9,R(9)) is an inflection point, with R(9)=−729+2187+1080=2538. The point of diminishing returns is reached for an advertising budget of 9 thousand dollars, with a revenue of 2538 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′ itself: its derivative R′′ is positive before 9 and negative after, so R′ increases on [0,9] and decreases on [9,20], and its largest value on [0,20] is R′(9)=−243+486+120=363. Interpretation, with units: when the budget is 9 thousand dollars, one more thousand dollars of advertising brings about 363 thousand dollars of extra revenue, the best rate anywhere on [0,20]. The solution figure shows R′, a parabola whose top is at x=9: the inflection point of R is the maximum of R′.
d)
R(10)=−1000+2700+1200=2900, so R(10)−R(9)=362: the tenth thousand dollars brings 362 thousand dollars, close to R′(9)=363. R(19)=−6859+9747+2280=5168 and R(20)=−8000+10800+2400=5200, so R(20)−R(19)=32. Both gains are positive, since R 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′ with the sign of R′′. At x=15, R′(15)=−3(−5)(17)=255>0: revenue is indeed still increasing. But R′′(15)=−36<0: the curve is concave downward, the marginal revenue is falling, and the point of diminishing returns was passed at x=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=15, but more and more slowly: we are past the point of diminishing returns, reached at 9 thousand dollars.”
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 10: The growth of an epidemic: when does the curve stop accelerating?
5 answers to check
During an epidemic, the total number of cases recorded since the first report is modelled by C(t)=1+125e−0.3t6000, where t is in days. The figure shows the typical S shape: slow start, fast growth, saturation near 6000.
The derivative C′(t) is the number of NEW cases per day. Public health reports watch two things: whether C still increases, and whether it increases faster and faster, which is the sign of C′′. Use the notation u=125e−0.3t, so that u′=−0.3u.
a) Show that C′(t)=(1+u)21800u, and deduce that C is increasing.
b) Show that C′′(t)=−(1+u)3540u(1−u). Find the time t∗ of the inflection point exactly, and C(t∗).
c) Show that the number of new cases per day is largest at t∗, and give that maximum.
d) Prove that C′(t∗+s)=C′(t∗−s) for every s: 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.
Show the solution
Answers
a)C′(t)=(1+u)21800u>0: C is increasing
b)C′′>0 iff u>1; t∗=10ln5 days, C(t∗)=3000
c)C′ increases before t∗, decreases after: at most C′(t∗)=450 new cases per day
d)u(t∗±s)=e∓0.3s, and (1+u)2u is unchanged when u is replaced by u1
e)Day 10: 10<10ln5 since e<5, accelerating. Day 20: 20>10ln5 since 5<e2, rising but decelerating.
a)
Write C=6000(1+u)−1. By the chain rule, with inner function 1+u whose derivative is u′=−0.3u: C′(t)=−6000(1+u)−2⋅(−0.3u)=(1+u)21800u. Since u=125e−0.3t>0 and (1+u)2>0, C′(t)>0 for every t: C is increasing, as a cumulative count must be. The substitution is only a bookkeeping device: in terms of t, C′(t)=(1+125e−0.3t)2225000e−0.3t.
b)
Differentiate (1+u)2u with respect to t by the quotient rule, remembering that u depends on t: (1+u)4u′(1+u)2−u⋅2(1+u)u′=(1+u)3u′(1+u−2u)=(1+u)3u′(1−u). With u′=−0.3u: C′′(t)=1800⋅(1+u)3−0.3u(1−u)=−(1+u)3540u(1−u). Since u>0 and (1+u)3>0, C′′ has the sign of −(1−u)=u−1: C′′>0 when u>1 and C′′<0 when u<1. Now u is decreasing in t, and u=1 when e0.3t=125, that is t∗=0.3ln125=0.33ln5=10ln5. The concavity changes there: inflection point, with C(t∗)=1+16000=3000, half the ceiling. With ln5≈1.61, t∗ is about 16 days.
c)
Apply the First Derivative Test to the function C′: its derivative C′′ is positive for t<t∗ and negative for t>t∗, so C′ increases, then decreases, and its largest value is at t∗, where u=1: C′(t∗)=41800=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∗+s, u=125e−0.3t∗e−0.3s=e−0.3s, because 125e−0.3t∗=1. At t=t∗−s, u=e0.3s, the reciprocal. And φ(u)=(1+u)2u satisfies φ(u1)=(1+1/u)21/u=(u+1)2/u21/u=(1+u)2u=φ(u). Hence C′(t∗+s)=1800φ(e−0.3s)=1800φ(e0.3s)=C′(t∗−s): s days after the peak, the daily count is the same as s days before it. The same computation gives C(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′′, that is the position of the day with respect to t∗=10ln5. Day 10: 10<10ln5 exactly when ln5>1, that is 5>e, which is true. So C′′(10)>0: on day 10 the epidemic is accelerating, the first report is right. Day 20: 20>10ln5 exactly when ln5<2, that is 5<e2, and e2>2.72=7.29>5. So C′′(20)<0: cases are still rising (C′>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.
Points are earned before the solution; after it, you can keep practising.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.