Worked solution: sketch y = (x-1)(x+2)(x-3)
Step-by-step working for this curve sketching problem, produced and checked by the solver.
Cubic graph Answer checked
Answer
x=−2, 1, 3; turning points (32−19,2756−3819) (maximum), (32+19,2756−3819) (minimum)Write the function
y=x3−2x2−5x+6
y-intercept: put x=0
y=6 ⇒ (0,6)
Factor theorem: try factors of the constant term. If f(a)=0 then (x−a) is a factor
f(1)=0
Factorise fully and set each factor to zero
y=(x+2)(x−1)(x−3)
Roots: where the graph crosses or touches the x-axis
x=−2,x=1,x=3
Turning points: differentiate and solve dxdy=0
dxdy=3x2−4x−5=0 ⇒ x=32−19, x=32+19 Use the second derivative dx2d2y=6x−4 to classify each point
(32−19,2756−3819): dx2d2y=−8.7178⇒ maximum,(32+19,2756−3819): dx2d2y=8.7178⇒ minimum End behaviour: the leading term x3 dominates for large x
as x→∞, y→∞; as x→−∞, y→−∞
Check: the factorised form agrees with the original at test values
x=−2.5, −0.7, 0.3, 1.9, 3.3 give the same y both ways
Check: substituting each root into the original gives zero
f(−2)=0,f(1)=0,f(3)=0
Change the numbers and solve your own
The method in brief
- Find the y-intercept by setting x = 0.
- Find the x-intercepts by setting y = 0 and solving.
- For a quadratic, find the turning point by completing the square or using x = -b ÷ 2a.
- For a cubic, use the sign of the x³ term to decide the shape at both ends.
Full guide: Sketch quadratics, cubics, reciprocals and exponentials.
More A-level examples on this topic