If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Positive & negative intervals of polynomials

Learn about the relationship between the zeros of polynomials and the intervals over which they are positive or negative.

What you should be familiar with before taking this lesson

The zeros of a polynomial f correspond to the x-intercepts of the graph of y=f(x).
For example, let's suppose f(x)=(x+3)(x1)2. Since the zeros of function f are 3 and 1, the graph of y=f(x) will have x-intercepts at (3,0) and (1,0).
If this is new to you, we recommend that you check out our zeros of polynomials article.

What you will learn in this lesson

While the x-intercepts are an important characteristic of the graph of a function, we need more in order to produce a good sketch.
Knowing the sign of a polynomial function between two zeros can help us fill in some of the gaps.
In this article, we'll learn how to determine the intervals over which a polynomial is positive or negative and connect this back to the graph.

Positive and negative intervals

The sign of a polynomial between any two consecutive zeros is either always positive or always negative.
For example, consider the graphed function f(x)=(x+1)(x1)(x3).
From the graph, we see that f(x) is always ...
  • ...negative when <x<1.
  • ...positive when 1<x<1.
  • ...negative when 1<x<3.
  • ...positive when 3<x<.
It is not necessary, however, for a polynomial function to change signs between zeros.
For example, consider the graphed function g(x)=x(x+2)2.
From the graph, we see that g(x) is always...
  • ...negative when <x<2.
  • ...negative when 2<x<0.
  • ...positive when 0<x<.
Notice that g(x) does not change sign around x=2.

Determining the positive and negative intervals of polynomials

Let's find the intervals for which the polynomial f(x)=(x+3)(x1)2 is positive and the intervals for which it is negative.
The zeros of f are 3 and 1. This creates three intervals over which the sign of f is constant:
Let’s find the sign of f for <x<3.
We know that f will either be always positive or always negative on this interval. We can determine which is the case by evaluating f for one value in this interval. Since 4 is in this interval, let's find f(4).
Because we are only interested in the sign of the polynomial here, we don't have to completely evaluate it:
f(x)=(x+3)(x1)2f(4)=(4+3)(41)2=()()2Evaluate only the sign of the answer.=()(+)A negative squared is a positive.=A negative times a positive is a negative.
Here we see that f(4) is negative, and so f(x) will always be negative for <x<3.
We can repeat the process for the remaining intervals.
The results are summarized in the table below.
IntervalThe value of a specific f(x) within the intervalSign of f on intervalConnection to graph of f
<x<3f(4)<0negativeBelow the x-axis
3<x<1f(0)>0positiveAbove the x-axis
1<x<f(2)>0positiveAbove the x-axis
This is consistent with the graph of y=f(x).

Check your understanding

1) g(x)=(x+1)2(x+6) has zeros at x=6 and x=1.
What is the sign of g on the interval 6<x<1?
صرف 1 جواب چنو

2) h(x)=(3x)(x+5)(x2) has zeros at x=5, x=2, and x=3.
What is the sign of h(x) on the interval 5<x<2?
صرف 1 جواب چنو

Challenge problem

3*) Which of the following could be the graph of g(x)=(x2)2(x+1)3?
صرف 1 جواب چنو

Determining positive & negative intervals from a sketch of the graph

Another way to determine the intervals over which a polynomial is positive or negative is to draw a sketch of its graph, based on the polynomial's end behavior and the multiplicities of its zeros.
Check out our graphs of polynomials article for further details.