When I request with Reduce, Mathematica returns:
In[13]:= N[Reduce[X^3-26X+1 == 0,X, Reals]]
Out[13]= X == -5.11814 || X == 0.0384637 || X == 5.07968
However, when I request with Solve, it returns three complex roots
In[15]:= N[Solve[X^3-26X+1 == 0,X]]
-16
Out[15]= {{X -> 5.07968 + 0. I}, {X -> 0.0384637 + 4.44089 10 I},
-16
{X -> -5.11814 - 4.44089 10 I}}
I think the different here is the Reals field. However, I'm confused about the correctness of result. Which one should I follow when I want to solve the equations.
Thanks
Chopon the results formSolve. – Kuba Sep 18 '13 at 06:28X /. N[Solve[X^3 - 26 X + 1 == 0, X]] // Chop->{5.07968, 0.0384637, -5.11814}which is the same result as fromReduce. – Kuba Sep 18 '13 at 06:55Solve[X^3 - 26 X + 1 == 0, X, Cubics -> False]. This answer includes explanation: How do I work with Root objects?. – Artes Sep 18 '13 at 10:23