To justify this theorem, the graph of a polynomial function will be examined for values of
x. Consider an polynomial function
p(x) of
n.
p(x)=anxn+an−1xn−1+…+a1x+a0
Here,
an is the and
a0 the term. Consider the case where both
an and
a0 are . Because
a0>0, the graph intersects the
y-axis above the
x-axis. Also, since
an>0, the of the graph for positive values of
x is
up.
In this case, the number of sign changes must be even. This is because every time a positive sign changes to a sign, it must return to positive again, making the number of sign changes a of 2. The number of times the graph crosses the x-axis must also be even, since the graph begins and ends above the x-axis.
Without sign changes, a polynomial function only increases or decreases as
x increases. Therefore, each change in direction of the graph is related to a sign change in the polynomial. To explore this idea, consider the following polynomial function.
f(x)=x3−8x2+24
It has already been said that only non-negative values of
x are considered, so only non-negative values of
x will be considered for the graph of
f(x).
The of the graph is
24. Then, the graph goes down from
24 for a while before going up. This happens because in the first , the term
-8x2 directs the graph before the leading term
x3 takes direction. For the values of this first interval,
x3 is less than
8x2 and, therefore,
x is less than
8.
x3<8x2⇒x<8
This value can be substituted into the function
f(x) to find its corresponding .
f(x)=x3−8x2+24
f(8)=(8)3−8(8)2+24
f(8)=83−83+24
f(8)=24
When
x=8, the value of
f returns to the original value of
24 before continuously going up as
x increases. In the interval that goes from
0 to
8, the term
-8x2 drives the graph down. Then the value of
x3 catches up and directs the graph upwards. Now consider a variation of the function.
f2(x)=8x3−x2+24
The same will be done to find the values where
x2 is greater than
8x3.
This time the interval is significantly shorter than in the previous case. This can also be seen in the graph.
Here, the effect of the term -x2 is negligible compared to the effect of the term 8x3. This indicates that a change in direction of the graph of a function is caused by a sign change, but a sign change does not always result on a change in direction of the graph. Consider the graph of the initial polynomial function again.
The function starts above the x-axis and has 4 significant direction changes. Therefore, there are at least 4 sign changes in the equation. Also, each time the graph moves in a different direction, it crosses the x-axis, which suggests that the number of zeros can be the same as the number of sign changes. Consider now a different graph.
Here, the number of zeros is less than the number of times the graph changes direction. Since sign changes indicate changes in direction, it is possible to have fewer zeros than sign changes. Also, since there cannot be more zeros without changing direction, there cannot be more zeros than sign changes. Two conclusions can be made from this reasoning.
- The number of sign changes and the number of zeros are both even.
- The number of zeros has to be less than or equal to the number of sign changes.
This is equivalent to what is written in the rule. The other cases can be examined on a similar way. Also, negative zeros are found by considering p(-x) because this is a reflection in the y-axis. Note that this is an informal justification and cannot be taken as a formal proof.