Show that the mapping $$ z^2 = \frac{\frac{1}{2}+it}{\frac{1}{2}-it}, \quad t\in\mathbb{R} $$ maps the real axis $(-\infty,\infty)$ to the unit circle $|z|=1$.
My try- $$z^2=\frac{\frac{1}{2}+it}{ \frac{1}{2}-it }$$ $$|z^2|=\frac{|\frac{1}{2}+it|}{ |\frac{1}{2}-it| }$$ $$|z^2|=\frac{\sqrt{1/4+t^2}}{ \sqrt{1/4+t^2} }$$ $$|z^2|=1$$ $$|z|^2=1$$ $$|z|=1$$...
You argument is partially correct. You did show that $f$ maps $\mathbb{R}$ into a subset of the unit circle, but the problem requires to show the entire unit circle is covered by the image. In other words, if you look at $f:\mathbb{R} \to D_1(0)$, it would be onto (surjective).
To do this, let $z \in D_1(0)$ and show that there is $t \in \mathbb{R}$ such that $f(t)=z$.