$x^3+b^2x^2+2x+3=0$, Find several integer values of $b$ such that the equation has roots.
My solution: I use the rational root theorem. $-3,3$ can be its rational roots.
$$P(x)=x^3+b^2x^2+2x+3$$
$$P(3)=9b^2+36=0$$ which is not possible.
$$P(-3)=9b^2-30=0$$ which gives $b=-\frac{\sqrt{10}}{3},\frac{\sqrt{10}}{3}$
But these two values of $b$ are not integers.
Can you solve this with another approach? Are there other values of $b$?
EDIT: $x=-1,1$ can also be its rational roots.
$P(1)=0$ is not possible and $P(-1)=0$ gives $b=0$
EDIT: Please also kindly discuss the cases of the existence of two real roots and three real roots.I only discuss the rational roots because I do not know how to handle these other two cases.
Thanks
From your responses it is clear you want to gain a fuller understanding of the cubic solution. Study the Cardano's solution. Next, if you are willing to use Mathematica, Manipulate command graphs all transitions or possibilities you want to see. I have included B < 0 also, so you gain broad understanding. As B is varied, cubic curve moves. Single cutting of red line is at the real root ( other two are two complex). Triple cutting for three real roots. One double real root with an isolated real root can be also seen approximately in tangential situation.
Manipulate[ Plot[x^3 + B x ^2 + 2 x + 3, {x, -10, 10}, PlotRange -> 10, GridLines -> Automatic, PlotStyle -> {Red, Thick}], {B, -5, 5, 0.1}]