Source codeVideos

Command Palette

Search for a command to run...

Polynomial

Polynomial Graph

Graphing Polynomial Functions

The graph of a polynomial function provides a visual representation of how the function's value changes as the input value xx changes. The shape of this graph can vary greatly depending on the degree and coefficients of the function.

Point Plotting Method

The most fundamental way to draw a graph is by determining several (x,y)(x, y) point pairs that satisfy the function, then connecting them with a smooth curve.

Steps:

  1. Choose several different values for xx.
  2. Calculate the value y=P(x)y = P(x) for each chosen xx value.
  3. Create a table of (x,y)(x, y) value pairs.
  4. Plot these points on the coordinate plane.
  5. Connect the points with a smooth and continuous curve.

Linear Function (Degree 1)

Graph the function f(x)=2x+5f(x) = 2x + 5.

We choose several xx values and calculate yy:

xxy=f(x)y = f(x)(x,y)(x, y)
-3-1(3,1)(-3, -1)
-21(2,1)(-2, 1)
-13(1,3)(-1, 3)
05(0,5)(0, 5)
17(1,7)(1, 7)
29(2,9)(2, 9)
311(3,11)(3, 11)

Plot the points and connect them:

Graph of f(x)=2x+5f(x) = 2x + 5
Graph of a linear function (degree 1).

Quadratic Function (Degree 2)

Graph the function g(x)=x22x3g(x) = x^2 - 2x - 3.

Table of values:

xxy=g(x)y = g(x)(x,y)(x, y)
-25(2,5)(-2, 5)
-10(1,0)(-1, 0)
0-3(0,3)(0, -3)
1-4(1,4)(1, -4)
2-3(2,3)(2, -3)
30(3,0)(3, 0)
45(4,5)(4, 5)

Plot the points and connect with a smooth curve (parabola):

Graph of g(x)=x22x3g(x) = x^2 - 2x - 3
Graph of a quadratic function (degree 2).

Cubic Function (Degree 3)

Graph the function h(x)=x3+3x24h(x) = x^3 + 3x^2 - 4.

Table of values:

xxy=h(x)y = h(x)(x,y)(x, y)
-4-20(4,20)(-4, -20)
-3-4(3,4)(-3, -4)
-20(2,0)(-2, 0)
-1-2(1,2)(-1, -2)
0-4(0,4)(0, -4)
10(1,0)(1, 0)
216(2,16)(2, 16)

Plot the points and connect with a smooth curve:

Graph of h(x)=x3+3x24h(x) = x^3 + 3x^2 - 4
Graph of a cubic function (degree 3).

General Characteristics of Polynomial Graphs

Graphs of polynomial functions are always smooth (no sharp corners) and continuous (no jumps or breaks). Their general shape is heavily influenced by the degree of the polynomial.

  • Degree 0: P(x)=cP(x) = c. The graph is a horizontal line.
  • Degree 1: P(x)=ax+bP(x) = ax + b. The graph is a straight (slanted) line.
  • Degree 2: P(x)=ax2+bx+cP(x) = ax^2 + bx + c. The graph is a parabola.
  • Degree 3: P(x)=ax3+P(x) = ax^3 + \dots. The graph has a shape like the letter 'S' or a reverse 'S', and can have up to two 'peaks' or 'valleys'.
  • Degree 4: The graph can have up to three 'peaks' or 'valleys'.
  • Degree 5: The graph can have up to four 'peaks' or 'valleys'.

In general, the graph of a polynomial function of degree nn can intersect the xx-axis at most nn times and has at most n1n-1 turning points (peaks or valleys).

End Behavior

One important characteristic of polynomial graphs is their end behavior, which describes the direction of the graph as xx approaches positive infinity (xx \to \infty) or negative infinity (xx \to -\infty).

The end behavior is determined solely by the leading term anxna_n x^n:

  1. Degree nn (Even or Odd)
  2. Sign of the Leading Coefficient ana_n (Positive or Negative)

There are four possible combinations:

  1. nn Even, an>0a_n > 0 (Positive):

    • As xx \to \infty, yy \to \infty (rises right \nearrow)

    • As xx \to -\infty, yy \to \infty (rises left \nwarrow)

    • Examples: y=x2y = x^2, y=x4y = x^4

      Graph of y=x2y = x^2 (Even, Positive)
      Graph rises to the left and right.
  2. nn Even, an<0a_n < 0 (Negative):

    • As xx \to \infty, yy \to -\infty (falls right \searrow)

    • As xx \to -\infty, yy \to -\infty (falls left \swarrow)

    • Examples: y=x2y = -x^2, y=x6y = -x^6

      Graph of y=x2y = -x^2 (Even, Negative)
      Graph falls to the left and right.
  3. nn Odd, an>0a_n > 0 (Positive):

    • As xx \to \infty, yy \to \infty (rises right \nearrow)

    • As xx \to -\infty, yy \to -\infty (falls left \swarrow)

    • Examples: y=xy = x, y=x3y = x^3, y=x5y = x^5

      Graph of y=x3y = x^3 (Odd, Positive)
      Graph falls to the left and rises to the right.
  4. nn Odd, an<0a_n < 0 (Negative):

    • As xx \to \infty, yy \to -\infty (falls right \searrow)

    • As xx \to -\infty, yy \to \infty (rises left \nwarrow)

    • Examples: y=xy = -x, y=x3y = -x^3

      Graph of y=x3y = -x^3 (Odd, Negative)
      Graph rises to the left and falls to the right.

Using End Behavior

Knowing the end behavior is very helpful for identifying the graph of a polynomial function without having to plot it in detail.

Application Example:

Match the following functions with their likely end behavior:

  1. f(x)=x4+2x32x3f(x) = x^4 + 2x^3 - 2x - 3
    • Leading term: x4x^4
    • Degree n=4n=4 (Even)
    • Leading coefficient an=1a_n=1 (Positive)
    • End behavior: Rises left (\nwarrow), Rises right (\nearrow)
    Graph of f(x)=x4+2x32x3f(x) = x^4 + 2x^3 - 2x - 3
    End Behavior: \nwarrow \nearrow
  2. g(x)=x3+2x2x+1g(x) = -x^3 + 2x^2 - x + 1
    • Leading term: x3-x^3
    • Degree n=3n=3 (Odd)
    • Leading coefficient an=1a_n=-1 (Negative)
    • End behavior: Rises left (\nwarrow), Falls right (\searrow)
    Graph of g(x)=x3+2x2x+1g(x) = -x^3 + 2x^2 - x + 1
    End Behavior: \nwarrow \searrow
  3. h(x)=x6114x5+x4+5x3+2h(x) = -x^6 - \frac{11}{4}x^5 + x^4 + 5x^3 + 2
    • Leading term: x6-x^6
    • Degree n=6n=6 (Even)
    • Leading coefficient an=1a_n=-1 (Negative)
    • End behavior: Falls left (\swarrow), Falls right (\searrow)
    Graph of h(x)=x6114x5+x4+5x3+2h(x) = -x^6 - \frac{11}{4}x^5 + x^4 + 5x^3 + 2
    End Behavior: \swarrow \searrow
  4. k(x)=25x520x426x3+12x2+9x1k(x) = 25x^5 - 20x^4 - 26x^3 + 12x^2 + 9x - 1
    • Leading term: 25x525x^5
    • Degree n=5n=5 (Odd)
    • Leading coefficient an=25a_n=25 (Positive)
    • End behavior: Falls left (\swarrow), Rises right (\nearrow)
    Graph of k(x)=25x520x426x3+12x2+9x1k(x) = 25x^5 - 20x^4 - 26x^3 + 12x^2 + 9x - 1
    End Behavior: \swarrow \nearrow

By analyzing the leading term, we can predict the general shape of the graph at its ends.