Me and my friend try to solve
$${{z}^{3}}=\overline{z}$$ where $z \in \mathbb{C}$.
My way to solve it was:
$\operatorname{cin}(\theta )=\cos(\theta)+\sin(\theta)i$
\begin{align}
& z=r \operatorname{cin}(\theta ),\overline{z}=r\operatorname{cin}(-\theta +2\pi k) \\
& {{z}^{3}}={{r}^{3}}\operatorname{cin}(3\theta ) \\
& {{z}^{3}}=\overline{z} \\
& {{r}^{3}}\operatorname{cin}(3\theta )=r\operatorname{cin}(-\theta +2\pi k) \\
& {{r}^{3}}=r\Leftrightarrow {{r}^{3}}-r=0\Leftrightarrow r({{r}^{2}}-1)=0\Leftrightarrow r=\pm 1,r=0\Leftrightarrow r=1 \\
& 3\theta =-\theta +2\pi k\Leftrightarrow 4\theta =2\pi k\Leftrightarrow \theta =\frac{\pi k}{2} \\
\end{align}
So my solution for k=0,1,2 :
$\begin{align} & {{z}_{1}}=\cos (0)+\sin (0)i=1+0i \\ & {{z}_{2}}=\cos (\frac{\pi }{2})+\sin (\frac{\pi }{2})i=0+1i \\ & {{z}_{3}}=\cos (\pi )+\sin (\pi )i=-1+0i \\ \end{align}$
My friend on the other hand solve it like this:
$\begin{align} & {{z}^{3}}=\bar{z} \\ & {{z}^{3}}\cdot z=\bar{z}\cdot z \\ & {{z}^{4}}=|z{{|}^{2}} \\ \end{align}$
He got the same solutions expect he got one more solution than me ${{z}_{4}}=\cos (\pi )+\sin (\pi )i=0-i \\$
What is the right solution and why?