Sign In
| 16 Theory slides |
| 12 Exercises - Grade E - A |
| Each lesson is meant to take 1-2 classroom sessions |
Unfortunately, graphing an arbitrary function usually requires knowing advanced algebraic techniques. However, when the function is a polynomial, some key features of the graph can be derived directly from the function rule, leading to an accurate graph. As such, this lesson aims to teach how to graph polynomials.
Here are a few recommended readings before getting started with this lesson.
In order to improve her graphing polynomial skills, Emily decided to try graphing the fourth-degree polynomial function f(x)=x4−4x3−39x2+46x+80. To start, she made a table of values.
x | -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f(x) | 560 | 0 | -216 | -220 | -120 | 0 | 80 | 84 | 0 | -160 | -360 | -540 | -616 |
Functions are usually named after the algebraic expression that defines them. For example, if the function rule is a real number, the function is called a constant function. Something similar happens when the function rule is a linear, quadratic, or exponential expression.
Function Rule | Name |
---|---|
f(x)=-7 | Constant Function |
g(x)=2x+1 | Linear Function |
h(x)=x2+3x−1 | Quadratic Function |
t(x)=2e3x | Exponential Function |
The same holds true to those functions whose function rule is a polynomial.
A polynomial function is a function whose rule is a polynomial. In general, a polynomial function has the following form.
f(x)=anxn+an−1xn−1+⋯+a1x+a0
up.
down.
down and upor as
down-up.
Determine the end behavior of the given polynomial function.
Emily loves to record every trip she takes on her blog, including amazing photos. However, since she does not have a professional camera, some of her photos need some retouching. To help with this, she plans to buy an image editing software. She is torn between two options whose running times to process an x-by-x pixels image are given by the following polynomials.
Running Time (nanoseconds) | |
---|---|
Software 1 | P(x)=x3−520x2+10000x+20000000 |
Software 2 | Q(x)=100x2+1000000 |
Image Size (pixels) | Running Times (nanoseconds) | Conclusion |
---|---|---|
100-by-100 | P(100)Q(100)=16800000=2000000 ✓
|
Software 2 is faster |
240-by-240 | P(240)Q(240)=6272000 ✓=6760000 ✓
|
Similar Running Times |
300-by-300 | P(300)Q(300)=3200000 ✓=10000000
|
Software 1 is faster |
600-by-600 | P(600)Q(600)=54800000=37000000 ✓
|
Software 2 is faster |
1200-by-1200 | P(1200)Q(1200)=1011200000=145000000 ✓
|
Software 2 is faster |
2000-by-2000 | P(2000)Q(2000)=5960000000=401000000 ✓
|
Software 2 is faster |
The table suggests the following conclusions.
Emily's graph also suggests the first two conclusions. However, that graph corresponds only to a small portion of the domain. Therefore, before making any decisions about end behavior, graph both polynomials in a bigger domain.
It can be seen that the right-end behavior of the graph of y=P(x) is up, and not down as Emily concluded. Additionally, for images with 600-pixel sides or bigger, the running time of Software 2 is considerably shorter than the running time of Software 1.
Conclusion
In general, Software 2 is faster.
Although the right-end behavior of both graphs is up, the graph of y=P(x) increases way much faster than the graph of y=Q(x). Therefore, Emily should buy Software 2.
Leading Coefficient | Degree | End Behavior |
---|---|---|
Positive | Even | Up-Up |
Positive | Odd | Down-Up |
Negative | Odd | Up-Down |
Negative | Even | Down-Down |
The leading term of P(x) is x3, which means that the leading coefficient is 1 and the degree is 3. Since the leading coefficient is positive and the degree is odd, the end behavior of the graph of y=P(x) is Down-Up.
Despite the y-axis being measured in seconds rather than nanoseconds, the conclusion about the end behavior or the fastest software remains the same.
Up-Up.
Again, the y-axis is measured in seconds, not in nanoseconds.
x | -4 | -2 | 0 | 1 | 3 | 4 | 6 |
---|---|---|---|---|---|---|---|
f(x) | -28 | -48 | 252 |
Substitute expressions
Commutative Property of Addition
Factor out x
Factor out (x3−4x2−11x+30)
-4x2=-2x2−2x2, -11x=-15x+4x
Commutative Property of Addition
Factor out x & -2
Factor out (x2−2x−15)
x=-4
Calculate power and product
Multiply
Add and subtract terms
x | f(x)=x4−3x3−15x2+19x+30 | Result |
---|---|---|
0 | f(0)=04−3(0)3−15(0)2+19(0)+30 | 30 |
1 | f(1)=14−3(1)3−15(1)2+19(1)+30 | 32 |
4 | f(4)=44−3(4)3−15(4)2+19(4)+30 | -70 |
Consequently, the complete table of values looks as follows.
x | -4 | -2 | 0 | 1 | 3 | 4 | 6 |
---|---|---|---|---|---|---|---|
f(x) | 162 | -28 | 30 | 32 | -48 | -70 | 252 |
up-up.
up-upin Part C.
down-up.In contrast, the zeros are not easy to identify simply by looking at the function rule. Usually, the polynomial must be factored first. However, not all polynomials have a suitable factorization. Therefore, it is worth considering whether there is a simple way to estimate the zeros of a function. The following principle answers this.
Let f be a polynomial function and a and b be two real numbers. If f(a) and f(b) have opposite signs, then there is at least one zero between a and b.
Notice that if f(a) and f(b) have opposite signs, the principle guarantees one zero between a and b, but there could be more. Conversely, the fact that f(a) and f(b) have the same sign does not imply that there are no zeros between a and b.
Let a and b be two real numbers with a<b and let f be a polynomial function such that f(a)>0 and f(b)<0. A sketch of the graph of y=f(x) around x=a and around x=b could look as follows.
For f(x)=8x3−12x2 −26x +15, it can be found that f(0)=15>0 and f(1)=-15<0. Notice that f(0) and f(1) have opposite signs. Consequently, f has at least one zero between x=0 and x=1.
The interval where the zero is located can be reduced by considering closer testing values.
Use the Location Principle to indicate whether the given polynomial function is guaranteed to have a zero in the indicated interval.
Sometimes knowing that a graph passes through a point does not give enough information about how the curve is before and after the point. However, when the point is either a maximum or a minimum, there is a clear view of the behavior of the graph around it.
The value f(c) is a relative minimum, or local minimum, of a function if f(c) is the least output of f around x=c. Likewise, the value f(d) is a relative maximum, or local maximum, of a function if f(d) is the greatest output of f around x=d.
When a relative extrema is greater or lower than any other point in the graph, it has a particular name.
The absolute minimum, or global minimum, of a function is the least output in its whole domain.
The absolute maximum, or global maximum, of a function is defined in a similar way. It is the greatest output of the function in its whole domain.
The absolute maximum of a function is also a relative maximum, and the absolute minimum is also a relative minimum. If a function increases indefinitely, it does not have an absolute maximum. Likewise, if a function decreases indefinitely, it does not have an absolute minimum. The function might still have relative extrema.
Relative or absolute extrema are very useful when graphing functions, but the method for finding them is beyond the scope of this lesson. That said, when working with polynomial functions, there is a way to estimate the maximum number of relative extrema by using the turning points of the graph.
A turning point is a point where the graph of a function changes from increasing to decreasing or vice versa. In other words, the turning points correspond to the relative extrema of the graph of a function.
The graph corresponds to a fifth-degree polynomial with four turning points. When dealing with polynomial functions, there is a close connection between the degree, the zeros, and the turning points.
Consider the given polynomial function. Determine either the maximum or the exact number of turning points that its graph may have.
After purchasing the image editing software, Emily was curious about the online software she used to plot the polynomials and wanted to try graphing a polynomial by hand. To challenge herself, she chose the polynomial function f(x)=-0.5x5−3.5x4 +91x3+374x2 −3556x−7840. So far, she has created the following table of values.
x | -15 | -10 | -7 | -3 | 0 | 6 | 8 | 11 |
---|---|---|---|---|---|---|---|---|
f(x) | 25025 | -10880 | 4165 | 3575 | -7840 | -4480 | 3520 | -12350 |
She next plans to find the zeros of the polynomial and determine the end behavior of the graph. She also knows that (-11.83,-16791.37), (-5.16,7312.41), (2.67,-13181.92), and (8.71,4482.69) are turning points. Emily thinks it is enough information to make an accurate sketch of the graph. Follow Emily's plan and graph y=f(x).
x | -15 | -10 | -7 | -3 | 0 | 6 | 8 | 11 |
---|---|---|---|---|---|---|---|---|
f(x) | 25025 | -10880 | 4165 | 3575 | -7840 | -4480 | 3520 | -12350 |
x=-14
Calculate power and product
Multiply
Add and subtract terms
f(x)=-0.5x5−3.5x4+91x3+374x2−3556x−7840 | |
---|---|
x=-9 | x=-8 |
f(-9)=-0.5(-9)5−3.5(-9)4+91(-9)3+374(-9)2−3556(-9)−7840⇓f(-9)=-5320
|
f(-8)=-0.5(-8)5−3.5(-8)4+91(-8)3+374(-8)2−3556(-8)−7840⇓f(-8)=0
|
The polynomial has a second zero at x=-8. The remaining zeros can be found by applying a similar reasoning.
After testing some integers that belong to each of the mentioned intervals, the remaining zeros can be found at x=-2, x=7, and x=10.
Zeros
-14,-8,-2,7,10
Since the polynomial has degree five, it has no more zeros.
Leading Coefficient | Degree | End Behavior |
---|---|---|
Positive | Even | Up-Up |
Positive | Odd | Down-Up |
Negative | Odd | Up-Down |
Negative | Even | Down-Down |
For the given polynomial, the leading term is -0.5x5. The leading coefficient is negative and the degree is odd. Consequently, the end behavior of the graph of f is Up-Down.
Now, graph the points from the table.
Before connecting the points with a smooth curve, plot the turning points (-11.83,-16791.37), (-5.16,7312.41), (2.67,-13181.92), and (8.71,4482.69). At these points, the graph changes from increasing to decreasing or vice versa.
According to the distribution of the points, from left to right, the first turning point is a relative minimum, the second one a relative maximum, the third another relative minimum, and the fourth and final one another relative maximum. There are no absolute extrema. With all this information, the graph can finally be drawn.
Some functions have the property that their graphs look the same on both sides of the y-axis, as if the y-axis were a mirror. Such a property can be easily identified once the graph is drawn but, can it be deduced algebraically? The next concepts can answer this question.
An even function is a function for which the value of f(-x) is equal to the value of f(x) for all the values in its domain. That is, opposite inputs have the same output.
f(-x)=f(x)
x=-x
(-a)4=a4
(-a)2=a2
3x4−2x2+1=f(x)
Some other functions seem to be reflected across the origin. Functions with this property are called odd functions.
An odd function is a function for which the value of f(-x) is equal to the value of -f(x) for all the values in its domain. It is like if the function allows moving the negative sign from the input to the output.
f(-x)=-f(x)
x=-x
(-a)2=a2
Put minus sign in front of fraction
x2−1x=f(x)
Be aware that these concepts are exclusive — in other words, if a function is even, it cannot be odd, and vice versa. However, unlike integers, a function may be neither even nor odd.
At the beginning of the lesson, Emily graphed the polynomial function f(x)=x4−4x3−39x2+46x+80 using a table of values, but she was not so sure about the end behavior of the graph. She concluded that the end behavior was "Up-Down."
up-up.Consequently, Emily's graph was not correct. She had to extend the right part upward, and not downward.
Describe the end behavior of each of the following polynomial functions.
Let's begin by writing the end behavior of a polynomial graph based on the leading coefficient and degree of the function rule.
Leading Coefficient | Degree | End Behavior |
---|---|---|
Positive | Even | Up-Up |
Positive | Odd | Down-Up |
Negative | Odd | Up-Down |
Negative | Even | Down-Down |
Now, let's take a look at the polynomial function and identify its leading coefficient and degree. f(x) = 4x^3-3x^2-2x-100 The leading coefficient is 4, which is a positive number. The degree of the polynomial is 3, which is an odd number. With this information, we can say that the end behavior of the graph of f(x) is down-up.
To determine the end behavior of the graph of g(x), we will use the table we wrote in Part A. Let's start by identifying the leading coefficient and degree of the function rule.
g(x) = -8x^7 + 32x^5 + 2x^2 - 6
The leading coefficient is -8, which is a negative number. The leading coefficient is 7, which is an odd number. Therefore, the end behavior of the graph of g(x) is up-down.
We will determine the end behavior of the graph of h(x) the same way we did in the previous parts. However, notice that the given polynomial function is not written in standard form. Let's begin by rearranging the terms.
h(x) = 3x^3 + 51 - 2x^2 + 4x^4
⇕
h(x) = 4x^4 + 3x^3 - 2x^2 + 51
With the function rule written in standard form, we can see that the leading coefficient is positive and the degree is even — both are equal to 4. Consequently, the end behavior of the graph of g(x) is up-up.
To determine which function rule corresponds to which graph, let's begin by determining the end behavior of the polynomial functions. We will first write the end behavior of a polynomial graph based on the leading coefficient and the degree of the function rule.
Leading Coefficient | Degree | End Behavior |
---|---|---|
Positive | Even | Up-Up |
Positive | Odd | Down-Up |
Negative | Odd | Up-Down |
Negative | Even | Down-Down |
Now let's take a look at all the given functions and identify their leading coefficients and degrees.
Function | Leading Coefficient | Degree | End Behavior |
---|---|---|---|
f(x) = 0.02x^4 + 0.04x^3 - 0.62x^2 - 0.64x + 1.2 | 0.02→ Positive | 4→ Even | Up-Up |
g(x) = 0.02x^4 + 0.06x^3 - 0.56x^2 - 1.2x | 0.02→ Positive | 4→ Even | Up-Up |
h(x) = 0.04x^3 - 0.04x^2 - 0.48x | 0.04→ Positive | 3→ Odd | Down-Up |
m(x) = -0.02x^4 - 0.06x^3 + 0.5x^2 + 1.5x | -0.02→ Negative | 4→ Even | Down-Down |
If we take a look at the four given graphs and pay close attention to their end behaviors, we can get the following information. A &→ Down-Down B &→ Up-Up C &→ Up-Up D &→ Down-Up With this, we can make a new table where we write the possible graphs for each function rule.
Function | End Behavior | Possible Graphs |
---|---|---|
f(x) = 0.02x^4 + 0.04x^3 - 0.62x^2 - 0.64x + 1.2 | Up-Up | B and C |
g(x) = 0.02x^4 + 0.06x^3 - 0.56x^2 - 1.2x | Up-Up | B and C |
h(x) = 0.04x^3 - 0.04x^2 - 0.48x | Down-Up | D |
m(x) = -0.02x^4 - 0.06x^3 + 0.5x^2 + 1.5x | Down-Down | A |
From the table, we can pair two function rules to their graphs: graph D corresponds to h(x) and graph A corresponds to m(x). GraphA &→ m(x) GraphD &→ h(x) However, functions f(x) and g(x) can be paired either to graph B or graph C. Therefore, we need to go beyond the end behavior. Let's identify their x-intercepts.
As we can see, both graphs have almost the same x-intercepts.
Graph | x-intercepts |
---|---|
B | -6, -2, 0, 5 |
C | -6, -2, 1, 5 |
Let's use the non-matching x-intercepts to determine which function rule corresponds to which graph. Let's substitute x=0 into both function rules. The polynomial whose output is 0 for x=0 is the function that corresponds to graph B.
Function | Substitute x=0 | Evaluate |
---|---|---|
f(x) = 0.02x^4 + 0.04x^3 - 0.62x^2 - 0.64x + 1.2 | f( 0) = 0.02( 0)^4 + 0.04( 0)^3 - 0.62( 0)^2 - 0.64( 0) + 1.2 | f(0)=1.2 |
g(x) = 0.02x^4 + 0.06x^3 - 0.56x^2 - 1.2x | g( 0) = 0.02( 0)^4 + 0.06( 0)^3 - 0.56( 0)^2 - 1.2( 0) | g(0)=0 |
Since f(0)≠ 0, then x=0 is not an x-intercept of the graph of f(x). Conversely, g(0) is equal to 0. Therefore, graph B corresponds to g(x) and graph C corresponds to f(x). A &→ m(x) B &→ g(x) C &→ f(x) D &→ h(x)
Determine whether the functions are even, odd, or neither.
To determine if a function is even or odd, let's substitute -x for x into the function rule and simplify the right-hand side. If the resulting expression is equal to f(x), the function is even. Conversely, if the resulting expression is equal to -f(x), the function is odd. Otherwise, the function is neither even nor odd.
As we can see, the resulting expression is not equal to f(x). Therefore, the function is not even. However, we can continue simplifying the expression on the right-hand side by factoring out -1.
We found that f(-x) is equal to -f(x), which implies that the function is odd.
As we did in Part A, let's substitute -x for x into the function rule and simplify the right-hand side.
As we can see, g(-x) is equal to g(x). Therefore, the function is even. Because a function cannot be even and odd at the same time, we do not need to check if the function is odd.
Let's begin by recalling that a turning point is a point where the graph of a function changes from increasing to decreasing or vice versa. However, this definition is not so helpful if we do not have the graph of the function. Nevertheless, the following fact can also help us.
Polynomial Functions and Turning Points |- The graph of a polynomial function of degree n can have at most n-1 turning points.
Since the polynomial function f(x) has degree 4, we can say that the graph of f(x) has at most 3 turning points.
We can use the same fact we used in Part A to find the maximum possible number of turning points that the graph of g(x) can have. However, this time the function rule is given in factored form.
g(x) = (x+9)(x-5)(x+1)^3
The good news is that we do not need to expand the cube and perform the multiplications to determine the degree of g(x). We can answer the question by finding the degree of each factor.
Factor | Degree |
---|---|
x+9 | 1 |
x-5 | 1 |
(x+1)^3 | 3 |
The degree of g(x) is the sum of the degrees of each factor. As such, the degree of g(x) is 5. This means that the graph of g(x) has at most 5-1=4 turning points.
In Part A, we found that the graph of f(x) has at most 3 turning points. This means that k=3. Knowing this, let's read the question again.
Is it possible for the graph off(x) to have2 turning points?
Before answering this question, let's remember another aspect of the turning points of a polynomial graph.
Polynomial Functions and Turning Points |- If a polynomial function has n distinct real zeros, then its graph has exactly n-1 turning points.
With this fact in mind, let's find zeros of f(x). We can start by factoring out x.
Each of the factors of f(x) gives us a zero of the function. ccc Factor & & Zero x & → & 0 x+4 & → & -4 x+1 & → & -1 x-1 & → & 1 As we can see, f(x) has four distinct real zeros. This means that the graph of f(x) has exactly 3 turning points. For this reason, the answer to the initial question is no. It is not possible for the graph off(x) to have2 turning points.
Which of the following is the graph of f(x)?
Since the x-intercepts of a graph are the zeros of the function, our task is reduced to find the zeros of the given function. To do so, let's equate the function to zero.
To solve this polynomial equation, we can apply the Zero Product Property and split the equation into five linear equations. Then we can solve each one separately. (x + 4)(x + 2)(1 - x)(x - 3)(x - 6) = 0 ⇓ x+4 = 0 x+2=0 1-x=0 x-3=0 x-6=0 ⇔ x = -4 x=-2 x=1 x=3 x=6 We found that the x-intercepts of the graph of f(x) are x=-4, -2 1, 3, 6.
Let's begin by writing the end behavior of a polynomial graph based on the leading coefficient and degree of the function rule.
Leading Coefficient | Degree | End Behavior |
---|---|---|
Positive | Even | Up-Up |
Positive | Odd | Down-Up |
Negative | Odd | Up-Down |
Negative | Even | Down-Down |
In our case, we have a polynomial function in factored form, so we cannot see the leading coefficient and degree directly. However, we do not have to perform all the multiplications to find them. Instead, we can use the following fact.
When two or more polynomials are multiplied, the leading coefficient of the resulting polynomial equals the product of the leading coefficients, and the degree equals the sum of the degrees of the multiplied polynomials.
Let's identify the leading coefficient and the degree of each factor of f(x).
f(x) = (x+4)(x+2)(1-x)(x-3)(x-6) | ||
---|---|---|
Factor | Leading Coefficient | Degree |
x+4 | 1 | 1 |
x+2 | 1 | 1 |
1-x | -1 | 1 |
x-3 | 1 | 1 |
x-6 | 1 | 1 |
From the table, we can conclude that the product of the leading coefficients is equal to -1 and the sum of the degrees is 5. Therefore, the leading coefficient is negative and the degree is odd. This tells us that the end behavior of the graph of f(x) is up-down.
To determine which of the graphs is the graph of f(x), we will sketch the graph of f(x) and compare it to the given choices. Let's plot the x-intercepts we found in Part A and the end behavior we found in Part B. Remember, the x-intercepts occur at -4, -2, 1, 3, and 6, and the end behavior is up-down.
Comparing this rough sketch with the four given graphs, we can disregard graph A because it has different x-intercepts, and graph B because it has a different end behavior.
As we can see, graphs C and D have the same x-intercepts and end behavior. To determine which one corresponds to the graph of f(x), let's estimate their y-intercepts.
Graph | y-intercept |
---|---|
C | Less than 200 |
D | About 200 |
Now, let's find the y-intercept of the graph of f(x) by evaluating the function rule at x=0.
Since f(0)<200, we conclude that the graph of f(x) is graph C.