How this calculation works
The sequence cycles through 1, i, −1 and −i. Adding or subtracting four from the exponent preserves the result.
iⁿ depends on n modulo 4A worked example
The least nonnegative remainder of −7 modulo 4 is 1, so i⁻⁷ = i.
Good to know
The exponent must be a whole number.
Reference: OpenStax Algebra and Trigonometry (opens in a new tab) ↗
Reduce the exponent to one turn of the four-value cycle
The imaginary unit satisfies i² = −1. Multiplying repeatedly by i gives the cycle 1, i, −1, −i and back to 1. Consequently an integer power depends only on the exponent’s remainder modulo four.
For the default exponent −7, the nonnegative remainder modulo four is 1 because −7 = 4 × (−2) + 1. The output is therefore i. A direct reciprocal check also works: i⁷ = −i, so i⁻⁷ = 1/(−i) = i after multiplying numerator and denominator by i.
Use the sign of the exponent without changing the cycle rule
Negative exponents travel around the same cycle in reverse. The values i⁻¹ = −i and i⁻² = −1 agree with remainders 3 and 2. The Integer quotient and remainder calculator provides the nonnegative modular convention needed to index the four outputs reliably.
Geometrically, multiplying a complex number by i rotates it through 90 degrees counterclockwise while preserving magnitude. Starting at the real number one, four such rotations return to the starting point. The exponent must be an integer for this finite-cycle rule. A fractional power requires a choice of complex root or branch, which the separate Complex roots by De Moivre’s theorem calculator handles by listing distinct roots.
A few questions, answered
What is i raised to zero?
It is 1, corresponding to remainder zero in the four-value cycle.
How can I check a very large exponent?
Divide the integer exponent by four and keep its nonnegative remainder. The remainder selects one of 1, i, −1 or −i.