Corrected exercises: maximum and minimum values (MATH 140)
This is the corrected exercise set for maximum and minimum values in MATH 140, Calculus 1, at McGill University, section 4.1 of Stewart. It opens the applications of the derivative: before a graph can be sketched or a quantity optimized, the candidates for an extremum must be found and compared. Every number is exact and chosen to be done by hand, as on the course's exams, and every solution names the theorem it uses and checks its hypotheses first.
The thread running through the whole set: Fermat NOMINATES, the table DECIDES. A critical number, where f′(c)=0 or f′(c) does not exist, is only a candidate, since x3 has a horizontal tangent and no extremum. On a closed interval where f is continuous, the Extreme Value Theorem guarantees that the absolute extrema exist, and the closed interval method finds them with a list, the critical numbers inside the interval plus the two endpoints, and a comparison of exact values.
The traps named in the solutions: calling an endpoint a local extremum, missing a corner or a cusp because only f′(x)=0 was solved, counting a point outside the domain as critical, keeping a critical number outside the interval, forgetting the endpoints, applying the method across a discontinuity, treating f′(c)=0 as a verdict, answering a maximum that is approached but never reached, and comparing exact values with a decimal from memory instead of an inequality.
Self-checking setType your answers and check them question by 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, and your right answers stay filled in when you come back.
•f(c) is an absolute maximum on D if f(c)≥f(x) for all x∈D; a local maximum if f(c)≥f(x) for all x in some open interval around c. Never local at an endpoint.
•Extreme Value Theorem: f continuous on a closed interval [a,b] implies f attains an absolute maximum and an absolute minimum on [a,b].
•Fermat's theorem: local extremum at c and f′(c) exists imply f′(c)=0. The converse is false: x3 at 0.
•Critical number: c in the domain of f with f′(c)=0 or f′(c) undefined (∣x∣, x2/3 at 0).
•Closed interval method: check continuity on [a,b]; evaluate f at the critical numbers in (a,b) and at a and b; the largest value is the absolute maximum, the smallest the absolute minimum.
•An absolute extremum reached at an interior point of an interval is also a local extremum.
Part A: the basics (/50)
Exercise 1: Reading extrema on a graph: absolute, local, and the endpoints
Definitions of Stewart, the ones MATH 140 uses. f(c) is the absolute maximum value of f on a set D if f(c)≥f(x) for ALL x in D. f(c) is a local maximum value if f(c)≥f(x) for all x NEAR c, that is, on some open interval containing c. Minimum values are defined the same way with ≤. Because an open interval around c is required, a local extremum never occurs at an endpoint of the domain.
A critical number of f is a number c in the domain of f such that f′(c)=0 or f′(c) does not exist. The figure shows the graph of a function f that is continuous on [0,10]. It has a corner at x=4, a horizontal tangent at x=2, x=6 and x=8, and is differentiable everywhere else in (0,10). The endpoints are (0,7) and (10,4).
a) Find the absolute maximum and minimum values of f on [0,10], and where they occur.
b) Find the local maximum and local minimum values of f. Is f(0)=7 a local maximum value?
c) List the critical numbers of f in (0,10). For each one, say whether f′=0 or f′ does not exist there, and whether f has a local extremum there.
d) Now consider f on the open interval (0,10) only. Does it have an absolute maximum? An absolute minimum? Does this contradict the Extreme Value Theorem?
e) Now consider f on [2,10]. Find its absolute maximum and minimum values, and explain why the local maximum of b) has become absolute.
Show the solution
Answers
a)Absolute max 7 at x=0; absolute min 1 at x=8
b)Local max 5 at x=4; local min 2 at x=2 and 1 at x=8. f(0) is not a local max (endpoint).
c)2, 6, 8 (f′=0) and 4 (f′ undefined); no extremum at x=6
d)No absolute max (values approach 7, never reach it); absolute min 1 at x=8. No contradiction: the interval is not closed.
e)Absolute max 5 at x=4, absolute min 1 at x=8
a)
The absolute maximum is the highest point of the WHOLE graph: f(0)=7, at the left endpoint. The absolute minimum is the lowest point: f(8)=1. Two different questions are hidden in each answer, the VALUE (7, 1) and the PLACE (x=0, x=8); a marker who asks for the value and reads x=8 gives no mark. Every other point of the graph lies strictly between 1 and 7: the smooth bump at x=2 bottoms out at 2, the corner at x=4 peaks at 5, and the right endpoint is at 4.
b)
Local maximum value: f(4)=5, at the corner: on a small open interval around 4, no value exceeds 5. Local minimum values: f(2)=2 and f(8)=1; the second one is also the absolute minimum, and an absolute extremum reached at an INTERIOR point is always a local one. f(0)=7 is NOT a local maximum value with Stewart's definition: there is no open interval around 0 inside the domain [0,10], so the condition cannot even be tested. It is the absolute maximum, which is a statement about the whole domain. The same holds for f(10)=4. Note also that the local minimum value 2 is smaller than the local maximum value 5 here, but nothing forces that order: local means compared with the neighbours only.
c)
Horizontal tangents give f′(c)=0: c=2, c=6 and c=8. The corner at x=4 has two different one-sided slopes, so f′(4) does not exist: 4 is a critical number too, and it is the one a student who only solves f′(x)=0 misses. So the critical numbers in (0,10) are 2, 4, 6, 8. Local extrema at 2 (min), 4 (max), 8 (min); none at 6, where the graph comes down, flattens, and keeps coming down: f(x)>3 just to the left of 6 and f(x)<3 just to the right. This is the whole chapter in one picture: every local extremum inside the interval sits at a critical number, but a critical number is only a CANDIDATE.
d)
On (0,10), the value 7 is no longer available: as x→0+ the values f(x) climb toward 7, but every f(x) with 0<x≤10 is strictly less than 7 (the graph decreases from 7 on [0,2] and stays at or below 5 beyond). There is no largest value, since any value below 7 is beaten by a point closer to 0: NO absolute maximum. The absolute minimum f(8)=1 is still there, because 8 is an interior point. No contradiction with the Extreme Value Theorem: its hypothesis is a CLOSED interval, and that hypothesis fails here. The theorem says nothing about open intervals; it neither promises nor forbids extrema there.
e)
On [2,10] the candidates are the endpoints 2 and 10 and the critical numbers inside, 4, 6, 8. Values: f(2)=2, f(4)=5, f(6)=3, f(8)=1, f(10)=4. Absolute maximum 5 at x=4, absolute minimum 1 at x=8. The local maximum at 4 became absolute because the only point higher than 5, the left part of the graph near x=0, is no longer in the domain. Absolute is always relative to a DOMAIN: change the interval, and the answer can change even though the graph did not.
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: Finding critical numbers: zeros of f', points where f' does not exist, and the domain
A critical number of f is a number c in the DOMAIN of f such that either f′(c)=0 or f′(c) does not exist. The definition has three parts, and each costs marks when it is skipped: solve f′(x)=0; find where the formula of f′ breaks down while f itself is defined; and discard every number that is not in the domain of f.
Write f′ as a single fraction, factored, before reading anything off it: the numerator gives the zeros, the denominator gives the points where f′ does not exist.
a) f(x)=2x3−3x2−12x+1.
b) g(x)=x1/3(8−x).
c) q(x)=x−1x2.
d) s(θ)=2cosθ+sin2θ. Give all critical numbers, then those in [0,2π).
e) k(x)=∣x2−4∣.
Show the solution
Answers
a)x=−1 and x=2
b)x=2 (g′=0) and x=0 (g′ undefined)
c)x=0 and x=2; x=1 is not in the domain, so it is not critical
d)θ=6π+2kπ, 65π+2kπ, 23π+2kπ; in [0,2π): 6π, 65π, 23π
e)x=−2, 0, 2 (k′=0 at 0, undefined at ±2)
a)
By the power rule, f′(x)=6x2−6x−12=6(x2−x−2)=6(x−2)(x+1). A polynomial is differentiable everywhere, so there is no point where f′ fails to exist, and the critical numbers are the zeros: x=−1 and x=2. Check by substitution: f′(2)=24−12−12=0 and f′(−1)=6+6−12=0. Nothing is said yet about maxima or minima: the question asks for the candidates only.
b)
Expand first, to differentiate term by term: g(x)=8x1/3−x4/3, so g′(x)=38x−2/3−34x1/3. Factor out 34x−2/3: g′(x)=34x−2/3(2−x)=3x2/34(2−x). The numerator vanishes at x=2. The denominator vanishes at x=0, where g′ does not exist, while g(0)=0 is perfectly defined (the cube root of 0 is 0): 0 IS a critical number. Critical numbers: 0 and 2. The graph has a vertical tangent at the origin, and a student who only solves g′(x)=0 loses it.
c)
By the quotient rule, q′(x)=(x−1)22x(x−1)−x2⋅1=(x−1)2x2−2x=(x−1)2x(x−2). Zeros of the numerator: x=0 and x=2, both in the domain. The denominator vanishes at x=1, but 1 is NOT in the domain of q (q(1) would divide by 0), so 1 is NOT a critical number. It matters later: a vertical asymptote is not a place where q can have a maximum or a minimum, since q has no value there. Critical numbers: 0 and 2.
d)
By the chain rule with inner function 2θ, (sin2θ)′=2cos2θ, so s′(θ)=−2sinθ+2cos2θ. Use cos2θ=1−2sin2θ to get a single trigonometric function: s′(θ)=−2sinθ+2−4sin2θ=−2(2sin2θ+sinθ−1)=−2(2sinθ−1)(sinθ+1). So sinθ=21 or sinθ=−1. The first gives θ=6π+2kπ and θ=65π+2kπ; the second gives θ=23π+2kπ, for every integer k. In [0,2π): 6π, 65π, 23π. The classic loss is to keep only 6π from sinθ=21: the sine takes each value in (−1,1) twice per period.
e)
Remove the absolute value by cases. For ∣x∣>2, x2−4>0 and k(x)=x2−4, so k′(x)=2x, never 0 there. For ∣x∣<2, k(x)=4−x2 and k′(x)=−2x, which vanishes at x=0. At x=2 the two formulas give one-sided slopes −4 (from the left) and 4 (from the right): k′(2) does not exist, and by symmetry neither does k′(−2). Critical numbers: −2, 0, 2. The corners of an absolute value sit exactly where the inside changes sign, and they are critical numbers even though no equation k′(x)=0 will ever produce them.
Exercise 3: The Extreme Value Theorem: which hypothesis fails, and what survives
Extreme Value Theorem. If f is continuous on a closed interval [a,b], then f attains an absolute maximum value f(c) and an absolute minimum value f(d) at some numbers c and d in [a,b].
Two hypotheses, CONTINUOUS and CLOSED interval, and one conclusion, the two extrema EXIST. For each function below, say whether the hypotheses hold, then find the absolute extrema that exist. The figure shows the function of part d), with a hollow dot at (1,2) and a full dot at (1,0).
a) f(x)=x1 on [1,3].
b) f(x)=x1 on (0,2].
c) f(x)=x2 on (−1,2).
d) f(x)=x+1 for 0≤x<1 and f(x)=x−1 for 1≤x≤2.
e) f(x)=cosx on (−π,3π). What does this example say about the converse of the theorem?
Show the solution
Answers
a)Hypotheses hold; max 1 at x=1, min 31 at x=3
b)Not closed; no absolute max, absolute min 21 at x=2
c)Not closed; no absolute max, absolute min 0 at x=0
d)Not continuous at 1; no absolute max, absolute min 0 at x=1
e)Not closed, yet max 1 at x=0,2π and min −1 at x=π: the hypotheses are sufficient, not necessary.
a)
x1 is a rational function, continuous wherever it is defined, and 0∈/[1,3]: it is continuous on the closed interval [1,3], and the EVT guarantees both extrema. To find them: f′(x)=−x21 is never 0 and exists on all of [1,3], so there is no critical number and the extrema are at the endpoints: f(1)=1 is the absolute maximum, f(3)=31 the absolute minimum. Writing both hypotheses, with the reason for continuity (0 is outside the interval), is what earns the theorem's mark.
b)
x1 is continuous on (0,2], but the interval is not closed: the EVT does not apply. As x→0+, x1→∞, so the values are unbounded above and there is NO absolute maximum. The absolute minimum exists: for 0<x≤2, x1≥21, with equality at x=2. So the minimum 21 is attained at x=2. The missing endpoint 0 is exactly where the maximum escapes.
c)
x2 is continuous, but (−1,2) is open. For −1<x<2 we have 0≤x2<4: the values come as close to 4 as we like when x→2−, but 4 itself would need x=2 (or x=−2), which is not in the interval. So there is NO absolute maximum. The absolute minimum 0 is attained at x=0, an interior point. Answering max 4 at x=2 is the most common error on this type of question: a value that is approached but never taken is not a maximum.
d)
The interval [0,2] is closed, but f is not continuous at x=1: the left-hand limit is limx→1−(x+1)=2 while f(1)=0. The EVT does not apply. On [0,1) the values fill [1,2), and on [1,2] they fill [0,1]. The value 2 is approached from the left of 1 but never taken (hollow dot): NO absolute maximum. The absolute minimum is 0, at x=1 (full dot). On the figure, the top of the left segment ends in a hole, and that hole is the missing maximum.
e)
The interval is open, so the EVT does not apply, yet both extrema exist: cosx≤1 with equality at x=0 and x=2π, both in (−π,3π), and cosx≥−1 with equality at x=π (the other solutions −π and 3π are excluded, but π is enough). The theorem is an IMPLICATION: continuous on a closed interval implies extrema exist. When a hypothesis fails, the theorem is silent, and the extrema may or may not exist, as b), c), d) and e) show. Its converse, if the extrema exist then f is continuous on a closed interval, is false.
Exercise 4: Fermat's theorem: what it says, and the converse that fails
Fermat's theorem. If f has a local maximum or minimum at c, and if f′(c) exists, then f′(c)=0.
Read it as a filter: it tells you where local extrema CAN be (at critical numbers), never where they ARE. The figure shows u(x)=x4−4x3, used in part e). In this chapter, a local extremum is proved from its DEFINITION, by comparing f(x) with f(c) near c, or by an algebraic inequality.
a) Show that f(x)=x3 satisfies f′(0)=0 but has no local extremum at 0. Which statement does this refute?
b) Show that g(x)=∣x∣ has a minimum at 0 although g′(0) does not exist. Does this contradict Fermat's theorem?
c) h(x)=x on [0,1] has its absolute maximum at x=1, and h′(1)=1=0. Does this contradict Fermat's theorem?
d) Prove that p(x)=x5+x3+2x−7 has no local maximum and no local minimum.
e) For u(x)=x4−4x3: find the critical numbers; show that u has no local extremum at 0 by looking at the sign of u near 0; then prove that u(3) is the absolute minimum value of u by factoring u(x)+27.
Show the solution
Answers
a)f(x)<0=f(0)<f(x′) for x<0<x′: no extremum. Refutes the converse: f′(c)=0 does not imply an extremum.
b)∣x∣≥0=g(0); one-sided slopes −1 and 1. No contradiction: the hypothesis g′(0) exists fails.
c)No contradiction: 1 is an endpoint, so h(1) is not a LOCAL maximum.
d)p′(x)=5x4+3x2+2≥2>0: no critical number, so no local extremum (contrapositive of Fermat).
e)Critical numbers 0 and 3; no extremum at 0; u(x)+27=(x−3)2(x2+2x+3)≥0, absolute min −27 at x=3
a)
f′(x)=3x2, so f′(0)=0: 0 is a critical number. But for x<0, x3<0=f(0), and for x>0, x3>0=f(0): on EVERY open interval around 0 there are values below and values above f(0), so f(0) is neither a local maximum nor a local minimum. This refutes the CONVERSE of Fermat's theorem, if f′(c)=0 then f has a local extremum at c. The theorem goes one way only: from extremum to f′(c)=0.
b)
∣x∣≥0=g(0) for every x, so g(0)=0 is a minimum, local and absolute. The derivative at 0 is the limit of h∣h∣ as h→0: it equals 1 for h>0 and −1 for h<0, so the one-sided limits differ and g′(0) does not exist. No contradiction: Fermat's theorem assumes that f′(c) EXISTS, and here it does not. This is why the definition of a critical number includes the points where f′ does not exist: they are candidates Fermat's theorem cannot see.
c)
No contradiction. Fermat's theorem is about LOCAL extrema, and with Stewart's definition a local extremum needs an open interval around c inside the domain. At the endpoint x=1 of [0,1] there is none, so h(1) is an absolute maximum but not a local one, and the theorem does not apply. This is why the closed interval method evaluates the endpoints SEPARATELY: they can carry an extremum without being critical numbers.
d)
p is a polynomial, so p′(x)=5x4+3x2+2 exists everywhere. Since x4≥0 and x2≥0, p′(x)≥2>0 for every x: p′ is never 0, and p has no critical number at all. By Fermat's theorem, a local extremum at c would force p′(c)=0 (since p′(c) exists). There is no such c, so p has no local maximum and no local minimum. This is the correct use of the theorem: in its CONTRAPOSITIVE form, if f′(c) exists and is not 0, then f has no local extremum at c.
e)
u′(x)=4x3−12x2=4x2(x−3): critical numbers 0 and 3, both with u′=0. Near 0, write u(x)=x3(x−4). For x close to 0, x−4<0, so u(x) has the sign opposite to x3: u(x)>0 for small x<0 and u(x)<0 for small x>0, while u(0)=0. So u(0) is not a local extremum, exactly like x3 in a). At 3: u(3)=81−108=−27. Expand (x−3)2(x2+2x+3)=(x2−6x+9)(x2+2x+3)=x4−4x3+27, so u(x)+27=(x−3)2(x2+2x+3). Both factors are ≥0, since x2+2x+3=(x+1)2+2>0. Hence u(x)≥−27=u(3) for all x: −27 is the absolute minimum value, reached at x=3 only. Two critical numbers with u′=0, one extremum: the figure shows the flat point at the origin and the bottom of the curve at (3,−27).
Exercise 5: The closed interval method: ties, a critical number outside, a corner, a hole
The closed interval method. To find the absolute extrema of a function f CONTINUOUS on a CLOSED interval [a,b]: (1) find the values of f at the critical numbers of f in (a,b); (2) find f(a) and f(b); (3) the largest of these values is the absolute maximum, the smallest is the absolute minimum.
The method is a list and a comparison: no sign study, no second derivative. Its first line is the check of continuity on [a,b], because without it the EVT does not promise that the extrema exist. Each part below hides a different trap.
a) f(x)=x3−6x2+9x+2 on [0,4].
b) g(x)=x3−12x on [0,3].
c) h(x)=∣x2−2x−3∣ on [0,4].
d) r(x)=x+x4 on [1,4].
e) A student applies the method to the same r on [−1,4]: candidates r(−1)=−5, r(2)=4, r(4)=5, so the absolute minimum is −5 and the absolute maximum is 5. Find the error and give the correct conclusion.
Show the solution
Answers
a)Max 6 at x=1 and x=4; min 2 at x=0 and x=3
b)Max 0 at x=0; min −16 at x=2 (x=−2 rejected, outside [0,3])
c)Max 5 at x=4; min 0 at x=3 (corner)
d)Max 5 at x=1 and x=4; min 4 at x=2
e)r is not continuous at 0∈[−1,4]: no absolute max, no absolute min.
a)
f is a polynomial, continuous on [0,4]. f′(x)=3x2−12x+9=3(x−1)(x−3): critical numbers 1 and 3, both in (0,4). Values: f(0)=2, f(1)=1−6+9+2=6, f(3)=27−54+27+2=2, f(4)=64−96+36+2=6. Absolute maximum 6, attained TWICE, at x=1 and x=4; absolute minimum 2, attained at x=0 and x=3. The question where is answered by ALL the places: stopping at the first 6 found loses the half mark for the location.
b)
g is a polynomial, continuous on [0,3]. g′(x)=3x2−12=3(x−2)(x+2): the zeros are ±2, but only 2 lies in (0,3); −2 is REJECTED. Values: g(0)=0, g(2)=8−24=−16, g(3)=27−36=−9. Absolute maximum 0 at x=0, absolute minimum −16 at x=2. The trap bites here: g(−2)=16, and a student who keeps −2 in the list answers max 16, a value the function never takes on [0,3]. Write the word rejected, with its reason, next to every solution of g′(x)=0 that falls outside the interval.
c)
h is the composition of a polynomial and the absolute value, both continuous, so h is continuous on [0,4]. Since x2−2x−3=(x−3)(x+1), it is negative on [0,3) and positive on (3,4]. On (0,3): h(x)=3+2x−x2, h′(x)=2−2x, zero at x=1. On (3,4): h(x)=x2−2x−3, h′(x)=2x−2=0. At x=3 the one-sided slopes are −4 and 4: h′(3) does not exist, so 3 is critical. Values: h(0)=3, h(1)=4, h(3)=0, h(4)=5. Absolute maximum 5 at x=4, absolute minimum 0 at x=3. Forgetting the corner gives min 3: the answer is then wrong, because the minimum IS the corner. The figure of the solution shows it.
d)
r is continuous on [1,4] since its only discontinuity, x=0, is outside. r′(x)=1−x24=x2x2−4: zeros ±2, keep 2, reject −2; r′ is undefined only at 0, not in the domain of r, so not critical. Values: r(1)=5, r(2)=2+2=4, r(4)=4+1=5. Absolute maximum 5 at x=1 and x=4, absolute minimum 4 at x=2.
e)
The error is in the first line the student did not write: r is NOT continuous on [−1,4], since r(0) is undefined and 0∈[−1,4]. The EVT does not apply, and the method, which relies on it, is meaningless. In fact r(x)→∞ as x→0+ and r(x)→−∞ as x→0−, because x4 does: the values are unbounded in both directions, so r has NO absolute maximum and NO absolute minimum on [−1,4] minus {0}. The numbers −5 and 5 are values of r, beaten by values near 0: r(0.1)=40.1 and r(−0.1)=−40.1. Checking continuity is not a formality: it is the hypothesis that makes the list of candidates complete.
Part B: problems and reasoning (/50)
Exercise 6: Closed interval method without a calculator: comparing exact values
On a MATH 140 exam the candidates of the closed interval method are exact numbers such as π−3, e24 or 2−2ln2, and deciding which is largest is part of the question. Compare them with inequalities you can justify by hand: 1.7<3<1.75, 3.14<π<3.15, 2.7<e<2.8, 0.69<ln2<0.7, or better, by an exact argument.
For each function, check continuity on the interval, find the critical numbers INSIDE it, evaluate, and compare with a written justification.
a) f(x)=x−2sinx on [−2π,π].
b) g(x)=x2e−x on [−1,3].
c) h(x)=x−2lnx on [1,e2].
d) k(x)=x−3x2/3 on [−8,8].
e) p(x)=x4−x2 on [−1,2].
Show the solution
Answers
a)Max π at x=π; min 3π−3 at x=3π
b)Max e at x=−1; min 0 at x=0
c)Max e2−4 at x=e2; min 2−2ln2 at x=2
d)Max 0 at x=0 (k′ undefined there); min −20 at x=−8
e)Max 2 at x=2; min −3 at x=−1
a)
f is continuous on R. f′(x)=1−2cosx, zero when cosx=21, that is x=±3π+2kπ. In (−2π,π): x=−3π AND x=3π. Values: f(−2π)=−2π+2=2−2π, f(−3π)=−3π+2⋅23=3−3π, f(3π)=3π−3, f(π)=π−0=π. Comparison: π>3>2 beats the others, since 2−2π<2 and 3−3π<3<2. Only one value is negative: 3π<1.05<1.7<3. So the maximum is π at x=π, the minimum 3π−3 at x=3π. The negative solution −3π of cosx=21 must be listed even though it does not win: a list of candidates is judged complete or incomplete, not by its winner.
b)
g is a product of continuous functions. By the product rule and the chain rule (inner function −x), g′(x)=2xe−x−x2e−x=x(2−x)e−x. Since e−x>0, the zeros are x=0 and x=2, both in (−1,3). Values: g(−1)=e, g(0)=0, g(2)=e24, g(3)=e39. Since e>2, e2>4, so e24<1; since e>2.7, e3>19, so e39<1. And e>1. The maximum is e at the LEFT endpoint x=−1, and the minimum is 0 at x=0, also clear from g(x)=x2e−x≥0. The maximum sits at an endpoint and the minimum at a critical number: the list needs both kinds of candidate.
c)
h is continuous for x>0, hence on [1,e2]. h′(x)=1−x2=xx−2: zero at x=2, which lies in (1,e2) because e2>4. Values: h(1)=1−0=1, h(2)=2−2ln2, h(e2)=e2−2⋅2=e2−4. Compare with exact arguments. 2−2ln2<1 is equivalent to ln2>21, that is 2>e1/2, that is 4>e: true. e2−4>1 is equivalent to e2>5: true since e>2.7 gives e2>7.29. So the minimum is 2−2ln2 at x=2 and the maximum is e2−4 at x=e2. Replacing a comparison by a decimal from memory (0.61 against 1) earns the value but not the justification mark: write the equivalence.
d)
x2/3=(x1/3)2 is defined and continuous for every real x, so k is continuous on [−8,8]. k′(x)=1−3⋅32x−1/3=1−x1/32=x1/3x1/3−2. Zero when x1/3=2, x=8: an ENDPOINT, not in (−8,8), and it will be evaluated as an endpoint anyway. Undefined at x=0, where k(0)=0 exists: 0 is a critical number. Values: k(−8)=−8−3⋅4=−20 (since (−8)2/3=((−8)1/3)2=(−2)2=4), k(0)=0, k(8)=8−12=−4. Maximum 0 at x=0, minimum −20 at x=−8. The maximum sits at the cusp: forget the critical number where k′ does not exist, and the answer becomes max −4, which is false.
e)
p is defined and continuous on [−2,2], hence on [−1,2]. For −2<x<2, by the product rule and the chain rule (inner function 4−x2): p′(x)=4−x2+x⋅24−x2−2x=4−x24−x2−x2=4−x24−2x2. Zeros: x2=2, x=±2; keep 2, which is in (−1,2), reject −2<−1. p′ is undefined at x=2, but that is an endpoint, evaluated in any case. Values: p(−1)=−3, p(2)=2⋅2=2, p(2)=0. Maximum 2 at x=2, minimum −3 at x=−1. Had the interval been [−2,2], −2 would have entered the list with the value −2, and the minimum would have moved.
Exercise 7: Reasoning with Fermat and the Extreme Value Theorem
Two facts do most of the work in this exercise. First, if f has an absolute extremum on an interval I at a point c in the INTERIOR of I, then it is also a local extremum of f: there is an open interval around c inside I. Second, Fermat's theorem in its contrapositive form: where f′(c) exists and is not 0, there is no local extremum.
The figure shows the graph of y=x+x1.
a) For f(x)=x+x1, find the critical numbers. Apply the closed interval method on [−2,−21] and on [21,2], and deduce that f has a local maximum value that is SMALLER than one of its local minimum values.
b) For fk(x)=x3+kx, give the number of critical numbers according to the value of the constant k. Prove that fk has no local extremum when k≥0.
c) Prove that a polynomial of degree n≥1 has at most n−1 local extrema. Is the bound always reached?
d) Give a function defined on [0,1] that has an absolute maximum but no absolute minimum. Which hypothesis of the EVT must it violate?
e) Prove that f(x)=x4−4x has an absolute minimum on R and find it, by combining the closed interval method on [−2,2] with an inequality outside. Does f have an absolute maximum on R?
Show the solution
Answers
a)Critical numbers ±1; local max −2 at x=−1, local min 2 at x=1, and −2<2
b)Two if k<0 (±−k/3), one if k=0, none if k>0; no extremum for k≥0
c)Local extrema are zeros of f′, of degree n−1: at most n−1. Not always reached (x4−4x3 has one).
d)f(0)=21, f(x)=x on (0,1]: max 1, no min. Continuity fails at 0.
e)Absolute min −3 at x=1; no absolute maximum
a)
f′(x)=1−x21=x2x2−1: zeros x=±1; f′ is undefined only at 0, which is not in the domain. Critical numbers: −1 and 1. On [−2,−21], f is continuous (0 is outside), and the only critical number inside is −1: f(−2)=−25, f(−1)=−2, f(−21)=−25. The absolute maximum on this interval is −2, at the INTERIOR point −1, so f(−1)=−2 is a local maximum value of f. On [21,2]: f(21)=25, f(1)=2, f(2)=25, so f(1)=2 is a local minimum value. And −2<2: the local maximum lies BELOW the local minimum, as the figure shows. Local means compared with the neighbours, and the two branches of this graph are not neighbours.
b)
fk′(x)=3x2+k, defined everywhere. If k<0: x2=−3k>0 gives two critical numbers ±−k/3. If k=0: one critical number, 0. If k>0: 3x2+k≥k>0, no critical number. For k>0, fk′ exists and is never 0, so by Fermat's theorem (contrapositive) there is no local extremum. For k=0, f0(x)=x3 has the single candidate 0, and it is not an extremum: x3<0 for x<0 and x3>0 for x>0. So for every k≥0, fk has no local extremum. The case k=0 is where a careless answer says one critical number, so one extremum.
c)
Let f be a polynomial of degree n≥1. It is differentiable everywhere, so by Fermat's theorem every local extremum c satisfies f′(c)=0. Now f′ is a polynomial of degree n−1, not identically zero, with at most n−1 real zeros. Hence f has at most n−1 local extrema. For n=1 this gives none, as expected for a line. The bound is not always reached: u(x)=x4−4x3 of Exercise 4 has degree 4, two critical numbers, and a single local extremum, because the critical number 0 is not an extremum. Fermat bounds the number of extrema; it does not produce them.
d)
Let f(0)=21 and f(x)=x for 0<x≤1. The largest value is f(1)=1: absolute maximum. The values on (0,1] come as close to 0 as we like, but 0 is never taken (the only candidate would be x=0, where f(0)=21), and every positive value is beaten by a smaller one: no absolute minimum. The interval [0,1] is closed, so by the EVT f cannot be continuous on it; indeed limx→0+f(x)=0=21=f(0). Any correct example must break continuity somewhere, and the break must sit where the minimum escapes.
e)
f′(x)=4x3−4=4(x−1)(x2+x+1), and x2+x+1=(x+21)2+43>0: the only critical number is 1. On [−2,2], where f is continuous: f(−2)=16+8=24, f(1)=1−4=−3, f(2)=16−8=8, so the minimum on [−2,2] is −3. Outside: for x≥2, f(x)=x(x3−4)≥2⋅4=8>−3; for x≤−2, x4>0 and −4x>0, so f(x)>0>−3. Hence f(x)≥−3=f(1) for every real x: the absolute minimum on R is −3, at x=1. There is no absolute maximum: f(x)≥x(x3−4) grows without bound, for instance f(10)=9960. The EVT alone says nothing on R, which is not a closed bounded interval; the inequality outside [−2,2] is what extends the answer.
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.
a) If f′(c)=0, then f has a local maximum or a local minimum at c.
b) If f has a local minimum at c, then f′(c)=0.
c) x=2 is a critical number of f(x)=x−21, since f′(2) does not exist.
d) The absolute maximum of f on [a,b] occurs at a number where f′(x)=0.
e) If f has an absolute maximum and an absolute minimum on [a,b], then f is continuous on [a,b].
Show the solution
Answers
a)False: x3 at 0. A critical number is a candidate, not an extremum.
b)False: ∣x∣ at 0. True when f′(c) exists (Fermat); in general c is a critical number.
c)False: 2 is not in the domain. f has no critical number.
d)False: x2 on [−1,3], max 9 at the endpoint 3. The max is at a critical number OR an endpoint.
e)False: 0 on [0,1), 1 on [1,2]. The EVT does not reverse.
a)
FALSE. f(x)=x3 has f′(0)=0, yet x3<0 for x<0 and x3>0 for x>0: no extremum at 0. The statement is the converse of Fermat's theorem, and that converse is false. Correct statement: if f has a local extremum at c and f′(c) exists, then f′(c)=0. A zero of f′ nominates c as a candidate; deciding requires something else, here the comparison of values.
b)
FALSE. g(x)=∣x∣ has a minimum at 0, and g′(0) does not exist, the one-sided slopes being −1 and 1. The student dropped the hypothesis that f′(c) exists. Correct statement: if f has a local extremum at c, then c is a critical number, that is, f′(c)=0 OR f′(c) does not exist. On an exam, this is why the search for critical numbers has two halves.
c)
FALSE. A critical number must belong to the DOMAIN of f, and f(2) is undefined. Here f′(x)=−(x−2)21 is never 0 and is undefined only at 2, so f has no critical number at all, and no local extremum. Correct statement: c is a critical number of f if c is in the domain of f and f′(c)=0 or f′(c) does not exist. A vertical asymptote is never a candidate: there is no value f(2) to compare.
d)
FALSE. f(x)=x2 on [−1,3]: the only critical number is 0, with f(0)=0, while f(−1)=1 and f(3)=9. The absolute maximum 9 is at the endpoint 3, where f′(3)=6=0. Correct statement: if f is continuous on [a,b], its absolute extrema occur at critical numbers in (a,b) OR at the endpoints a and b. Forgetting the endpoints is the most expensive omission of the closed interval method.
e)
FALSE. Let f(x)=0 for 0≤x<1 and f(x)=1 for 1≤x≤2. It has an absolute maximum 1 and an absolute minimum 0, yet it jumps at x=1. The statement reverses the Extreme Value Theorem. Correct statement: if f is continuous on [a,b], then f has an absolute maximum and an absolute minimum on [a,b]. The hypotheses are sufficient, not necessary: without them, extrema may exist or not, and each case must be examined.
Exercise 9: Drug concentration in the blood: the peak, the window, and what a chart can miss
After a tablet is swallowed, the concentration of the drug in the blood, in milligrams per litre, is modelled by c(t)=40(e−t/2−e−t), where t≥0 is the time in hours since the dose. The drug is absorbed faster than it is eliminated at first, then elimination takes over. The figure shows c and the level 7.5 mg/L above which the drug is effective.
No calculator: give every time and every concentration exactly, then as an order of magnitude from ln2≈0.69, ln3≈1.10 and e≈2.72.
a) Show that c(0)=0 and that c(t)>0 for every t>0.
b) Find the critical numbers of c on (0,∞).
c) Find the absolute maximum and minimum of c on [0,6]. The level becomes toxic at 16 mg/L. Assuming the concentration is proportional to the dose, by what factor at most can the dose be multiplied?
d) Find exactly the time interval during which c(t)≥7.5, and its length. Hint: put u=e−t/2.
e) A clinic records the concentration only between t=2 and t=5 hours. Find the absolute maximum and minimum of c on [2,5], and say what this chart cannot show.
Show the solution
Answers
a)c(0)=40(1−1)=0; for t>0, e−t/2>e−t
b)t=ln4=2ln2 hours (about 1.39 h)
c)Max 10 mg/L at t=ln4; min 0 at t=0; dose factor at most 1.6
d)ln916≤t≤ln16; length ln9=2ln3≈2.2 hours
e)Max 40(e−1−e−2) at t=2; min 40(e−5/2−e−5) at t=5; the peak 10 is not on the chart.
a)
c(0)=40(e0−e0)=0: no drug in the blood at the moment of the dose. For t>0, 2t<t, so −2t>−t, and since the exponential is increasing, e−t/2>e−t, so c(t)>0. This settles the absolute minimum on any interval starting at 0 before any derivative is taken: c(t)≥0=c(0).
b)
By the chain rule (inner functions −2t and −t): c′(t)=40(−21e−t/2+e−t)=20e−t(2−et/2). It exists for every t, and since e−t>0 it vanishes exactly when et/2=2, that is 2t=ln2, t=2ln2=ln4 hours. With ln2≈0.69, that is about 1.39 hours, roughly 1 hour 23 minutes. One critical number, found exactly: the factorization e−t(2−et/2) is what makes it solvable by hand.
c)
c is continuous on [0,6] and ln4∈(0,6). Values: c(0)=0; c(ln4)=40(e−ln2−e−ln4)=40(21−41)=10; c(6)=40(e−3−e−6), which is less than 40e−3<840=5 since e3>8. Absolute maximum 10 mg/L at t=ln4, absolute minimum 0 at t=0. If the dose is multiplied by λ, the concentration becomes λc(t), whose maximum is 10λ; it stays below the toxic level when 10λ≤16, so λ≤1.6. The safety of a dose is a question about the absolute MAXIMUM, which is why it has to be found exactly and not read off a graph.
d)
With u=e−t/2, e−t=u2 and c(t)=40(u−u2). The condition 40(u−u2)≥7.5 becomes u−u2≥163, that is 16u2−16u+3≤0, that is (4u−1)(4u−3)≤0, so 41≤u≤43. Now u=e−t/2 decreases as t grows: u≤43 gives t≥2ln34=ln916, and u≥41 gives t≤2ln4=ln16. The drug is effective for ln916≤t≤ln16, a window of length ln16−ln916=ln9=2ln3≈2.2 hours, from about 0.58 h to about 2.77 h. Consistency check: the peak time ln4 lies inside the window, as it must, since 10≥7.5.
e)
On [2,5], c is continuous, and its only critical number ln4 is NOT in (2,5): ln4<2 because 4<e2. So the extrema are at the endpoints. c(2)=40(e−1−e−2)=40e−2(e−1) and c(5)=40(e−5/2−e−5). Compare: c(5)<40e−5/2, while c(2)=40e−2(e−1)>40e−2>40e−5/2, since e−1>1. So the maximum on [2,5] is c(2)=40(e−1−e−2), about 9.3 mg/L, and the minimum is c(5)=40(e−5/2−e−5). The chart cannot show the true peak of 10 mg/L, reached before it starts: the maximum of c on a window is not the maximum of c. Keeping the critical number ln4 in the list here would have produced a value the recorded function never takes.
Exercise 10: A final exam question: a piecewise function, its corner, its extrema and its range
Let a be a constant and f(x)=x3+3x2+1 for −1≤x≤0, f(x)=a+4x−x2 for 0<x≤3.
This is the shape of a long final exam question: every hypothesis must be checked before a theorem is quoted, every candidate listed before a value is compared, and every conclusion stated with its location.
a) Find a so that f is continuous on [−1,3]. Use this value from now on.
b) Is f differentiable at x=0? Compute the one-sided limits of the difference quotient.
c) Find the critical numbers of f in (−1,3).
d) Find the absolute maximum and minimum values of f on [−1,3], then its local extrema in (−1,3) that follow from them.
e) For which values of k does the equation f(x)=k have at least one solution in [−1,3]?
Show the solution
Answers
a)a=1
b)No: left limit 0, right limit 4; corner at x=0
c)x=0 (f′ undefined) and x=2; x=−2 rejected
d)Max 5 at x=2, min 1 at x=0; both interior, so also local
e)1≤k≤5
a)
Each piece is a polynomial, continuous on its own interval. The only point to check is 0: f(0)=0+0+1=1 (the first formula holds at 0), limx→0−f(x)=1, and limx→0+f(x)=limx→0+(a+4x−x2)=a. Continuity at 0 requires the three to agree: a=1. Then f is continuous on [−1,3], the hypothesis the EVT and the closed interval method need; write that sentence, it is worth a mark.
b)
From the left, with h<0: hf(h)−f(0)=hh3+3h2=h2+3h→0. From the right, with h>0: hf(h)−f(0)=h1+4h−h2−1=4−h→4. The one-sided limits are 0 and 4, different: f′(0) does not exist, and the graph has a corner at (0,1). Differentiating each formula and comparing f′(0−)=0 with f′(0+)=4 gives the same verdict here, but the difference quotient is the definition, and it is what the question asks for.
c)
On (−1,0): f′(x)=3x2+6x=3x(x+2), zeros 0 and −2. The zero −2 is outside (−1,3): REJECTED; the zero 0 is not in the open piece (−1,0) and is treated at the junction. On (0,3): f′(x)=4−2x, zero at x=2. At 0, f′ does not exist by b), while f(0)=1 is defined: 0 is critical. Critical numbers in (−1,3): 0 and 2. Note that f(−2) would be −8+12+1=5, the same value as the true maximum: keeping −2 would give the right value at a WRONG location, and cost the location mark.
d)
f is continuous on the closed interval [−1,3] by a). Values: f(−1)=−1+3+1=3, f(0)=1, f(2)=1+8−4=5, f(3)=1+12−9=4. Absolute maximum 5 at x=2, absolute minimum 1 at x=0. Both are reached at INTERIOR points of [−1,3], so they are also a local maximum and a local minimum of f. The minimum is the corner: a student who forgets the critical number where f′ does not exist compares 3, 5, 4 and answers min 3 at x=−1, which is false. The figure of the solution shows the four candidates.
e)
By d), 1≤f(x)≤5 for every x in [−1,3], so for k<1 or k>5 the equation has no solution. Conversely, let 1≤k≤5. f is continuous on [0,2] with f(0)=1≤k≤5=f(2), so by the Intermediate Value Theorem there is c in [0,2] with f(c)=k. Hence the equation has a solution exactly when 1≤k≤5: the range of f on [−1,3] is [1,5]. This is the pairing to remember: the EVT gives the two ends m and M of the range of a continuous function on [a,b], and the IVT fills in everything between them.
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.