Let's look at f(x)=x2 on the closed interval [−1,2]. What's the largest value of f(x), and what's the smallest?
The largest value f takes on an interval is its absolute maximum value. The smallest value is its absolute minimum value. Together, we call them the extreme values of f on the interval.
absolute maximum value=f(2)=4absolute minimum value=f(0)=0
Notice that x=−1 is an endpoint, but f(−1)=1 is less than f(2)=4. So an endpoint doesn't have to give the largest value.
The value itself is the y-coordinate, and where it happens is the x-coordinate. So we say the absolute maximum value is 4, at x=2, and the absolute minimum value is 0, at x=0.
2
The Extreme Value Theorem
Does every function on an interval have an absolute maximum value and an absolute minimum value? Not always. But if we keep the interval closed and keep the function continuous, it has to have both.
The Extreme Value Theorem
⟹f continuous on [a,b]f has an absolute maximum valueand an absolute minimum value on [a,b]
f continuous on [a,b]⟹f has anabsolute maximum valueand an absolute minimum valueon [a,b]
Let's see why we need both conditions, and why a sharp corner doesn't matter.
Finding when a function is guaranteed an absolute maximum and minimum
Text solution
Leave out an endpointOn [−1,2),x2 is always less than 4 and never equals it. Whatever x we pick, an x closer to 2 gives a larger value, so there's no largest value.
f(1.9)=3.61,f(1.95)=3.8025
Break the functionOn [−1,1],x21 isn't defined at 0, so it isn't continuous there, and near 0 its values keep growing.
x→0:x21→∞
A corner is still continuous∣x−1∣ has a corner at x=1, but it's continuous on [0,3], so it has both extreme values.
absolute maximum value 2
absolute minimum value 0
With the right endpoint left out, the point (2,4) is missing from the graph, and the values climb toward 4 without ever reaching it.
x2 on [−1,2):f(x)<4
f(1.9)f(1.95)=3.61=3.8025
Can you find a largest value when the right endpoint is excluded?
A closed interval doesn't help if the function has a break. Near 0, the graph of x21 goes up without end.
f(x)=x21 on [−1,1]
f(0) undefined
x→0:x21→∞
A graph doesn't need to be smooth, though. The corner of ∣x−1∣ at x=1 has no derivative, but the graph has no break there.
f(x)=∣x−1∣ on [0,3]
f′(1) doesn’t exist
absolute maximum value 2,
at x=3
absolute minimum value 0,
at x=1
The Extreme Value Theorem guarantees that an absolute maximum and an absolute minimum exist, but it doesn't tell us what those values are or which x-values give them.
3
Where the highest and lowest points can be
So how do we actually find them? Let's find the largest and smallest values of f(x)=2x3−3x2−12x on the interval [−2,4].
f(x)=2x3−3x2−12x on [−2,4]largest value=?smallest value=?
We could try plugging in integers.
xf(x)−2−4−17001−132−203−9432
x−2−101234f(x)−470−13−20−932
But these are only seven of infinitely many x-values. The function could be greater than 32 somewhere between 3 and 4, and a table can't tell us. So instead, let's ask where the highest and lowest points can't be.
Find where a curve on [a,b] can have its highest and lowest points
Text solution
Where f′(x)=0, rule the point outZoomed in, the curve looks like its tangent line. If x is inside the interval and the slope there isn't 0, the curve is higher on one side of x and lower on the other, so x can't be the highest or the lowest point.
f′(x)>0:higher to the right
f′(x)<0:higher to the left
What's left insideThe argument needs a tangent line with a nonzero slope, so two kinds of points stay on the list: a horizontal tangent, and a sharp corner, where there's no tangent line at all.
f′(x)=0
f′(x) doesn’t exist
The endpoints stayIf f′(b)>0, the higher points just to the right of b are outside the interval, so b can still be the highest point. The same goes for a, whatever the slope.
Here's the picture to keep in mind. Where f′(x)>0, the curve is higher just to the right of x and lower just to the left, so x can't be the highest or the lowest point.
The points inside the interval that stay on the list have a name. A critical point of f is an x-value where f(x) is defined and f′(x)=0 or f′(x) doesn't exist.
f(x) defined,f′(x)=0 or f′(x) doesn’t exist
f(x) defined,f′(x)=0 or f′(x) doesn’t exist
So for a continuous function on [a,b], the absolute maximum and minimum can only occur at three kinds of points.
Candidates for highest and lowest points
Endpoints
x=a,x=b
Horizontal tangent
f′(x)=0
Sharp point
f′(x) doesn’t exist,f(x) defined
A critical point is a candidate, not an answer. The top of a hill, where f′(x)=0, can still be lower than an endpoint. So we find the value of f at every candidate and compare them. We don't need to work out what kind of critical point each candidate is.
4
Testing the candidates on a closed interval
To find the absolute maximum and minimum values of a continuous function on a closed interval [a,b], we only need to test the endpoints and any critical points inside the interval.
The closed interval method
Condition
f continuous on [a,b]
Find critical points
critical points of f in [a,b]
Evaluate
f(a),f(b)
f at each critical point
Compare
largest=absolute maximum value
smallest=absolute minimum value
The condition matters. For f(x)=x21 on [−1,1], there are no critical points, so the method would test only the endpoints and call 1 the maximum. But near 0 the values go to infinity. f isn't continuous at 0, so the theorem doesn't apply.
f(x)=x21 on [−1,1]
f′(x)=−x32=0
f(−1)=f(1)=1,f(0.1)=100
Let's use the method on the cubic from the last section, first on [−2,4] and then on a smaller interval.
Find the absolute maximum and minimum of f(x)=2x3−3x2−12x on [−2,4], and then on [0,3]
f(x)=2x3−3x2−12x
[−2,4][0,3]largestvalue??smallestvalue??
Text solution
Find the critical pointsf is a polynomial, so it's continuous and its derivative exists everywhere. The only critical points are where f′(x)=0.
f′(x)=6(x−2)(x+1)
x=−1,x=2
Candidates on [−2,4]Both critical points are inside, so we test four values: the endpoints −2 and 4, and −1 and 2.
f(−2)=−4,f(−1)=7,f(2)=−20,f(4)=32
Candidates on [0,3]The critical points don't change, but −1 isn't in [0,3], so we drop it and test the endpoints 0 and 3, and 2.
f(0)=0,f(2)=−20,f(3)=−9
On [−2,4], the largest value is 32, at the endpoint x=4. That's higher than the top of the hill at x=−1, where f(−1)=7. If we had left out the endpoints, we would have picked 7 as the maximum.
On [0,3], the maximum moves to the left endpoint. If we had kept −1, its value 7 would have looked like the maximum, but f(x)≤0 for every x in [0,3].
x−1023f(x)0−20−9not in [0,3]endpointcritical pointendpoint
absolute maximum value 0,
at x=0
absolute minimum value −20,
at x=2
Can an endpoint give the absolute maximum or minimum instead of a critical point?
5
Where the derivative doesn't exist
For the cubic, every critical point came from f′(x)=0. In the next example the derivative is never 0, and that makes a critical point easy to miss.
Find the absolute maximum and minimum of f(x)=x32 on [−1,8]
f(x)=x32,[−1,8]
largest valuesmallest value=?=?
Text solution
The derivative is never 0The top of the fraction is 2, so f′(x)=0 has no solution.
f′(x)=32x−31=33x2
Check where the bottom is 0At x=0 we'd divide by 0, so f′(0) doesn't exist. But f is defined there, so x=0 is a critical point.
33x=0→x=0
f(0)=0
CompareThe endpoints alone would make 1 look like the minimum, but f(0)=0 is smaller.
f(−1)=1,f(0)=0,f(8)=4
On the graph, the critical point is the sharp point at (0,0), below both endpoints.
With the endpoints and the critical point compared, the largest value is 4, and the smallest is 0.
x−108f(x)104endpointcritical pointendpoint
absolute maximum value 4,
at x=8
absolute minimum value 0,
at x=0
Absolute values have the same kind of critical point. For ∣x2−4∣, the graph has corners where x2−4=0, so the derivative doesn't exist at x=−2 and x=2.
x2−4=0→x=−2,x=2
6
Finding every critical point
In this example, f′(x)=0 has two solutions in the interval, and either one could give an extreme value, so we have to find both.
Find the absolute maximum and minimum of f(x)=x+2cosx on [0,π]
f(x)=x+2cosx,[0,π]
largest valuesmallest value=?=?
Text solution
Set the derivative to 0The derivative exists everywhere, so the critical points come from f′(x)=0.
f′(x)=1−2sinx
sinx=21
Find both anglesSine is the height on the unit circle, and [0,π] is its top half. The height is 21 at two angles there.
x=6π,x=65π
Compare with decimalsEvaluate f at both critical points and both endpoints, keeping in mind that cos65π is negative. Then compare with π≈3.14 and 3≈1.73.
f(6π)=6π+3≈2.26
f(65π)=65π−3≈0.89
On the unit circle, both angles have height 21 on the top half, one in the first quadrant and one in the second.
sinx=21,0≤x≤π
x=6π,x=65π
The decimals only decide the order. The answers stay exact.
x06π65ππf(x)26π+365π−3π−2≈22.260.891.14
absolute maximum value 6π+3,
at x=6π
absolute minimum value 65π−3,
at x=65π
This time both extreme values are at critical points inside the interval. If we had missed 65π, the smallest value on our list would have been f(π)=π−2≈1.14, and we'd have the wrong minimum.
Summary
Absolute maximum and minimum values
x2 on [−1,2]:absolute maximum value 4, at x=2
x2 on [−1,2]:absolute maximum value 4,at x=2
The absolute maximum value is the largest value f(x) reaches on the interval, and the absolute minimum value is the smallest. The value itself is the y-coordinate, and where it happens is the x-coordinate.
The Extreme Value Theorem
f continuous on [a,b]⟹absolute maximum value and absolute minimum value on [a,b]
f continuous on [a,b]⟹absolute maximum valueand absolute minimum valueon [a,b]
If f is continuous on a closed interval [a,b], it always has an absolute maximum value and an absolute minimum value on that interval. If the interval isn't closed, like x2 on [−1,2), or if f isn't continuous, like x21 on [−1,1], an extreme value might not exist. A sharp corner doesn't make the function discontinuous. ∣x−1∣ on [0,3] has a corner at x=1, and its maximum is 2 and its minimum is 0.
Where extreme values can happen
x=a,x=b
f′(x)=0
f′(x) doesn’t exist
Inside the interval, any point where f′(x)>0 or f′(x)<0 can't be the highest or lowest point, because the curve is higher on one side and lower on the other. That leaves only the endpoints a and b, and critical points inside [a,b]. At a critical point, f(x) is defined and either f′(x)=0 or f′(x) doesn't exist.
The closed-interval method
f continuous on [a,b]
critical points of f in [a,b]
f(a),f(b)
f at each critical point
largest=absolute maximum value
smallest=absolute minimum value
largest=absolute maximum value
smallest=absolute minimum value
To find the extreme values of a continuous function on [a,b], find the critical points of f and drop any that lie outside [a,b]. Then evaluate f at the endpoints and at each remaining critical point. The largest value is the absolute maximum value, and the smallest is the absolute minimum value. Because we compare the values directly, we don't need to decide what kind of critical point each one is.
Critical points where the derivative doesn't exist
f′(x)=33x2:x=0
∣x2−4∣:x=−2,x=2
Write f′(x) as a single fraction. Look where the denominator is 0 as well as where the numerator is 0. Where the denominator is 0, the fraction is undefined. If f is defined there but its derivative isn't, that x-value is a critical point, as at x=0 for x32. For absolute value functions, check where the expression inside the absolute value is 0, like x=−2 and x=2 for ∣x2−4∣.
Finding every critical point
sinx=21,0≤x≤π:
x=6π,x=65π
Find every solution of f′(x)=0 inside the interval. Leaving off a critical point can make you miss the absolute maximum or minimum value. When values involve roots or π, use decimals to compare them, and write the final answer with exact values.
7
Practice
Give exact values for answers, and use decimals only to compare.
1
Find the absolute maximum and minimum values of f(x)=x2−4x+1 on the interval [0,5].
x=2 is one candidate. Which two endpoints do we also need to check on [0,5]?
If you got a maximum value of 1, at x=0 Check the value at the other endpoint, x=5.
Set the derivative equal to 0 to find the critical points in [0,5].
f′(x)=2x−4=0→x=2
Evaluate f at the critical point and at the endpoints 0 and 5.
f(0)=1,f(2)=−3,f(5)=6
The largest value is 6 and the smallest is −3.
absolute maximum value 6,
at x=5
absolute minimum value −3,
at x=2
2
The graph of f on [−2,4] is shown. Find the absolute maximum and minimum values of f on [−2,4], and where they occur.
If you got a maximum value of 0 The highest point is at x=0, but the maximum value is the height f(0).
At the bottom of the valley, f(2)=0. Is that below f(−2)?
If you got a minimum value of 0, at x=2 Check the left endpoint at x=−2. The value f(−2)=−3 is lower than 0.
Read the values at the endpoints and where the tangent line is horizontal.
endpoints: f(−2)=−3,f(4)=3
f′=0:f(0)=4,f(2)=0
The largest y-value is 4 and the smallest is −3.
absolute maximum value 4,
at x=0
absolute minimum value −3,
at x=−2
3
For which function does the Extreme Value Theorem guarantee an absolute maximum value on the given interval?
Is the interval closed? Is the function continuous at every point in the interval? Does a sharp corner stop a function from being continuous?
If you got (A) Check x=2. The fraction x−21 is undefined there, and 2 is inside [0,3].
If you got (B) Check the interval. The interval (−1,2) doesn't include the endpoints −1 and 2.
If you got (D) Check x=2π. The function tanx is undefined there, and 2π is inside [0,π].
The Extreme Value Theorem requires the interval to be closed and the function to be continuous on that interval.
(A):x−21 undefined at x=2,2 in [0,3]
(B):(−1,2) without −1 and 2
(D):tanx undefined at x=2π,2π in [0,π]
The function ∣x−1∣ is continuous on all of [0,3], so the theorem guarantees an absolute maximum value even though f′(1) doesn't exist.
(C):∣x−1∣ continuous on [0,3],f′(1) doesn’t exist
4
Find the absolute maximum and minimum values of f(x)=x32(x−5) on the interval [−1,3].
Put the derivative over one denominator. Where is the denominator equal to 0?
To evaluate (−1)32, take the cube root first, then square the result.
If you got a maximum value of −239, at x=3 Did you check x=0, where the derivative doesn't exist?If you got a maximum value of 6, at x=−1 Check (−1)32. The cube root of −1 is −1, and squaring it gives +1.
DifferentiateUse the product rule to find f′(x), then write it over a common denominator.
Find the critical pointsThe numerator is 0 at x=2, and the denominator is 0 at x=0, where f(0) is defined.
f′(x)=0:x=2
f′(x) doesn’t exist:x=0,f(0)=0
Test the candidatesEvaluate f at the critical points and endpoints, using decimals to compare the negative values.
f(−1)=(−1)32(−6)=1⋅(−6)=−6
f(0)=0,f(2)=−334≈−4.76,f(3)=−239≈−4.16
The largest value is 0 and the smallest is −6.
absolute maximum value 0,
at x=0
absolute minimum value −6,
at x=−1
5
Find the absolute maximum and minimum values of f(x)=sinx+cosx on the interval [0,2π].
On the interval [0,2π], how many angles have cosx=sinx?
If you got a minimum value of 1 Did you check the third quadrant, where both sine and cosine are negative?
Set the derivative equal to 0 to find the critical points.
f′(x)=cosx−sinx=0→cosx=sinx
On the unit circle, the x-coordinate equals the y-coordinate along the line y=x, in the first and third quadrants.
0≤x≤2π:x=4π,x=45π
Evaluate f at the two critical points and at the endpoints, then compare the values.
f(0)=1,f(4π)=2,f(45π)=−2,f(2π)=1
absolute maximum value 2,
at x=4π
absolute minimum value −2,
at x=45π
6
The function f is differentiable on [0,6], and f′(x)=0 only at x=1 and x=4. The table gives f(0)=2,f(1)=5,f(2)=4,f(4)=−3,f(6)=1. Find the absolute maximum and minimum values of f on [0,6]. Justify your answer.
Since f is differentiable on [0,6], can f′ fail to exist anywhere? What does that leave for candidates?
Because f is differentiable, f′ exists everywhere, so the only candidates are the endpoints and the points where f′(x)=0.
f differentiable on [0,6]→f continuous,f′(x) exists for every x
candidates: x=0,1,4,6
Since x=2 isn't an endpoint or a critical point, leave it out and compare the values at the candidates.
f(0)=2,f(1)=5,f(4)=−3,f(6)=1
absolute maximum value 5,
at x=1
absolute minimum value −3,
at x=4
7
A particle moves along a line with position x(t)=t3−9t2+15t. Find its maximum speed for 1≤t≤5. (Challenge)
Speed is ∣v(t)∣. What are the largest and smallest values of v(t) on [1,5]?
If you got 0 That is the largest velocity v(t), but speed is ∣v(t)∣.If you got −12 Velocity can be negative, but speed is its absolute value, ∣−12∣.If you got 7 That is the position x(1). Find the velocity v(t)=x′(t) first.
Find the velocityDifferentiate the position to get v(t), and remember that speed is ∣v(t)∣.
v(t)=x′(t)=3t2−18t+15=3(t−1)(t−5),speed=∣v(t)∣
Find the extreme values of velocityDifferentiate v(t) to find its critical points, then test them along with the endpoints.
a(t)=v′(t)=6t−18=0→t=3
v(1)=0,v(3)=−12,v(5)=0
Take the absolute valueThe velocity stays between −12 and 0, so the speed ∣v(t)∣ is at most 12.