In the equation
$$x^3+(1-2a)x^2-(3a^2+a+2)x-6a^2+6a=0$$
How should I go to find the roots of $~x~$? Is it possible to apply the factor theorem somehow?
In the equation
$$x^3+(1-2a)x^2-(3a^2+a+2)x-6a^2+6a=0$$
How should I go to find the roots of $~x~$? Is it possible to apply the factor theorem somehow?
On
Observe that, in the cubic equation, the constant term is $a$-dependent and the terms free of $a$ form the equation below,
$$x^3+x^2-2x=x(x-1)(x+2)=0$$
which admits the roots $0$, $1$ and $-2$. Plug them into the full equation
$$x^3+(1-2a)x^2-(3a^2+a+2)x-6a^2+6a=0$$ to identify that $x=-2$ is an actual root and $x+2$ is a factor. Thus, the equation can be factorized as
$$(x+2)(x-3a)(x+a-1)=0$$
Then, the three roots are $-2$, $3a$ and $1-a$.
Hint We can think of the polynomial as a quadratic polynomial equation in $a$ with parameter $x$:
$$(-3x - 6) a^2 + (-2 x^2 - x + 6) a + (x^3 + x^2 - 2 x) = 0. $$ Factoring coefficients gives $$0 = -3(x + 2) a^2 - (x + 2) (2 x - 3) a + (x + 2) x (x - 1) .$$