From what I know, the rule to distribute exponents is like:
$$(a b)^x = a^x b^x$$
Thus, if $a = \sqrt 2$ and $b = \sqrt 3$, $ab = \sqrt 6$.
However, the imaginary unit $i = \sqrt{-1}$ has a different behavior, because if I take $a = -2$, $b = -3$ and $x = 1/2$:
$${[(-2) (-3)]}^{1/2} = (-2)^{1/2} (-3)^{1/2} = \sqrt{-2} \sqrt{-3} = i\sqrt 2 i \sqrt 3 = - \sqrt 6$$
Although, before I learned complex numbers, I thought,
$${[(-2) (-3)]}^{1/2} = [6]^{1/2} = \sqrt 6$$
What am I making wrong here and which is the right answer?