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