Arbitrary selection of a particular cube root of a negative number
- To: mathgroup at smc.vnet.net
- Subject: [mg32540] Arbitrary selection of a particular cube root of a negative number
- From: Michael Peter Bakich <mike.bakich at cox-internet.com>
- Date: Sat, 26 Jan 2002 04:07:59 -0500 (EST)
- Organization: TAMU
- Sender: owner-wri-mathgroup at wolfram.com
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