Graphs Of Cubic Functions


Related Pages
Factor Theorem
Solving Quadratic Equations
Graphs Of Quadratic Functions
More Algebra Lessons

In these lessons, we will learn

  • how to graph of cubic functions by plotting points.
  • how to graph cubic functions of the form y = a(x − h)3 + k using transformation.
  • how to graph cubic functions using calculus



Share this page to Google Classroom

How To Graph Cubic Functions By Plotting Points?

The general form of a cubic function is y = ax3 + bx + cx + d where a , b, c and d are real numbers and a is not zero.

We can graph cubic functions by plotting points.

Example:
Draw the graph of y = x3 + 3 for –3 ≤ x ≤ 3. Use your graph to find
a) the value of y when x = 2.5
b) the value of x when y = –15

Solution:

x –3 –2 –1 0 1 2 3
y –24 –5 2 3 4 11 30

Cubic Function Graph

a) When x = 2.5, y ≈ 18.6
b) When y = –15, x ≈–2.6




Example:
Plot the graph of y = x3 – 9x + 5 for –4 ≤ x ≤ 4 and use your graph to find:
a) the value of y when x = 1.6
b) the value of x when y = 12

Solution:

x –4 –3 –2 –1 0 1 2 3 4
y –23 5 15 13 5 –3 –5 5 33


a) When x = 1.6, y ≈ –5.3
b) When y = 12, x ≈ –0.8, or x ≈ –2.5

Steps to Graph a Cubic Function by Plotting Points

  1. Create a Table of Values:
    Choose a range of x-values. It’s helpful to include both positive and negative values, as well as zero.
    Substitute each x-value into the cubic function to calculate the corresponding y-value (or f(x)).
    Record these (x, y) pairs in a table.
  2. Plot the Points:
    Draw a coordinate plane (x-axis and y-axis).
    Plot each (x, y) point from your table onto the coordinate plane.
  3. Connect the Points:
    Draw a smooth curve that passes through all the plotted points.
    Remember that cubic functions are continuous, so the curve should not have any sharp corners.
    Pay attention to the general shape of a cubic function. It usually has an “S” like curve.
    Consider the end behavior of the function.
    If the leading coefficient (the coefficient of x³) is positive, the graph will rise to the right and fall to the left.
    If the leading coefficient is negative, the graph will fall to the right and rise to the left.

How to graph cubic functions using a calculator or technology?

How to graph a cubic or degree 3 polynomial function by completing a table of values?

Complete the table using the function rule
f(x) = x3 - 4x and graph the function.



Graph Cubic Functions Of The Form y = a(x − h)3 + k

We can graph cubic functions by transforming the basic cubic graph. The basic cubic graph is y = x3.

For the function of the form y = a(x − h)3 + k.
If k > 0, the graph shifts k units up; if k < 0, the graph shifts k units down.
If h > 0, the graph shifts h units to the right; if h < 0, the graph shifts h units left.
If a < 0, the graph is flipped.

How to graph cubic functions by writing the function in the form y = a(x − h)3 + k?

Example:
Graph \(y = - \frac{1}{2}{\left( {x + 4} \right)^3} + 5\)

How to graph a Transformation of a Cubic Function?

Example:
Sketch the graph of \(f(x) = - \frac{3}{2}{\left( {x + 2} \right)^3} - 3\)

Graphing cubics using end behavior, inverted cubic, vertical shift, horizontal shift, and combined shifts

Graphing cubics using combined shifts, vertical stretch



Cubic Equation Solver

This Cubic Equation calculator will solve the given cubic equation. Use it to check your answers.


How to graph cubic functions using calculus?

Try the free Mathway calculator and problem solver below to practice various math topics. Try the given examples, or type in your own problem and check your answer with the step-by-step explanations.
Mathway Calculator Widget



We welcome your feedback, comments and questions about this site or page. Please submit your feedback or enquiries via our Feedback page.