So it seems that my textbook is making some assumptions that I do not fully understand.
So I understand that this symbol $\sqrt()$ refers to the principle square root. So the $\sqrt(4)$ = 2 and not -2 because that is the definition of principle square root.
In complex numbers, $\sqrt(-4)$ = $2i$ and not $-2i$ and I'm fine with this.
But why is that:
$x^2$ = $-9$
$x = \pm\sqrt{-9}= \{3i,-3i\}.$
Can someone point me to a good reason why this is the case?
The equation $x^2=-9$ has two solutions : $-3i$ and $3i$, but $3i$ is the pinciple square-root, therefore $\pm \sqrt{-9}$ because one solution is $\sqrt{-9}=3i$ and the other $-\sqrt{-9}=-3i$