Lesson 6 of 8 · 18 min

Cubics in factored form

Read the intercepts and end behaviour of y=a(x−x1)(x−x2)(x−x3)y = a(x - x_1)(x - x_2)(x - x_3), handle repeated factors, sketch the graph with its turning points, and find a cubic's rule from its graph.

What you will be able to do

  • Find the intercepts of y=a(x−x1)(x−x2)(x−x3)y = a(x - x_1)(x - x_2)(x - x_3) from its rule.
  • Use the sign of aa to describe the behaviour as x→∞x \to \infty and x→−∞x \to -\infty.
  • Recognise how a repeated factor changes the graph at an xx-intercept.
  • Sketch factored cubics, using technology to locate turning points.
  • Find the rule of a cubic from its intercepts and one other point.

In factored form, a cubic tells you where it meets the xx-axis. y=(x+2)(x−1)(x−3)y = (x + 2)(x - 1)(x - 3) is zero exactly when one of its factors is zero, by the null factor law: at x=−2x = -2, x=1x = 1 and x=3x = 3. Between and beyond those intercepts, the graph is above or below the axis, and the sign of aa decides which.

Interactive

Build a cubic from its factors

Each slider pp, qq, rr moves one xx-intercept. Watch the yy-intercept and the turning points move too.

Key idea

Reading y = a(x − x₁)(x − x₂)(x − x₃)

  • xx-intercepts at x=x1x = x_1, x=x2x = x_2 and x=x3x = x_3.
  • yy-intercept at x=0x = 0: y=a(−x1)(−x2)(−x3)=−ax1x2x3y = a(-x_1)(-x_2)(-x_3) = -a x_1 x_2 x_3. It is usually quicker to just substitute x=0x = 0.
  • End behaviour. Expanding gives a leading term of ax3ax^3, which controls yy when xx is large. If a>0a > 0: as x→−∞x \to -\infty, y→−∞y \to -\infty, and as x→∞x \to \infty, y→∞y \to \infty. If a<0a < 0 it is the other way round.
  • Between two neighbouring intercepts the graph has a turning point. Its exact position needs calculus (Unit 2) or technology.

The same three intercepts with a=1a = 1 (solid) and a=−1a = -1 (dashed). Changing the sign of aa reflects the graph in the xx-axis.

Find the yy-intercept of y=2(x+1)(x−3)(x−5)y = 2(x + 1)(x - 3)(x - 5).

Worked example

Sketch y=(x+2)(x−1)(x−3)y = (x + 2)(x - 1)(x - 3)

  • Complex familiar
  • Technology active

Sketch y=(x+2)(x−1)(x−3)y = (x + 2)(x - 1)(x - 3), labelling the axis intercepts. Use technology to find the turning points, correct to 2 decimal places.

The sketch of y=(x+2)(x−1)(x−3)y = (x + 2)(x - 1)(x - 3) with its intercepts and turning points.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Read the xx-intercepts from the factors and substitute x=0x = 0 for the yy-intercept.

  2. Use the sign of aa for the end behaviour.

  3. Use technology for the turning points, then sketch with every key point labelled.

Watch out for

  • Getting the yy-intercept sign wrong: (2)(−1)(−3)(2)(-1)(-3) is positive.

  • Putting a turning point exactly halfway between two intercepts. It usually is not.

A factor can appear more than once. In y=(x+1)(x−2)2y = (x + 1)(x - 2)^2, the factor (x−2)(x - 2) is squared, so x=2x = 2 is a repeated root. Because (x−2)2(x - 2)^2 is never negative, yy does not change sign at x=2x = 2: the graph comes down to touch the axis and turns back. That point is a turning point sitting on the axis.

y=(x+1)(x−2)2y = (x + 1)(x - 2)^2 crosses the xx-axis at x=−1x = -1 and touches it at x=2x = 2. Here the yy-intercept (0,4)(0, 4) also happens to be a turning point.

What each kind of factor does at its xx-intercept bb.
FactorRootAt the intercept the graph…
(x−b)(x - b)singlecrosses the axis
(x−b)2(x - b)^2repeated (double)touches the axis and turns: a turning point on the axis
(x−b)3(x - b)^3repeated (triple)flattens and crosses: a point of inflection on the axis

How many xx-intercepts does y=(x−4)2(x+1)y = (x - 4)^2(x + 1) have?

Choose one answer

Tip

Factors like 2x − 5

The intercept from (2x−5)(2x - 5) is where 2x−5=02x - 5 = 0, so x=52x = \frac{5}{2}. To match the formula-book form, write 2x−5=2(x−52)2x - 5 = 2\left(x - \frac{5}{2}\right) and let the 2 join aa. So y=(2x−5)(x+1)(x−4)y = (2x - 5)(x + 1)(x - 4) is y=2(x−52)(x+1)(x−4)y = 2\left(x - \frac{5}{2}\right)(x + 1)(x - 4), with a=2a = 2.

Running this backwards gives the rule from a graph. Read the xx-intercepts to write the factors, then use one more point, often the yy-intercept, to find aa.

Worked example

Find a cubic's rule from its graph

  • Complex familiar
  • Technology free

The graph shows a cubic function with xx-intercepts at −3-3, 11 and 44 and yy-intercept 66. Find its rule.

A cubic with intercepts (−3,0)(-3, 0), (1,0)(1, 0), (4,0)(4, 0) and (0,6)(0, 6).

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write a factor for each x-intercept (squared where the graph touches).

  2. Substitute one more point, often the y-intercept, to find a.

  3. Check the sign of a against the end behaviour.

Watch out for

  • Assuming a=1a = 1 because the intercepts are right. Always use another point.

  • Writing (x−3)(x - 3) for the intercept at x=−3x = -3.

A cubic touches the xx-axis at x=−1x = -1, crosses it at x=3x = 3, and has yy-intercept −6-6. Find its rule.

y =
Reads asYour answer shows here as maths.

Sketching without technology

Mark the xx-intercepts and the yy-intercept. Use the sign of aa to start the graph at the correct end, then pass through each intercept: cross at a single root, touch and turn at a double root. Show a turning point between neighbouring intercepts, without exact coordinates.

Sketching with technology

Graph the rule, then use the calculator's maximum and minimum tools to find each turning point, to 2 decimal places. Label them on your sketch with the intercepts, which you can usually find exactly by hand.

Exam tip

What a sketch must show

Correct shape and end behaviour, every intercept labelled with coordinates, and the turning points labelled when the question asks for them or you used technology. A sketch does not need to be to scale, but the features must be in the right order and on the correct side of each axis.

Summary

  • y=a(x−x1)(x−x2)(x−x3)y = a(x - x_1)(x - x_2)(x - x_3) has xx-intercepts x1x_1, x2x_2, x3x_3 and yy-intercept −ax1x2x3-a x_1 x_2 x_3.

  • If a>0a > 0 the graph starts low on the left and ends high on the right; if a<0a < 0, the reverse.

  • A single factor crosses the axis, a squared factor touches it at a turning point, and a cubed factor flattens through a point of inflection.

  • Turning points between intercepts come from technology (or calculus in Unit 2).

  • To find a rule, write the factors from the intercepts, then substitute one more point to find a.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 6 of 80% read

Save your progress with a free account