Complex Function Evaluation
For complex numbers $ z $, let \[f(z) = \left\{ \begin{array}{cl} z^{2}&\text{ if }z\text{ is not real}, \\ z+2 &\text{ if }z\text{ is real}.\end{array} \right.\]Find $ f(i)+f(1)+f(-1)+f(-i) $.
- 1
- 2
- 3
- +
- 4
- 5
- 6
- -
- 7
- 8
- 9
- $\frac{a}{b}$
- .
- 0
- =
- %
- $a^n$
- $a^{\circ}$
- $a_n$
- $\sqrt{}$
- $\sqrt[n]{}$
- $\pi$
- $\ln{}$
- $\log$
- $\theta$
- $\sin{}$
- $\cos{}$
- $\tan{}$
- $($
- $)$
- $[$
- $]$
- $\cap$
- $\cup$
- $,$
- $\infty$