Skip to the page
Home Campus
Start free

Graphs of Cubic Functions

What a cubic function is, how to make its table of values with cubes of negative numbers and draw its graph, the two shapes the graph takes, and how to read values from it.

Before you start

  • In Secondary 2 you drew y=x2−2x−3y = x^2 - 2x - 3 from a table: work out each term, add, plot every point to the scale given and join them with one smooth curve. At x=−2x = -2: (−2)2−2(−2)−3=4+4−3=5.(-2)^2 - 2(-2) - 3 = 4 + 4 - 3 = 5\text{.}
  • You found its turning point, and read values from the graph with dashed lines. A value read between grid lines is an estimate, so write it with ≈\approx, then check it by substituting.

Cubic Functions

In y=x3−3x+1y = x^3 - 3x + 1 each value of xx gives exactly one value of yy, and the highest power of xx is 33. A function like this is a cubic function.

A cubic function

A cubic function is a function y=ax3+bx2+cx+d,y = ax^3 + bx^2 + cx + d\text{,} where aa, bb, cc and dd are numbers and a≠0a \neq 0.

In this course a cubic function has at most three terms, for example y=x3y = x^3, y=−2x3y = -2x^3, y=x3−3x+1y = x^3 - 3x + 1, y=12x−x3y = 12x - x^3 and y=4x3−48x2+144x.y = 4x^3 - 48x^2 + 144x\text{.}

Cubes of negative numbers

The cube of a negative number is negative: (−2)3=(−2)×(−2)×(−2)=−8,(-2)^3 = (-2) \times (-2) \times (-2) = -8\text{,} and (−1.5)3=−3.375.(-1.5)^3 = -3.375\text{.}

In −x3-x^3, cube first, then change the sign: at x=−2x = -2, −x3=−(−8)=8-x^3 = -(-8) = 8.

In 2x32x^3, cube first, then multiply: at x=−1.5x = -1.5, 2x3=2×(−3.375)=−6.75,2x^3 = 2 \times (-3.375) = -6.75\text{,} not (−3)3=−27(-3)^3 = -27.

The Graphs of y = x³ and y = −x³

Example 1: y=x3y = x^3 and y=−x3y = -x^3

Complete tables of values for y=x3y = x^3 and y=−x3y = -x^3 for −2≤x≤2-2 \le x \le 2, in steps of 0.50.5, giving values to 2 decimal places where they are not exact. Draw both graphs on the same axes.

Solution

(−1.5)3=−3.375,(-1.5)^3 = -3.375\text{,} which is −3.38-3.38 to 2 decimal places (a value exactly half-way is rounded up in size), and (−0.5)3=−0.125,(-0.5)^3 = -0.125\text{,} which is −0.13-0.13. Each value of −x3-x^3 is the value of x3x^3 with its sign changed.

xx−2-2−1.5-1.5−1-1−0.5-0.500
x3x^3−8-8−3.38-3.38−1-1−0.13-0.1300
−x3-x^3883.383.38110.130.1300
xx0.50.5111.51.522
x3x^30.130.13113.383.3888
−x3-x^3−0.13-0.13−1-1−3.38-3.38−8-8

Plot each set of points and join it with one smooth curve. Here each square is 0.50.5 unit across and 22 units up; on graph paper, use the scale the question gives.

The graphs of y = x³ and y = −x³ for x from −2 to 2, through the points of the tables: y = x³ rises from (−2, −8) to (2, 8) and y = −x³ falls from (−2, 8) to (2, −8), both flattening as they pass through the originxy−2−112−8−6−4−22468Oy = x³y = −x³

Both graphs pass through the origin OO. The graph of y=x3y = x^3 rises from left to right all the way, through the third quadrant and then the first. At OO it flattens for a moment and then rises again: it does not turn there.

The graph of y=−x3y = -x^3 falls from left to right, through the second quadrant and then the fourth, and also flattens at OO without turning.

y=x3y = x^3: −8-8, −3.38-3.38, −1-1, −0.13-0.13, 00, 0.130.13, 11, 3.383.38, 88.
y=−x3y = -x^3: 88, 3.383.38, 11, 0.130.13, 00, −0.13-0.13, −1-1, −3.38-3.38, −8-8. The graphs are the two curves above.

Drawing a Cubic Graph from a Table

Drawing the graph of a cubic function

1. Make the table term by term: one row for each term, keeping exact values there, then add them for yy. Give yy to 2 decimal places when it is not exact.

2. Draw and number the axes to the scale the question gives.

3. Plot every point and join them with one smooth curve, drawn freehand through every point; do not join them with straight lines. Round each turning point: it is not a sharp point.

4. Draw the curve over the range of xx given, no further, and label it with its equation.

Example 2: A cubic with two turning points

(a) Complete a table of values for y=x3−3x+1y = x^3 - 3x + 1 for −2≤x≤2-2 \le x \le 2, in steps of 0.50.5.
(b) Using a scale of 2 cm to represent 1 unit on both axes, draw the graph.
(c) Find the coordinates of its turning points.

Solution

(a) At x=−2x = -2: x3=−8x^3 = -8, −3x=−3×(−2)=6,-3x = -3 \times (-2) = 6\text{,} so y=−8+6+1=−1.y = -8 + 6 + 1 = -1\text{.} The other columns in the same way:

xx−2-2−1.5-1.5−1-1−0.5-0.500
x3x^3−8-8−3.375-3.375−1-1−0.125-0.12500
−3x-3x664.54.5331.51.500
+1+11111111111
yy−1-12.132.13332.382.3811
xx0.50.5111.51.522
x3x^30.1250.125113.3753.37588
−3x-3x−1.5-1.5−3-3−4.5-4.5−6-6
+1+111111111
yy−0.38-0.38−1-1−0.13-0.1333

Check one column straight from the equation: at x=1.5x = 1.5, y=3.375−4.5+1=−0.125,y = 3.375 - 4.5 + 1 = -0.125\text{,} which is −0.13-0.13 ✓.

(b) Here each square is 0.50.5 unit on both axes; on graph paper, use the scale the question gives.

The graph of y = x³ − 3x + 1 for x from −2 to 2, a smooth curve through the nine points of the table, rising to the turning point (−1, 3), falling to the turning point (1, −1) and rising againxy−2−112−2−11234Oy = x³ − 3x + 1(−1, 3)(1, −1)

(c) The curve rises to a turning point near x=−1x = -1, falls, turns again near x=1x = 1, and rises again: it has two turning points. Read them from the graph: (−1,3)(-1, 3) and (1,−1)(1, -1).

Here both are points of the table. Often a turning point lies between two values of the table, as in Secondary 2, so always read it from the curve.

A turning point need not be the highest or lowest point of the whole graph: here the curve reaches 33 again at x=2x = 2, and it would go higher if it were drawn further. So call each of them a turning point.

(a) yy: −1-1, 2.132.13, 33, 2.382.38, 11, −0.38-0.38, −1-1, −0.13-0.13, 33
(c) (−1,3)(-1, 3) and (1,−1)(1, -1) (accept xx from −1.3-1.3 to −0.7-0.7 and from 0.70.7 to 1.31.3, and yy from 2.92.9 to 3.13.1 and from −1.1-1.1 to −0.9-0.9: the curve is flat there)

The Two Shapes of a Cubic Graph

Far to the left and far to the right of the origin, the x3x^3 term is much larger than the other terms. So the sign of aa, the coefficient of x3x^3, decides which way the graph goes at its ends.

The shape of the graph of a cubic function

If a>0a > 0, the graph starts low on the left and ends high on the right.

If a<0a < 0, the graph starts high on the left and ends low on the right.

In between, a cubic graph has two turning points or none: y=x3−3xy = x^3 - 3x has two; y=x3y = x^3 has none, as it only flattens at OO.

A sketch of y = x³: a curve rising from bottom left to top right, flattening as it passes through the originxyOy = x³A sketch of y = −x³: a curve falling from top left to bottom right, flattening as it passes through the originxyOy = −x³A sketch of y = x³ − 3x: starting low on the left, rising to a turning point, falling through the origin to a second turning point, then rising to the rightxyOy = x³ − 3xA sketch of y = −x³ + 3x: starting high on the left, falling to a turning point, rising through the origin to a second turning point, then falling to the rightxyy = −x³ + 3x

Find the x3x^3 term wherever it is written: y=12x−x3y = 12x - x^3 has a=−1a = -1, so its graph starts high on the left and ends low on the right; y=5+x3y = 5 + x^3 has a=1a = 1. The constant term is the yy-intercept: at x=0x = 0, y=5+0=5y = 5 + 0 = 5.

Reading Values from a Cubic Graph

Read a cubic graph as you read a quadratic one: from a given xx, go up (or down) to the curve and across to the yy-axis; from a given yy, go across to the curve and down (or up) to the xx-axis. Give a reading to 1 decimal place with ≈\approx, and check it by substituting.

Example 3: Readings both ways

Use the graph of y=x3−3x+1y = x^3 - 3x + 1 from Example 2 to find
(a) the value of yy when x=1.3x = 1.3
(b) the value of yy when x=−0.8x = -0.8
(c) the values of xx for which y=2.1y = 2.1.

Solution

The graph of y = x³ − 3x + 1 with dashed readings: from x = 1.3 down to the curve and across to y ≈ −0.7; from x = −0.8 up to the curve and across to y ≈ 2.9; and across at y = 2.1, meeting the curve three times, at x ≈ −1.5, x ≈ −0.4 and x ≈ 1.9xy−2−112−2−11234Oy = x³ − 3x + 1y ≈ −0.7y ≈ 2.9x ≈ −1.5x ≈ −0.4x ≈ 1.9

(a) From x=1.3x = 1.3 go down to the curve and across: y≈−0.7y \approx -0.7. Check: 1.33−3(1.3)+1=2.197−3.9+1=−0.7031.3^3 - 3(1.3) + 1 = 2.197 - 3.9 + 1 = -0.703 ✓.

(b) From x=−0.8x = -0.8 go up to the curve and across: y≈2.9y \approx 2.9. Check: (−0.8)3−3(−0.8)+1=−0.512+2.4+1=2.888(-0.8)^3 - 3(-0.8) + 1 = -0.512 + 2.4 + 1 = 2.888 ✓.

(c) The line y=2.1y = 2.1 meets the curve three times. Read down from each point: x≈−1.5x \approx -1.5, x≈−0.4x \approx -0.4 and x≈1.9x \approx 1.9.

Check: x=−1.5x = -1.5 gives 2.1252.125; x=−0.4x = -0.4 gives −0.064+1.2+1=2.136;-0.064 + 1.2 + 1 = 2.136\text{;} x=1.9x = 1.9 gives 6.859−5.7+1=2.159.6.859 - 5.7 + 1 = 2.159\text{.} Each is close to 2.12.1 ✓.

(a) y≈−0.7y \approx -0.7 (accept −0.8-0.8 to −0.6-0.6)
(b) y≈2.9y \approx 2.9 (accept 2.82.8 to 3.03.0)
(c) x≈−1.5x \approx -1.5 (accept −1.6-1.6 to −1.4-1.4), x≈−0.4x \approx -0.4 (accept −0.5-0.5 to −0.3-0.3), x≈1.9x \approx 1.9 (accept 1.81.8 to 2.02.0)

Unlike a quadratic, a cubic can give three values of xx for one value of yy. A horizontal line can meet a cubic graph once, twice or three times. On the sketch of y=x3−3x+1y = x^3 - 3x + 1 below, whose turning points are (−1,3)(-1, 3) and (1,−1)(1, -1): the line y=2y = 2, between the heights of the turning points, meets it three times; y=3y = 3 meets it twice, as it touches the curve at the turning point (−1,3)(-1, 3); and y=5y = 5, above both turning points, meets it once.

A sketch of y = x³ − 3x + 1 with three horizontal lines: y = 5 meets it once, y = 3 touches it at the turning point (−1, 3) and meets it again on the right, and y = 2 meets it three timesxyOy = x³ − 3x + 1y = 5y = 3y = 2

An Examination Question

An examination question gives a table with a few gaps, the scales to draw to, and then asks for readings. Here a<0a < 0.

Example 4: y=12x−x3y = 12x - x^3

The variables xx and yy are connected by the equation y=12x−x3y = 12x - x^3. Some corresponding values of xx and yy are given in the table below.

xx−4-4−3-3−2-2−1-100
yy1616pp−16-16−11-1100
xx11223344
yyqq161699rr

(a) Find the value of pp, of qq and of rr.
(b) Using a scale of 2 cm to represent 1 unit, draw a horizontal xx-axis for −4≤x≤4-4 \le x \le 4. Using a scale of 2 cm to represent 5 units, draw a vertical yy-axis for −20≤y≤20-20 \le y \le 20. On your axes, plot the points given in the table and join them with a smooth curve.
(c) Write down the coordinates of the turning points.
(d) Use your graph to find (i) the value of yy when x=1.3x = 1.3, (ii) the values of xx for which y=9y = 9.

Solution

(a) pp, at x=−3x = -3: 12(−3)−(−3)3=−36+27=−9.12(-3) - (-3)^3 = -36 + 27 = -9\text{.} qq, at x=1x = 1: 12−1=1112 - 1 = 11. rr, at x=4x = 4: 48−64=−1648 - 64 = -16.

(b) Here each square is 0.50.5 unit across and 2.52.5 units up, as on graph paper with 1 cm squares at the scales given.

The graph of y = 12x − x³ for x from −4 to 4, starting high on the left, falling to the turning point (−2, −16), rising to the turning point (2, 16) and falling on the right, with a dashed reading from x = 1.3 to y ≈ 13.4 and the line y = 9 meeting the curve at x ≈ −3.8, x ≈ 0.8 and x = 3xy−4−3−2−11234−20−15−10−55101520y = 12x − x³(−2, −16)(2, 16)y ≈ 13.4x ≈ −3.8x ≈ 0.8x = 3

a=−1<0a = -1 < 0, so the curve starts high on the left and ends low on the right, with two turning points between.

(c) The turning points are (−2,−16)(-2, -16) and (2,16)(2, 16).

(d)(i) From x=1.3x = 1.3 up to the curve and across: y≈13.4y \approx 13.4. Check: 12(1.3)−1.33=15.6−2.197=13.40312(1.3) - 1.3^3 = 15.6 - 2.197 = 13.403 ✓.

(ii) The line y=9y = 9 meets the curve three times: x≈−3.8x \approx -3.8, x≈0.8x \approx 0.8, and x=3x = 3, a point of the table (36−27=936 - 27 = 9 exactly). Check 0.80.8: 9.6−0.512=9.088,9.6 - 0.512 = 9.088\text{,} close to 99 ✓.

(a) p=−9p = -9, q=11q = 11, r=−16r = -16
(c) (−2,−16)(-2, -16) and (2,16)(2, 16) (accept xx within 0.30.3 of ±2\pm 2, and yy within 0.250.25 of ±16\pm 16)
(d)(i) y≈13.4y \approx 13.4 (accept 13.213.2 to 13.713.7)
(ii) x≈−3.8x \approx -3.8 (accept −3.9-3.9 to −3.7-3.7), x≈0.8x \approx 0.8 (accept 0.70.7 to 0.90.9), x=3x = 3 (accept 2.92.9 to 3.13.1)

Common Mistakes

  • Writing the cube of a negative number as positive: (−2)3=−8(-2)^3 = -8, not 88.
  • Multiplying before cubing: at x=−1.5x = -1.5, 2x3=2×(−3.375)=−6.75,2x^3 = 2 \times (-3.375) = -6.75\text{,} not (−3)3(-3)^3.
  • Joining the points with a ruler, or drawing a sharp point at a turning point. Draw one smooth curve, rounded where it turns.
  • Reading a turning point only from the table: it may lie between two values of the table.
  • Calling the flat point of y=x3y = x^3 at OO a turning point: the curve flattens there but keeps rising.
  • Drawing the curve past the range of xx the question gives.
  • Giving one value of xx for a given yy when the line meets the curve two or three times.

Practice Questions

Use graph paper for the questions that ask you to draw. Give readings to 1 decimal place; a reading within the range given is right. The questions get harder as you go.

Question 1

Complete the table of values for y=x3−4xy = x^3 - 4x for −3≤x≤3-3 \le x \le 3.

xx−3-3−2-2−1-100
yy  \;  \;  \;  \;
xx112233
yy  \;  \;  \;
ShowHide solution

At x=−3x = -3: (−3)3−4(−3)=−27+12=−15.(-3)^3 - 4(-3) = -27 + 12 = -15\text{.} At x=−2x = -2: −8+8=0-8 + 8 = 0. At x=−1x = -1: −1+4=3-1 + 4 = 3. At x=0x = 0: 00.

At x=1x = 1: 1−4=−31 - 4 = -3. At x=2x = 2: 8−8=08 - 8 = 0. At x=3x = 3: 27−12=1527 - 12 = 15.

xx−3-3−2-2−1-100
yy−15-15003300
xx112233
yy−3-3001515

yy: −15-15, 00, 33, 00, −3-3, 00, 1515

Question 2

Daniel worked out y=2x3−xy = 2x^3 - x at two values of xx.
At x=−2x = -2 he wrote: (−2)3=8(-2)^3 = 8, so y=2×8+2=18y = 2 \times 8 + 2 = 18.
At x=−1.5x = -1.5 he wrote: 2x3=(−3)3=−27,2x^3 = (-3)^3 = -27\text{,} so y=−27+1.5=−25.5.y = -27 + 1.5 = -25.5\text{.}
Find each slip and give the correct values of yy.

ShowHide solution

At x=−2x = -2: the cube of a negative number is negative, (−2)3=−8(-2)^3 = -8. So y=2×(−8)−(−2)=−16+2=−14.y = 2 \times (-8) - (-2) = -16 + 2 = -14\text{.}

At x=−1.5x = -1.5: cube first, then multiply. (−1.5)3=−3.375,(-1.5)^3 = -3.375\text{,} so 2x3=−6.752x^3 = -6.75 and y=−6.75−(−1.5)=−6.75+1.5=−5.25.y = -6.75 - (-1.5) = -6.75 + 1.5 = -5.25\text{.}

At x=−2x = -2, y=−14y = -14; at x=−1.5x = -1.5, y=−5.25y = -5.25.

Question 3

Without drawing, say whether each graph starts low on the left and ends high on the right, or starts high and ends low, and give its yy-intercept.
(a) y=5−2x3y = 5 - 2x^3
(b) y=x3+4x2y = x^3 + 4x^2
(c) y=0.5x3−6xy = 0.5x^3 - 6x

ShowHide solution

(a) a=−2<0a = -2 < 0: it starts high on the left and ends low on the right. At x=0x = 0, y=5y = 5: the yy-intercept is 55.

(b) a=1>0a = 1 > 0: it starts low on the left and ends high on the right. At x=0x = 0, y=0y = 0: it passes through the origin.

(c) a=0.5>0a = 0.5 > 0: it starts low and ends high. At x=0x = 0, y=0y = 0.

(a) high to low, yy-intercept 55
(b) low to high, yy-intercept 00
(c) low to high, yy-intercept 00

Question 4

True or false: "Every cubic graph has two turning points." Give a reason.

ShowHide solution

The graph of y=x3y = x^3 rises all the way from left to right. At the origin it flattens and then keeps rising, so it never turns. The same is true of y=−2x3y = -2x^3, which falls all the way.

A cubic graph has two turning points or none.

False: the graph of y=x3y = x^3 has no turning point.

Question 5

The graph of y=x3+bx+2y = x^3 + bx + 2 passes through the point (2,4)(2, 4). Find the value of bb, and then the value of yy when x=−1x = -1.

ShowHide solution

The point (2,4)(2, 4) lies on the graph, so its coordinates make the equation true: 4=23+2b+2=10+2b.4 = 2^3 + 2b + 2 = 10 + 2b\text{.}

So 2b=−62b = -6 and b=−3b = -3. The equation is y=x3−3x+2y = x^3 - 3x + 2.

When x=−1x = -1: y=(−1)3−3(−1)+2=−1+3+2=4.y = (-1)^3 - 3(-1) + 2 = -1 + 3 + 2 = 4\text{.}

b=−3b = -3; when x=−1x = -1, y=4y = 4.

Question 6

Some corresponding values of xx and yy for y=x3−2xy = x^3 - 2x, correct to 2 decimal places, are given in the table.
(a) Find the value of pp, of qq and of rr.
(b) Using a scale of 2 cm to represent 1 unit on both axes, draw the graph of y=x3−2xy = x^3 - 2x for −2≤x≤2-2 \le x \le 2.

xx−2-2−1.5-1.5−1-1−0.5-0.500
yy−4-4pp110.880.8800
xx0.50.5111.51.522
yyqq−1-10.380.38rr
ShowHide solution

(a) pp, at x=−1.5x = -1.5: −3.375−2(−1.5)=−3.375+3=−0.375,-3.375 - 2(-1.5) = -3.375 + 3 = -0.375\text{,} which is −0.38-0.38 to 2 decimal places.

qq, at x=0.5x = 0.5: 0.125−1=−0.875,0.125 - 1 = -0.875\text{,} which is −0.88-0.88. rr, at x=2x = 2: 8−4=48 - 4 = 4.

xx−2-2−1.5-1.5−1-1−0.5-0.500
yy−4-4−0.38-0.38110.880.8800
xx0.50.5111.51.522
yy−0.88-0.88−1-10.380.3844

(b) Here each square is 0.50.5 unit on both axes.

The graph of y = x³ − 2x for x from −2 to 2, a smooth curve through the nine points of the table, starting low on the left, rising to a turning point, falling through the origin to a second turning point and rising againxy−2−112−4−3−2−11234Oy = x³ − 2x

(a) p=−0.38p = -0.38, q=−0.88q = -0.88, r=4r = 4
(b) the smooth curve above

Question 7

The graph of y=x3−2xy = x^3 - 2x from Question 6 is drawn again below to show its shape (each square is 0.50.5 unit). Those squares are too large to read to 1 decimal place, so use your own graph from Question 6, drawn on graph paper at 2 cm to 1 unit, to find
(a) the coordinates of the two turning points, to 1 decimal place
(b) the value of yy when x=−1.3x = -1.3
(c) the value of xx for which y=3y = 3.

The graph of y = x³ − 2x for x from −2 to 2, drawn on a grid in which each square is 0.5 unit on both axesxy−2−112−4−3−2−11234Oy = x³ − 2x
ShowHide solution
The graph of y = x³ − 2x with its turning points marked, a dashed reading from x = −1.3 to y ≈ 0.4, and a dashed reading at y = 3 meeting the curve once, at x ≈ 1.9xy−2−112−4−3−2−11234Oy = x³ − 2x≈ (−0.8, 1.1)≈ (0.8, −1.1)y ≈ 0.4x ≈ 1.9

(a) The curve turns near (−0.8,1.1)(-0.8, 1.1) and again near (0.8,−1.1)(0.8, -1.1). Check: (−0.8)3−2(−0.8)=−0.512+1.6=1.088(-0.8)^3 - 2(-0.8) = -0.512 + 1.6 = 1.088 ✓.

(b) From x=−1.3x = -1.3 up to the curve and across: y≈0.4y \approx 0.4. Check: −2.197+2.6=0.403-2.197 + 2.6 = 0.403 ✓.

(c) The line y=3y = 3 meets the curve only once in the range drawn: x≈1.9x \approx 1.9. Check: 6.859−3.8=3.059,6.859 - 3.8 = 3.059\text{,} close to 33 ✓.

(a) (−0.8,1.1)(-0.8, 1.1) and (0.8,−1.1)(0.8, -1.1) (accept xx from 0.50.5 to 1.11.1 in size, and yy from 1.01.0 to 1.21.2 in size)
(b) y≈0.4y \approx 0.4 (accept 0.30.3 to 0.50.5)
(c) x≈1.9x \approx 1.9 (accept 1.81.8 to 2.02.0)

Question 8

The graph of y=x3−3x+1y = x^3 - 3x + 1 has turning points (−1,3)(-1, 3) and (1,−1)(1, -1), as in the sketch. The curve continues beyond the sketch in both directions: consider all values of xx. How many values of xx give
(a) y=2y = 2
(b) y=3y = 3
(c) y=5y = 5
(d) y=−1y = -1
(e) y=−4y = -4?

A sketch of y = x³ − 3x + 1 with its turning points (−1, 3) and (1, −1) markedxyOy = x³ − 3x + 1(−1, 3)(1, −1)
ShowHide solution

Picture a horizontal line at each height. Between the heights of the turning points, −1<y<3-1 < y < 3, the line meets the curve three times; at the height of a turning point it touches the curve there and meets it once more; above 33 or below −1-1 it meets the curve once.

(a) 22 is between −1-1 and 33: three. (b) 33 is the height of (−1,3)(-1, 3): two. (c) 55 is above both: one. (d) −1-1 is the height of (1,−1)(1, -1): two. (e) −4-4 is below both: one.

(a) 3 (b) 2 (c) 1 (d) 2 (e) 1

Question 9

An open box is made from a square card of side 12 cm by cutting a square of side xx cm from each corner and folding up the sides.
(a) Show that the volume of the box, VV cm³, is V=4x3−48x2+144x,V = 4x^3 - 48x^2 + 144x\text{,} and explain why xx must lie between 00 and 66.
(b) Complete a table of values for x=0,0.5,1,…,6x = 0, 0.5, 1, \ldots, 6.
(c) Using a scale of 2 cm to represent 1 cm across and 1 cm to represent 10 cm³ up, draw the graph of VV against xx.
(d) Find the greatest volume of the box and the value of xx that gives it.
(e) Find the values of xx for which the volume is 100 cm³.

ShowHide solution

(a) The base is a square of side 12−2x12 - 2x cm and the box is xx cm deep, so V=x(12−2x)2=x(144−48x+4x2)=4x3−48x2+144x.V = x(12 - 2x)^2 = x(144 - 48x + 4x^2) = 4x^3 - 48x^2 + 144x\text{.} A box needs a cut, so x>0x > 0; the base needs a side, 12−2x>012 - 2x > 0, so x<6x < 6. The graph is drawn for 0≤x≤60 \le x \le 6, where V=0V = 0 at both ends.

(b) For example, at x=1.5x = 1.5: V=1.5×92=121.5;V = 1.5 \times 9^2 = 121.5\text{;} at x=2x = 2: V=2×82=128V = 2 \times 8^2 = 128.

xx000.50.5111.51.522
VV0060.560.5100100121.5121.5128128
xx2.52.5333.53.5444.54.5
VV122.5122.510810887.587.5646440.540.5
xx555.55.566
VV20205.55.500
The graph of the volume V cm³ against x cm for x from 0 to 6, rising from 0 to its greatest value 128 at x = 2 and falling to 0 at x = 6, with a dashed line at V = 100 meeting the curve at x = 1 and x ≈ 3.2x (cm)Volume (cm³)12345620406080100120140O(2, 128)x = 1x ≈ 3.2

(d) The highest point of the curve is (2,128)(2, 128): the greatest volume is 128128 cm³, when x=2x = 2.

(e) The line V=100V = 100 meets the curve twice: x=1x = 1 (a point of the table) and x≈3.2x \approx 3.2. Check: 3.2×(12−6.4)2=3.2×31.36=100.352,3.2 \times (12 - 6.4)^2 = 3.2 \times 31.36 = 100.352\text{,} close to 100100 ✓.

(b) VV: 00, 60.560.5, 100100, 121.5121.5, 128128, 122.5122.5, 108108, 87.587.5, 6464, 40.540.5, 2020, 5.55.5, 00
(d) 128128 cm³ (accept 127127 to 129129) when x=2x = 2 (accept 1.71.7 to 2.32.3)
(e) x=1x = 1 (accept 0.90.9 to 1.11.1) or x≈3.2x \approx 3.2 (accept 3.13.1 to 3.33.3)

Question 10

The variables xx and yy are connected by the equation y=4+3x−x3y = 4 + 3x - x^3. Some corresponding values of xx and yy, correct to 2 decimal places, are given in the table.
(a) Find the value of pp, of qq and of rr.
(b) Using a scale of 2 cm to represent 1 unit, draw a horizontal xx-axis for −3≤x≤3-3 \le x \le 3. Using a scale of 2 cm to represent 5 units, draw a vertical yy-axis for −15≤y≤25-15 \le y \le 25. On your axes, plot the points given in the table and join them with a smooth curve.
(c) Write down the coordinates of the turning points.
(d) Use your graph to find (i) the value of yy when x=1.6x = 1.6, (ii) the value of xx for which y=12y = 12, (iii) the value of xx for which y=−12y = -12.

xx−3-3−2.5-2.5−2-2−1-100
yy2222pp662244
xx11222.52.533
yyqq22rr−14-14
ShowHide solution

(a) pp, at x=−2.5x = -2.5: 4−7.5−(−15.625)=12.125,4 - 7.5 - (-15.625) = 12.125\text{,} which is 12.1312.13. qq, at x=1x = 1: 4+3−1=64 + 3 - 1 = 6. rr, at x=2.5x = 2.5: 4+7.5−15.625=−4.125,4 + 7.5 - 15.625 = -4.125\text{,} which is −4.13-4.13.

xx−3-3−2.5-2.5−2-2−1-100
yy222212.1312.13662244
xx11222.52.533
yy6622−4.13-4.13−14-14

(b) a=−1<0a = -1 < 0: the curve starts high on the left and ends low on the right. Here each square is 0.50.5 unit across and 2.52.5 units up.

The graph of y = 4 + 3x − x³ for x from −3 to 3, with its turning points (−1, 2) and (1, 6), a dashed reading from x = 1.6 to y ≈ 4.7, the line y = 12 meeting the curve once at x ≈ −2.5, and the line y = −12 meeting it once at x ≈ 2.9xy−3−2−1123−15−10−5510152025Oy = 4 + 3x − x³(1, 6)y ≈ 4.7x ≈ −2.5x ≈ 2.9

(c) The two rings are the turning points: (−1,2)(-1, 2), the lower one, and (1,6)(1, 6).

(d)(i) y≈4.7y \approx 4.7. Check: 4+4.8−4.096=4.7044 + 4.8 - 4.096 = 4.704 ✓.

(ii) The line y=12y = 12 meets the curve once: x≈−2.5x \approx -2.5. Check: 4−7.5+15.625=12.125,4 - 7.5 + 15.625 = 12.125\text{,} close to 1212 ✓.

(iii) The line y=−12y = -12 meets the curve once: x≈2.9x \approx 2.9. Check: 4+8.7−24.389=−11.689,4 + 8.7 - 24.389 = -11.689\text{,} close to −12-12: the curve is steep there, so a small change in xx makes a large change in yy ✓.

(a) p=12.13p = 12.13, q=6q = 6, r=−4.13r = -4.13
(c) (−1,2)(-1, 2) and (1,6)(1, 6) (accept xx within 0.30.3 of ±1\pm 1, and yy within 0.250.25)
(d)(i) y≈4.7y \approx 4.7 (accept 4.54.5 to 4.94.9) (ii) x≈−2.5x \approx -2.5 (accept −2.6-2.6 to −2.4-2.4) (iii) x≈2.9x \approx 2.9 (accept 2.82.8 to 3.03.0)

Key Points

  • A cubic function has x3x^3 as its highest power: y=ax3+bx2+cx+d,y = ax^3 + bx^2 + cx + d\text{,} a≠0a \neq 0.
  • The cube of a negative number is negative; cube first, then multiply or change the sign.
  • Make the table term by term, give yy to 2 decimal places when it is not exact, plot every point and join them with one smooth curve.
  • If a>0a > 0 the graph starts low on the left and ends high on the right; if a<0a < 0, high on the left and low on the right.
  • A cubic graph has two turning points or none; y=x3y = x^3 only flattens at the origin.
  • Read values to 1 decimal place with ≈\approx and check them by substituting; one value of yy may give one, two or three values of xx.

Previous lesson2.2 Problems Involving Simultaneous Inequalities Next lesson5.2 Graphs of Reciprocal Functions

All Secondary 3 (Grade 9) lessons

Home Campus has lessons, practice questions with worked solutions and worksheets for Primary 3 to Secondary 2. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 3 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.