How to calculate
Reduce the exponent modulo 4. Remainders 0, 1, 2, and 3 give 1, i, −1, and −i respectively.
Worked example
Use Integer exponent 123. The result is -i.
Input and result notes
The cycle also applies to negative exponents. For example, −1 has remainder 3 and i⁻¹ = −i.
OpenStax on complex numbers in polar form