# Explainer: Graphing Cubic Functions

In this explainer, we will learn how to graph cubic functions and write their rule from the given graph.

The simplest cubic function is the function that gives the volume of a cube of side : for positive .

Let’s extend this function to all values and make a table of values to graph it.

 𝑥 𝑦=𝑥 −3 −2 −1 0 1 2 3 −27 −8 −1 0 1 8 27

The main characteristics of the cubic function are the following:

• The function’s value is negative when is negative, positive when is positive, and 0 when .
• It is an odd function: , and, as such, its graph is symmetrical with respect to the origin.

Now, we are going to see how the graph changes when we slightly change the function to .

Let’s look at the graph of . We see that and are always of opposite signs. We therefore expect the graph of to be symmetrical to the graph of with respect to the -axis.

Second, let’s look at the graphs of the functions of the general equation with ; for instance, and .

We can easily observe in the diagram the effect of the coefficient in front of : if it is greater than 1, then the graph is steeper; if it is less than 1, then the graph is flatter than the graph of . If you work out the values of the three functions for , you can easily see why the graph of is steeper and that of is flatter: for any , their absolute values are, respectively, bigger and smaller.

 𝑓(1) 1 2 0.5

And, finally, let’s look at the graphs of the functions of the general equation ; for instance, and .

We observe that and do not go through the origin. We see that is simply translated up by two units. Indeed, for any value of , , so is two units above . And is translated downwards by one unit.

Let’s look now at one example.

### Example 1: Matching a Graph with a Cubic Function

Which graph represents the function ?