So I'm trying to solve the following problem: If $z=x+iy$, express $w=\frac{1-z}{1+z}$ in the form $a+bi$ and hence find the equation of the locus of $w$ if $z$ moves along the line $x=1$.
My attempt is:
$w=\frac{1-z}{1+z}\times\frac{1+\bar{z}}{1+\bar{z}}$
$=\frac{1-2i\Im{(z)}-|z|^2}{1+2\Re{(z)}+|z|^2}$
$=\frac{1-2yi-x^2-y^2}{1+2x+x^2+y^2}$
$\therefore a+bi=\frac{1-x^2-y^2}{(x+1)^2+y^2}-\frac{2y}{(x+1)^2+y^2}i$
Substituting $x=1$ gives the parametric equations $a=\frac{-y^2}{4+y^2}$ and $b=\frac{-2y}{4+y^2}$
My problem is that I can't reduce these two to only an equation in terms of $a$ and $b$ (best I can do is $b=2ya$, when I try to find $y$ in terms of $b$ it goes $4+y^2=-\frac{2y}{b}$ which is $y^2-\frac{2y}{b}+\left(\frac{y}{b}\right)^2=-4+\left(\frac{y}{b}\right)^2$ and so $\left(y-\frac{y}{b}\right)^2=-4+\left(\frac{y}{b}\right)^2$ but clearly this is not working) so I'm not sure if my steps are right into deriving the parametric equations or if the question just requires me to be more capable of reducing parametric equations. If they can be reduced into equations of just $a$ and $b$, could someone show me how?
A more systematic approach to get the result would be as follows:
First rearrange the relationship $w=\frac{1-z}{1+z}$ to make $z$ the subject, then apply the condition that the real part of $z$ is $1$.
Therefore, writing $w=u+iv$, we have $$z=\frac{1-w}{1+w}=\frac{1-u-iv}{1+u+iv}\cdot\frac{1+u-iv}{1+u-iv}$$
The real part of this is $$\frac{1-u^2-v^2}{(1+u)^2+v^2}=1$$
This simplifies to become $$u^2+v^2+u=0$$
i.e. the locus is the circle $$\left(u+\frac12\right)^2+v^2=\left(\frac12\right)^2$$