dash–calculator

02 Complex Numbers and Functions

Powers of i Table: i^n From n = −8 to 40

Readout 02-0510 · Updated · Standard formula, shown below

Real part of i^n 0
Imaginary part of i^n
-1
Result, rounded to a whole number
Remainder n mod 4
3
Result, rounded to a whole number
Exponent n
27
Input
You enter
Exponent n
You get
Real part of i^n, Imaginary part of i^n, Remainder n mod 4
Rounding
0 dp

This reference page provides two complete tables for working with powers of the imaginary unit i and the complex number (1 + i). The first table lists in for every integer exponent from −8 to 40, along with the value of n mod 4. The second table gives the exact real and imaginary parts of (1 + i)n for selected exponents, together with the modulus and angle in degrees.

These tables are useful for students learning complex numbers, engineers working with alternating current or signal processing, and anyone who needs to simplify expressions involving powers of i quickly. The patterns shown here also illustrate fundamental connections between algebra, trigonometry, and geometry in the complex plane.

Formula

i is defined by i² = −1. Because i⁴ = 1, the powers repeat every 4: in = ir where r = n mod 4 (taken as 0, 1, 2 or 3, also for negative n). i0 = 1, i1 = i, i2 = −1, i3 = −i. In polar form in = cos(90°·n) + i·sin(90°·n).

Worked Example

Find i27, the calculator default (real part 0, imaginary part −1).

Step Working Result
1 27 ÷ 4 6 remainder 3
2 i27 = (i4)6 · i3 = 1 · i3 i3
3 i3 = i2 · i = −1 · i −i
4 real part / imaginary part 0 / −1

i^n for n = −8 to 40

n n mod 4 i^n
-8 0 1
-7 1 i
-6 2 −1
-5 3 −i
-4 0 1
-3 1 i
-2 2 −1
-1 3 −i
0 0 1
1 1 i
2 2 −1
3 3 −i
4 0 1
5 1 i
6 2 −1
7 3 −i
8 0 1
9 1 i
10 2 −1
11 3 −i
12 0 1
13 1 i
14 2 −1
15 3 −i
16 0 1
17 1 i
18 2 −1
19 3 −i
20 0 1
21 1 i
22 2 −1
23 3 −i
24 0 1
25 1 i
26 2 −1
27 3 −i
28 0 1
29 1 i
30 2 −1
31 3 −i
32 0 1
33 1 i
34 2 −1
35 3 −i
36 0 1
37 1 i
38 2 −1
39 3 −i
40 0 1

How to read this table

To read the first table, locate the exponent n in the left column. The middle column gives n mod 4, which is the remainder when n is divided by 4. The right column shows the corresponding power of i. For example, the row for n = 38 shows that 38 mod 4 = 2 and i38 = −1.

In the second table, each row gives the exact real part, the exact imaginary part, the modulus (which equals √2n), and the angle in degrees for (1 + i)n. The angle increases by 45° for each increment of n, reflecting the fact that multiplying by (1 + i) rotates a point by 45° and scales it by √2.

Powers of (1 + i): exact real and imaginary parts

n Real part Imaginary part Modulus √2^n Angle
0 1 0 1.000000 0°
1 1 1 1.414214 45°
2 0 2 2.000000 90°
3 -2 2 2.828427 135°
4 -4 0 4.000000 180°
5 -4 -4 5.656854 225°
6 0 -8 8.000000 270°
7 8 -8 11.313708 315°
8 16 0 16.000000 0°
9 16 16 22.627417 45°
10 0 32 32.000000 90°
11 -32 32 45.254834 135°
12 -64 0 64.000000 180°
13 -64 -64 90.509668 225°
14 0 -128 128.000000 270°
15 128 -128 181.019336 315°
16 256 0 256.000000 0°

Patterns and Properties Visible in the Table

The first table reveals the central property of powers of i: the sequence repeats every 4 exponents. Starting at n = 0, the values are 1, i, −1, −i, then back to 1. This cycle is evident in the rows from −8 to 40.

Why does the cycle have length 4? Because i2 = −1, so i4 = (i2)2 = (−1)2 = 1. Therefore, multiplying by i4 does not change the result. Any exponent n can be written as 4q + r, where r is the remainder (0, 1, 2, or 3). Then in = i4q+r = (i4)q · ir = 1q · ir = ir.

The second table shows a different pattern for (1 + i)n. The modulus grows by a factor of √2 each time n increases by 1, and the angle increases by 45°. This is a direct consequence of De Moivre’s theorem.

Method by Hand: Reducing a Large Exponent

To compute in for any integer n, the simplest method is to divide n by 4 and use the remainder. The remainder r (0, 1, 2, or 3) determines the value: i0 = 1, i1 = i, i2 = −1, i3 = −i. This works for negative exponents as well, provided you interpret the remainder correctly. For example, to find i−7, divide −7 by 4. The quotient is −2 and the remainder is 1, because −7 = 4·(−2) + 1. Thus i−7 = i1 = i, which matches the table.

For a large positive exponent, the worked example on this page shows the process for n = 27. Dividing 27 by 4 gives a quotient of 6 and a remainder of 3. Then i27 = (i4)6 · i3 = 1 · i3 = −i. The result has real part 0 and imaginary part −1.

For negative exponents, you can also use the identity i−1 = −i. Since i · (−i) = −i2 = 1, the reciprocal of i is −i. Then i−n = (i−1)n = (−i)n.

Practical Uses of Powers of i

Powers of i appear in many areas of mathematics and engineering. In complex number arithmetic, simplifying expressions like i37 or i−6 is a routine step. The table provides quick reference values for exponents from −8 to 40, covering most common needs.

Raising i to a power corresponds to repeated phase shifts: i1 is a 90° shift, i2 is 180°, i3 is 270°, and i4 returns to 0°. This geometric interpretation is captured by the polar form in = cos(90°·n) + i·sin(90°·n).

The powers of (1 + i) are useful in signal processing and fractal geometry, where rotations and scaling are combined. Each multiplication by (1 + i) rotates a point by 45° and scales it by √2. The table shows exact values for selected exponents, making it easy to see how the real and imaginary parts grow in magnitude while the angle cycles through multiples of 45°.

Common Mistakes to Avoid

One common mistake is forgetting that the cycle length is 4, not 2.

Another mistake is mishandling negative exponents. For example, i−1 is not i; it is −i. When computing n mod 4 for a negative number, be careful to use the remainder that is 0, 1, 2, or 3. For instance, −7 divided by 4 gives remainder 1, not −3. The table shows that i−7 = i, not −i.

A third mistake is confusing the powers of (1 + i) with powers of i. The table for (1 + i) shows that the modulus is not 1 but √2n. Always check whether the base is i or a more general complex number.

Limits and Precision of the Tables

The first table covers exponents from −8 to 40. For exponents outside this range, you can still use the reduction method: divide the exponent by 4 and use the remainder. The table is not exhaustive, but it illustrates the periodic pattern that extends to all integers.

The modulus column is given to six decimal places, but the exact modulus is √2n.

Angles are given in degrees and are multiples of 45° for (1 + i)n. For in, the polar form gives angles that are multiples of 90°. The tables provide exact values for the real and imaginary parts, so no rounding is needed for those columns. The modulus column is approximate for clarity, but the exact value is always √2n.

Frequently Asked Questions

Why do powers of i repeat every 4?

Because i^2 = -1, so i^4 = (i^2)^2 = 1. Multiplying by i^4 does not change the value. Therefore, i^n depends only on n mod 4. For example, i^5 = i^4 * i = 1 * i = i, same as i^1. The cycle is 1, i, -1, -i.

What is i^-1?

i^-1 is the reciprocal of i. Since i * (-i) = -i^2 = 1, the reciprocal is -i. So i^-1 = -i.

How do I reduce a large exponent like i^37?

Divide the exponent by 4 and use the remainder. For 37, 37 ÷ 4 = 9 with remainder 1. So i^37 = i^1 = i.

What does i^n mean geometrically?

In the complex plane, multiplying by i rotates a point 90° counterclockwise. Thus i^n corresponds to a rotation of 90° times n. The polar form i^n = cos(90°·n) + i·sin(90°·n) makes this explicit.

How does De Moivre's theorem apply to (1+i)^n?

De Moivre's theorem states that for a complex number with modulus r and angle θ, (r(cosθ + i sinθ))^n = r^n (cos(nθ) + i sin(nθ)). For (1+i), r = √2 and θ = 45°. So (1+i)^n has modulus √2^n and angle 45°·n, which matches the table values.

Calculators that go with this table

Method and sources

The first table uses the 4-cycle of i (exact). The second table multiplies (1 + i) by itself n times in exact integer arithmetic; the modulus √2n is rounded to 6 decimals and the angle is 45°·n reduced to 0–360°.

Source formulas: the standard textbook definitions written out in the Formula section above. Every value in the tables was generated from those formulas in code and spot-checked against the worked example and the calculator on this page; nothing was copied from another table.

Related

Formula used
in n | Exponent n | - | 27 | -1000 | 1000
out re | Real part of i^n | - | round(cosd(90 * n), 0) | 0
out im | Imaginary part of i^n | - | round(sind(90 * n), 0) | 0
out r | Remainder n mod 4 | - | n - 4 * floor(n / 4) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Complex Numbers and Functions panel →