topic badge

3.03 Cubic functions

Lesson

Shape of cubics

The cubic function belongs to the family of polynomial functions. The image below summarises the different shapes of cubics that you might encounter. The black circle is indicating the point of inflection on each photo. It is interesting to see that the cubics in photo A have turning points, called a local maximum or minimum, while the other cubics do not. While we don't need to use the terms written on the photos right now, they will reappear when we study Calculus later on.

Form of cubics

Just as with linear and quadratic functions, cubics can be represented in different forms. For this course there are three main forms that we need to be familiar with:

Forms of cubics

General Form: $y=ax^3+bx^2+cx+d$y=ax3+bx2+cx+d 

Translated form: $y=k\left(x-b\right)^3+c$y=k(xb)3+c

Factored form ($3$3 linear factors)$y=k\left(x-a\right)\left(x-b\right)\left(x-c\right)$y=k(xa)(xb)(xc)

Depending on the cubic involved, the function could be a one-to-one relation or a many-to-one relation. (Recall that a one-to-one relation is a relation where no two values of $x$x are mapped to the same value of $y$y, and a many-to-one relation is a relation where two or more values of $x$x are mapped to the same value of $y$y).

The general form

Given the general form of a cubic function $y=ax^3+bx^2+cx+d$y=ax3+bx2+cx+d, various combinations of the four coefficients $a$a, $b$b, $c$c and $d$d will create variations in the shape and position of the curve. The applet below gives us a chance to experiment with this.

Although cubics can vary in their shape, there are some common features:

  • A cubic function's domain and range includes all real numbers $x$x and $y$y respectively. 
  • A cubic must cross the $x$x axis at least once, but can have at most three $x$x-intercepts.
  • The curve intersects the $y$y-axis at $y=d$y=d, the constant term of the general cubic.
  • All cubic functions undergo a single change in concavity (from concave down to concave up, or from concave up to concave down). We call this a point of inflection.
  • If $a>0$a>0, the graph is increasing
  • If $a<0$a<0, the graph is decreasing, this is a reflection of the basic graph across the $x$x-axis

The translated form

This second applet allows you to investigate the form translated form depicted in photo B above. The translated form is expressed as $y=k\left(x-b\right)^3+c$y=k(xb)3+c . This form represents the curve of the function $y=kx^3$y=kx3 translated (shifted in position without distorting the shape) horizontally $b$b units and vertically $c$c units.

  • $k$k dilates (stretches) the graph by a factor of $k$k from the $x$x-axis, the larger the magnitude of $k$k the steeper the graph
  • If $k>0$k>0, the graph is increasing
  • If $k<0$k<0, the graph is decreasing, this is a reflection of the basic graph across the $x$x-axis
  • $b$b translates the graph $b$b units horizontally
  • $c$c translates the graph $c$c units vertically
  • Hence, the horizontal point of inflection is at $\left(b,c\right)$(b,c)

Factored form 

$y=k\left(x-a\right)\left(x-b\right)\left(x-c\right)$y=k(xa)(xb)(xc)

Just like factored form for quadratics, this form allows us to read off the $x$x-intercepts directly. Try changing the values in the applet below, try cases with all 3 values different and other cases where some or all of the values match.

  • The $k$k value dilates (stretches) the graph and the larger the magnitude of $k$k the steeper the graph
  • If $k>0$k>0 the graph is mostly increasing (with a positive slope from bottom left to top right)
  • If $k<0$k<0 the graph is mostly decreasing (with a negative slope from top left to bottom right)
  • For three distinct roots there will be three $x$x-intercepts at: $\left(a,0\right)$(a,0), $\left(b,0\right)$(b,0) and $\left(c,0\right)$(c,0)

Finding intercepts

For the three forms above the $y$y-intercept can be found by making $x=0$x=0. Or if you have the general form the constant term $d$d is the point where the function cuts the $y$y-axis.

When finding the $x$x-intercepts the general form can be difficult to use with the skills we have developed so far, while the translated form can be solved by making $y=0$y=0. The $x$x-intercepts for the factored form can be determined directly from the equation as described above or solved in a similar way to a quadratic equation using the null factor law.

 

Worked example

Example 1

Find the $x$x-intercepts of the function $y=2(x-3)^3-16$y=2(x3)316.

Think: The above equation is in the translated form so we can find the $x$x-intercept by solving for $y=0$y=0.

Do: Set $y$y to $0$0 and solve for $x$x

$2(x-3)^3-16$2(x3)316 $=$= $0$0
$2(x-3)^3$2(x3)3 $=$= $16$16
$(x-3)^3$(x3)3 $=$= $8$8
$x-3$x3 $=$= $2$2
$x$x $=$= $5$5
Example 2

Find the $x$x-intercepts of the function $y=2(x-1)(x-3)(x+2)$y=2(x1)(x3)(x+2).

Think: The $x$x-intercepts occur at $y=0$y=0. The equation is in factored form though so we can use the null factor law to read off the $x$x-intercepts.

Do: Set the value of $y$y to $0$0 and read off the $y$y-intercepts.

$2(x-1)(x-3)(x+2)$2(x1)(x3)(x+2) $=$= $0$0
$(x-1)(x-3)(x+2)$(x1)(x3)(x+2) $=$= $0$0
$x$x $=$= $-2,1,3$2,1,3 using the null factor law

Practice questions

Question 1

Consider the graph of the function.

Loading Graph...

  1. For what values of $x$x is the cubic concave up?

  2. For what values of $x$x is the cubic concave down?

  3. State the coordinates of the point of inflection in the form $\left(a,b\right)$(a,b).

Question 2

Consider the given graph of a cubic function.

Loading Graph...

  1. Determine whether the cubic is positive or negative.

    negative

    A

    positive

    B
  2. State the coordinates of the $y$y-intercept.

  3. Which of the following could be the equation of the function?

    $y=-2x^3+3$y=2x3+3

    A

    $y=2x^3+3$y=2x3+3

    B

    $y=2x^3-3$y=2x33

    C

    $y=-2x^3-3$y=2x33

    D

Question 3

Consider the curve $y=-3\left(x-1\right)^3+3$y=3(x1)3+3.

  1. Find the value of the $x$x-intercept.

  2. Find the value of the $y$y-intercept.

  3. State the coordinates of the point of inflection.

  4. Now use the point of inflection to draw a graph of the curve.

    Loading Graph...

Question 4

Consider the curve $y=\left(x+3\right)\left(x+2\right)\left(x-2\right)$y=(x+3)(x+2)(x2).

  1. Find the $x$x-value of the $x$x-intercept(s).

  2. Find the $y$y-value of the $y$y-intercept(s).

  3. Sketch a graph of the curve.

    Loading Graph...

Question 5

Which of the following functions has a curve that passes through the origin?

  1. $y=\left(x-2\right)^2\left(x+3\right)$y=(x2)2(x+3)

    A

    $y=\left(x+1\right)^3$y=(x+1)3

    B

    $y=\left(x-4\right)\left(x+7\right)\left(x-5\right)$y=(x4)(x+7)(x5)

    C

    $y=x\left(x-6\right)\left(x+8\right)$y=x(x6)(x+8)

    D

Outcomes

MA11-1

uses algebraic and graphical techniques to solve, and where appropriate, compare alternative solutions to problems

What is Mathspace

About Mathspace