We want to sketch the graph of a polynomial like y=x3−x2−6x without plugging in a long list of x-values by hand.
Sketching from End Behavior and X-Intercepts
Text solution
Keep the highest power for the far endsFor large positive or negative x, the leading term x3 is much larger in magnitude than the other terms. Since it has odd degree and a positive coefficient, the graph starts down on the far left and finishes up on the far right.
y≈+x3(left end ↙, right end ↗)
Factor out x and split the quadraticFactoring turns the expression into a multiplication problem so we can see which x-values make y=0.
y=x3−x2−6x=x(x2−x−6)=x(x−3)(x+2)
Set each factor to zero for the x-interceptsMultiplying these three factors gives zero only when one of them is zero, which gives us the only three points where the curve can touch the x-axis.
xx−3=0⟹xx+2=0⟹x=0,=3,=−2
So the graph starts at the bottom left, crosses the x-axis at x=−2, turns back down to cross at x=0, and turns up to cross at x=3 on its way to the top right.
1
When a Factor Has an Exponent
In y=x(x−3)(x+2), every factor had a first power and the graph crossed straight through every root. What happens when a factor has an exponent on it, as in
y=(x+2)(x−3)2?
Its leading term is still x⋅x2=x3, so the left end still points down and the right end points up, which means the graph cannot cross straight through both roots.
How Exponents on Factors Shape the Zeros
Text solution
Multiply the highest power of x from each factorMultiplying the highest powers of x together gives the leading term without multiplying out the parentheses.
x⋅x2=+x3(degree 3; left end ↙, right end ↗)
Match each root's behavior to its factor's exponentSetting each factor to zero gives the roots, and the exponent on each factor tells us whether the curve crosses or bounces there.
Plug in x=0 for the y-interceptPlugging in x=0 gives the point where the curve crosses the y-axis, giving us another point to help with the sketch.
y=(0+2)(0−3)2=2⋅9=18
So the graph starts at the bottom left, crosses straight through (−2,0), rises to a peak, comes down through (0,18), and bounces off (3,0) to head up to the top right.
Near a root on the x-axis, the other factors are close to fixed nonzero numbers, so the exponent on that root's factor sets the shape of the graph as it meets the axis.
Near a root, approximate the other factors by their values at that root. Their product gives the constant multiplier for that root's factor.
2
Putting All Three Root Shapes Together
Now let's sketch a polynomial that combines all three exponent shapes and a negative sign in front:
y=−x(x+3)2(x−2)3
Sketching a Factored Polynomial
Text solution
Add the exponents on x for the degree and end behaviorMultiplying the x's from all three factors gives x6, and the negative sign in front flips both far ends down.
−x1⋅x2⋅x3=−x6(degree 1+2+3=6; left end ↙, right end ↘)
Find each root and its shape from the exponentSetting each factor to zero gives the three x-intercepts and how the graph behaves at each one.
(x+3)2=0−x1=0(x−2)3=0⟹x=−3(power 2: bounces)⟹x=0(power 1: crossesstraight through)⟹x=2(power 3: flattens and crosses)
Starting at the bottom-left arrow below the axis, the graph rises to bounce at x=−3, curves back up to cross straight through x=0 above the axis, and then flattens and crosses back below the axis at x=2 to meet the bottom-right arrow.
3
Factoring Before Sketching
When a polynomial is given in standard form, like
y=x4−4x3+4x2,
we can read its end behavior right away from the highest power, and then factor it to see the roots and their exponents.
Factoring a Polynomial Before Sketching
Text solution
Read the end behavior from the highest powerIn standard form, the leading term +x4 is already out front, and because it is an even positive power, both ends point up.
y≈+x4(left end ↖, right end ↗)
Factor out the common power of x and split the quadraticEvery term has x2, and the quadratic left inside factors into (x−2)(x−2).
y=x4−4x3+4x2=x2(x2−4x+4)=x2(x−2)2
Read the roots and exponents from the factorsBoth factors have an exponent of 2, so the graph bounces at both x-intercepts.
So the W-shaped graph comes down from the top left, bounces at x=0, goes over a middle hill to bounce at x=2, and rises to the top right.
4
Turning Points, Local Maxima, and Local Minima
A turning point is any spot where the graph switches direction: the peak of a hill where it switches from going up to going down is a local maximum, and the bottom of a valley where it switches from going down to going up is a local minimum. The degree of a polynomial sets the maximum number of times its graph can turn around.
Turning Points, Local Maxima, and Local Minima
A polynomial of degree n has
at most n−1 turning points.
We can see why a graph sometimes has fewer turns than this maximum by looking back at our degree-6 example, y=−x(x+3)2(x−2)3:
Text solution
Find the maximum possible turns from the degreeBecause the degree is 6, the curve can turn around at most 5 times.
degree 6⟹at most 6−1=5 turning points
Count the actual hills and valleys on the sketchTracing from left to right gives a hill at the bounce at x=−3 (local maximum), a valley between −3 and 0 (local minimum), and a hill between 0 and 2 (local maximum).
2 local maxima+1 local minimum=3 turning points
Check where the missing turns combinedAt x=2, the factor (x−2)3 flattens out on the way down and keeps going down afterward, combining two potential turns into a flattened crossing that never switches direction.
A factor like x2+4 adds 2 to the degree without giving any x-intercepts of its own. Because a factor with no real roots still raises the degree, the graph can end up with fewer turns than the maximum. For example, y=x(x2+4) has degree 3, so it can have at most 2 turning points, yet it has none.
A degree-4 polynomial with four distinct real roots has three turning points. If three of those roots are brought together into a triple root, two turns merge into a flattened crossing, leaving one turning point.
With four separate roots, this degree-4 curve has 3 turns. Stacking two roots keeps 3 turns, while stacking three leaves 1.
5
Writing an Equation from a Graph
Given the graph below, we want a polynomial equation of the lowest possible degree that matches its intercepts and crossing or bouncing behavior.
Writing a Polynomial Equation from Its Graph
y=?
Text solution
Turn each x-intercept and its shape into a factor with an exponentFor the lowest possible degree, use power 1 at the straight crossing x=−1 and power 2 at the bounce x=2. Put an unknown number a in front to set the vertical stretch and sign.
y=a(x+1)1(x−2)2
Plug in one point off the x-axis to solve for aPlugging in the y-intercept (0,−8) for (x,y) gives us the exact value of a.
−8−8a=a(0+1)(0−2)2=4a=−2
Write the finished equation and check the sign of aBecause the factors have degree 1+2=3 and the graph starts up on the left and finishes down on the right, a must be negative, which matches a=−2.
y=−2(x+1)(x−2)2
In y=a(x+1)(x−2)2, a nonzero a keeps the crossing at x=−1 and bounce at x=2. Choosing a=−2 makes the curve pass through (0,−8).
For nonzero a, the curve crosses the x-axis at −1 and turns around at 2. The height of the y-intercept sets a.
Key concepts
Whether you are sketching a graph from an equation or building an equation from a graph, it comes down to three parts of the curve:
Zoomed way out (far ends and turning points)
In standard form, look at the highest power of x; in factored form, multiply the highest power of x from each factor and keep the front sign, such as −x(x+3)2(x−2)3→−x6 (degree 6). Even degrees point the same way (both up for +, both down for −), while odd degrees point opposite ways (↙↗ for +,↖↘ for −). A degree-n polynomial has at most n−1 turning points (local maxima at the peaks of hills, local minima at the bottoms of valleys).
In the middle (x-intercepts and y-intercept)
If the equation is in standard form, factor out any common power of x first (x4−4x3+4x2=x2(x−2)2). Set each factor to zero to find the x-intercepts, and plug in x=0 to find the y-intercept. Watch out for factors like x2+4 where a square plus a positive number is always positive: they never equal zero and give no x-intercepts, even though their degree still contributes to the polynomial's degree.
Zoomed in at each root (exponent on the factor)
Power 1, like (x+2)1, acts like a line and crosses straight through.
An even power, like (x−3)2, keeps the same sign on both sides of the root, so the graph bounces off the axis (which counts as a turning point).
With an odd power of 3 or more, like (x−2)3, the graph flattens out and crosses the axis (which is not a turning point).
From a graph back to an equation
For an equation of the lowest possible degree, choose the smallest exponents that match the roots' crossing or bouncing behavior. Put an unknown number a in front (y=a(x+1)(x−2)2), and plug in one given point off the x-axis to solve for a.
6
Practice
1
For y=(x−1)(x+3)2, find the degree, end behavior, y-intercept, and each x-intercept along with how the graph behaves there.
Be careful not to just count the two parentheses and call it degree 2.
Add the exponents on x from all factors to get the degree, and plug in x=0 for the y-intercept.
Multiply the highest powers of x from the factors: x1⋅x2=+x3. (Be careful not to just count the two parentheses and call it degree 2.) The degree is 1+2=3 with a positive leading term (+x3), so the left end points down and the right end points up.
Set each factor to zero for the x-intercepts (watch the signs: don't read −1 and +3 directly without setting the factors to zero):
x−1=0⟹x=1 (power 1, so the graph crosses straight through).
(x+3)2=0⟹x=−3 (power 2, so the graph bounces).
Plug in x=0 for the y-intercept (remember to square the 3, or you'll get −3 instead of −9):
y=(0−1)(0+3)2=(−1)(9)=−9
So the y-intercept is (0,−9).
2
Factor y=x4+2x3−8x2 completely, then find its end behavior, its x-intercepts, and how the graph behaves at each x-intercept.
Every term has at least x2, so factor x2 out front before factoring the quadratic left inside.
Factoring out x2 first gives
y=x2(x2+2x−8)=x2(x+4)(x−2).
The leading term is +x4 (even and positive), so both ends point up.
Set each factor to zero to find the x-intercepts (don't forget the x2 out front: leaving it out misses the root at x=0, and treating it as power 1 misses that it bounces):
x+4=0⟹x=−4 (power 1, crosses straight through).
x2=0⟹x=0 (power 2, bounces).
x−2=0⟹x=2 (power 1, crosses straight through).
3
For y=−x(x+2)3(x−4)2, find the degree, end behavior, and behavior at each x-intercept, then trace the graph from left to right to check that it meets the right-hand end arrow after the last root.
Don't just add the written exponents 3+2=5, which would give an odd degree and flip the left end up.
Don't miss the exponent of 1 on the front −x when adding exponents for the degree and when finding the roots.
Add the exponents on all three factors: 1+3+2=6 (don't just add the written exponents 3+2=5, which would give an odd degree and flip the left end up). With the negative sign in front, the leading term is −x6, so both the left and right ends point down.
From left to right along the x-axis, the x-intercepts are:
x=−2 (power 3, flattens and crosses).
x=0 (power 1, crosses straight through).
x=4 (power 2, bounces).
Starting below the x-axis on the far left, the graph flattens and crosses above the axis at x=−2, crosses straight back below the axis at x=0, and bounces off x=4 to stay below the axis, heading down to match the bottom-right end arrow.
4
What is the maximum number of turning points any degree-5 polynomial can have, and how many turning points (and how many local maxima and local minima) does y=(x+1)2(x−2)3 actually have?
Trace the curve through the bounce at x=−1 and the flattened crossing at x=2, and check where the graph actually switches direction.
Any degree-5 polynomial can have at most 5−1=4 turning points.
For y=(x+1)2(x−2)3, the leading term is +x5, so the graph starts down on the far left, rises to bounce at x=−1(1 local maximum), dips into a valley between x=−1 and x=2 before turning back up (1 local minimum), and then flattens and crosses upward through x=2. (Don't count the flattened crossing at x=2 as a third turning point: the curve is going up both before and after x=2, so two potential turns combined there.) The graph has 2 actual turning points: 1 local maximum and 1 local minimum.
5
A polynomial graph has both far ends pointing down. It crosses straight through the x-axis at x=−3, bounces at x=1, flattens out and crosses at x=2, and has a y-intercept at (0,12). Write an equation of the lowest possible degree in factored form.
Write y=a(x+3)(x−1)2(x−2)3 from the roots and their shapes, then plug in (0,12) to find a.
From the roots and their behaviors,
y=a(x+3)(x−1)2(x−2)3.
(Don't stop here with a=1 or just put a minus sign in front for the downward ends, which would give a y-intercept of −24 or +24 instead of 12.) Plugging in (0,12) gives
12=a(3)(−1)2(−2)3=−24a.
(Watch the negative sign when cubing −2:(−2)3=−8, not +8, which would give a=+21 instead of −21.) Dividing by −24 gives a=−21, which is negative and matches both ends pointing down for degree 6. The equation is
y=−21(x+3)(x−1)2(x−2)3.
6
For y=−(x−2)2(x2+1), find the degree, end behavior, maximum possible number of turning points, y-intercept, and all x-intercepts with the graph's behavior there.
Don't ignore x2+1 when counting the degree, which would give degree 2.
Check whether x2+1 can ever equal zero for any real number x, and remember that its x2 still gets multiplied when finding the degree.
Multiplying the highest powers of x gives −(x2)(x2)=−x4 (don't ignore x2+1 when counting the degree, which would give degree 2). The degree is 2+2=4 with a negative leading term (−x4), so both ends point down and there are at most 4−1=3 turning points.
Because x2+1 is always at least 1 and never equals 0 (be careful not to set x2+1=0 and list x=−1 or x=1 as x-intercepts), the only x-intercept comes from (x−2)2=0, which is x=2 where the graph bounces (power 2).