topic badge

4.03 Graphing polynomial functions

Lesson

Concept summary

A polynomial function is a function that involves variables raised to non-negative integer powers.

There are two special types of polynomial functions based on the degree of each term of the polynomial.

Even function

A function is even if f(-x)=f(x).

The graph of an even function will have either both sides up or both sides down. It is symmetric about the y-axis.

Example:

f(x) = x^2

Odd function

A function is odd if f(-x)=-f(x).

The graph of an odd function will have one side up and one side down. It is symmetric about the origin.

Example:

f(x) = x^3

Note: If -x is substituted into the function and some but not all of the signs change, the function is neither even nor odd.

Depending on the leading coefficient and degree of the polynomial, we can identify some trends on the end behavior of the function, where the function values are increasing/decreasing, and where the function values are positive/negative.

x
y
Positive leading coefficient, even degree
x
y
Negative leading coefficient, even degree
x
y
Positive leading coefficient, odd degree
x
y
Negative leading coefficient, odd degree

Steps for graphing a polynomial function:

  1. Identify the parent function and end behavior.
    DegreeLeading CoefficientEnd BehaviorGraph of the function
    \text{even }(x^2)\text{positive}f(x) \to + \infty, \text{as } x \to -\infty \\ f(x) \to + \infty, \text{as } x \to +\infty\text{rises to the left and} \\ \text{to the right}
    \text{even }(-x^2)\text{negative}f(x) \to - \infty, \text{as } x \to -\infty \\ f(x) \to - \infty, \text{as } x \to +\infty\text{falls to the left and} \\ \text{to the right}
    \text{odd }(x^3)\text{positive}f(x) \to -\infty, \text{as } x \to -\infty \\ f(x) \to + \infty, \text{as } x \to +\infty\text{falls to the left and} \\ \text{rises to the right}
    \text{odd }(-x^3)\text{negative}f(x) \to + \infty, \text{as } x \to -\infty \\ f(x) \to - \infty, \text{as } x \to + \infty\text{rises to the left and} \\ \text{falls to the right}
  2. Identify the transformations to shift the the point of inflection or vertex.
  3. Find the y-intercept by evaluating the expression when x=0.
  4. Find the x-intercepts by determining the zeros of the function (when y=0 or f\left(x\right)=0)

The parent functions for quadratic functions and cubic functions have some features in common and some different.

-4
-3
-2
-1
1
2
3
4
x
-4
-3
-2
-1
1
2
3
4
y

Key features:

  • Vertex: \left(0,0\right)

  • x-intercept: \left(0,0\right)

  • y-intercept: \left(0,0\right)

  • End behaviour:
    • As x\to -\infty, f(x) \to \infty
    • As x\to -\infty, f(x) \to \infty
-4
-3
-2
-1
1
2
3
4
x
-4
-3
-2
-1
1
2
3
4
y

Key features:

  • Point of inflection: \left(0,0\right)

  • x-intercept: \left(0,0\right)

  • y-intercept: \left(0,0\right)

  • End behaviour:
    • As x\to -\infty, f(x) \to -\infty
    • As x\to -\infty, f(x) \to \infty

Worked examples

Example 1

Determine whether the given graph is that of an odd function, even function or neither.

-4
-3
-2
-1
1
2
3
4
x
-4
-3
-2
-1
1
2
3
4
y

Approach

Determine the symmetry of the graph. If the graph is symmetrical about the y-axis, it is that of an even function. On the other hand, if it is symmetrical about the origin, it is that of an odd function.

Solution

Since the curve is symmetrical about the y-axis, the graph is that of an even function.

Example 2

Consider the table of values for the function f \left( x \right), and the transformed function g \left( x \right) shown in the graph:

x-2-1012
f(x)-523411
-2
-1
1
2
x
-24
-20
-16
-12
-8
-4
4
8
12
16
20
24
y

Express g \left( x \right) in terms of f \left( x \right).

Approach

Determine the values of g(x) for the values of x shown in the table and think how the original function f(x) can be transformed to get these values.

Solution

Determining the values of g(x) for the given values of x, we have the following table of values:

x-2-1012
g(x)-1046822

From the table of values above, we can see that the values of g(x) are twice that of f(x). Thus, we can express g(x) in terms of f(x) as g \left( x \right) = 2 f \left( x \right).

Example 3

Consider the graph of y = x^{3}:

-5
-4
-3
-2
-1
1
2
3
4
5
x
-5
-4
-3
-2
-1
1
2
3
4
5
y

Describe how to shift the graph of y = x^{3} and sketch the graph of y = \left(x + 2\right)^{3} - 1.

Approach

Check the form of the new function to determine its horizontal and vertical translation.

Horizontal Translation: If the function is in the form y=f(x+a), the graph of y=f(x) is moved to the left by a units when a is positive, and to the right by a units when a is negative.

Vertical Translation: If the function is in the form y=f(x+b), the graph of y=f(x) is moved upward by b units when b is positive, and downward by b units when b is negative.

Solution

Since a=2 and b=-1 in y = \left(x + 2\right)^{3} - 1, we can obtain the graph of y = \left(x + 2\right)^{3} - 1 by moving the graph of y = x^{3} to the left by 2 units and down by 1 unit.

-5
-4
-3
-2
-1
1
2
3
4
5
x
-5
-4
-3
-2
-1
1
2
3
4
5
y

Example 4

An investor purchased some space at a local market and rents it out to different vendors. Their weekly revenue is tracked over 7 years and follows the model: y=25(x - 3)^3 + 200where y represents the weekly revenue in dollars and x represents the number of years.

a

Draw the graph of y=25(x - 3)^3 + 200. Include an accurate scale.

Approach

We can use the leading coefficient to tell us about the end behavior and work algebraically to find the intercepts. We can identify some key features from transformations. From there, we should be able to draw an accurate graph.

Solution

This has a cubic parent function. The positive leading coefficient tells us that it will have this end behavior:

x
y

We can also see that the function y=x^3 has been translated 3 units to the right and 200 units upwards, so the point of inflection will be at \left(3,200\right).

We can find the intercepts algebraically.

Find y-intercept:

\displaystyle y\displaystyle =\displaystyle 25(x - 3)^3 + 200Given equation
\displaystyle y\displaystyle =\displaystyle 25(0 - 3)^3 + 200Let x=0
\displaystyle y\displaystyle =\displaystyle 25(-27) + 200Evaluate the exponent
\displaystyle y\displaystyle =\displaystyle -675 + 200Evaluate the product
\displaystyle y\displaystyle =\displaystyle -475Evaluate the sum

Find x-intercept:

\displaystyle y\displaystyle =\displaystyle 25(x - 3)^3 + 200Given equation
\displaystyle 0\displaystyle =\displaystyle 25(x - 3)^3 + 200Let y=0
\displaystyle -200\displaystyle =\displaystyle 25(x - 3)^3Subtraction property of equality
\displaystyle -8\displaystyle =\displaystyle (x-3)^3Division property of equality
\displaystyle -2\displaystyle =\displaystyle x-3Cube root both sides
\displaystyle 1\displaystyle =\displaystyle xAddition property of equality

Using the transformations, the point of inflection would be \left(3,200\right).

Using all these key features we can graph:

1
2
3
4
5
6
\text{Time in years }(x)
-400
-200
200
400
600
800
1000
\text{Revenue in dollars }(y)
b

Use the graph to predict when the weekly revenue reaches \$ 600.

Approach

We can start at 600 on the y-axis and look across horizontally to the graph and then down vertically to the x-axis.

Solution

1
2
3
4
5
6
x
-400
-200
200
400
600
800
1000
y

A revenue of \$600 will be reached after 5.5 years.

Reflection

When predicting from a graph, we may need to estimate.

Outcomes

A2.N.Q.A.1

Use units as a way to understand real-world problems.*

A2.N.Q.A.1.A

Choose and interpret the scale and the origin in graphs and data displays.

A2.A.APR.A.2

Identify zeros of polynomials when suitable factorizations are available, and use the zeros to construct a rough graph of the function defined by the polynomial.

A2.A.CED.A.2

Create equations in two variables to represent relationships between quantities and use them to solve problems in a real-world context. Graph equations with two variables on coordinate axes with labels and scales, and use the graphs to make predictions.*

A2.F.IF.B.4

Graph functions expressed algebraically and show key features of the graph by hand and using technology.*

A2.F.BF.B.3

Identify the effect on the graph of replacing f(x) by f(x) + k, k f(x), f(kx), and f(x + k) for specific values of k (both positive and negative); find the value of k given the graphs.

A2.MP1

Make sense of problems and persevere in solving them.

A2.MP3

Construct viable arguments and critique the reasoning of others.

A2.MP6

Attend to precision.

A2.MP7

Look for and make use of structure.

What is Mathspace

About Mathspace