PYQ Vault

NDA Maths · Complex Numbers

Powers of i, De Moivre & Roots

The four-step cycle of powers of i, De Moivre's theorem for raising complex numbers to powers, and finding square/nth roots of a complex number.

Why this matters

Powers-of-i questions are fast marks once you use the period-4 cycle, and De Moivre turns an ugly (1+i)ⁿ computation into one angle multiplication.

Test yourself — a quick 14-question Complex Numbers recall quiz, instant score.

Concept 1 of 2: Powers of i (the period-4 cycle)

Powers of ii repeat every four: i,−1,−i,1,i,-1,-i,1, then back to ii. So any ini^n is decided by n mod 4n \bmod 4, and any block of four consecutive powers sums to zero — which collapses long sums instantly.

Definition

i1=i,  i2=−1,  i3=−i,  i4=1i^1=i,\;i^2=-1,\;i^3=-i,\;i^4=1; thereafter in=i n mod 4i^n=i^{\,n\bmod 4}. Block sum: ik+ik+1+ik+2+ik+3=0i^k+i^{k+1}+i^{k+2}+i^{k+3}=0 for any kk. So ∑\sum of ini^n over a full set of consecutive 4 is 0 — only the leftover terms survive. Powers of 1±i1\pm i reduce to powers of ii: (1+i)2=2i(1+i)^2=2i, (1−i)2=−2i(1-i)^2=-2i, 1+i1−i=i\dfrac{1+i}{1-i}=i, 1−i1+i=−i\dfrac{1-i}{1+i}=-i. So (1+i1−i)n=in\Big(\dfrac{1+i}{1-i}\Big)^n=i^n equals 1 first at n=4n=4 and −1-1 first at n=2n=2; (1−i1+i)n2=(−i)n2=1\Big(\dfrac{1-i}{1+i}\Big)^{n^2}=(-i)^{n^2}=1 needs 4∣n24\mid n^2, i.e. nn even — smallest n=2n=2; (1+i)2n=(2i)n=2nin(1+i)^{2n}=(2i)^n=2^n i^n, real iff nn is even.

Powers of i

i2=−1i3=−ii4=1i4k+r=irik+ik+1+ik+2+ik+3=0i^2=-1 \qquad i^3=-i \qquad i^4=1 \qquad i^{4k+r}=i^r \qquad i^k+i^{k+1}+i^{k+2}+i^{k+3}=0

Worked example

Evaluate i1000+i1001+i1002+i1003i^{1000}+i^{1001}+i^{1002}+i^{1003}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2017 · Q3Easy

Example 1 · Complex Numbers · Powers and Roots

The value of i2n+i2n+1+i2n+2+i2n+3i^{2n} + i^{2n+1} + i^{2n+2} + i^{2n+3}, where i=−1i = \sqrt{-1}, is

Reduce the exponent of ii mod 4 — and watch the remainder

in=i n mod 4i^n=i^{\,n\bmod 4}: take the exponent mod 4, not the whole number mod something else. Remainder 0→10\to1, 1→i1\to i, 2→−12\to-1, 3→−i3\to-i. So i102i^{102}: 102 mod 4=2⇒i102=−1102\bmod4=2\Rightarrow i^{102}=-1 (a frequent error is reading remainder 2 as ii instead of −1-1).

Concept 2 of 2: De Moivre's theorem and roots

To raise a complex number to a power, put it in polar form and multiply the angle: (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ(\cos\theta+i\sin\theta)^n=\cos n\theta+i\sin n\theta. Running it backwards gives the nn nth-roots, equally spaced around a circle. Square roots of a+iba+ib can also be found by solving (x+iy)2=a+ib(x+iy)^2=a+ib.

Definition

De Moivre: (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ(\cos\theta+i\sin\theta)^n=\cos n\theta+i\sin n\theta (also for the modulus: zn=rneinθz^n=r^n e^{in\theta}). nth roots of reiθre^{i\theta}: r1/nei(θ+2kπ)/nr^{1/n}e^{i(\theta+2k\pi)/n}, k=0,…,n−1k=0,\ldots,n-1 — nn points on a circle of radius r1/nr^{1/n}. Square root of a+iba+ib: set (x+iy)2=a+ib(x+iy)^2=a+ib, match parts (x2−y2=ax^2-y^2=a, 2xy=b2xy=b).

  • Closed form of the square root: a+ib=±(∣z∣+a2+i sgn⁡(b)∣z∣−a2)\sqrt{a+ib}=\pm\Big(\sqrt{\tfrac{|z|+a}{2}}+i\,\operatorname{sgn}(b)\sqrt{\tfrac{|z|-a}{2}}\Big) with ∣z∣=a2+b2|z|=\sqrt{a^2+b^2}. Hence (a+ib+a−ib)2=2a+2a2+b2\big(\sqrt{a+ib}+\sqrt{a-ib}\big)^2=2a+2\sqrt{a^2+b^2} (the cross term is 2∣z∣2|z|) — e.g. 3+4i+3−4i=±16=±4\sqrt{3+4i}+\sqrt{3-4i}=\pm\sqrt{16}=\pm4.
  • Evaluating a polynomial at a complex number — the minimal-polynomial trick: from x=4+ix=4+i form (x−4)2=−1(x-4)^2=-1, i.e. x2−8x+17=0x^2-8x+17=0; divide the given polynomial by x2−8x+17x^2-8x+17 and evaluate only the REMAINDER at x=4+ix=4+i. Any polynomial with real coefficients that vanishes at a+iba+ib is divisible by x2−2ax+(a2+b2)x^2-2ax+(a^2+b^2).

De Moivre's theorem and nth roots

(cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθzn=rneinθz1/n=r1/nei(θ+2kπ)/n, k=0,…,n−1(\cos\theta+i\sin\theta)^n=\cos n\theta+i\sin n\theta \qquad z^n=r^n e^{in\theta} \qquad z^{1/n}=r^{1/n}e^{i(\theta+2k\pi)/n},\ k=0,\ldots,n-1

Worked example

Use De Moivre to find (1+i)4(1+i)^4.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2023 · Q12Hard

Example 2 · Complex Numbers · Powers and Roots

Which one of the following is a square root of −−1\sqrt{-\sqrt{-1}}?

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (2)

  • Powers of i (the period-4 cycle)

    Powers of i

    i2=−1i3=−ii4=1i4k+r=irik+ik+1+ik+2+ik+3=0i^2=-1 \qquad i^3=-i \qquad i^4=1 \qquad i^{4k+r}=i^r \qquad i^k+i^{k+1}+i^{k+2}+i^{k+3}=0
  • De Moivre's theorem and roots

    De Moivre's theorem and nth roots

    (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθzn=rneinθz1/n=r1/nei(θ+2kπ)/n, k=0,…,n−1(\cos\theta+i\sin\theta)^n=\cos n\theta+i\sin n\theta \qquad z^n=r^n e^{in\theta} \qquad z^{1/n}=r^{1/n}e^{i(\theta+2k\pi)/n},\ k=0,\ldots,n-1

Watch out for (1)

Test yourself on Complex Numbers

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.