I would like to show that
The complex function $f(z)=1/z$ maps the circle $|z-1|=1$ onto the vertical line $x=1/2$.
So far, I know that if $z=x+iy$, then $f(z)$ is equivalent to
$$w=u(x,y)+iv(x,y)=\frac{x}{x^2+y^2}+i\frac{-y}{x^2+y^2},$$
but I'm pretty new to complex analysis and I don't know how to follow.
Note that, for each $z\in\mathbb C$,\begin{align}\lvert z-1\rvert=1&\iff\lvert z-1\rvert^2=1\\&\iff\lvert z\rvert^2-2\operatorname{Re}(z)+1=1\\&\iff\lvert z\rvert^2=2\operatorname{Re}(z).\end{align}So, if $z\neq0$\begin{align}\operatorname{Re}\left(\frac1z\right)=\frac12&\iff\frac{\operatorname{Re}(z)}{\lvert z\rvert^2}=\frac12\\&\iff\lvert z\rvert^2=2\operatorname{Re}(z)\\&\iff\lvert z-1\rvert=1.\end{align}