HallsofIvy said:
Well, unless there is an integer root, that won't "solve" the equation! But that is a good way to start. In fact, it is exactly what jgens suggested. If x= 0 [itex]x^3+ x= 0+ 0= 0< 6[/itex]. If x= 2, [itex]x^3+ x= 8+ 2= 10> 6[/itex]. What does that tell you?
It tells me that the solution is between 0 and 2, i.e [itex]x\in (0,2)[/itex].
Infact if you choose x=1, [itex]1^3+1=1+1=2<6[/itex], so [itex]x \in (1,2)[/itex]
If you go by checking for x=1.5 , [itex]1.5^3+1.5=4.875<6[/itex] you will come up with the solution. Now [itex]x \in (1.5 , 2)[/itex] and so on...
Edit: In addition, I came up with better solution.
Check the sign of the discriminant of the cubic equation:
[tex]D=\sqrt{(\frac{q}{2})^2+(\frac{p}{3})^3}[/tex]
The general cubic equation is:
[tex]x^3+px+q[/tex]
Just extract
p and
q from your equation.
1)If D>0 then there are 1 real and two conjugate complex roots.
2)If D=0 there is one prime and two equal real roots.
3)If D<0 there are 3 real and different roots.