+0  
 
+1
427
1
avatar+193 

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)$.

 Feb 14, 2021
 #1
avatar+505 
0

1 and -1 are real numbers and i and -i are nonreal numbers.

Just directly plug it in according to the piecewise function:

\(i^2+1+2-1+2+(-i)^2 =-1+4-1=\boxed{2}\)

 Feb 14, 2021

0 Online Users