I was reading the section about DeMoivre, and my book showed how to derive his formulas. The next part is supposed to be about finding roots of complex and real numbers. Roughly, it says:
"Let $z$ be a complex number. Suppose we wish to find the $n^{th}$ root of $z$ . Then there exists a complex number $w$ such that $w^n=z$ . Let's write $z$ in trigonometric form:
$z=r( \cos \theta +i \sin \theta)$
One $n^{th}$ root of $z$ is $w=r^{ \frac 1n} (\cos \frac \theta n +i \sin \frac \theta n)$"
This is where I have the problem.
It looks like they wrote $w^n=r( \cos \theta +i \sin \theta)$ $\to$ $w=\sqrt [n] {r( \cos \theta +i \sin \theta)}$ , but how did they get from $w=\sqrt [n] {( \cos \theta +i \sin \theta)}$ to $(\cos \frac \theta n +i \sin \frac \theta n)$? It looks like they used DeMoivre's formula which states that $z^n=r^n(\cos n\theta +i \sin n\theta)$ , but in the box with the theorem my book makes it clear: If $z=r( \cos \theta +i \sin \theta)$ , then for any $integer$ $n$ $z^n=r^n(\cos n\theta +i \sin n\theta)$ . What's going on here?
$\mathbf {P.S.}$ If you want to know what book this is it's an otherwise very good but old precalculus book that I have: "Precalculus Mathematics for Calculus 4th" by James Stewart, Lothar Redlin, and Saleem Watson.