I have seemingly very straight forward question, find all the roots of $8^{1/3}$. However, I feel that I am skipping a key step or something is just not correct.
\begin{align*} 8^{1/3} &= (|8|e^{2\pi kj})^{1/3}, k = 0,1,2\\ &= |8|^{1/3} e^{(2/3)\pi kj}, k = 0,1,2\\ &= 2 e^{(2/3)\pi kj}, k = 0,1,2\\ \end{align*}
Essentially, at this point, plug in $k$ yields all roots.
However, what is the fundamental difference between $8^{1/3}$ and $|8|^{1/3}$?
It seems that I am cheating by writing $|8|^{1/3} = 2$. Isn't it true that $|8|^{1/3} = 8^{1/3}$ (since $8$ is a positive real number)?
How can I rewrite the above set of equations so I don't have this kind of confusion.
In fact, since $\lvert8\rvert=8$, $\lvert8\rvert^\frac13=8^\frac13$.
If $z^3=8$, then $z\neq0$ and therefore $z=re^{\theta i}$ for some $r>0$ and some real $\theta$. But then$$z^3=8\iff r^3e^{3\theta i}=8\iff r^3=8\wedge e^{3\theta i}=1.$$Now, there's only one number $r>0$ whose cube is $8$: $r=2$. On the other hand,$$e^{3\theta i}=1\iff3\theta i=2k\pi i$$for some integer $k$. But then $\theta=\frac{2k\pi}3$. So, there are $3$ and only $3$ solutions: $2$ (take $k=0$), $-1+\sqrt3\,i$ (take $k=1$) and $-2-\sqrt3\,i$ (take $k=2$). If you use any other integer $k$, you will get again one of these.