Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Solve results
Replies: 1   Last Post: Oct 30, 1996 12:24 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dwarf

Posts: 22
Registered: 12/7/04
Solve results
Posted: Oct 25, 1996 10:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I recently came upon this and was wondering if it's a Solve bug, some
notation I'm not familiar with, or just an unfortunate happenstance.

When I give Mathematica the equation x^3-8==0, this is what it returns:

In[1]:=
Solve[x^3-8==0,x]
Out[1]=
{{x -> 2}, {x -> -2*(-1)^(1/3)}, {x -> 2*(-1)^(2/3)}}

But if I first factor the polynomial instead:

In[2]:=
Solve[Factor[x^3-8]==0,x]
Out[2]=
{{x -> 2}, {x -> (-2 - 2*I*3^(1/2))/2},{x -> (-2 + 2*I*3^(1/2))/2}}

if I use reduce instead of solve

In[3]:=
Reduce[x^3-8==0,x]
Out[3]=
x == 2 || x == (-2 - 2*I*3^(1/2))/2 || x == (-2 + 2*I*3^(1/2))/2


My question is: why the different behaviors, and how can I tell in advance
which to use?

+----------------------------+
| | I understand mine's a risky plan,
| Greg Anderson | and your system can't miss
| dwarf@wam.umd.edu | but is security, after all a cause
| timbwolf@eng.umd.edu | or symptom of happiness.
| |
+----------------------------+ Dream Theater -- A Matter of Time







Date Subject Author
10/25/96
Read Solve results
Dwarf
10/30/96
Read Re: Solve results
Daniel Lichtblau

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.