The problem is: Find all $z \in \mathbb{C}$ such that $ 0< \arg(\frac{z-i}{z+i}) < \frac{\pi}{4} $.
If $z= x+iy$, then $\operatorname{Re}(\frac{z-i}{z+i}) = \frac{x^2+y^2-1}{x^2 +(y+1)^2}$ and $\operatorname{Im}(\frac{z-i}{z+i}) = \frac{-2x}{x^2 +(y+1)^2}$. Also, we have: $$ 0< \frac{-2x}{x^2+y^2-1} <1$$
due to the condition from beginning.
My question is: do we also need the conditions: $\operatorname{Re}(\frac{z-i}{z+i})>0$ and $\operatorname{Im}(\frac{z-i}{z+i})>0$? I know how to plot all regions, but I'm just wondering if these two conditions are necessary. Thanks in advance.


