Cubics and Polynomials
Theory
A cubic function is a polynomial of degree \(3\), \(y=ax^3+bx^2+cx+d\) with \(a\neq 0\). This Year 11 Mathematics Advanced page covers the basic cubic \(y=ax^3\) and its translations \(y=a(x-h)^3+k\), factored cubics and their intercepts, single and double zeros (crossing or touching the \(x\)-axis), end behaviour from the leading term, finding the equation of a cubic from its intercepts and one point, and where a cubic meets a line.
A cubic function has the form \(y=ax^3+bx^2+cx+d\), where \(a\neq 0\). The highest power of \(x\) is \(3\). The term \(ax^3\) is the leading term and \(a\) is the leading coefficient. To evaluate a cubic, substitute the value of \(x\) and use the order of operations: for \(y=x^3-4x^2+1\) at \(x=-1\), \(y=-1-4+1=-4\).
The basic cubic \(y=x^3\) passes through \((-1,-1)\), \((0,0)\) and \((1,1)\). It is rotationally symmetric about the origin, which is its point of symmetry; the curve flattens out there and changes the way it bends, so the origin is also called a point of inflection. For \(y=ax^3\), a positive \(a\) gives a curve rising from left to right, a negative \(a\) reflects it in the \(x\)-axis, and a larger \(|a|\) makes it steeper.
The curve \(y=a(x-h)^3+k\) is \(y=ax^3\) translated \(h\) units horizontally and \(k\) units vertically, so the point of symmetry \((0,0)\) moves to \((h,k)\). Read \(h\) carefully: \(y=(x+2)^3\) is \(y=\bigl(x-(-2)\bigr)^3\), so \(h=-2\), a shift of \(2\) units left.
A cubic in factored form, \(y=k(x-p)(x-q)(x-r)\), has \(x\)-intercepts \(p\), \(q\) and \(r\) by the null factor law. Here \(k\) is a constant multiplier (its leading coefficient), not a vertical shift. The \(y\)-intercept is found by letting \(x=0\).
A factor that appears once gives a single zero: the sign of \(y\) changes there and the curve crosses the \(x\)-axis. A squared factor, as in \(y=k(x-p)^2(x-q)\), gives a double zero at \(x=p\): because \((x-p)^2\geqslant 0\), the sign of \(y\) does not change, so the curve touches the axis and turns there.
The end behaviour (what \(y\) does as \(x\to\infty\) and \(x\to-\infty\)) is decided by the leading term, because \(ax^3\) is much larger than the other terms when \(x\) is large. In factored form the leading term is the product of \(k\) and the \(x\) from each bracket, e.g. \(-3(x+1)(x-2)(x+5)\) has leading term \(-3x^3\).
General form of a cubic:
Translated basic cubic, point of symmetry \((h,k)\):
Factored form with three single zeros, and with a double zero at \(x=p\):
| Leading term | As \(x\to\infty\) | As \(x\to-\infty\) | Shape |
|---|---|---|---|
| \(ax^3,\ a>0\) | \(y\to\infty\) | \(y\to-\infty\) | starts low, ends high |
| \(ax^3,\ a<0\) | \(y\to-\infty\) | \(y\to\infty\) | starts high, ends low |
| In \(y=a(x-h)^3+k\) | Effect on \(y=x^3\) |
|---|---|
| \(a<0\) | reflect in the \(x\)-axis |
| \(h>0\) / \(h<0\) | translate \(h\) units right / \(|h|\) units left |
| \(k>0\) / \(k<0\) | translate \(k\) units up / \(|k|\) units down |
How to sketch a cubic in factored form
- Let \(y=0\) and use the null factor law to find the \(x\)-intercepts.
- Let \(x=0\) to find the \(y\)-intercept.
- Find the leading term (multiply \(k\) by the \(x\) in each bracket) and use its sign for the end behaviour.
- Decide at each \(x\)-intercept: cross at a single zero, touch and turn at a double zero.
- Draw a smooth curve through the intercepts and label them with coordinates.
How to find the equation of a cubic
- Write the factored form from the \(x\)-intercepts with an unknown multiplier \(k\), e.g. \(y=k(x+4)(x-2)(x-3)\). Use a squared factor where the graph touches the axis.
- Substitute one other known point, such as the \(y\)-intercept or a value like \(f(0)=48\).
- Solve for \(k\) and write the equation. Use it to answer any further part, such as finding \(f(1)\).
How to describe a translated cubic \(y=a(x-h)^3+k\)
- Read \(a\), \(h\) and \(k\), writing \(x+2\) as \(x-(-2)\).
- State the reflection (if \(a<0\)), then the horizontal and vertical translations.
- Move the point of symmetry from \((0,0)\) to \((h,k)\). To find an unknown \(a\), substitute a known point.
Let \(y=0\) and use the null factor law: \((x+3)(x+1)(x-2)=0\)
\(x+3=0\) or \(x+1=0\) or \(x-2=0\), so \(x=-3,\ x=-1,\ x=2\).
The \(y\)-intercept is where \(x=0\):
| \(y\) | \(=\) | \((0+3)(0+1)(0-2)\) |
| \(\) | \(=\) | \((3)(1)(-2)\) |
| \(\) | \(=\) | \(-6\) |
Leading term \(x\times x\times x=x^3\) (positive), so \(y\to\infty\) as \(x\to\infty\) and \(y\to-\infty\) as \(x\to-\infty\). All three zeros are single, so the curve crosses the axis at each.
\(\therefore\) \(x\)-intercepts \((-3,0),\ (-1,0),\ (2,0)\); \(y\)-intercept \((0,-6)\).
(i) describe how the graph is obtained from \(y=x^3\) and state its point of symmetry
(ii) find its intercepts with the axes and sketch it.
(i) Compare with \(y=a(x-h)^3+k\): \(a=-1,\ h=2,\ k=1\)
\(a=-1\): reflect \(y=x^3\) in the \(x\)-axis. \(h=2\): translate \(2\) units right. \(k=1\): translate \(1\) unit up.
\(\therefore\) the point of symmetry \((0,0)\) moves to \((0+2,\ 0+1)=(2,1)\).
(ii) The \(y\)-intercept is where \(x=0\):
| \(y\) | \(=\) | \(-(0-2)^3+1\) |
| \(\) | \(=\) | \(-(-8)+1\) |
| \(\) | \(=\) | \(9\) |
Let \(y=0\):
| \(-(x-2)^3+1\) | \(=\) | \(0\) |
| \((x-2)^3\) | \(=\) | \(1\) |
| \(x-2\) | \(=\) | \(1\) |
| \(x\) | \(=\) | \(3\) |
\(\therefore\) \(y\)-intercept \((0,9)\), \(x\)-intercept \((3,0)\), point of symmetry \((2,1)\). Leading term \(-x^3\), so the curve falls from left to right.
Write the factored form: touching at \(x=-1\) means a double zero, so the factor \((x+1)\) is squared.
\(y=k(x+1)^2(x-3)\)
Substitute \((1,16)\):
| \(16\) | \(=\) | \(k(1+1)^2(1-3)\) |
| \(16\) | \(=\) | \(k(4)(-2)\) |
| \(16\) | \(=\) | \(-8k\) |
| \(k\) | \(=\) | \(-2\) |
\(\therefore y=-2(x+1)^2(x-3)\)
The \(y\)-intercept is where \(x=0\):
| \(y\) | \(=\) | \(-2(0+1)^2(0-3)\) |
| \(\) | \(=\) | \(-2(1)(-3)\) |
| \(\) | \(=\) | \(6\) |
\(\therefore\) the \(y\)-intercept is \((0,6)\). Check the shape: the leading term is \(-2x^3\), so the curve falls to the right after crossing at \(x=3\).
Solve the equations simultaneously:
| \(x^3-2x^2\) | \(=\) | \(3x\) |
| \(x^3-2x^2-3x\) | \(=\) | \(0\) |
| \(x(x^2-2x-3)\) | \(=\) | \(0\) |
| \(x(x-3)(x+1)\) | \(=\) | \(0\) |
\(x=0,\ x=3\) or \(x=-1\) (do not divide by \(x\): that loses \(x=0\)).
Using \(y=3x\): \(y=0,\ 9,\ -3\).
\(\therefore (-1,-3),\ (0,0),\ (3,9)\)
Common pitfalls
Frequently asked questions
What is a cubic function?
A cubic function is a polynomial of degree 3, y = a x cubed + b x squared + c x + d, where a is not zero. Its graph is a smooth curve that rises at one end and falls at the other.
How do you find the x-intercepts of a cubic?
Let y = 0. If the cubic is in factored form, use the null factor law: each bracket equal to zero gives one x-intercept. For y = (x + 4)(x - 1)(x - 6), the x-intercepts are -4, 1 and 6.
What is the point of symmetry of a cubic?
For y = a(x - h) cubed + k, the curve is symmetric about the point (h, k), where it flattens out. This point is also called the point of inflection. For y = x cubed it is the origin.
How do you find the equation of a cubic from its graph?
Read the x-intercepts and write y = k(x - p)(x - q)(x - r), squaring a factor where the curve touches the axis. Then substitute one other point on the curve to find k.
What does a double root mean on a cubic graph?
A double root comes from a squared factor such as (x - 4) squared. The curve touches the x-axis at x = 4 and turns back, instead of crossing it.
How do you work out the end behaviour of a cubic?
Look at the leading term a x cubed. If a is positive, y goes to infinity as x goes to infinity and to negative infinity as x goes to negative infinity. If a is negative, it is the other way round.