If \(f(x)\) is a cubic and the roots of \(f(x)=0\) are \(r_1\), \(r_2\) and \(r_3\), then \(f(x)=a(x-r_1)(x-r_2)(x-r_3)\), where \(a\) is the coefficient of \(x^3\).
Why: by the factor theorem, \(f(r)=0\) means \(x-r\) is a factor. Three such factors make a cubic, so only the leading constant \(a\) is left to find.
Method
Example
The roots of the cubic equation \(f(x)=0\) are \(-1\), \(2\) and \(3\), and \(f(0)=12\). Find \(f(x)\).
\(f(x)=a(x+1)(x-2)(x-3)\); \(f(0)=a(1)(-2)(-3)=6a=12\), so \(a=2\).
\(f(x)=2(x+1)(x-2)(x-3)=2x^3-8x^2+2x+12\). Check: \(f(0)=12\).
Exam check A root \(r\) gives the factor \((x-r)\): the root \(-1\) gives \((x+1)\). Do not forget the leading coefficient.
Create a free account to practise similar questions.
Need help? Join our A-Maths tuition classes.
Learn more