Quarry School

Largest and smallest values on an interval

Subject: MathematicsLeans on: Rising and fallingLeans on: Powers and products of negative numbersLeans on: Comparing negative numbersLeans on: Closed and open intervalsLeans on: Volume of a boxLeans on: Solving a linear inequalityLeans on: End behaviorLeans on: A square is never negativeLeans on: Multiplicity
Level 1 · FoundationsAbout 36 min read7 new terms
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    The big picture. Find the largest and smallest outputs on an allowed interval.

    Rule

    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.

    Step

    1. Use the closed-interval rule on f(x) = x3 − 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.

    2. 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.

    3. 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.

    4. 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.

    5. 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)2(x + 4) ≥ 0. Thus f(x) ≥ −16. Also 65 − f(x) = (5 − x)(x2 + 5x + 13) ≥ 0: the first factor is never negative, and the second equals (x + 2.5)2 + 6.75, which is positive. Thus f(x) ≤ 65. Substitution shows both bounds are reached. Near −2, 16 − f(x) = (x + 2)2(4 − x) ≥ 0, confirming the local maximum.

    Strategy

    1. 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.

    Question

    The graph shows g(x) = −(x − 1)2 + 4. Name its local maximum.

    Answer

    Local maximum: 4, at x = 1

    Strategy

    1. Trace the graph inside the interval.

    2. Find where rising changes to falling.

    3. Read the output and its input.

    4. Check heights on both sides of the point.

    Strategy

    1. Trace the graph inside the interval.

    2. Find where falling changes to rising.

    3. Read the output and its input.

    4. Check heights on both sides of the point.

    Strategy

    1. Mark the allowed interval and which endpoints are included.

    2. Read every hilltop and valley inside the interval from the graph.

    3. Evaluate those points and the included endpoints.

    4. Compare the heights; report ties at every input that reaches the winning height.

    5. For excluded endpoints, check approached heights before claiming a maximum or minimum.

    6. State each answer as an output value and the input where it occurs.

    Strategy

    1. Mark the allowed interval and which endpoints are included.

    2. Read every hilltop and valley inside the interval from the graph.

    3. Evaluate those points and the included endpoints.

    4. Compare the heights; report ties at every input that reaches the winning height.

    5. For excluded endpoints, check approached heights before claiming a maximum or minimum.

    6. State each answer as an output value and the input where it occurs.

    Strategy

    1. Name the square cut x; it becomes the height.

    2. Subtract twice x from each original edge to get the base dimensions.

    3. Multiply the three dimensions for volume.

    4. Require every dimension to be positive to find the cut interval.

    5. Substitute the requested cut and report volume in cubic units.

    Strategy

    1. Build the volume formula and its physical interval.

    2. Keep only the cuts that also meet any tool or size limit in the question.

    3. Read the peaks inside the allowed interval from the graph or the given data, and evaluate the included ends.

    4. Compare allowed candidates and check the curve between them.

    5. Report both the cut length and the greatest volume.

    Trap

    Wrong: choose the highest hill and ignore the ends. Right: compare every hilltop and valley inside the interval with every included end.

    Term

    multiplicity

    Definition

    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.

    Term

    local maximum

    Definition

    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.

    Term

    local minimum

    Definition

    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.

    Term

    global maximum

    Definition

    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.

    Term

    global minimum

    Definition

    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

    left end (−3, 9)hilltop (−2, 16)(−1, 11)(0, 0)(1, −11)valley (2, −16)right end (3, −9)−4−224−16−8816left end (−3, 9)hilltop (−2, 16)(−1, 11)(0, 0)(1, −11)valley (2, −16)right end (3, −9)−4−3−2−11234−16−8816
    The dots are points on the graph of f(x) = x3 − 12x from x = −3 to x = 3, and the curve between them is not…

    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)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. x3 − 12x has leading term x3, so the left arm falls and the right arm rises.
    • A square is never negative. (x − 2)2 is 0 at x = 2 and positive everywhere else: (1 − 2)2 = 1 and (3 − 2)2 = 1.
    • Multiplicity. A factor that appears an even number of times, such as (x + 2)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≤x≤b, 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 (x=a or x=b).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)
    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

    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.'

    Write it

    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.

    In math
    • 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
    Like

    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.

    See it
    lowest (−2, −5)highest (1, 4)right end (3, 0)−22−6−4−224
    The graph of g(x) = −(x − 1)2 + 4 from x = −2 to x = 3 fits between a flat line at height 4, which it touches…

    The same idea, other ways

    As a picture: a ceiling and a floor

    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)2 − 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.

    left end (0, 5)valley (3, −4)right end (4, −3)24−44
    The flat line at height 5 rests on the left end of the curve and the flat line at height −4 rests on the…
    As a story: the row and the theater

    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.

    With small numbers: read a table

    The table lists f(x) = x3 − 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)2(4 − x) and f(x) + 16 = (x − 2)2(x + 4), and on this interval neither is ever negative.

    input xoutput f(x)−39−216−111001−112−163−9↑ solve: output given, read every input above it
    In the output row the entry 16 has a smaller number on each side of it.
    With what you already know: touch and turn

    A hilltop is the touch and turn picture from the multiplicity lesson, lifted off the x-axis. Take f(x) = x3 − 12x, which has a hilltop at height 16. Subtract 16 and factor: f(x) − 16 = x3 − 12x − 16 = (x + 2)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.

    As a rule of thumb

    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.

    NameEveryday pictureWhat it is compared withWhere it can sit
    local maximumthe top of one hillonly the points close by, on both sides: none is higherinside the interval; unless the polynomial is constant, where the graph changes from rising to falling
    local minimumthe bottom of one valleyonly the points close by, on both sides: none is lowerinside the interval; unless the polynomial is constant, where the graph changes from falling to rising
    global maximumthe highest point of the whole walkevery point on the intervalat a local maximum or at an endpoint
    global minimumthe lowest point of the whole walkevery point on the intervalat 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

    1. Trace the graph inside the interval.
    2. Find where rising changes to falling.
    3. Read the output and its input.
    4. Check heights on both sides of the point.
    (1, 4)−224−6−4−2246
    The graph of g(x) = −(x − 1)2 + 4 rises to the point (1, 4) and then falls, so (1, 4) is the top of a hill.

    Worked example

    Reading a hilltop

    The graph shows g(x) = −(x − 1)2 + 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.

    1. Plan. Read the turn and report its height and input.
    1. 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.
    2. Trace from the left. The graph rises until the point (1, 4), then falls.Rising then falling is the mark of a hilltop.
    3. 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.
    Answer
    Local maximum: 4, at x = 1
    Double-check Compute the neighbors from the formula. g(0) = −(0 − 1)2 + 4 = −1 + 4 = 3 and g(2) = −(2 − 1)2 + 4 = −1 + 4 = 3. Both are below g(1) = −0 + 4 = 4.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: On f(x) = x3 − 12x, the point (4, 16) is as high as the hilltop (−2, 16), so it is a local maximum too.
    At x = 4 the graph is passing through height 16 on its way up: f(3) = −9 is below and f(5) = 65 is above. There is no change from rising to falling.
    ✓ Instead: A local maximum needs rising then falling. Only (−2, 16) is one. Height alone does not decide it.

    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

    1. Trace the graph inside the interval.
    2. Find where falling changes to rising.
    3. Read the output and its input.
    4. Check heights on both sides of the point.
    (3, −4)246−6−4−2246
    The graph of h(x) = (x − 3)2 − 4 falls to the point (3, −4) and then rises.

    Worked example

    Reading a valley

    The graph shows h(x) = (x − 3)2 − 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.

    1. Plan. Read the turn and report its height and input.
    1. 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.
    2. Trace from the left. The graph falls until the point (3,−4), then rises.Falling then rising is the mark of a valley.
    3. Read the point: the height is −4 and the input is 3.The y-value is the minimum. The x-value is where it occurs.
    Answer
    Local minimum: −4, at x = 3
    Double-check Compute the neighbors from the formula. h(2) = (2 − 3)2 − 4 = 1 − 4 = −3 and h(4) = (4 − 3)2 − 4 = 1 − 4 = −3. Both are above h(3) = 0 − 4 = −4.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: A local minimum is the lowest point of the graph.
    On f(x) = x3 − 12x the valley is at (2, −16), but f(−5) = −125 + 60 = −65 is far lower. The left arm keeps falling.
    ✓ Instead: A local minimum is the lowest among the points near it. The lowest point of a whole interval is the global minimum, which is a separate question.

    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

    1. Mark the allowed interval and which endpoints are included.
    2. Read every hilltop and valley inside the interval from the graph.
    3. Evaluate those points and the included endpoints.
    4. Compare the heights; report ties at every input that reaches the winning height.
    5. For excluded endpoints, check approached heights before claiming a maximum or minimum.
    6. State each answer as an output value and the input where it occurs.
    left end (−2, −5)top (1, 4)right end (3, 0)−22−6−4−224
    On the interval from x = −2 to x = 3, the flat line at height 4 touches the graph only at the top of the hill.

    Worked example

    The highest point on an interval

    Find the global maximum of g(x) = −(x − 1)2 + 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.

    1. Plan. Compare the hilltops and valleys inside the interval with its included ends.
    1. Say what is asked: of all the heights the graph reaches between x=−2 and x=3, find the largest, and say where it happens.Global means compared with every point on the interval.
    2. List the candidates. Left end: g(−2)=−(−3)2+4=−9+4=−5. Hilltop: g(1)=4. Right end: g(3)=−(2)2+4=−4+4=0.The global maximum can only be at a hilltop or at an end.
    3. Pick the largest of −5, 4 and 0. It is 4.4>0>−5.
    Answer
    Global maximum on −2 ≤ x ≤ 3: 4, at x = 1
    Double-check A second way, without the picture: (x − 1)2 is a square, so it is never negative, and −(x − 1)2 is never positive. So g(x) = −(x − 1)2 + 4 is never above 4, and it equals 4 only when x = 1.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The global maximum of g(x) = −(x − 1)2 + 4 on the interval 2 ≤ x ≤ 3 is 4.
    The hilltop is at x = 1, which is outside this interval. On 2 ≤ x ≤ 3 the graph only falls, from g(2) = 3 to g(3) = 0.
    ✓ Instead: On 2 ≤ x ≤ 3 the global maximum is 3, at x = 2, the left end. A hilltop outside the interval is not a candidate.

    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

    1. Mark the allowed interval and which endpoints are included.
    2. Read every hilltop and valley inside the interval from the graph.
    3. Evaluate those points and the included endpoints.
    4. Compare the heights; report ties at every input that reaches the winning height.
    5. For excluded endpoints, check approached heights before claiming a maximum or minimum.
    6. State each answer as an output value and the input where it occurs.
    left end (−2, −5)top (1, 4)right end (3, 0)−22−6−4−224
    On the interval from x = −2 to x = 3, the flat line at height −5 touches the graph only at the left end.

    Worked example

    The lowest point on an interval

    Find the global minimum of g(x) = −(x − 1)2 + 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.

    1. Plan. Compare the hilltops and valleys inside the interval with its included ends.
    1. Say what is asked: of all the heights the graph reaches between x=−2 and x=3, find the smallest, and say where it happens.Global means compared with every point on the interval.
    2. 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.
    3. Compare the ends: g(−2)=−5 and g(3)=0. The smaller is −5.−5 is to the left of 0 on the number line, so −5 < 0.
    Answer
    Global minimum on −2 ≤ x ≤ 3: −5, at x = −2 (the left end)
    Double-check Compute g at every integer on the interval: g(−2) = −5, g(−1) = −4 + 4 = 0, g(0) = −1 + 4 = 3, g(1) = 4, g(2) = −1 + 4 = 3, g(3) = −4 + 4 = 0. The smallest of these outputs is −5, at x = −2.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Between the candidates −16 and −9, the smaller one is −9, because 9 is smaller than 16.
    For negative numbers the order reverses. −16 is farther left on the number line than −9, so −16 is the smaller number.
    ✓ Instead: −16 < −9. A valley at height −16 is lower than an end at height −9.

    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

    1. Name the square cut x; it becomes the height.
    2. Subtract twice x from each original edge to get the base dimensions.
    3. Multiply the three dimensions for volume.
    4. Require every dimension to be positive to find the cut interval.
    5. Substitute the requested cut and report volume in cubic units.
    030foldfold
    One 30 cm edge of a sheet with a 3 cm square cut from each end.

    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.

    1. Plan. Subtract two cuts from each edge, multiply the dimensions, then require positive lengths.
    1. 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.
    2. Length: 30−3−3=24 cm.A 3 cm square is removed from both ends of the 30 cm edge.
    3. Width: 20−3−3=14 cm.A 3 cm square is removed from both ends of the 20 cm edge.
    4. Height: 3 cm.Each flap is as tall as the side of the cut square.
    5. Volume: 24×14×3=336×3=1008 cubic cm.The volume of a box is length × width × height.
    6. Replace 3 with x. Length is 30−2x, width is 20−2x, height is x. So V(x)=x(30−2x)(20−2x).Subtracting x twice is subtracting 2x.
    7. Find the interval. A cut has positive size, so x > 0. Setting 20−2x=0 finds the one cut that would use up the whole short side: 2x=20, so x=10. Plug it back: 20−2·10=0, 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.
    Answer
    • 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
    Double-check Put x = 3 into the formula: V(3) = 3(30 − 6)(20 − 6) = 3 · 24 · 14 = 1008, the same as the box built by hand. And x = 10 gives 10 · 10 · 0 = 0: the width is used up, which is why 10 is the end of the interval.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: A whole-number table for V(x) = x(30 − 2x)(20 − 2x) gives V(3) = 1008, V(4) = 1056 and V(5) = 1000, so the largest volume is exactly 1056, at exactly x = 4.
    A table only shows the inputs you chose. Between the columns, V(3.9) = 3.9 · 22.2 · 12.2 = 1056.276, which is larger than 1056.
    ✓ Instead: A table or a graph gives the hilltop only as closely as you read it. Say the best cut is about 4 cm, or add inputs between 3 and 5 and look again.
    ✗ Not this: For a 10 inch by 16 inch sheet the cut can be any size below 10 inches.
    Two squares come off the 10 inch side. At x = 5 they meet in the middle: 10 − 2 · 5 = 0.
    ✓ Instead: The interval is 0 < x < 5: half the shorter side.

    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

    1. Build the volume formula and its physical interval.
    2. Keep only the cuts that also meet any tool or size limit in the question.
    3. Read the peaks inside the allowed interval from the graph or the given data, and evaluate the included ends.
    4. Compare allowed candidates and check the curve between them.
    5. Report both the cut length and the greatest volume.
    01.5hilltop of V(0, 1.5]
    (0, 1.5] on a number line.

    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

    1. Use the closed-interval rule on f(x) = x3 − 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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)2(x + 4) ≥ 0. Thus f(x) ≥ −16. Also 65 − f(x) = (5 − x)(x2 + 5x + 13) ≥ 0: the first factor is never negative, and the second equals (x + 2.5)2 + 6.75, which is positive. Thus f(x) ≤ 65. Substitution shows both bounds are reached. Near −2, 16 − f(x) = (x + 2)2(4 − x) ≥ 0, confirming the local maximum.

    Check what is reached

    1. 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) = x3 − 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.

    left end (−3, 9)hilltop (−2, 16)(−1, 11)(1, −11)valley (2, −16)(3, −9)(4, 16)right end (5, 65)−4−2246−20204060
    The dots are points on the graph of f(x) = x3 − 12x from x = −3 to x = 5, and the curve between them is not…
    Show the steps and the answer

    The plan. Locate hills and valleys, include allowed endpoints, then compare heights.

    input xoutput f(x)−39−216−111001−112−163−9416565↑ solve: output given, read every input above it
    In the output row for f(x) = x3 − 12x the largest entry, 65, sits under the last input, x = 5.
    1. Plan. Locate hills and valleys, include allowed endpoints, then compare heights.
    1. Say what is asked. Find the hilltops and valley bottoms between x=−3 and x=5. 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.
    2. Mark the two ends. Left end: x=−3, where the graph is at height 9, the point (−3,9). Right end: x=5, at height 65, the point (5, 65).Both ends are included in −3 ≤ x ≤ 5, so both are candidates.
    3. Read the dots from the left. They rise from (−3,9) to (−2,16), then fall to (−1,11). The change from rising to falling is at (−2,16).Rising then falling points to a hilltop: f has a local maximum of 16 at x = −2, which the check proves.
    4. Keep reading. The dots fall through (−1,11) and (1,−11) down to (2,−16), then rise to (3,−9). The change from falling to rising is at (2,−16).Falling then rising points to a valley bottom: f has a local minimum of −16 at x = 2, which the check proves.
    5. Read to the end. From (2,−16) the dots only rise: through (3,−9) 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)2(x + 4) only grows, so there is no other hilltop or valley.
    6. List the candidate heights: left end 9, hilltop 16, valley −16, right end 65.The global maximum and the global minimum can only be at a hilltop, a valley bottom or an end.
    7. Pick the largest, 65, and the smallest, −16.65 > 16 > 9 > −16. The right end beats the hilltop, so here the local maximum is not the global maximum.
    Answer
    • 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)
    Double-check Compute from the formula in place of reading the picture. f(−3) = (−3)3 − 12(−3) = −27 + 36 = 9. f(−2) = −8 + 24 = 16. f(2) = 8 − 24 = −16. f(5) = 125 − 60 = 65. In the table of all nine integer inputs, no output is above 65 and none is below −16. Exactly, for every x on the interval: f(x) + 16 = (x − 2)2(x + 4) and 65 − f(x) = (5 − x)(x2 + 5x + 13), and neither is negative, since x2 + 5x + 13 is always positive. Near x = −2, 16 − f(x) = (x + 2)2(4 − x) is never negative either, which makes −2 a hilltop. The outputs 9, 16, 11 go up then down around x = −2, and −11, −16, −9 go down then up around x = 2.

    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)2 − 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.

    (−1, −3)−4−22−4−22468
    The graph of p(x) = (x + 1)2 − 3 has one valley, at (−1, −3), and both arms rise without end.
    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.

    1. Plan. Find the valley, then read both arms to see whether the graph has a highest or a lowest point.
    1. 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.
    2. Trace from the left. The graph falls until (−1,−3), then rises.Falling then rising is a valley: a local minimum of −3 at x = −1.
    3. Look at the arms. The leading term is x2, 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.
    4. 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.
    Answer
    • Local minimum: −3, at x = −1
    • Global minimum: −3, at x = −1 (the same point)
    • Global maximum: none
    Double-check (x + 1)2 is a square, so it is never negative, and it is 0 only at x = −1. So p(x) = (x + 1)2 − 3 is never below −3. The neighbors agree: p(−2) = 1 − 3 = −2 and p(0) = 1 − 3 = −2, both above −3. And p(10) = 121 − 3 = 118, with larger inputs giving still larger outputs.

    Rung 2 of 6

    One hill, one valley, two ends

    The picture shows points on the graph of f(x) = x3 − 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.

    left end (−3, 9)hilltop (−2, 16)(−1, 11)(0, 0)(1, −11)valley (2, −16)right end (3, −9)−4−224−16−8816
    The dots are points on the graph of f(x) = x3 − 12x, and the curve between them is not drawn.
    Show the steps and the answer

    The plan. Locate hills and valleys, include allowed endpoints, then compare heights.

    1. Plan. Locate hills and valleys, include allowed endpoints, then compare heights.
    1. Say what is asked: find the hilltop and the valley, then the highest and lowest heights reached anywhere from x=−3 to x=3.The first two answers are local, the last two are global.
    2. Mark the ends: (−3,9) on the left and (3,−9) on the right.Both ends are included, so both heights are candidates.
    3. Read the dots from the left: up from (−3,9) to (−2,16), then down. Local maximum of 16 at x=−2.Rising then falling points to a hilltop; the check proves it.
    4. Keep reading: down through (0, 0) to (2,−16), then up to (3,−9). Local minimum of −16 at x=2.Falling then rising points to a valley; the check proves it.
    5. List the candidates: 9, 16, −16,−9. The largest is 16 and the smallest is −16.This time the hilltop and the valley beat both ends, so each local answer is also the global answer.
    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
    Double-check Compute: f(−3) = −27 + 36 = 9, f(−2) = −8 + 24 = 16, f(2) = 8 − 24 = −16, f(3) = 27 − 36 = −9. The full list of outputs at the integers from −3 to 3 is 9, 16, 11, 0, −11, −16, −9. To be sure between them: 16 − f(x) = (x + 2)2(4 − x) and f(x) + 16 = (x − 2)2(x + 4), and on −3 ≤ x ≤ 3 neither is negative, so nothing is above 16 and nothing is below −16.

    Rung 3 of 6

    Ties

    The picture shows points on the graph of w(x) = x4 − 8x2 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.

    left end (−3, 9)valley (−2, −16)(−1, −7)hilltop (0, 0)(1, −7)valley (2, −16)right end (3, 9)−4−224−18−12−6612
    The dots are points on the graph of w(x) = x4 − 8x2, and the curve between them is not drawn.
    Show the steps and the answer

    The plan. Locate hills and valleys, include allowed endpoints, then compare heights.

    1. Plan. Locate hills and valleys, include allowed endpoints, then compare heights.
    1. Say what is asked: find all hilltops and valleys, then the highest and lowest heights reached from x=−3 to x=3.There may be more than one of each, so read the whole interval.
    2. Mark the ends: (−3,9) and (3, 9).Both ends are included, so both are candidates.
    3. Read the dots from the left: down from (−3,9) to (−2,−16), then up. Local minimum of −16 at x=−2.Falling then rising points to a valley; the check proves it.
    4. Keep reading: up to (0, 0), then down. Local maximum of 0 at x=0.Rising then falling points to a hilltop; the check proves it.
    5. Keep reading: down to (2,−16), then up to the right end (3, 9). Local minimum of −16 at x=2.Falling then rising points to a second valley; the check proves it.
    6. List the candidates: 9, −16, 0, −16, 9. The largest is 9 and the smallest is −16.The hilltop at height 0 loses to the ends, so it is local only.
    7. Report each winning value once and list both places where it occurs.A global maximum is one number, even when two points reach it.
    Answer
    • 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
    Double-check Compute: w(−3) = 81 − 72 = 9, w(−2) = 16 − 32 = −16, w(−1) = 1 − 8 = −7, w(0) = 0. The inputs 1, 2 and 3 give the same outputs, because x4 and x2 come out the same for x and −x: 22 = (−2)2 = 4. A second way for the minimum: w(x) + 16 = x4 − 8x2 + 16 = (x2 − 4)2, a square, so w(x) + 16 is never negative and w(x) is never below −16. For the maximum: 9 − w(x) = (9 − x2)(x2 + 1), never negative on −3 ≤ x ≤ 3. For the hilltop: w(x) = x2(x2 − 8) is never positive while x2 ≤ 8, so 0 is the top near x = 0.

    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

    V(x)=x(30−2x)2

    0 < x < 15

    1. Plan. Form the three dimensions, multiply them, restrict the cut and substitute.
    1. 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.
    2. Height: x.Each flap folds up to the height of the cut square.
    3. Each side of the base: 30−2x.A square of side x is removed from both ends of every 30 cm edge.
    4. Volume: V(x)=x(30−2x)(30−2x)=x(30−2x)2.Volume is length × width × height, and here the length and the width are equal.
    5. Interval: a cut has positive size, so x > 0. Setting 30−2x=0 finds the one cut that would leave no base at all: 2x=30, so x=15. Plug it back: 30−2·15=0. So x must stay below 15.The base must have positive length. The interval is 0 < x < 15.
    6. Evaluate: V(5)=5(30−10)2=5·202=5·400=2000.The input is 5, so every x becomes 5. Square before multiplying.
    Answer
    • V(x)=x(30−2x)2
    • Interval: 0 < x < 15
    • V(5) = 2000 cubic cm
    Double-check Build the tray with numbers and no formula. Cutting 5 cm from both ends of a 30 cm edge leaves 30 − 5 − 5 = 20 cm. The base is 20 by 20, which is 400 square cm. The height is 5 cm. 400 × 5 = 2000 cubic cm, the same as the formula gives.

    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.

    input xoutput V(x)0011122144312046450
    x: 0, 1, 2, 3, 4, 5; V(x): 0, 112, 144, 120, 64, 0.
    Show the steps and the answer

    The plan. Build the model, restrict the interval and compare the peak with allowed endpoints.

    input xoutput V(x)0011122144312046450↑ solve: output given, read every input above it
    The output row climbs to 144 under the input 2 and then drops back to 0.
    (0, 0)(1, 112)top (2, 144)(3, 120)(4, 64)(5, 0)24175185119153
    The dots are points on the graph of V(x) = x(16 − 2x)(10 − 2x), with the curve between them not drawn.
    1. Plan. Build the model, restrict the interval and compare the peak with allowed endpoints.
    1. 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.
    2. Height: x. Length: 16−2x. Width: 10−2x.The flaps are x tall, and a square comes off both ends of each edge.
    3. Volume: V(x)=x(16−2x)(10−2x).Volume is length × width × height.
    4. Interval: x > 0. Setting 10−2x=0 finds the cut that uses up the 10 inch side: x=5, and plugging back gives 10−2·5=0. Setting 16−2x=0 gives x=8, and 16−2·8=0. 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.
    5. Fill the table. V(1)=1·14·8=112. V(2)=2·12·6=144. V(3)=3·10·4=120. V(4)=4·8·2=64. At x=0 and x=5 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.
    6. Read the output row: 0, 112, 144 rising, then 120, 64, 0 falling. The change from rising to falling is near x=2.Rising then falling points to a hilltop; the check proves it.
    7. Look closer on each side of 2. V(1.5)=1.5·13·7=136.5 and V(2.5)=2.5·11·5=137.5. Both are below 144.A table only shows the inputs you chose, so look between the columns; the check proves x = 2 exactly.
    8. Compare with the ends. Near x=0 and near x=5 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.
    Answer
    • 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)
    Double-check A second way, with no table: 144 − V(x) = 4(x − 2)2(9 − x). Multiplying out either side gives 144 − 160x + 52x2 − 4x3. Test it with numbers: at x = 1 it gives 4 · 1 · 8 = 32, and 144 − 112 = 32. At x = 3 it gives 4 · 1 · 6 = 24, and 144 − 120 = 24. For any cut between 0 and 5, (x − 2)2 is a square, so it is never negative, and 9 − x is positive. So 144 − V(x) is never negative: no cut beats 144, and only x = 2 reaches it.

    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.

    01.5hilltop of V(0, 1.5]
    The same picture again: (0, 1.5] on a number line.
    1. Plan. Keep only the allowed cuts, look for a hilltop inside them, then compare the ends.
    1. Say what is asked: the same curve, but a shorter interval. Find the highest point of the graph of V between x=0 (not included) and x=1.5 (included).Changing the interval can change the global maximum.
    2. Mark the interval. The hilltop found in rung 5 is at x=2, and 2 > 1.5.A hilltop outside the interval is not a candidate.
    3. Look for changes of direction inside the interval. V(0.5)=0.5·15·9=67.5,V(1)=1·14·8=112,V(1.5)=1.5·13·7=136.5. 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.
    4. Check the ends. The left end, x=0, is not included, and the volume near it is close to 0. The right end, x=1.5, is included, with V(1.5)=136.5.An end that is included is a candidate. An end that is left out is not.
    5. 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.
    Answer
    • 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
    Double-check Use the gap from rung 5: 144 − V(x) = 4(x − 2)2(9 − x). As x grows from 0 to 1.5 it gets closer to 2, so (x − 2)2 shrinks, and 9 − x shrinks too. Both stay positive, so their product shrinks, which means V(x) keeps growing and the right end is the top. At x = 1.5 the gap is 4 · 0.25 · 7.5 = 7.5, and 144 − 7.5 = 136.5.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The global maximum is the top of the tallest hill. For f(x) = x3 − 12x on −3 ≤ x ≤ 5 that gives 16.
    The right end of the interval is at height f(5) = 125 − 60 = 65, far above the hilltop at 16. A hilltop only beats its neighbors.
    ✓ Instead: Compare the hilltops with both end heights. The candidates are 9, 16 and 65, so the global maximum is 65, at x = 5.
    ✗ Not this: The global maximum of f(x) = x3 − 12x on −3 ≤ x ≤ 5 is 5.
    5 is the input where the highest point occurs. The maximum is the output, the height of the graph.
    ✓ Instead: The global maximum is 65. It occurs at x = 5. Say both, in that order.
    ✗ Not this: Every polynomial has a global maximum.
    Over all real numbers, f(x) = x3 − 12x has a right arm that rises forever: f(10) = 1000 − 120 = 880, and larger inputs give larger outputs without end.
    ✓ Instead: A closed interval guarantees a global maximum and a global minimum. Over all real numbers, check the arms first: an arm that points up means no global maximum, and an arm that points down means no global minimum.
    ✗ Not this: The right end (5, 65) is a local maximum, because it is higher than the points next to it.
    Here a local maximum is compared with nearby points on both sides, and an end has neighbors on one side only. This is a convention, and some writers do count ends. The global answer is the same either way, because the ends go on the candidate list regardless.
    ✓ Instead: Call (5, 65) the global maximum, at an endpoint. Keep the word local for hilltops and valleys inside the interval.
    ✗ Not this: For a 16 inch edge with a square of side x cut from the corners, the length of the box is 16 − x.
    A square comes off both ends of the edge. With a 2 inch cut, 16 − 2 = 14, but the real box is 16 − 2 − 2 = 12 inches long.
    ✓ Instead: Length = 16 − 2x. Check it with one real cut before you use it.

    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) = x3 − 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?
    Only in two kinds of places: at a local maximum inside the interval (a hilltop on the trail), or at an endpoint (the trailhead or the end marker).
    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) = x3 − 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

    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.