MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Solving 3d degree polynomial

  • To: mathgroup at
  • Subject: [mg90778] Solving 3d degree polynomial
  • From: Floris Zoutman <fzoutman at>
  • Date: Thu, 24 Jul 2008 04:51:15 -0400 (EDT)

I have a function
in which n>1, -1<A<1, and 0<t<1 are parameters. If I fill in appropriate values for the parameters before:
Solve[Y==0,q] it gives me 3 real roots.
If instead I ask for a symbolic solution before filling in the same values of the parameters, Mathematica gives almost the same roots, but now there is an imaginary part to the solution. It is of the order 10^(-16). Why are the roots complex if I find a solution before filling in parameters, but real if I fill in parameters before finding the solution?

Thank you for your answer


  • Prev by Date: Exact NullSpace computations
  • Next by Date: Re: NDSolve[] with nested If[] and Piecewise[] usage:
  • Previous by thread: Exact NullSpace computations
  • Next by thread: Re: Solving 3d degree polynomial