Wolfram Alpha wrong answers on $(-8)^{1/3}$ and more?

602 Views Asked by At

Wolfram Alpha doesn't give $-2$ for $(-8)^{1/3}$, and it absolutely fails to draw $f(x)=x^{1/3}$ - does anyone know why? Am I missing something very 'deep' Wolfram Alpha is trying to teach me?

Here's what the graph should look like: enter image description here

And here's what Wolfram Alpha draws: enter image description here

3

There are 3 best solutions below

0
On

What you are seeing is that every non-zero number has three distinct "cuberoots". In the first picture you've posted, the software very nicely graphed the real cuberoots. The problem is that Wolfram|Alpha is drawing a different branch of the cuberoot than you are used to, hence the labels of real and imaginary parts on the graph.

0
On

The principal value of the cube root is given by Mathematica or Wolfram Alpha. If you really just want the real value, input with Sign[x] Abs[x]^(1/3)

0
On

What you are probably thinking about is that for solving the equation $$z^k = a$$

we often have many solutions (for $z$) in the complex plane. More to the point, for a function one wants to assign one out-value for each in-value. Choosing a particular way to assign function values is called picking a branch for a function. For some functions there exist widely used conventions how to pick these branches and they get called principal branch. Integer roots and logarithms are famous examples of functions which have a principal branch.