# Complex variables(2)

1. Sep 23, 2010

### kingwinner

1. The problem statement, all variables and given/known data
Let z=x+iy. Describe the locus of points z satisfying |z-i|=Re(z).

2. Relevant equations
N/A

3. The attempt at a solution
|z-i|=Re(z)
=> sqrt[x2+(y-1)2] = x
=> x2+(y-1)2 = x2
=> (y-1)2 = 0
=> y=1

But the answer says y=1 and x≥0. Why? I think maybe I'm not getting the x≥0 because my implcations above isn't "if and only if". But what exactly is the reason and how can we rigorously justify that x≥0?

Any help is appreciated!

2. Sep 23, 2010

### Office_Shredder

Staff Emeritus
If x<0, what sign is Re(z)? What sign does |z-i| have to be?

The place where you lost the if and only if is here:

=> sqrt[x2+(y-1)2] = x
=> x2+(y-1)2 = x2

The if is perfectly fine, but when you try to go backwards, you're taking square roots so you don't know if the signs match up.

Whenever you have to divide by stuff or square things and aren't sure whether you've been doing if and only if statements the whole time, one way to check is to just take your solution and plug it back into the original problem. You know that every solution has to be of the form you have, but now you can see if there are any further restrictions involved. here we would spot it easily. If y=1 then

|z-i|=|x+i-i|=|x|

And Re(z)=x

So we need |x|=x