Now, because we can equate co-efficients, we know that -6c MUST = 30, so c = -5.
hence f(x) = (2x - 3)(x + 2)(x - 5)
that bit i dont understand, how do we know that -6C must =30? so c = -5?
Hokay. It's clear that my skipping the 'cx + d' part is the problem. FORGET WHAT 'C' MEANT BEFORE, I'M STARTING FROM
SCRATCH.
f(x) = 2x^3 + ax^2 + bx + 30
if TWO of the factors are 2x - 3 and x + 2, there exists a third linear factor... cx + d. (You need to multiply three 'x's together to get the 'x^3')
Now, if we envision the function as being factorised without knowing 'c' or 'd' it will look like:
f(x) = (2x - 3)(x + 2)(cx + d)
And we ALSO know that f(x) = 2x^3 + ax^2 + bx + 30
so now you've got to equate the two f(x)'s like so:
(2x - 3)(x + 2)(cx + d) = 2x^3 + ax^2 + bx + 30
taking the Left Hand Side ONLY and multiplying first two brackets:
(2x - 3)(x+2)(cx + d) = (2x^2 + 4x - 3x - 6)(cx + d)
= (2x^2 + x - 6)(cx + d), and now multiplying the remaining brackets...
= (2cx^3 + 2dx^2 + cx^2 + dx - 6cx - 6d)
= 2cx^3 + (2d + c) + (d - 6c) - 6d
Now we EQUATE the Left Hand Side with the Right Hand Side again to get:
(2x - 3)(x + 2)(cx + d) = 2x^3 + ax^2 + bx + 30
But we've expanded out the Left Hand Side, so:
2cx^3 + (2d + c) + (d - 6c) - 6d = 2x^3 + ax^2 + bx + 30
and now you equate the co-efficients on both sides to get:
2c = 2 (equation 1)
2d + c = a (equation 2)
d - 6c = b (equation 3)
-6d = 30 (equation 4)
Solve eqn 1: 2c = 2, therefore c = 1
Solve eqn 4: -6d = 30, therefore d = -5
Solve eqn 2: a = 2d + c, and if d = -5 and c = 1, then a = -10 + 1 = -9
Solve eqn 3: b = d - 6c, and i f d= -5 and c = 1, then b = -5 - 6 = -11
Therefore f(x) = 2x^3 - 9x^2 - 11x + 30
and therefore, a = -9 and b = -11!