If in WolframAlpha I put (-8)^(2/3) then it outputs the main root and 3 roots solution too (to the end in a polar graphic).
How can I get the 3 root solution of (-8)^(2/3) in Mathematica Desktop?
I tried with: Solve[(x^(3/2) + 8 == 0), VerifySolutions -> False] but the output is {{x -> -2 + 2 I Sqrt[3]}} ... I don't understand, help me please.
Asked
Active
Viewed 76 times
0
J. M.'s missing motivation
- 124,525
- 11
- 401
- 574
3 Answers
3
One approach is to use Reduce:
Reduce[x^(3/2) + 8 == 0]
x == -4 (-1)^(1/3) || x == 4 (-1)^(2/3)
or you can get it in more familiar form using ExpToTrig
Reduce[x^(3/2) + 8 == 0] // ExpToTrig
x == -2 - 2 I Sqrt[3] || x == -2 + 2 I Sqrt[3]
bill s
- 68,936
- 4
- 101
- 191
2
By plotting the real and imaginary part separately
z^(3/2) + 8 == 0 /. z -> (x + I y) // ReIm // ComplexExpand
ContourPlot[Evaluate@%, {x, -5, 5}, {y, -5, 5}]
you can see that, as Carl Woll writes in the comments, only the solutions which don't lie on the real line have both, vanishing real and imaginary part. The solution candidate on the real line at x==4 only has a vanishing imaginary part but real part 16.
Thies Heidecke
- 8,814
- 34
- 44
-
I thougth that if Power[(-8)^2, (3)^-1] was 4, one root for (-8)^(2/3) was 4 too. – Javier Giménez Moya Sep 20 '18 at 15:38
-
@JavierGiménezMoya Squaring the
-8adds a new solution, because we cannot distinguish anymore if we squared8or-8. Basically you have to decide from your original problem which you are trying to solve what is the correct equation to solve here. Eitherz^(3/2) == -8orz^3 == 64. The first one having the two solutions with imaginary part only and the second equation giving you all three roots of unity (z^3==1) scaled by four. – Thies Heidecke Sep 21 '18 at 11:30
1
If you are interested in the non-principal roots, first note that:
With[{r = x^(2/3)}, r^(3/2)]
x
So, letting x=-8 we see that:
r^(3/2) == -8
Hence the non-principal roots can be determined with:
Reduce[r^(3/2) + 8 == 0, r]
r == -4 (-1)^(1/3) || r == 4 (-1)^(2/3)
Notice that r == 4 is not a root of the above equation. The WA polar root plot has acquired a parasitic (i.e. false) root.
Carl Woll
- 130,679
- 6
- 243
- 355
-
I thougth that if Power[(-8)^2, (3)^-1] was 4, then almost one root for (-8)^(2/3) should be 4 too. (alpha wolfram show it) – Javier Giménez Moya Sep 20 '18 at 15:42

NSolve[x^(3/2) + 8 == 0, x]gives two solutions{{x -> -2. + 3.4641 I}, {x -> -2. - 3.4641 I}}– Ulrich Neumann Sep 20 '18 at 15:17Out[921]= {{x -> 4}, {x -> -4 (-1)^(1/3)}, {x -> 4 (-1)^(2/3)}}` ??
– Daniel Lichtblau Sep 20 '18 at 15:22x^(3/2) + 8 == 0, so the WolframAlpha polar plot output is misleading at best. – Carl Woll Sep 20 '18 at 15:24