Largest and smallest values on an interval
Quick review (2 minutes)
The big picture. Find the largest and smallest outputs on an allowed interval.
On a closed interval a ≤ x ≤ b, a polynomial always has a global maximum and a global minimum. Each one sits at a local maximum or local minimum inside the interval, or at an endpoint (x = a or x = b). The maximum or minimum is the output, the y-value. The place where it happens is the input, the x-value.
Use the closed-interval rule on f(x) = − 12x for −3 ≤ x ≤ 5. Both endpoints are included, so compare them with every interior local maximum and minimum. These are the possible places for a global extreme value.
Read the marked hilltop (−2, 16) and valley (2, −16) in the example. By the local-extreme rule, a hilltop is highest nearby and a valley is lowest nearby. A table alone cannot prove that no turning point lies between its samples; use the marked features and the formula check below.
Evaluate all four candidates by substitution: f(−3) = −27 + 36 = 9, f(−2) = −8 + 24 = 16, f(2) = 8 − 24 = −16 and f(5) = 125 − 60 = 65. The rule compares outputs, so keep each height paired with its input.
Compare the heights: 65 > 16 > 9 > −16. The local maximum is 16 at x = −2 and the local minimum is −16 at x = 2. The global maximum is 65 at x = 5; the global minimum is −16 at x = 2.
Check the bounds over the whole interval using the example’s factorizations. Since x + 4 is positive there and a square is never negative, f(x) + 16 = (x − 2(x + 4) ≥ 0. Thus f(x) ≥ −16. Also 65 − f(x) = (5 − x)( + 5x + 13) ≥ 0: the first factor is never negative, and the second equals (x + 2.5 + 6.75, which is positive. Thus f(x) ≤ 65. Substitution shows both bounds are reached. Near −2, 16 − f(x) = (x + 2(4 − x) ≥ 0, confirming the local maximum.
On an interval that includes both ends, a polynomial reaches a largest and a smallest value. When an end is left out, the graph can come close to a height there without reaching it.
The graph shows g(x) = −(x − 1 + 4. Name its local maximum.
Local maximum: 4, at x = 1
Trace the graph inside the interval.
Find where rising changes to falling.
Read the output and its input.
Check heights on both sides of the point.
Trace the graph inside the interval.
Find where falling changes to rising.
Read the output and its input.
Check heights on both sides of the point.
Mark the allowed interval and which endpoints are included.
Read every hilltop and valley inside the interval from the graph.
Evaluate those points and the included endpoints.
Compare the heights; report ties at every input that reaches the winning height.
For excluded endpoints, check approached heights before claiming a maximum or minimum.
State each answer as an output value and the input where it occurs.
Mark the allowed interval and which endpoints are included.
Read every hilltop and valley inside the interval from the graph.
Evaluate those points and the included endpoints.
Compare the heights; report ties at every input that reaches the winning height.
For excluded endpoints, check approached heights before claiming a maximum or minimum.
State each answer as an output value and the input where it occurs.
Name the square cut x; it becomes the height.
Subtract twice x from each original edge to get the base dimensions.
Multiply the three dimensions for volume.
Require every dimension to be positive to find the cut interval.
Substitute the requested cut and report volume in cubic units.
Build the volume formula and its physical interval.
Keep only the cuts that also meet any tool or size limit in the question.
Read the peaks inside the allowed interval from the graph or the given data, and evaluate the included ends.
Compare allowed candidates and check the curve between them.
Report both the cut length and the greatest volume.
Wrong: choose the highest hill and ignore the ends. Right: compare every hilltop and valley inside the interval with every included end.
multiplicity
The number of times the same factor appears in the factored form: the exponent on that factor. It decides whether the graph crosses the x-axis or only touches it.
local maximum
The height of a point that is at least as high as every point close to it: the top of a hill on the graph, read as a y-value. Parts of the graph farther away may still be higher.
local minimum
The height of a point that is at least as low as every point close to it: the bottom of a valley on the graph, read as a y-value. Parts of the graph farther away may still be lower.
global maximum
The largest output on the whole graph, or on the whole stated interval. No point anywhere is higher. Some graphs have none, because an arm rises without end.
global minimum
The smallest output on the whole graph, or on the whole stated interval. No point anywhere is lower. Some graphs have none, because an arm falls without end.
1 In plain words
The big picture. Find the largest and smallest outputs on an allowed interval. Use the formulas and graph features from the previous lessons. Compare every interior high and low point with the included endpoints. This completes the graphing unit; polynomial division comes next.
A hilltop is highest nearby. A valley is lowest nearby. These are the local extrema: the local maximums and minimums. A global maximum or minimum is the highest or lowest output on the whole allowed interval. Compare the interior hills and valleys with every included endpoint. An excluded endpoint can be approached, but cannot be the place where an answer is reached.
2 Picture it
Reminder
Reminder: Rising and falling, Powers and products of negative numbers, Comparing negative numbers, Closed and open intervals, Volume of a box, Solving a linear inequality, End behavior, A square is never negative, Multiplicity
- Rising and falling. Read a graph from left to right. Rising means the height goes up as x increases, falling means it goes down. From (−3, 9) to (−2, 16) the graph rises.
- Powers and products of negative numbers. A negative number cubed stays negative, and a negative times a negative is positive: (−3 = −27 and −12 · (−3) = +36, so f(−3) = −27 + 36 = 9.
- Comparing negative numbers. The number farther left on the number line is smaller: −16 < −9, even though 16 > 9.
- Closed and open intervals. −3 ≤ x ≤ 5, written [−3, 5], includes both ends. 0 < x < 5, written (0, 5), includes neither end.
- Volume of a box. Volume = length × width × height. A box 4 by 3 by 2 holds 4 × 3 × 2 = 24 unit cubes.
- Solving a linear inequality. 10 − 2x > 0: add 2x to both sides to get 10 > 2x, then divide by 2 to get 5 > x, which is x < 5. Dividing by a positive number does not flip the sign.
- End behavior. The leading term decides the arms. − 12x has leading term , so the left arm falls and the right arm rises.
- A square is never negative. (x − 2 is 0 at x = 2 and positive everywhere else: (1 − 2 = 1 and (3 − 2 = 1.
- Multiplicity. A factor that appears an even number of times, such as (x + 2, makes the graph touch the x-axis at that zero and turn back.
3 Why
The graph of a polynomial is one unbroken curve. Drawing it from the left end of a closed interval to the right end, your pen never leaves the paper, so it must reach a highest height and a lowest height. Where can the highest point be? If it sits strictly inside the interval, the graph on both sides of it is no higher, so it is a hilltop: a local maximum. The only other places are the two ends. So you compare hilltops and end heights, and nothing else. Swap highest for lowest and the same argument gives valleys and ends.
4 The rule
On a closed interval , a polynomial always has a global maximum and a global minimum.source 1
Each one sits at a local maximum or local minimum inside the interval, or at an endpoint ( or ).source 1 The maximum or minimum is the output, the y-value. The place where it happens is the input, the x-value.
Sources (1)
- Gilbert Strang and Edwin Herman. Calculus Volume 1, 4.3 Maxima and Minima. OpenStax, 2016. CC BY-NC-SA 4.0. Read 16 Nov 2026.
The same idea, five ways
Say it out loud: 'g has a local maximum of 4 at x equals 1.' For a whole interval: 'on the interval from negative 2 to 3, the global maximum of g is 4, at x equals 1, and the global minimum is negative 5, at x equals negative 2.'
The largest output of g on the interval −2 ≤ x ≤ 3 is 4, and it occurs at the input x = 1. The smallest output is −5, and it occurs at the input x = −2.
- g(1) = 4 and g(x) ≤ 4 for every x with −2 ≤ x ≤ 3 (global maximum)
- g(−2) = −5 and g(x) ≥ −5 for every x with −2 ≤ x ≤ 3 (global minimum)
- every output on [−2, 3] lies between them: −5 ≤ g(x) ≤ 4
- as points on the graph: highest point (1, 4), lowest point (−2, −5)
- local maximum at x = 1: g(x) ≤ g(1) for every x close to 1
On a road trip, each mountain pass you drive over is a local maximum. The highest elevation reached anywhere between the start town and the end town is the global maximum, and it may be one of the two towns.
The same idea, other ways
Hold a flat board high above the graph and lower it, keeping it level. Looking only at the part of the graph over the interval, the board's height when it first touches the graph is the global maximum, and the point it touches shows where. Now raise a second flat board from below. Its height when it first touches is the global minimum. In the picture the curve is h(x) = (x − 3 − 4 from x = 0 to x = 4. The ceiling comes to rest on the left end, (0, 5). The floor comes to rest on the valley, (3, −4). So the global maximum is 5, at x = 0, and the global minimum is −4, at x = 3.
In a theater, the tallest person in your row is a local maximum: at least as tall as the people sitting near them in that row. The tallest person in the whole theater is the global maximum. The tallest in your row may be short compared with someone ten rows back. To find the theater's tallest person you do not measure everyone. You measure the tallest of each row, plus the two ushers standing at the doors, who sit in no row at all. The ushers are the endpoints. The tallest of that short list is the tallest in the theater.
The table lists f(x) = − 12x for the integers from −3 to 3. Read along the output row. The outputs 9, 16, 11 go up and then down, which points to a hilltop: a local maximum of 16 at x = −2. The outputs −11, −16, −9 go down and then up, which points to a valley: a local minimum of −16 at x = 2. Now scan the whole row. The largest entry is 16 and the smallest is −16, so on this interval the hilltop is also the global maximum and the valley is also the global minimum. The end entries, 9 and −9, win nothing. A table samples only a few inputs, so it points and does not prove. Here two exact facts confirm it: 16 − f(x) = (x + 2(4 − x) and f(x) + 16 = (x − 2(x + 4), and on this interval neither is ever negative.
A hilltop is the touch and turn picture from the multiplicity lesson, lifted off the x-axis. Take f(x) = − 12x, which has a hilltop at height 16. Subtract 16 and factor: f(x) − 16 = − 12x − 16 = (x + 2(x − 4). The factor (x + 2) appears twice, an even multiplicity, so the graph of f(x) − 16 touches the x-axis at x = −2 and turns back. Near x = −2 the other factor, x − 4, is negative, so f(x) − 16 is zero or negative there: the graph turns back down. Slide everything back up 16 units. The graph of f touches the height 16 at x = −2 and turns back down. That is a local maximum of 16 at x = −2.
On a closed interval: hills, valleys, ends. Write down those heights and nothing else. The biggest is the global maximum and the smallest is the global minimum. If you keep only three words from this lesson, keep those.
| Name | Everyday picture | What it is compared with | Where it can sit |
|---|---|---|---|
| local maximum | the top of one hill | only the points close by, on both sides: none is higher | inside the interval; unless the polynomial is constant, where the graph changes from rising to falling |
| local minimum | the bottom of one valley | only the points close by, on both sides: none is lower | inside the interval; unless the polynomial is constant, where the graph changes from falling to rising |
| global maximum | the highest point of the whole walk | every point on the interval | at a local maximum or at an endpoint |
| global minimum | the lowest point of the whole walk | every point on the interval | at a local minimum or at an endpoint |
Part 1: Local maximum
What it asks: Find a local maximum from the graph.
A local maximum is a height at least as high as nearby heights. A rise followed by a fall marks a hilltop.
- Picture: the top of a hill. Unless the polynomial is constant, the graph rises into it and falls away from it.
- The local maximum is the height there (the y-value). Say where it is with the x-value.
- It is compared only with points close to it, on both sides.
- A graph can have several, one for each hilltop, or none at all.
- Other name: relative maximum. Plural: local maxima.
The plan
- Trace the graph inside the interval.
- Find where rising changes to falling.
- Read the output and its input.
- Check heights on both sides of the point.
Worked example
Reading a hilltop
The graph shows g(x) = −(x − 1 + 4. Name its local maximum.
What it asks. Find a local maximum from the graph.
Show the steps and the answer
The plan. Read the turn and report its height and input.
- Plan. Read the turn and report its height and input.
- Say what is asked: find the place where the graph stops rising and starts falling, then report its height and its x-value.A local maximum is a hilltop, and the answer has a value and a place.
- Trace from the left. The graph rises until the point (1, 4), then falls.Rising then falling is the mark of a hilltop.
- Read the point: the height is 4 and the input is 1.The second number of the point is the maximum. The first number is where it occurs.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Trap: The output is the value; the input says where it occurs.
- Trick: Compare heights in one list before choosing.
Part 2: Local minimum
What it asks: Find a local minimum from the graph.
A local minimum is a height at least as low as nearby heights. A fall followed by a rise marks a valley.
- Picture: the bottom of a valley. Unless the polynomial is constant, the graph falls into it and rises out of it.
- The local minimum is the height there (the y-value). Say where it is with the x-value.
- It is compared only with points close to it, on both sides.
- A graph can have several, one for each valley, or none at all.
- Other name: relative minimum. Plural: local minima.
The plan
- Trace the graph inside the interval.
- Find where falling changes to rising.
- Read the output and its input.
- Check heights on both sides of the point.
Worked example
Reading a valley
The graph shows h(x) = (x − 3 − 4. Name its local minimum.
What it asks. Find a local minimum from the graph.
Show the steps and the answer
The plan. Read the turn and report its height and input.
- Plan. Read the turn and report its height and input.
- Say what is asked: find the place where the graph stops falling and starts rising, then report its height and its x-value.A local minimum is a valley bottom, and the answer has a value and a place.
- Trace from the left. The graph falls until the point , then rises.Falling then rising is the mark of a valley.
- Read the point: the height is and the input is 3.The y-value is the minimum. The x-value is where it occurs.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Trap: The output is the value; the input says where it occurs.
- Trick: Compare heights in one list before choosing.
Part 3: Global maximum
What it asks: Find the largest reached output on the allowed interval.
A global maximum beats every height on the interval. It may occur at a hilltop or an included endpoint, and ties are allowed.
- It is one number: the largest output on the whole interval.
- It can be reached at more than one x. That is a tie: report the number once and list each x.
- On a closed interval it always exists, and it sits at a local maximum or at an end.
- For a polynomial that is not constant, over all real numbers it exists only when both arms point down (even degree, negative leading coefficient). If an arm points up, the outputs grow without end and there is no global maximum.
- Other name: absolute maximum.
The plan
- Mark the allowed interval and which endpoints are included.
- Read every hilltop and valley inside the interval from the graph.
- Evaluate those points and the included endpoints.
- Compare the heights; report ties at every input that reaches the winning height.
- For excluded endpoints, check approached heights before claiming a maximum or minimum.
- State each answer as an output value and the input where it occurs.
Worked example
The highest point on an interval
Find the global maximum of g(x) = −(x − 1 + 4 on the interval −2 ≤ x ≤ 3.
What it asks. Find the largest reached output on the allowed interval.
Show the steps and the answer
The plan. Compare the hilltops and valleys inside the interval with its included ends.
- Plan. Compare the hilltops and valleys inside the interval with its included ends.
- Say what is asked: of all the heights the graph reaches between and , find the largest, and say where it happens.Global means compared with every point on the interval.
- List the candidates. Left end: . Hilltop: . Right end: .The global maximum can only be at a hilltop or at an end.
- Pick the largest of , 4 and 0. It is 4.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Trap: The output is the value; the input says where it occurs.
- Trick: Compare heights in one list before choosing.
Part 4: Global minimum
What it asks: Find the smallest reached output on the allowed interval.
A global minimum is below every height on the interval. It may occur at a valley or an included endpoint, and ties are allowed.
- It is one number: the smallest output on the whole interval.
- It can be reached at more than one x. Report the number once and list each x.
- On a closed interval it always exists, and it sits at a local minimum or at an end.
- For a polynomial that is not constant, over all real numbers it exists only when both arms point up (even degree, positive leading coefficient). If an arm points down, the outputs fall without end and there is no global minimum.
- Other name: absolute minimum.
The plan
- Mark the allowed interval and which endpoints are included.
- Read every hilltop and valley inside the interval from the graph.
- Evaluate those points and the included endpoints.
- Compare the heights; report ties at every input that reaches the winning height.
- For excluded endpoints, check approached heights before claiming a maximum or minimum.
- State each answer as an output value and the input where it occurs.
Worked example
The lowest point on an interval
Find the global minimum of g(x) = −(x − 1 + 4 on the interval −2 ≤ x ≤ 3.
What it asks. Find the smallest reached output on the allowed interval.
Show the steps and the answer
The plan. Compare the hilltops and valleys inside the interval with its included ends.
- Plan. Compare the hilltops and valleys inside the interval with its included ends.
- Say what is asked: of all the heights the graph reaches between and , find the smallest, and say where it happens.Global means compared with every point on the interval.
- Look for valleys. The graph rises from the left end to the top at (1, 4), then falls to the right end. It never changes from falling to rising.With no valley inside, the only candidates for the lowest point are the two ends.
- Compare the ends: and . The smaller is .−5 is to the left of 0 on the number line, so −5 < 0.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Trap: The output is the value; the input says where it occurs.
- Trick: Compare heights in one list before choosing.
Part 5: The box-volume model
What it asks: Write the volume and allowed cuts for an open box.
Equal squares cut from all four corners become the box’s height. Each base edge loses one cut at each end. Multiply height, length and width, then keep only cuts that leave all three positive.
- x = the side of each cut square = the height of the box.
- Length = sheet length − 2x. Width = sheet width − 2x. Two squares come off each edge, one at each end.
- Volume: V(x) = x(sheet length − 2x)(sheet width − 2x). Three factors, each with one x, so V is a polynomial of degree 3.
- Interval: 0 < x < half the shorter side. Outside it, a side of the box would be zero or negative.
- V is already in factored form. Its zeros, counted with multiplicity, are 0, half the shorter side and half the longer side. The first two are the cuts that leave no box. Half the longer side lies past every cut that fits, unless the sheet is square, when the last two are one double zero. The best cut is the hilltop between x = 0 and the next zero.
The plan
- Name the square cut x; it becomes the height.
- Subtract twice x from each original edge to get the base dimensions.
- Multiply the three dimensions for volume.
- Require every dimension to be positive to find the cut interval.
- Substitute the requested cut and report volume in cubic units.
Worked example
Numbers first, then x
A sheet of cardboard is 20 cm by 30 cm. A square 3 cm on a side is cut from each corner and the flaps are folded up. Find the length, width, height and volume of the box. Then write the volume for a cut of any size x, with the interval of cuts that make a real box.
What it asks. Write the volume and allowed cuts for an open box.
Show the steps and the answer
The plan. Subtract two cuts from each edge, multiply the dimensions, then require positive lengths.
- Plan. Subtract two cuts from each edge, multiply the dimensions, then require positive lengths.
- Say what is asked: first build one real box with a 3 cm cut, then replace 3 with x to get a formula that works for every cut.Doing it once with a number shows exactly where x will go.
- Length: cm.A 3 cm square is removed from both ends of the 30 cm edge.
- Width: cm.A 3 cm square is removed from both ends of the 20 cm edge.
- Height: 3 cm.Each flap is as tall as the side of the cut square.
- Volume: cubic cm.The volume of a box is length × width × height.
- Replace 3 with x. Length is , width is , height is x. So .Subtracting x twice is subtracting 2x.
- Find the interval. A cut has positive size, so x > 0. Setting finds the one cut that would use up the whole short side: , so . Plug it back: , no width left. So x must stay below 10.Every side of a real box is positive, and the shorter side runs out first. The interval is 0 < x < 10.
- Cut of 3 cm: a box 24 cm by 14 cm by 3 cm, with volume 1008 cubic cm
- Any cut x: V(x) = x(30 − 2x)(20 − 2x), for 0 < x < 10
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Trap: Each base edge loses two cuts, not one.
- Trick: Half the shorter edge sets the upper limit for a real box.
Part 6: A largest volume with a cut limit
What it asks: Choose the best cut on the permitted interval.
The plan
- Build the volume formula and its physical interval.
- Keep only the cuts that also meet any tool or size limit in the question.
- Read the peaks inside the allowed interval from the graph or the given data, and evaluate the included ends.
- Compare allowed candidates and check the curve between them.
- Report both the cut length and the greatest volume.
Tips and tricks
- Trap: The best cut for the unrestricted box may be forbidden.
- Trick: If volume rises throughout the allowed interval, the included right endpoint wins.
5 How
- Use the closed-interval rule on f(x) = − 12x for −3 ≤ x ≤ 5. Both endpoints are included, so compare them with every interior local maximum and minimum. These are the possible places for a global extreme value.
- Read the marked hilltop (−2, 16) and valley (2, −16) in the example. By the local-extreme rule, a hilltop is highest nearby and a valley is lowest nearby. A table alone cannot prove that no turning point lies between its samples; use the marked features and the formula check below.
- Evaluate all four candidates by substitution: f(−3) = −27 + 36 = 9, f(−2) = −8 + 24 = 16, f(2) = 8 − 24 = −16 and f(5) = 125 − 60 = 65. The rule compares outputs, so keep each height paired with its input.
- Compare the heights: 65 > 16 > 9 > −16. The local maximum is 16 at x = −2 and the local minimum is −16 at x = 2. The global maximum is 65 at x = 5; the global minimum is −16 at x = 2.
- Check the bounds over the whole interval using the example’s factorizations. Since x + 4 is positive there and a square is never negative, f(x) + 16 = (x − 2(x + 4) ≥ 0. Thus f(x) ≥ −16. Also 65 − f(x) = (5 − x)( + 5x + 13) ≥ 0: the first factor is never negative, and the second equals (x + 2.5 + 6.75, which is positive. Thus f(x) ≤ 65. Substitution shows both bounds are reached. Near −2, 16 − f(x) = (x + 2(4 − x) ≥ 0, confirming the local maximum.
Check what is reached
- On an interval that includes both ends, a polynomial reaches a largest and a smallest value. When an end is left out, the graph can come close to a height there without reaching it.
6 Worked example
Worked example
A hilltop that is not the highest point
The picture shows points on the graph of f(x) = − 12x for −3 ≤ x ≤ 5, and the table lists the same points. Find every local maximum and local minimum. Then find the global maximum and the global minimum on this interval.
What it asks. Find local and global extrema, giving each value and its input.
Show the steps and the answer
The plan. Locate hills and valleys, include allowed endpoints, then compare heights.
- Plan. Locate hills and valleys, include allowed endpoints, then compare heights.
- Say what is asked. Find the hilltops and valley bottoms between and . Then find the highest and the lowest heights the graph reaches anywhere on that stretch.Local means compared with nearby points. Global means compared with every point on the interval.
- Mark the two ends. Left end: , where the graph is at height 9, the point . Right end: , at height 65, the point (5, 65).Both ends are included in −3 ≤ x ≤ 5, so both are candidates.
- Read the dots from the left. They rise from to , then fall to . The change from rising to falling is at .Rising then falling points to a hilltop: f has a local maximum of 16 at x = −2, which the check proves.
- Keep reading. The dots fall through and down to , then rise to . The change from falling to rising is at .Falling then rising points to a valley bottom: f has a local minimum of −16 at x = 2, which the check proves.
- Read to the end. From the dots only rise: through and (4, 16) to the right end (5, 65).The dots turn no more, and past x = 2 the quantity f(x) + 16 = (x − 2(x + 4) only grows, so there is no other hilltop or valley.
- List the candidate heights: left end 9, hilltop 16, valley , right end 65.The global maximum and the global minimum can only be at a hilltop, a valley bottom or an end.
- Pick the largest, 65, and the smallest, .65 > 16 > 9 > −16. The right end beats the hilltop, so here the local maximum is not the global maximum.
- Local maximum: 16, at x = −2
- Local minimum: −16, at x = 2
- Global maximum on −3 ≤ x ≤ 5: 65, at x = 5 (the right end)
- Global minimum on −3 ≤ x ≤ 5: −16, at x = 2 (the valley)
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
One valley on a parabola
The graph shows p(x) = (x + 1 − 3 over all real numbers. Name the local minimum. Is it also the global minimum? Is there a global maximum?
What it asks. Find the local minimum, then decide whether it is the lowest point and whether a highest point exists.
Show the steps and the answer
The plan. Find the valley, then read both arms to see whether the graph has a highest or a lowest point.
- Plan. Find the valley, then read both arms to see whether the graph has a highest or a lowest point.
- Say what is asked: find the valley bottom, decide whether anything on the whole graph is lower, and decide whether the graph has a highest point.There is no interval here, so global means over every real number.
- Trace from the left. The graph falls until , then rises.Falling then rising is a valley: a local minimum of −3 at x = −1.
- Look at the arms. The leading term is , so both arms rise forever.With both arms going up, no point is lower than the valley. The local minimum is also the global minimum.
- Look for a highest point. There is none.The arms rise without end, so for any height you name the graph goes higher. There is no global maximum.
- Local minimum: −3, at x = −1
- Global minimum: −3, at x = −1 (the same point)
- Global maximum: none
Rung 2 of 6
One hill, one valley, two ends
The picture shows points on the graph of f(x) = − 12x for −3 ≤ x ≤ 3. Find the local maximum, the local minimum, the global maximum and the global minimum.
What it asks. Find local and global extrema, giving each value and its input.
Show the steps and the answer
The plan. Locate hills and valleys, include allowed endpoints, then compare heights.
- Plan. Locate hills and valleys, include allowed endpoints, then compare heights.
- Say what is asked: find the hilltop and the valley, then the highest and lowest heights reached anywhere from to .The first two answers are local, the last two are global.
- Mark the ends: on the left and on the right.Both ends are included, so both heights are candidates.
- Read the dots from the left: up from to , then down. Local maximum of 16 at .Rising then falling points to a hilltop; the check proves it.
- Keep reading: down through (0, 0) to , then up to . Local minimum of at .Falling then rising points to a valley; the check proves it.
- List the candidates: 9, 16, . The largest is 16 and the smallest is .This time the hilltop and the valley beat both ends, so each local answer is also the global answer.
- Local maximum: 16, at x = −2
- Local minimum: −16, at x = 2
- Global maximum on −3 ≤ x ≤ 3: 16, at x = −2
- Global minimum on −3 ≤ x ≤ 3: −16, at x = 2
Rung 3 of 6
Ties
The picture shows points on the graph of w(x) = − 8 for −3 ≤ x ≤ 3. Find every local maximum and local minimum, then the global maximum and the global minimum.
What it asks. Find local and global extrema, giving each value and its input.
Show the steps and the answer
The plan. Locate hills and valleys, include allowed endpoints, then compare heights.
- Plan. Locate hills and valleys, include allowed endpoints, then compare heights.
- Say what is asked: find all hilltops and valleys, then the highest and lowest heights reached from to .There may be more than one of each, so read the whole interval.
- Mark the ends: and (3, 9).Both ends are included, so both are candidates.
- Read the dots from the left: down from to , then up. Local minimum of at .Falling then rising points to a valley; the check proves it.
- Keep reading: up to (0, 0), then down. Local maximum of 0 at .Rising then falling points to a hilltop; the check proves it.
- Keep reading: down to , then up to the right end (3, 9). Local minimum of at .Falling then rising points to a second valley; the check proves it.
- List the candidates: 9, , 0, , 9. The largest is 9 and the smallest is .The hilltop at height 0 loses to the ends, so it is local only.
- Report each winning value once and list both places where it occurs.A global maximum is one number, even when two points reach it.
- Local maximum: 0, at x = 0
- Local minimum: −16, at x = −2 and at x = 2
- Global maximum on −3 ≤ x ≤ 3: 9, at x = −3 and at x = 3 (both ends)
- Global minimum on −3 ≤ x ≤ 3: −16, at x = −2 and at x = 2
Rung 4 of 6
A tray from a square sheet
A square sheet of metal is 30 cm on each side. A square of side x cm is cut from each corner and the four flaps are folded up to make an open tray. Write the volume V(x), give the interval of x-values that make a real tray, and find the volume when x = 5.
What it asks. Write the volume model, allowed cuts and volume at the given cut.
Show the steps and the answer
The plan. Form the three dimensions, multiply them, restrict the cut and substitute.
Sheet: 30 by 30
Cut: a square of side x from each corner
Height = x
Each side of the base = 30 − 2x
0 < x < 15
- Plan. Form the three dimensions, multiply them, restrict the cut and substitute.
- Say what is asked: a formula that turns the cut size into the tray's volume, the cut sizes that are possible, and one value of the formula.The formula and its interval together are the model.
- Height: x.Each flap folds up to the height of the cut square.
- Each side of the base: .A square of side x is removed from both ends of every 30 cm edge.
- Volume: .Volume is length × width × height, and here the length and the width are equal.
- Interval: a cut has positive size, so x > 0. Setting finds the one cut that would leave no base at all: , so . Plug it back: . So x must stay below 15.The base must have positive length. The interval is 0 < x < 15.
- Evaluate: .The input is 5, so every x becomes 5. Square before multiplying.
- Interval: 0 < x < 15
- V(5) = 2000 cubic cm
Rung 5 of 6
The best cut for a rectangular sheet
A sheet of cardboard is 10 inches by 16 inches. A square of side x inches is cut from each corner and the flaps are folded up to make an open box. Write V(x) and its interval. Then use the table and the picture to find the cut that gives the largest volume, and that volume.
What it asks. Find the allowed cut that gives the greatest volume.
Show the steps and the answer
The plan. Build the model, restrict the interval and compare the peak with allowed endpoints.
- Plan. Build the model, restrict the interval and compare the peak with allowed endpoints.
- Say what is asked: build the volume formula, then find the highest point of its graph over the cuts that are possible. That is a global maximum.Largest volume means largest output of V.
- Height: x. Length: . Width: .The flaps are x tall, and a square comes off both ends of each edge.
- Volume: .Volume is length × width × height.
- Interval: x > 0. Setting finds the cut that uses up the 10 inch side: , and plugging back gives . Setting gives , and . Both sides must stay positive, so x < 5 and x < 8. The stricter one is x < 5.The shorter side runs out first. The interval is 0 < x < 5.
- Fill the table. . . . . At and the formula gives 0.The columns at x = 1, 2, 3 and 4 are possible boxes. At x = 0 and x = 5 the formula gives 0, and no box is made.
- Read the output row: 0, 112, 144 rising, then 120, 64, 0 falling. The change from rising to falling is near .Rising then falling points to a hilltop; the check proves it.
- Look closer on each side of 2. and . Both are below 144.A table only shows the inputs you chose, so look between the columns; the check proves x = 2 exactly.
- Compare with the ends. Near and near the volume shrinks toward 0, so the hilltop wins.The global maximum is at a hilltop or at an end, and the ends give nothing here.
- V(x) = x(16 − 2x)(10 − 2x), for 0 < x < 5
- Best cut: x = 2 inches
- Largest volume: 144 cubic inches (a box 12 by 6 by 2)
Rung 6 of 6
The best cut is not allowed
Use the same 10 inch by 16 inch sheet, with V(x) = x(16 − 2x)(10 − 2x). The cutting tool cannot cut squares larger than 1.5 inches on a side, so now 0 < x ≤ 1.5. What is the largest volume possible, and which cut gives it?
What it asks. Find the allowed cut that gives the greatest volume.
Show the steps and the answer
The plan. Keep only the allowed cuts, look for a hilltop inside them, then compare the ends.
- Plan. Keep only the allowed cuts, look for a hilltop inside them, then compare the ends.
- Say what is asked: the same curve, but a shorter interval. Find the highest point of the graph of V between (not included) and (included).Changing the interval can change the global maximum.
- Mark the interval. The hilltop found in rung 5 is at , and 2 > 1.5.A hilltop outside the interval is not a candidate.
- Look for changes of direction inside the interval. . The sampled outputs only rise.The samples suggest no hilltop or valley inside, and the check proves V keeps rising, so only the ends are left.
- Check the ends. The left end, , is not included, and the volume near it is close to 0. The right end, , is included, with .An end that is included is a candidate. An end that is left out is not.
- The graph rises all the way to the right end, so the right end is the highest point on this interval.When a graph only rises, its last point is its highest.
- Largest volume: 136.5 cubic inches
- Cut: x = 1.5 inches (the right end of the interval), which gives a box 13 by 7 by 1.5
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device: hills, valleys, ends. Those are the only candidates for the global maximum and the global minimum on a closed interval.
- Maximum and minimum are heights (y). The x-value is the address. Give both: 'the global maximum is 65, at x = 5'.
- Cover the graph outside the interval with two sheets of paper before you read anything. What is covered does not count.
- A global maximum is one number, but it can be reached at more than one x. Report the number once and list every x.
- Same curve, different interval, different answer: f(x) = − 12x has global maximum 16 on −3 ≤ x ≤ 3 and 65 on −3 ≤ x ≤ 5. Read the interval before the graph.
- Box check: put one real cut into your formula and compare with a box worked out by hand. For a 10 by 16 sheet and a 2 inch cut the box is 12 by 6 by 2, so the formula must give 144.
- Two squares come off every edge, one at each end. That is where the 2 in 16 − 2x comes from.
- A table only shows the inputs you picked. If the hilltop might sit between two columns, add inputs between them and look again.
- Other words for the same things: relative means local, absolute means global. The plurals are maxima and minima, and extrema means all of them together.
- Nothing here needs memorizing beyond hills, valleys, ends. The box formula can be rebuilt in ten seconds from a sketch of the sheet, so rebuild it each time.
7 The trap
Wrong: choose the highest hill and ignore the ends. Right: compare every hilltop and valley inside the interval with every included end.
Flash cards
Say the answer out loud, then flip.
On a closed interval, where can the global maximum of a polynomial sit?
What is the difference between a local maximum and the global maximum?
- A local maximum is the highest spot in its own neighborhood: the top of one hill.
- The global maximum is the single highest height on the whole interval, the highest point of your entire walk.
For f(x) = − 12x on −3 ≤ x ≤ 5, the hilltop is 16 high and the right end is 65 high. What is the global maximum, and where does it occur?
- Value: 65
- Where: x = 5
- The trail is still climbing at the end marker, so the end is higher than the hilltop.
On a closed interval, which heights go on the list before you choose the global maximum and global minimum?
- The height at every hilltop (local maximum).
- The height at every valley bottom (local minimum).
- The height at each end of the interval.
- The largest on the list is the global maximum. The smallest is the global minimum.
Sources
- Gilbert Strang and Edwin Herman. Calculus Volume 1, 4.3 Maxima and Minima. OpenStax, 2016. CC BY-NC-SA 4.0. Read 16 Nov 2026.