Determine the $Re\left(\cfrac{z-1}{z+1}\right)$ if $z = cos\theta + i \, sin\theta$.
I'm not quite sure whether the right approach would be to stick with the polar form and substitute it into $\left(\cfrac{z-1}{z+1}\right)$ and perhaps use $ 1 = sin^2(\theta) + cos^2(\theta) $. Or maybe I should use the Euler's form.
Multiplying both the numerator and denumerator by $\bar{z}+1$, we get: $$\frac{z-1}{z+1}\frac{\bar{z}+1}{\bar{z}+1} = \frac{\bar{z}z-1+z-\bar{z}}{z\bar{z}+z+\bar{z}+1}$$ Using $z\bar{z} = |z|^{2}$, $z+\bar{z} = 2\mbox{Re}(z)$ and $z-\bar{z} = 2i\mbox{Im}(z)$ we get: $$\frac{z-1}{z+1} = \frac{|z|^{2}-1+2i\mbox{Im}(z)}{|z|^{2}+2\mbox{Re}(z)+1}$$
Now you plug $z = \cos\theta + i\sin\theta$ to conclude the exercise.