WolframAlpha has a different answer for a definite integral, why? So I ran into this contradiction and I'd appreciate if someone could help explain what is happening:
So when i perform the following integral on paper:
$$\int_{-1}^1(\sqrt[3]{x} -2)\;dx \; = [\frac 34 x^{\frac 43} \, -2x]_{-1}^1\; =$$ 
$$=\frac 34 1^{\frac 43} -2 -(\frac 34 (-1)^{\frac 43} +2)= \frac 34 - 2 -\frac 34 -2 = -4$$
I get -4 as an answer, and when i input the same thing into WolframAlpha, the result is a complex number (-2.875 +0.649* i), as can be seen in the following photo. Can anyone explain this discrepancy? Does it have to do with the computer using approximations? 
http://i.stack.imgur.com/5bOYl.png
 A: cuberoot has three possible answers. WolframAlpha (and many other software) picks the one with the smallest argument. If you tried to find the cuberoot of -1, it would give you 0.5 +0.866 i
http://www.wolframalpha.com/input/?i=%28-1%29%5E%281%2F3%29
In the future, if you want to avoid this, use sign(x)(|x|)^(1/3) (for real x)
A: There are three complex cubic roots of $-1$. In some sense the most natural one is $e^{i\pi/3}= 1/2 + i \sqrt{3}/2$, the so-called principal one, and Wolfram Alpha uses this. 
This is because one can express every non-zero complex number and thus also $-1$ as $r e^{i \theta}$ with some positive real $r$ and $\theta \in (-\pi , \pi]$, called the polar form of the complex number. To determine a cubic root, one can compute $\sqrt[3]{r}e^{i \theta/3}$. As $-1= 1 e^{i \pi}$ one gets the result above. 
One gets also $-1$ in this form, as to get all the cubic roots one would consider $\sqrt[3]{r}e^{i \theta/3}$, $\sqrt[3]{r}e^{i (\theta+ 2 \pi)/3}$, $\sqrt[3]{r}e^{i (\theta+ 4 \pi)/3}$.
For $\theta = \pi$, so our case, the middle one is $-1$. 
But looked at it like this it is a less natural choice. 
See a recent related question for further discussion What is the principal cubic root of $-8$?
A: This does not have to do with approximations, but rather the value of $\sqrt[3]{-1}$.
Wolfram Alpha is using $\sqrt[3]{-1}=e^{\pi i/3}=\frac{1}{2}+\frac{\sqrt{3}}{2}i$
