Sqrt(ab) = sqrt(a)sqrt(b)
By Alastair George on Wednesday,
February 24, 1999 - 11:08 am :
I would appreciate comments on a question that a colleague and
I have been debating.
The problem is to establish whether
Suppose
,
are complex numbers of unit modulus, to make the working
simpler, and arguments
,
respectively, with
,
.
Then, it would appear that,
, mod
and, similarly,
, mod
The problem, then, is when
In such a case, the first argument would be returned as zero, whereas the
second would be
. However, is it correct to say that for all other
combinations of
, there is no problem i.e
?
I would be grateful for any comments.
Alastair
By Alex Barnard (Agb21) on Wednesday,
February 24, 1999 - 12:29 pm :
You are right that
does not
hold sometimes. However it is much more often than just the
case.
For example take
,
both to be the numbers
(which have arguments
. Their product is -1 and its principal square root is
. The
principal square root of
however is
. When this is
multiplied by itself you get
. So you have problems when
.
The reason you missed this is that your calculations are slightly wrong. They
should go:
. Note that the mod is taken
BEFORE the 0.5
. Here the mod is taken AFTER the
0.5
Now you can see why there is a problem when
... In the second case
we never actually use the mod. In the first case we will remove
before
halving things. Hence our answers will be out by
.
So
up to the sign.
This is a very common type of behaviour for functions which have what is
called a branch point. This is a point where you get a different value back
from the function if you walk around it. Imagine going in a circle around 0
and look at what the square root gives you. It will start at 1 and slowly
change until when you get back to 1 it will now be -1. This shows that 0 is our
branch point. You will find that if you don't circle around 0 then you will
get back to exactly where you started from. This shows that 0 is the only
branch point.
Write back if you want to know more about functions with branch points...
AlexB.