A cubic graph is plotted from a table of values as one smooth curve
Each family of graphs has its own shape. A cubic function is drawn by plotting its table of values.
Cubic function
A cubic function is a function in which the highest power of x{x}x is x3,{x^3\text{,}}x3, such as y=x3{y = x^3}y=x3 or y=x3−3x+2.{y = x^3 - 3x + 2\text{.}}y=x3−3x+2.
The curve keeps rising through the origin, so y=x3{y = x^3}y=x3 has no turning points.
The y{y}y-values in a cubic table have no constant step and no mirror line, so substitute each value of x,{x\text{,}}x, with brackets round every negative, as in the guide Substitution.
Completing a table and drawing a cubic
Complete the table of values for y=x3−3x+2{y = x^3 - 3x + 2}y=x3−3x+2 for x=−2,−1,0,1,2,{x = -2, -1, 0, 1, 2\text{,}}x=−2,−1,0,1,2, then draw the graph.
- At x=−2,{x = -2\text{,}}x=−2, y=(−2)3−3×(−2)+2=−8+6+2=0.y = (-2)^3 - 3 \times (-2) + 2 = -8 + 6 + 2 = 0\text{.}y=(−2)3−3×(−2)+2=−8+6+2=0.
- At x=−1,{x = -1\text{,}}x=−1, y=(−1)3−3×(−1)+2=−1+3+2=4.y = (-1)^3 - 3 \times (-1) + 2 = -1 + 3 + 2 = 4\text{.}y=(−1)3−3×(−1)+2=−1+3+2=4.
- At x=0,{x = 0\text{,}}x=0, y=0−0+2=2.{y = 0 - 0 + 2 = 2\text{.}}y=0−0+2=2. At x=1,{x = 1\text{,}}x=1, y=1−3+2=0,{y = 1 - 3 + 2 = 0\text{,}}y=1−3+2=0, and at x=2,{x = 2\text{,}}x=2, y=8−6+2=4.{y = 8 - 6 + 2 = 4\text{.}}y=8−6+2=4.
- Plot (−2,0),{(-2, 0)\text{,}}(−2,0), (−1,4),{(-1, 4)\text{,}}(−1,4), (0,2),{(0, 2)\text{,}}(0,2), (1,0){(1, 0)}(1,0) and (2,4),{(2, 4)\text{,}}(2,4), then join them with one smooth freehand curve that turns at (−1,4){(-1, 4)}(−1,4) and (1,0).{(1, 0)\text{.}}(1,0).
Ruled segments, a line of best fit or several separate strokes lose the mark for the curve, even when every point is plotted correctly.
The reciprocal graph has two branches that never touch the axes
Dividing 1 by x{x}x gives the reciprocal function, whose graph is unlike a line, parabola or cubic.
Reciprocal function
The reciprocal function is y=1x{y = \dfrac{1}{x}}y=x1 with x≠0,{x \neq 0\text{,}}x=0, since 1 cannot be divided by 0.
Halving x{x}x doubles y,{y\text{,}}y, so each branch gets steeper as it nears the y{y}y-axis.
Neither branch meets the x{x}x-axis, because 1 divided by any number is never 0.
Sketching the reciprocal graph
Sketch the graph of y=1x{y = \dfrac{1}{x}}y=x1 on axes with no numbers.
- x{x}x and y{y}y always have the same sign, so the branches are top right and bottom left.
- Draw each branch as a smooth curve that runs close to the y{y}y-axis at one end and close to the x{x}x-axis at the other.
- Check that both branches are drawn, that they are not joined and that neither touches an axis.
Wrong. The graph of y=1x{y = \dfrac{1}{x}}y=x1 is sketched as one curve through O, like a cubic.
Right. No point has x=0,{x = 0\text{,}}x=0, so the graph cannot pass through O. It has two separate branches, through points such as (2,12){(2, \dfrac{1}{2})}(2,21) top right and (−2,−12){(-2, -\dfrac{1}{2})}(−2,−21) bottom left.
Match a graph to its equation by type, then by sign
To match an equation to a sketch, find its type first, then use the sign of its x3,{x^3\text{,}}x3, x2{x^2}x2 or 1x{\frac{1}{x}}x1 term, because a minus sign flips the graph of y=x3,{y = x^3\text{,}}y=x3, y=x2{y = x^2}y=x2 or y=1x.{y = \frac{1}{x}\text{.}}y=x1. The type comes from the equation:
- Linear, such as y=2x+1,{y = 2x + 1\text{,}}y=2x+1, is a straight line.
- Quadratic, with highest power x2,{x^2\text{,}}x2, is a parabola with one turning point.
- Cubic, with highest power x3,{x^3\text{,}}x3, has two turning points or none.
- Reciprocal, such as y=1x,{y = \frac{1}{x}\text{,}}y=x1, has two separate branches.
- Exponential, y=kx{y = k^x}y=kx for a positive number k≠1,{k \neq 1\text{,}}k=1, crosses the y{y}y-axis at (0,1){(0, 1)}(0,1) and stays above the x{x}x-axis.
The two cubics without turning points are mirror images, and so are the two reciprocal graphs.
Matching equations to sketches
Match y=x2,{y = x^2\text{,}}y=x2, y=x3,{y = x^3\text{,}}y=x3, y=1x{y = \dfrac{1}{x}}y=x1 and y=−1x{y = -\dfrac{1}{x}}y=−x1 to sketches A to F. Then write down the letter of the sketch that could have equation y=x3−4x.{y = x^3 - 4x\text{.}}y=x3−4x.
- y=x2{y = x^2}y=x2 is the only quadratic, and D is the only parabola, so it is D.
- y=x3{y = x^3}y=x3 has no other term, so it has no turning points and is C or E. At x=1,{x = 1\text{,}}x=1, y=1,{y = 1\text{,}}y=1, above the x{x}x-axis, so it is E.
- The reciprocals are B and F. At x=1,{x = 1\text{,}}x=1, y=1x{y = \dfrac{1}{x}}y=x1 gives y=1,{y = 1\text{,}}y=1, top right, so it is B, and y=−1x{y = -\dfrac{1}{x}}y=−x1 gives y=−1,{y = -1\text{,}}y=−1, bottom right, so it is F.
- For y=x3−4x,{y = x^3 - 4x\text{,}}y=x3−4x, x=−2,−1,0,1,2{x = -2, -1, 0, 1, 2}x=−2,−1,0,1,2 give y=0,3,0,−3,0,{y = 0, 3, 0, -3, 0\text{,}}y=0,3,0,−3,0, using (−1)3−4×(−1)=3.{(-1)^3 - 4 \times (-1) = 3\text{.}}(−1)3−4×(−1)=3. It rises, falls, then rises, so it turns twice and is A.
Wrong. y=−x3{y = -x^3}y=−x3 is a cubic, so its graph is sketch E, rising from bottom left to top right.
Right. The minus sign makes y{y}y negative wherever x{x}x is positive. At x=2,{x = 2\text{,}}x=2, y=−(23)=−8,{y = -(2^3) = -8\text{,}}y=−(23)=−8, and at x=−2,{x = -2\text{,}}x=−2, y=−(−2)3=8,{y = -(-2)^3 = 8\text{,}}y=−(−2)3=8, so the graph runs from top left to bottom right, as in sketch C.
A line that is not vertical, a parabola or a cubic crosses the y{y}y-axis where x=0,{x = 0\text{,}}x=0, so the sketch of y=x3+2{y = x^3 + 2}y=x3+2 passes through (0,2),{(0, 2)\text{,}}(0,2), not O.
- Why must a cubic table be found by substituting every value of x,{x\text{,}}x, not by continuing a pattern?
- How does a minus sign in front of the x3{x^3}x3 or 1x{\dfrac{1}{x}}x1 term change a graph?
The table for y=x3+1{y = x^3 + 1}y=x3+1 has y=9{y = 9}y=9 at x=2.{x = 2\text{.}}x=2. What is y{y}y at x=−2?{x = -2\text{?}}x=−2?
−7{-7}−7
In which two quadrants does the graph of y=1x{y = \dfrac{1}{x}}y=x1 lie?
Top right and bottom left
How many turning points does the graph of y=−x3{y = -x^3}y=−x3 have?
None