Academy

A cubic from its roots: a(x − p)(x − q)(x − r)

Three nails in a straight board, and a flexible wire threaded through all three. Choose where the nails go, and the wire must pass through them.

a(x − p)(x − q)(x − r) y = a (x - p)(x - q)(x - r)
-5-4-3-2-112345-4-3-2-11234xya(x − p)(x − q)(x − r)pqrsanjibsikder.com
Drag to move · pinch or scroll to zoom · tap to read a point
sum of roots p + q + r2
product of roots pqr-6
value at x = 03
a = 0.5
p = -2
q = 1
r = 3

Step by step

  1. The curve is 0 when x = p, q or r: one bracket becomes 0.
  2. Move p, q, r. The curve always passes through the three marked points.
  3. Expand it: a(x³ − (p + q + r)x² + ...). So the sum of the roots is p + q + r, and so on.
  4. Make two roots equal. The curve just touches the axis there instead of crossing it.
  5. A negative a flips the curve: it starts high on the left instead of low.

Try this

  • Make roots at −1, 0, 2.
  • Make two roots the same. What does the curve do there?
  • Make the curve pass through (0, 6) as well.

Practise this

Problems on Functions with checks, marks and help from Sir are on the exam site (sign in). Practise Functions on the exam site →