murshid_islam said:
so \sqrt{\left(-1\right)}.\sqrt{\left(-1\right)} is NOT equal to \sqrt{\left(-1\right).\left(-1\right)}. is that what you mean?
Yes, that is what he means. Safest is to only assume sqrt(ab) = sqrt(a)sqrt(b) when a, b are both positive reals.
Just to help you see why:
We can write any complex number z in a unique way as z=re^{i\theta} where r>0 and \theta \in [0, 2\pi).
When x is a nonnegative real define \sqrt{x} to be the unique nonnegative real number y such that y^2 = x. You can show using this definition that \sqrt{a}\sqrt{b} holds when a,b are nonnegative reals. Then for any complex number z written in the form I mentioned, we
define \sqrt{z} = z^{1/2} = \sqrt{r}e^{i\theta/2}.
So let's try out this definition. If z=-1, then we write z = e^{i\pi}, and we get \sqrt{z} = e^{i\pi / 2} = i. As you might expect.
So what's \sqrt{-1}\sqrt{-1}? Well, it's e^{i\pi/2}e^{i\pi /2} = e^{i\pi} = -1. As you've already shown, \sqrt{(-1)(-1)} = 1, so we conclude that \sqrt{a}\sqrt{b} does
not hold in general for complex a,b.
(This has all been posted in previous threads, by myself and others!)