I would like some feedback on my thought process to make sure it is logically sound. The way I think I am deriving the solutions is trigonometrically(rather then getting the roots).
The first step is to write $z^3 = -27$ in polar form, $|z|(cos\theta + i\sin\theta)$. We have to put this into polar form because it is the essential bridge between trigonometric functions and the complex field.
$$|z^3|(\cos 3\theta + i\sin 3\theta) = 27(1 + 0i) ~~~~~~~~~~~~~~~~~~~~[1]$$
My understanding starts to break down here. I observe (but don't fully understand) that
$$ \begin{align} 3\theta &= \pi + n2\pi && [2]\\ \theta &= \frac{\pi}{3} + \frac{n2\pi}{3} \end{align}$$
So the solutions are $ \theta = \frac{\pi}{3} + \pi + \frac{5\pi}{3}$. First, am I correct in my observations and understanding up to this point? If so....
I know $\theta$ is the angle measured counterclockwise from the x-axis to the vector from $0\to Z$ and $\theta = \pi + n(2\pi)$. Where does $\pi$ originate from in the $\theta$ equation? Or is that not even correct to begin with? Probably not by coincidence, I also observe that $\cos\pi = -1$ and $\sin\pi = 0$, which looks eerily related to the polar form defined above in [1].
To say where is $\pi$ originated from and to solve the coincidence in a reasonable manner, we first need to solve the equation on $\Bbb C$ precisely. The equation states that $$z^3=-27$$ If we assume to solve the equation over $\Bbb C$, then any complex number $z$ has a magnitude (the radius of the geometric representation with respect to the origin) and an angle (which is measured counterclockwise). In a polar representation, we have $$z=re^{i\theta}$$plugging this in the equation we obtain$$r^3e^{3i\theta}=27e^{i\pi}$$which leads to $$r^3=27\\e^{3i\theta}=e^{i\pi}$$from which we can say $$r=3\\3i\theta=\pi+2k\pi$$The last equation is true because $\sin$ and $\cos$ are periodic with a period of $2\pi$ and so is $e^{i\theta}=\cos \theta+i\sin\theta$. Finally $$\theta={2k\pi +\pi \over 3}$$this is where the $\pi$ comes from.