I have a math summer HW packet with algebra and precalculus but I'm really having trouble figuring out these two problems. If anyone could explain the method to do them I would appreciate it greatly.
- A complex number $z$ is given by $z = \frac{a+i}{a-i}$, $a \in\mathbb{R}$.
(a) Determine the set of values of $a$ such that
(i) $z$ is real;
(ii) $z$ is purely imaginary.
(b) Show that $|z|$ is constant for all values of $a$.
- Given that $z = \frac{2-i}{1+i} - \frac{6+8i}{u+i}$, find the values of $u \in \mathbb{R}$, such that $\Re(z) = \Im(z)$.
Hint, \begin{align} z &= \frac{a+i}{a-i} \\ &= \frac{(a+i)(a+i)}{(a+i)(a-i)} \\ &= \frac{(a+i)^2}{a^2+1} \\ &= \frac{a^2+2ai-1}{a^2+1} \end{align}
For this $z$ to be real, the coefficient of $i$ has to be....?