MathGroup Archive 2002

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

Search the Archive

Arbitrary selection of a particular cube root of a negative number

For a cube root of a negative value there are three roots possible.  I
have found that the root mathematica chooses can be influenced by the
bounds chosen for a Plot3D graphic.  I have noted that I get a different
graph (not just a case of more or less detail-or detail from a different
area of the graph) depending on which bounds I choose.  The different
graphs correspond to different choices of the cube root (the expressions
I am using are complicated and graph interpretation is not an easy
"given", but I am fairly certain of this).  I fixed this in one case by
writing my own cube root finder (if the values is negative, multiply by
-1 or apply absolute value, then take cube root, then return root
multiplied by cube root of minus one of your choice), but is there a
setting that can accomplish this for me?  Since I am solving for a
variable and so getting a very large expression containing cube roots, I
then have to edit in my own cube root function in place of the one
supplied by Mathematica in the solve process.  This has to be done for
every "run" and this is clumsy and time consuming.

Mike Bakich

  • Prev by Date: RE: Unloading packages
  • Next by Date: RE: NestWhile
  • Previous by thread: RE: Indents, paragraphs, etc.
  • Next by thread: RE: Arbitrary selection of a particular cube root of a negative number