I have just started learning complex numbers and am now confused about one property.
We know that $\sqrt{ab}=\sqrt{a}\cdot \sqrt{b}$ is only valid if both $a$ and $b$ are not negative simultaneously. My teacher told me that the relationship breaks if both the numbers are negative to solve the following contradiction.
$\sqrt{-1}\cdot \sqrt{-1}=\sqrt{(-1)(-1)}=1$
Now, that makes me wonder if the relationship also holds if $a$ or $b$ are complex numbers with non-zero imaginary parts. Any help would be greatly appreciated.