Graphs of polynomial functions: crash course
about 29 min to listen6 lessons14 questions to tryUnit 13 of 17
Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.
Starts here no skill from another unit needed first
1 Zeros from the factored form
The rule
If (other factors), then : c is a zero of f, and the graph meets the x-axis at the point (c, 0).
In factored form the zeros are exactly the inputs that make at least one factor 0, so gives , a lone x gives 0, and a factor that is a nonzero number gives none.
How
- Use the zero-product rule on f(x) = −2x(x + 4)(x − 1): a product is zero exactly when a factor is zero. This formula is already one product, so its factors can be solved separately.
- Skip −2: it is a number other than zero, so it can never make the product zero. Set the factors containing x equal to zero: x = 0, x + 4 = 0 and x − 1 = 0.
- Solve each equation by keeping both sides equal. Subtract 4 in x + 4 = 0 to get x = −4; add 1 in x − 1 = 0 to get x = 1. The lone x gives x = 0.
- Use the intercept rule: each real zero c gives the point (c, 0). List the distinct zeros −4, 0 and 1, and plot (−4, 0), (0, 0) and (1, 0). Every factor containing x has been used, so this list is complete.
- Check by substitution in the original product: f(−4) = −2 · (−4) · 0 · (−5) = 0, f(0) = −2 · 0 · 4 · (−1) = 0 and f(1) = −2 · 1 · 5 · 0 = 0. Each proposed zero makes a factor zero.
Worked example
Worked example
Three factors, a number in front and a lone x
Find every zero of f(x) = −2x(x + 4)(x − 1).
What it asks. Find every input that makes the output zero.
Show the steps and the answer
The plan. Skip the number in front, set each factor with an x equal to zero, then solve.
−2: only a number, no zero
x: gives x = 0
x + 4: gives x = −4
x − 1: gives x = 1
- Plan. Skip the number in front, set each factor with an x equal to zero, then solve.
- Check the shape: is one product, with nothing added or subtracted outside the factors.Zeros can be read off only from a product. A term added at the end, such as + 6, would break the rule.
- Skip the factor .It is −2 for every input. It is never 0, so it cannot make the product 0, and −2 is not a zero.
- Set the lone x equal to 0: .This finds the input that makes the factor x equal 0, since x is the same as (x − 0). Plug it back in: f(0) = −2 · 0 · 4 · (−1) = 0.
- Set x + 4 = 0, then subtract 4 from both sides: .This finds the one input that makes x + 4 equal 0. Plug it back in: −4 + 4 = 0, so f(−4) = −2 · (−4) · 0 · (−5) = 0. The gotcha: a plus inside the factor gives a negative zero.
- Set x − 1 = 0, then add 1 to both sides: .This finds the one input that makes x − 1 equal 0. Plug it back in: 1 − 1 = 0, so f(1) = −2 · 1 · 5 · 0 = 0.
- List the zeros from smallest to largest: , 0, 1.Every factor that holds an x has been used. By the zero product property, any input that gives 0 must make some factor 0, so there are no other zeros.
- x = 0
- x = 1
- On the graph: the points (−4, 0), (0, 0) and (1, 0).
The trap
Wrong: copy the sign inside a factor. Right: solve the factor equal to zero, then substitute to check.
Quick check
Try it before you open its steps. It is question 6 of 11 in the full lesson, where they run from easy to exam-hard.
Try it · level 6 of 11
A factor that is never 0
Find the zeros of r(x) = (x + 3)( + 4).
What it asks. Find every real zero.
Show the steps and the answer
The plan. Set each factor equal to zero; a square plus a positive number has no real solution.
- Plan. Set each factor equal to zero; a square plus a positive number has no real solution.
- Set x + 3 = 0, then subtract 3 from both sides: .This finds the input that makes x + 3 equal 0. Plug it back in: r(−3) = 0 · (9 + 4) = 0.
- Try to set . Subtracting 4 from both sides gives .This asks which input would make the second factor 0.
- No real number works, so gives no zero.A square is never negative: = 4 and (−2 = 4. So + 4 is always 4 or more. The gotcha: + 4 does not split into (x − 2)(x + 2), which multiplies out to − 4.
- The only zero is .Only the first factor can ever be 0.
2 Multiplicity and what the graph does at a zero
The rule
Let c be a zero of a polynomial f that is not the constant 0.
If the factor () appears exactly m times in the factored form of f(x), then c has multiplicity m.source 1 Odd m: the graph crosses the x-axis at . Even m: the graph touches the x-axis at and turns back.source 1 The larger m is, the flatter the graph lies near .
Sources (1)
- Jay Abramson. Precalculus 2e, 3.4 Graphs of Polynomial Functions. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.
How
- Use the zero-product rule on f(x) = x(x − 3(x + 2. Solve x = 0, x − 3 = 0 and x + 2 = 0 to get the zeros 0, 3 and −2. These are the inputs where a factor becomes zero.
- Use the multiplicity rule: count how often each zero’s factor appears. The lone x counts once, (x − 3 counts twice and (x + 2 counts three times. Thus 0 has multiplicity 1, 3 has multiplicity 2 and −2 has multiplicity 3.
- Apply odd crosses and even touches. At 0, multiplicity 1 gives a crossing; at 3, multiplicity 2 gives a touch and turn; at −2, multiplicity 3 gives a flattened crossing. Odd powers change sign across a zero; even powers keep the same sign.
- Check the count using the product’s degree: x · · = , and 1 + 2 + 3 = 6. All factors here are powers of x − c, so their multiplicities account for the whole degree.
- Check the predicted crossings with signs on both sides, without passing another zero. Around −2, f(−3) = 108 and f(−1) = −16 have opposite signs. Around 0, f(−1) = −16 and f(1) = 108 have opposite signs. Around 3, f(2) = 128 and f(4) = 864 are both positive, which agrees with a touch and turn.
Worked example
Worked example
Three zeros, three different behaviors
For f(x) = x(x − 3(x + 2, find each zero, its multiplicity, and whether the graph crosses the x-axis there or touches it and turns back.
What it asks. Find each zero, its multiplicity and its behavior.
Show the steps and the answer
The plan. Solve each factor, read its power, then use odd for crossing and even for touch.
- Plan. Solve each factor, read its power, then use odd for crossing and even for touch.
- Say what the question asks: find every input that makes the output 0, count how many times each one's factor appears, and use that count to say what the graph does at that spot.A zero of a polynomial is an input whose output is 0, and the multiplicity is the count of its factor.
- List the factors with their exponents: x has exponent 1, () has exponent 2, and () has exponent 3.No exponent written means the factor appears once, so the lone x counts once.
- Set . This finds the input that makes the first factor zero. Plug it back in: . So 0 is a zero with multiplicity 1.The factor x is the same as (x − 0), and one zero factor makes the whole product 0.
- Set , so . This finds the input that makes the second factor zero. Plug it back in: . So 3 is a zero with multiplicity 2.The exponent on (x − 3) is 2.
- Set , so . This finds the input that makes the third factor zero. Plug it back in: . So is a zero with multiplicity 3.The exponent on (x + 2) is 3.
- Sort the multiplicities into odd and even. At the multiplicity is 1, odd: the graph crosses at a slant. At it is 2, even: the graph touches and turns back. At it is 3, odd: the graph flattens, then crosses.An odd count of the factor lets the sign of the output change across the zero. An even count does not.
- Add the multiplicities: . Multiply the leading pieces: , so the degree is 6. The two numbers match.When every factor has the form (x − c), the multiplicities add up to the degree, so no zero was missed.
- x = −2: multiplicity 3, the graph flattens and crosses.
- x = 0: multiplicity 1, the graph crosses at a slant.
- x = 3: multiplicity 2, the graph touches the x-axis and turns back.
The trap
Wrong: cross at every zero. Right: cross at odd multiplicity and touch at even multiplicity.
Quick check
Try it before you open its steps. It is question 5 of 10 in the full lesson, where they run from easy to exam-hard.
Try it · level 5 of 10
A repeated factor hiding behind grouping
Find the zeros of k(x) = − 3 − 9x + 27, their multiplicities, and what the graph does at each.
What it asks. Find each zero, its multiplicity and its behavior.
Show the steps and the answer
The plan. Factor fully, combine repeated factors, then use odd for crossing and even for touch.
- Plan. Factor fully, combine repeated factors, then use odd for crossing and even for touch.
- Say what is asked: factor the formula fully, then read each zero, its multiplicity and the behavior.With four terms and no common factor, grouping is the tool to try.
- Group in pairs and factor each pair: . comes out of the first pair and −9 out of the second, leaving the same bracket (x − 3) in both.
- Pull out the shared bracket: .Both pieces contain (x − 3).
- Factor the difference of squares: . − 9 is − , and − = (a − b)(a + b).
- Collect the copies: .The factor (x − 3) appeared in two places, so its exponents add: 1 + 1 = 2.
- Read the zeros. has multiplicity 2. has multiplicity 1. Plug back into the original formula: and .Both inputs give output 0, a check that agrees with the factoring.
- At 3 the multiplicity is even: the graph touches and turns back. At it is odd: the graph crosses at a slant.Odd goes through, even bounces.
- x = −3: multiplicity 1, crosses at a slant.
- x = 3: multiplicity 2, touches and turns back.
3 The Intermediate Value Theorem
The rule
Intermediate Value Theorem, zero version: let f be a polynomial and let a < b.
If f(a) and f(b) have opposite signs, then there is at least one number c with a < c < b and .source 1 General version: f takes every value between f(a) and f(b) at some input between a and b.source 1
Sources (1)
- Jay Abramson. Precalculus 2e, 3.4 Graphs of Polynomial Functions. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.
How
- Check the Intermediate Value Theorem’s condition for f(x) = + x − 3 on 1 ≤ x ≤ 2. It is a polynomial, so its graph is unbroken throughout this interval.
- Evaluate both endpoints by substitution: f(1) = 1 + 1 − 3 = −1 and f(2) = 8 + 2 − 3 = 7. These outputs put one endpoint below the axis and the other above it.
- Apply the theorem: the opposite signs guarantee at least one zero between 1 and 2. They do not identify an exact zero or prove there is only one.
- To narrow the interval to consecutive tenths, test f(1.1) = −0.569, f(1.2) = −0.072 and f(1.3) = 0.497. Apply the same sign-change rule to 1.2 and 1.3: at least one zero lies between them. Matching signs at 1.1 and 1.2 alone give no conclusion about that smaller interval.
- Check with the theorem’s general version: f(x) = 0 means + x = 3. At 1.2, + x = 2.928; at 1.3, it is 3.497. The unbroken graph reaches 3 between those inputs, confirming the same interval.
Worked example
Worked example
Trapping a zero that factoring does not find
Let f(x) = + x − 3.
(a) Show that f has a zero between 1 and 2.
(b) Find two tenths next to each other, such as 1.6 and 1.7, that the zero lies between.
What it asks. Prove a zero exists and narrow its location to consecutive tenths.
Show the steps and the answer
The plan. Find opposite signs, then test tenths and keep a sign-changing pair.
- Plan. Find opposite signs, then test tenths and keep a sign-changing pair.
- Say what the question asks. A zero is an input whose output is 0. Part (a) asks you to prove such an input exists between 1 and 2. Part (b) asks you to shrink that stretch to one tenth wide.This polynomial has no factoring that falls out by grouping, so you cannot read the zero from brackets. The Intermediate Value Theorem lets you trap it instead.
- Note that f is a polynomial.A polynomial has an unbroken graph, which is what the theorem needs.
- Compute . Sign: .Replace every x with 1. The output is negative, so the graph is below the x-axis at x = 1.
- Compute . Sign: .Replace every x with 2. The output is positive, so the graph is above the x-axis at x = 2.
- Conclude part (a): f(1) < 0 and f(2) > 0, so f has at least one zero between 1 and 2.Opposite signs at the two ends of an unbroken curve force a crossing between them.
- Decide where to test next. The output is much closer to 0 than the output 7, so start near .This is a hint for where to look first, not a guarantee. It saves work when it is right.
- Compute . Sign: . = 1.1 × 1.1 × 1.1 = 1.331. The output is still negative, so the zero is to the right of 1.1.
- Compute . Sign: . = 1.44 × 1.2 = 1.728. Still negative, but very close to 0.
- Compute . Sign: . = 1.69 × 1.3 = 2.197. The sign has flipped to positive.
- Conclude part (b): the sign flips between the columns under 1.2 and 1.3 in the table, so the zero is between 1.2 and 1.3.f(1.2) < 0 and f(1.3) > 0, and the theorem applies to this shorter stretch the same way.
- (a) f(1) = −1 is negative and f(2) = 7 is positive, so f has at least one zero between 1 and 2.
- (b) The zero is between 1.2 and 1.3.
The trap
Wrong: matching endpoint signs mean no zero. Right: matching signs give no conclusion.
Quick check
Try it before you open its steps. It is question 5 of 9 in the full lesson, where they run from easy to exam-hard.
Try it · level 5 of 9
Find the two integers yourself
Find two consecutive integers that trap a zero of f(x) = + 2x + 5.
What it asks. Find a sign-changing interval at the requested precision.
Show the steps and the answer
The plan. Try inputs in order, then keep consecutive endpoints with opposite output signs.
- Plan. Try inputs in order, then keep consecutive endpoints with opposite output signs.
- Say what the question asks: find inputs such as 4 and 5, or and , whose outputs have opposite signs.Opposite signs at consecutive integers trap a zero between them.
- Start at 0: . Sign: .0 is the quickest input to compute.
- Try 1: . Sign: . The outputs are growing, so going right will not help.For any positive x, the terms and 2x are positive, so the output is more than 5. No zero can be to the right of 0.
- Go left. . Sign: .An odd power of a negative number is negative: (−1 = −1.
- Keep going left. . Sign: .(−2 = −8. The sign has flipped.
- Conclude: and , so a zero lies between and .f is a polynomial and the signs at the two ends are opposite.
4 Sketching a polynomial from its features
The rule
For a polynomial f that is not constant, written in factored form: the zeros cut the x-axis into intervals, and on each interval f(x) keeps one sign, the sign of f at any test point inside it.
At a zero of odd multiplicity the graph crosses the x-axis; at a zero of even multiplicity it touches and turns back. The y-intercept is (0, f(0)). The two arms follow the leading term.
How
- Use the zero-product rule on f(x) = (x + 1)(x − 2. Solving x + 1 = 0 and x − 2 = 0 gives −1 and 2. Use the multiplicity rule to mark a crossing at (−1, 0) and a touch and turn at (2, 0): their powers are odd and even, respectively.
- Use the y-intercept rule, (0, f(0)): f(0) = (0 + 1)(0 − 2 = 4. Plot (0, 4), since every point on the y-axis has input zero.
- Use the leading-term rule to find both ends. Multiplying the leading pieces gives x · = . Its odd degree and positive coefficient mean the left end goes down and the right end goes up.
- Use the interval-sign rule: once all real zeros are listed, one test input gives the sign on each interval. Compute f(−2) = −16, reuse f(0) = 4 and compute f(3) = 4. The graph is below the axis for x < −1 and above it for −1 < x < 2 and x > 2.
- Draw one smooth, unbroken curve through the marked points. Also plot f(1) = 2 to guide the middle. Cross at −1, pass through (0, 4) and (1, 2), touch at 2, then rise through (3, 4). The multiplicity and sign rules keep each stretch on the correct side.
- Check from right to left using the same rules. The right end is positive. Passing the even zero 2 keeps that sign; passing the odd zero −1 changes it to negative. These signs agree with the test values and the left end. Check that the sketch includes both intercepts and (0, 4).
Worked example
Worked example
A cubic with one crossing and one touch
Sketch the graph of f(x) = (x + 1)(x − 2.
What it asks. Sketch the graph with intercepts, crossings or touches, and both ends.
Show the steps and the answer
The plan. Find each zero and its multiplicity, the y-intercept and both ends, test each interval, then draw one smooth curve.
- Plan. Find each zero and its multiplicity, the y-intercept and both ends, test each interval, then draw one smooth curve.
- Set each factor equal to 0. gives . gives . Plug back: and .A product is 0 only when one of its factors is 0, so this step finds the only two places where the graph meets the x-axis. Each real zero c gives the x-intercept (c, 0): here (−1, 0) and (2, 0).
- Read the multiplicity of each zero. () has exponent 1, so has multiplicity 1. has exponent 2, so has multiplicity 2.Odd multiplicity means the graph crosses the x-axis, so it crosses at −1. Even multiplicity means it touches and turns back, so it touches at 2.
- Find the y-intercept. . Plot (0, 4).Every point on the y-axis has x = 0, so putting 0 in for x gives the one point where the graph meets the y-axis.
- Find the end behavior. Degree: . Leading term: , so the leading coefficient is 1.The highest power comes from multiplying the x part of every factor. Odd degree with a positive leading coefficient means the left arm points down and the right arm points up.
- List the intervals. The zeros and 2 cut the x-axis into three: , and x > 2. Choose a test point inside each: , 0 and 3. Add 1 as an extra point between the zeros.The graph cannot change sides inside an interval, so one input from each interval tells the side for all of it. Small integers keep the arithmetic short, and f(0) is already computed.
- Compute the test points. . . . With , the table in the picture is complete.A negative output means the graph is below the x-axis there, and a positive output means above. So the graph is below for x < −1, above for −1 < x < 2, and above for x > 2.
- Draw the curve from left to right. Start low on the left, rise through , cross the x-axis at , go up through (0, 4), bend over, come down through (1, 2), touch the x-axis at (2, 0), turn back up through (3, 4), and keep rising.Each piece obeys one fact: the left arm down, the crossing at the odd zero, the test points, the touch at the even zero, the right arm up. The curve is smooth, with no corners and no gaps.
- Zeros: x = −1 (multiplicity 1, crosses) and x = 2 (multiplicity 2, touches and turns back)
- y-intercept: (0, 4)
- Ends: left arm down, right arm up
- Signs: below the x-axis for x < −1, above for −1 < x < 2, above for x > 2
- Curve: rises from the lower left through (−2, −16), crosses at (−1, 0), passes through (0, 4) and (1, 2), touches (2, 0), and rises through (3, 4)
The trap
Wrong: switch sides at every zero. Right: switch at odd multiplicity and keep the side at even multiplicity.
Quick check
Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.
Try it · level 3 of 6
A minus sign in front and a zero that touches
Sketch f(x) = −(x − 3).
What it asks. Sketch the graph with intercepts, crossings or touches, and both ends.
Show the steps and the answer
The plan. Find each zero and its multiplicity, the y-intercept and both ends, test each interval, then draw one smooth curve.
- Plan. Find each zero and its multiplicity, the y-intercept and both ends, test each interval, then draw one smooth curve.
- Zeros: gives . gives . Plug back: and .The factor −1 in front is never 0, so it adds no zero. Only and (x − 3) can be 0.
- Multiplicity: has exponent 2, so the zero 0 has multiplicity 2. () has exponent 1, so the zero 3 has multiplicity 1.Even at 0: the graph touches the x-axis and turns back. Odd at 3: the graph crosses.
- y-intercept: , so it is the origin (0, 0).0 is a zero, so the graph meets both axes there.
- Ends: degree . Leading term .Odd degree with a negative leading coefficient: left arm up, right arm down. Gotcha: the minus sign in front belongs to the leading term.
- Test points: . . . .The intervals are x < 0, 0 < x < 3, and x > 3. Square first, then apply the minus sign in front: −(−1 is −(1), not +1.
- Draw: come down from the upper left through , touch the x-axis at (0, 0), turn back up through (1, 2) and (2, 4), bend over, cross at (3, 0), and fall through .The graph stays above the axis on both sides of the even zero, then switches to below at the odd zero, ending with the right arm down.
- Zeros: 0 (multiplicity 2, touches and turns back) and 3 (multiplicity 1, crosses)
- y-intercept: (0, 0)
- Ends: left arm up, right arm down
- Signs: above for x < 0, above for 0 < x < 3, below for x > 3
5 Writing a formula from a graph
The rule
If all of a polynomial's zeros are real, at , ...
with multiplicities , ..., so the graph shows every one, then with .source 1 Lowest multiplicity that fits: a straight crossing is 1, a touch and turn is 2, a flattened crossing is 3. To find a, substitute one point that is not on the x-axis and solve the equation for a.
Sources (1)
- Jay Abramson. Precalculus 2e, 3.4 Graphs of Polynomial Functions. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.
How
- Read the example’s zeros and behavior: it crosses straight through at −2 and touches and turns at 1. Use the rule’s smallest fitting multiplicities, 1 and 2, because the question asks for the lowest degree.
- Use the factor rule: a zero c supplies x − c. Write f(x) = a(x + 2)(x − 1. The factors place the zeros, their powers give the required behavior, and a scales the other heights.
- Use the point (0, 4) to find a. Substitute both coordinates: 4 = a(0 + 2)(0 − 1 = 2a. A point off the x-axis makes the factor product nonzero, so it determines a.
- Divide both sides by 2 to keep the equation balanced: a = 2. Write f(x) = 2(x + 2)(x − 1. Its degree is 1 + 2 = 3, the lowest allowed by the crossing and touch.
- Check the saved point: f(2) = 2 · 4 · 1 = 8, matching (2, 8). The factors give zeros −2 and 1 with the required behavior. The leading term 2 gives a left end down and a right end up, so both ends agree too.
Worked example
Worked example
A crossing, a touch, and one more point
Reading a graph gives you these facts. It crosses the x-axis straight through at x = −2. It touches the x-axis and turns back at x = 1. It passes through (0, 4) and (2, 8). Its left arm goes down and its right arm goes up. Write a formula of the lowest possible degree.
What it asks. Write the polynomial formula that fits the given zeros and points.
Show the steps and the answer
The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
- Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
- List the zeros: and .A zero is an x-value where the graph meets the x-axis, and the graph meets it only at these two places.
- Give each zero a multiplicity: 1 at and 2 at .A straight crossing is the lowest odd multiplicity, 1. A touch and turn is the lowest even multiplicity, 2.
- Write the factors: () and .A zero at c gives the factor (x − c). For c = −2 that is x − (−2) = x + 2. The multiplicity becomes the power.
- Write .This is the lowest-degree shape with these zeros and these behaviors. Only the number a is still unknown.
- Substitute the point (0, 4): .The point (0, 4) is on the graph, so an input of 0 must give an output of 4. This turns a height on the picture into an equation whose only unknown is a.
- Work out the factors: and . The equation becomes , which is .Do the powers before multiplying. A negative number squared is positive.
- Divide both sides by 2: . Plug it back in: , the height at .Dividing by 2 undoes the multiplying by 2. This finds the one stretch that puts the graph through (0, 4).
- Write the formula: .The factors come from the zeros, the powers from the behaviors, and the 2 from the extra point.
The trap
Wrong: stop at the factors and assume the scale is one. Right: use a point off the x-axis to solve for the scale.
Quick check
Try it before you open its steps. It is question 5 of 10 in the full lesson, where they run from easy to exam-hard.
Try it · level 5 of 10
Three zeros, one of them at 0
Reading a graph gives you these facts. It crosses the x-axis straight through at x = −3. It touches the x-axis and turns back at x = 0. It crosses straight through at x = 2. It passes through (1, 2) and (−1, 3). Both arms point down. Write a formula of the lowest possible degree.
What it asks. Write the polynomial formula that fits the given zeros and points.
Show the steps and the answer
The plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
- Plan. Choose factors and powers, solve for the scale with a nonzero output, then check.
- List the zeros and multiplicities: with multiplicity 1, 0 with multiplicity 2, and 2 with multiplicity 1.Straight crossings get 1. The touch and turn gets 2.
- Write the factors: (), and ().The zero at 0 gives (x − 0), which is x, and its multiplicity 2 makes it .
- Write .The number in front is still unknown.
- Skip the y-intercept and choose (1, 2).The y-intercept is (0, 0), which is a zero. Substituting it gives 0 = a · 0, which is true for every a and tells you nothing.
- Substitute (1, 2): .The input 1 must give the output 2.
- Divide both sides by : . Plug back in: .This finds the one value of a that gives the height 2 at x = 1.
- Write .The factors, the powers and the number in front are all known.
6 Largest and smallest values on an interval
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.
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.
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)
The trap
Wrong: choose the highest hill and ignore the ends. Right: compare every hilltop and valley inside the interval with every included end.
Quick check
Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.
Try it · level 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
7 Quick checks for the whole unit
Quick check 1 of 8
What are the zeros of f(x) = (x − 4)(x + 7)?
Show the steps and the answer
Quick check 2 of 8
For f(x) = (x + 1(x − 5, what does the graph do at each zero?
Show the steps and the answer
- At x = −1 it crosses the x-axis, flattening as it passes, because the multiplicity 3 is odd and greater than 1.
- At x = 5 it touches the x-axis and turns back, because the multiplicity 2 is even.
Quick check 3 of 8
g(x) = + x − 1 has g(0) = −1 and g(1) = 1. What does the Intermediate Value Theorem tell you?
Show the steps and the answer
Quick check 4 of 8
A polynomial has f(1) = 3 and f(4) = 7. Does that prove there is no zero between 1 and 4?
Show the steps and the answer
Quick check 5 of 8
A graph touches the x-axis at x = −2, crosses it at x = 1, and has y-intercept (0, −8). Write the formula of lowest degree.
Show the steps and the answer
- f(x) = 2(x + 2(x − 1). Start with a(x + 2(x − 1) and plug in (0, −8): a
- 4
- (−1) = −8, so −4a = −8 and a = 2.
Quick check 6 of 8
Which way do the arms of f(x) = −3(x − 1(x + 2 point?
Show the steps and the answer
- Both arms point down. The leading term is −3
- = −3: even degree, negative leading coefficient.
Quick check 7 of 8
Squares of side x cm are cut from the corners of a 10 cm by 10 cm sheet, and the flaps are folded up into an open box. Write the volume and the inputs that make sense.
Show the steps and the answer
Quick check 8 of 8
On the interval −1 ≤ x ≤ 3, a graph starts at (−1, 2), has one hilltop at (0, 5) and ends at the point (3, 9). What is the global maximum on the interval?