Letz=x+iy
thenz−iz−1
=x+iy−ix+iy−1
=x+(y−1)i(x−1)−iy
=[x+(y−1)i][(x−1)iy][(x−1)+iy][(x−1)−iy]
=x(x−1)−ixy+(x−1)(y−1)i+y(y−1)(x−1)2+y2
=(x2−x+y2−y)+i[−xy+xy−x−y+1](x−1)2+y2
For purely imaginary
=x2−x+y2−y(x−1)2+y2=0
x2+y2−x−y=0