i (x + y i ) = i x + y i ²
i ² = -1, so
i (x + y i ) = i x + y (-1) = -y + x i
so the real part is -y and the imaginary part is x.
9.3m questions
12.0m answers