Practice / Trigonometry

Complex numbers in polar form: Euler's formula, De Moivre and roots of unity

Ten problems on complex numbers in polar form: the modulus and argument of −1 + √3i and −2 − 2i, polar back to rectangular, a product and a quotient that give cos(5π/12) exactly, (1 + i)^10 and (1 − √3i)^6 by De Moivre, the three cube roots of 8i, the fifth roots of unity and cos(2π/5), the triple-angle formulas for cos 3θ and sin 3θ, the integral of e^x cos x from the real part of e^((1+i)x), a rotation about a point other than the origin, and the rotary position embeddings that make an attention score depend only on the distance between positions, with worked solutions and the mistakes of taking arctan(b/a) in the wrong quadrant, adding the moduli of a product, keeping only one of the n roots, raising the real and imaginary parts to a power separately and taking the modulus of a sum as the sum of the moduli.

Before you start

A complex number a+bia + bi is a point in the plane, and like any point it can be given by its distance from the origin and its angle instead of by its coordinates. In that polar form, z=reiθz = re^{i\theta}, the hard operations become easy: multiplying multiplies the distances and adds the angles, a power is a power of the distance and a multiple of the angle, and the nn-th roots of a number sit evenly around a circle. Euler's formula eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta is what connects the two forms, and it turns trigonometry into algebra: triple-angle formulas, sums of cosines and integrals of excos⁡xe^x\cos x all come out of the rules for exponents. The same rotations are inside the discrete Fourier transform, the solutions of oscillating differential equations and the rotary position embeddings of transformer models. These ten problems convert between the forms, multiply, take powers and roots, and use the result.

  • Polar form. z=a+bi=r(cos⁡θ+isin⁡θ)=reiθz = a + bi = r(\cos\theta + i\sin\theta) = re^{i\theta}, with modulus r=∣z∣=a2+b2r = \lvert z\rvert = \sqrt{a^2 + b^2} and argument θ\theta. Angles on this page are in radians.
  • The argument needs the quadrant. tan⁡θ=b/a\tan\theta = b/a does not decide θ\theta: arctan⁡(b/a)\arctan(b/a) lies in (−π/2,π/2)(-\pi/2, \pi/2), so when a<0a < 0 add or subtract π\pi. Always check that cos⁡θ\cos\theta has the sign of aa and sin⁡θ\sin\theta the sign of bb.
  • Euler's formula. eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta, so ∣eiθ∣=1\lvert e^{i\theta}\rvert = 1, eiπ=−1e^{i\pi} = -1 and ei(θ+2π)=eiθe^{i(\theta + 2\pi)} = e^{i\theta}. Conversely cos⁡θ=12(eiθ+e−iθ)\cos\theta = \tfrac12(e^{i\theta} + e^{-i\theta}) and sin⁡θ=12i(eiθ−e−iθ)\sin\theta = \tfrac{1}{2i}(e^{i\theta} - e^{-i\theta}).
  • Products and quotients. r1eiθ1⋅r2eiθ2=r1r2ei(θ1+θ2)r_1e^{i\theta_1}\cdot r_2e^{i\theta_2} = r_1r_2e^{i(\theta_1 + \theta_2)} and r1eiθ1r2eiθ2=r1r2ei(θ1−θ2)\dfrac{r_1e^{i\theta_1}}{r_2e^{i\theta_2}} = \dfrac{r_1}{r_2}e^{i(\theta_1 - \theta_2)}: moduli multiply, arguments add.
  • De Moivre. (reiθ)n=rneinθ(re^{i\theta})^n = r^ne^{in\theta}, that is (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ(\cos\theta + i\sin\theta)^n = \cos n\theta + i\sin n\theta.
  • Roots. The equation zn=reiθz^n = re^{i\theta} with r>0r > 0 has exactly nn solutions, zk=r1/nei(θ+2πk)/nz_k = r^{1/n}e^{i(\theta + 2\pi k)/n} for k=0,1,…,n−1k = 0, 1, \dots, n - 1, spaced 2π/n2\pi/n apart on a circle. The nn-th roots of unity e2πik/ne^{2\pi ik/n} add up to 00 for n≥2n \ge 2.
  • Rotation. Multiplying by eiαe^{i\alpha} rotates a point by α\alpha counterclockwise about the origin; zˉ\bar z reflects it in the real axis, and zzˉ=∣z∣2z\bar z = \lvert z\rvert^2.

Builds on: Trig identities, Solving trig equations and the unit circle

Problems

  1. ·

    Write z=−1+3 iz = -1 + \sqrt3\,i and w=−2−2iw = -2 - 2i in polar form reiθre^{i\theta}, with −π<θ≤π-\pi < \theta \le \pi.

  2. ·

    Write 4e5πi/64e^{5\pi i/6}, 3e−iπ/23e^{-i\pi/2} and eiπ+1e^{i\pi} + 1 in the form a+bia + bi.

  3. ··

    Let z=1+iz = 1 + i and w=3+iw = \sqrt3 + i. Find zwzw and z/wz/w in polar form, then multiply zwzw out in rectangular form and use it to find cos⁡5π12\cos\tfrac{5\pi}{12} exactly.

  4. ··

    Compute (1+i)10(1 + i)^{10} and (1−3 i)6(1 - \sqrt3\,i)^6 with De Moivre's theorem.

  5. ··

    Find all solutions of z3=8iz^3 = 8i in polar and rectangular form, and check that they add up to 00.

  6. ··

    Let ω=e2πi/5\omega = e^{2\pi i/5}. Show that 1+ω+ω2+ω3+ω4=01 + \omega + \omega^2 + \omega^3 + \omega^4 = 0, and use its real part to find cos⁡2π5\cos\tfrac{2\pi}{5} exactly.

  7. ··

    Expand (cos⁡θ+isin⁡θ)3(\cos\theta + i\sin\theta)^3 and use De Moivre's theorem to write cos⁡3θ\cos3\theta in terms of cos⁡θ\cos\theta and sin⁡3θ\sin3\theta in terms of sin⁡θ\sin\theta. Check both at θ=π/9\theta = \pi/9.

  8. ···

    Compute ∫0πexcos⁡x dx\int_0^\pi e^x\cos x\,dx and ∫0πexsin⁡x dx\int_0^\pi e^x\sin x\,dx at once, as the real and imaginary parts of ∫0πe(1+i)x dx\int_0^\pi e^{(1 + i)x}\,dx.

  9. ··

    Rotate the point P=(4,2)P = (4, 2) by 60∘60^\circ counterclockwise about the point C=(1,1)C = (1, 1). Check that its distance from CC does not change.

  10. ···

    Rotary position embeddings (RoPE) treat each pair of coordinates of a query or key as a complex number and rotate the vector at position mm by the angle mθm\theta. Take the pair q=(1,2)q = (1, 2), the pair k=(3,−1)k = (3, -1) and θ=π/6\theta = \pi/6. Show that the score Re⁡(qmkn‾)\operatorname{Re}\big(q_m\overline{k_n}\big) between the rotated query qm=qeimθq_m = qe^{im\theta} and the rotated key kn=keinθk_n = ke^{in\theta} is the ordinary dot product when m=nm = n, and find it for (m,n)=(5,2)(m, n) = (5, 2) and (8,5)(8, 5).

Worked solutions

Problem 1

Write z=−1+3 iz = -1 + \sqrt3\,i and w=−2−2iw = -2 - 2i in polar form reiθre^{i\theta}, with −π<θ≤π-\pi < \theta \le \pi.

  1. ∣z∣=1+3=2\lvert z\rvert = \sqrt{1 + 3} = 2The distance from the origin to (−1,3)(-1, \sqrt3).
  2. cos⁡θ=−12\cos\theta = -\tfrac12, sin⁡θ=32\sin\theta = \tfrac{\sqrt3}{2}Divide the coordinates by rr. Cosine negative and sine positive: the second quadrant.
  3. θ=2π3\theta = \tfrac{2\pi}{3}The reference angle is π/3\pi/3; in the second quadrant that is π−π/3\pi - \pi/3.
  4. ∣w∣=4+4=22\lvert w\rvert = \sqrt{4 + 4} = 2\sqrt2, and θ=−3π4\theta = -\tfrac{3\pi}{4}Both coordinates negative: the third quadrant, reference angle π/4\pi/4, measured clockwise from the positive real axis.
  5. z=2e2πi/3z = 2e^{2\pi i/3} and w=22 e−3πi/4w = 2\sqrt2\,e^{-3\pi i/4}A calculator's arctan⁡(3/(−1))=−π/3\arctan(\sqrt3/(-1)) = -\pi/3 points the opposite way, into the fourth quadrant (Mistake 1). The angle 5π/45\pi/4 for ww is also right; it is the same direction outside the range asked for.

Problem 2

Write 4e5πi/64e^{5\pi i/6}, 3e−iπ/23e^{-i\pi/2} and eiπ+1e^{i\pi} + 1 in the form a+bia + bi.

  1. 4e5πi/6=4(cos⁡5π6+isin⁡5π6)4e^{5\pi i/6} = 4\big(\cos\tfrac{5\pi}{6} + i\sin\tfrac{5\pi}{6}\big)Euler's formula.
  2. =4(−32+12i)=−23+2i= 4\big(-\tfrac{\sqrt3}{2} + \tfrac12 i\big) = -2\sqrt3 + 2i5π/65\pi/6 is in the second quadrant, reference angle π/6\pi/6.
  3. 3e−iπ/2=3(0−i)=−3i3e^{-i\pi/2} = 3(0 - i) = -3iA quarter turn clockwise from the positive real axis lands on the negative imaginary axis.
  4. eiπ=cos⁡π+isin⁡π=−1e^{i\pi} = \cos\pi + i\sin\pi = -1Half a turn.
  5. −23+2i≈−3.464+2i-2\sqrt3 + 2i \approx -3.464 + 2i, −3i-3i, and eiπ+1=0e^{i\pi} + 1 = 0Check the first: (23)2+22=16=42(2\sqrt3)^2 + 2^2 = 16 = 4^2.

Problem 3

Let z=1+iz = 1 + i and w=3+iw = \sqrt3 + i. Find zwzw and z/wz/w in polar form, then multiply zwzw out in rectangular form and use it to find cos⁡5π12\cos\tfrac{5\pi}{12} exactly.

  1. z=2 eiπ/4z = \sqrt2\,e^{i\pi/4}, w=2eiπ/6w = 2e^{i\pi/6}Both are in the first quadrant: arctan⁡1=π/4\arctan 1 = \pi/4 and arctan⁡(1/3)=π/6\arctan(1/\sqrt3) = \pi/6.
  2. zw=22 e5πi/12zw = 2\sqrt2\,e^{5\pi i/12}Multiply the moduli, 2⋅2\sqrt2\cdot2, and add the arguments, π/4+π/6=5π/12\pi/4 + \pi/6 = 5\pi/12.
  3. z/w=22eiπ/12z/w = \tfrac{\sqrt2}{2}e^{i\pi/12}Divide the moduli and subtract the arguments: π/4−π/6=π/12\pi/4 - \pi/6 = \pi/12.
  4. zw=(3−1)+(3+1)izw = (\sqrt3 - 1) + (\sqrt3 + 1)iDirectly: 3+i+3 i+i2\sqrt3 + i + \sqrt3\,i + i^2.
  5. zw=22 e5πi/12zw = 2\sqrt2\,e^{5\pi i/12}, z/w=22eiπ/12z/w = \tfrac{\sqrt2}{2}e^{i\pi/12}, and cos⁡5π12=3−122=6−24≈0.2588\cos\tfrac{5\pi}{12} = \tfrac{\sqrt3 - 1}{2\sqrt2} = \tfrac{\sqrt6 - \sqrt2}{4} \approx 0.2588The real part of zwzw is 22cos⁡5π122\sqrt2\cos\tfrac{5\pi}{12}; divide by 222\sqrt2. Adding the moduli instead gives 2+2≈3.414\sqrt2 + 2 \approx 3.414, not 22≈2.8282\sqrt2 \approx 2.828 (Mistake 2).

Problem 4

Compute (1+i)10(1 + i)^{10} and (1−3 i)6(1 - \sqrt3\,i)^6 with De Moivre's theorem.

  1. 1+i=2 eiπ/41 + i = \sqrt2\,e^{i\pi/4}Modulus 2\sqrt2, first quadrant.
  2. (1+i)10=(2)10e10πi/4=32e5πi/2(1 + i)^{10} = (\sqrt2)^{10}e^{10\pi i/4} = 32e^{5\pi i/2}Raise the modulus to the power, multiply the angle by it.
  3. e5πi/2=eiπ/2=ie^{5\pi i/2} = e^{i\pi/2} = iSubtract a full turn, 2π2\pi.
  4. 1−3 i=2e−iπ/31 - \sqrt3\,i = 2e^{-i\pi/3}, so (1−3 i)6=64e−2πi(1 - \sqrt3\,i)^6 = 64e^{-2\pi i}Fourth quadrant, reference angle π/3\pi/3; 26=642^6 = 64.
  5. (1+i)10=32i(1 + i)^{10} = 32i and (1−3 i)6=64(1 - \sqrt3\,i)^6 = 64e−2πi=1e^{-2\pi i} = 1. Check the first by squaring: (1+i)2=2i(1 + i)^2 = 2i, and (2i)5=32i5=32i(2i)^5 = 32i^5 = 32i. Taking 110+i10=01^{10} + i^{10} = 0 instead is Mistake 4.

Problem 5

Find all solutions of z3=8iz^3 = 8i in polar and rectangular form, and check that they add up to 00.

  1. 8i=8eiπ/28i = 8e^{i\pi/2}On the positive imaginary axis.
  2. zk=2ei(π/2+2πk)/3z_k = 2e^{i(\pi/2 + 2\pi k)/3} for k=0,1,2k = 0, 1, 2The cube root of the modulus, and the argument divided by 33 after adding 2πk2\pi k.
  3. z0=2eiπ/6=3+iz_0 = 2e^{i\pi/6} = \sqrt3 + iπ/6\pi/6: 2cos⁡π6=32\cos\tfrac{\pi}{6} = \sqrt3 and 2sin⁡π6=12\sin\tfrac{\pi}{6} = 1.
  4. z1=2e5πi/6=−3+iz_1 = 2e^{5\pi i/6} = -\sqrt3 + i and z2=2e3πi/2=−2iz_2 = 2e^{3\pi i/2} = -2iEach root is 2π/32\pi/3 further around the circle of radius 22.
  5. z=3+iz = \sqrt3 + i, −3+i-\sqrt3 + i, −2i-2i; their sum is 00The real parts cancel and 1+1−2=01 + 1 - 2 = 0. Check one: (−2i)3=−8i3=8i(-2i)^3 = -8i^3 = 8i. Stopping at z0z_0 loses two of the three roots (Mistake 3).

Problem 6

Let ω=e2πi/5\omega = e^{2\pi i/5}. Show that 1+ω+ω2+ω3+ω4=01 + \omega + \omega^2 + \omega^3 + \omega^4 = 0, and use its real part to find cos⁡2π5\cos\tfrac{2\pi}{5} exactly.

  1. (ω−1)(1+ω+⋯+ω4)=ω5−1=0(\omega - 1)(1 + \omega + \dots + \omega^4) = \omega^5 - 1 = 0The telescoping product, and ω5=e2πi=1\omega^5 = e^{2\pi i} = 1.
  2. 1+ω+⋯+ω4=01 + \omega + \dots + \omega^4 = 0ω≠1\omega \ne 1, so the other factor is 00.
  3. 1+2cos⁡2π5+2cos⁡4π5=01 + 2\cos\tfrac{2\pi}{5} + 2\cos\tfrac{4\pi}{5} = 0Real parts: ω4=ωˉ\omega^4 = \bar\omega and ω3=ω2‾\omega^3 = \overline{\omega^2} pair up, and each pair contributes twice a cosine.
  4. With c=cos⁡2π5c = \cos\tfrac{2\pi}{5}: 1+2c+2(2c2−1)=01 + 2c + 2(2c^2 - 1) = 0, so 4c2+2c−1=04c^2 + 2c - 1 = 0The double-angle formula cos⁡2x=2cos⁡2x−1\cos 2x = 2\cos^2x - 1.
  5. cos⁡2π5=5−14≈0.3090\cos\tfrac{2\pi}{5} = \tfrac{\sqrt5 - 1}{4} \approx 0.3090The positive root of the quadratic, since 2π/5<π/22\pi/5 < \pi/2. The five roots each have modulus 11, yet their sum has modulus 00, not 55 (Mistake 5).

Problem 7

Expand (cos⁡θ+isin⁡θ)3(\cos\theta + i\sin\theta)^3 and use De Moivre's theorem to write cos⁡3θ\cos3\theta in terms of cos⁡θ\cos\theta and sin⁡3θ\sin3\theta in terms of sin⁡θ\sin\theta. Check both at θ=π/9\theta = \pi/9.

  1. (c+is)3=c3+3ic2s−3cs2−is3(c + is)^3 = c^3 + 3ic^2s - 3cs^2 - is^3The binomial expansion with c=cos⁡θc = \cos\theta, s=sin⁡θs = \sin\theta; i2=−1i^2 = -1 and i3=−ii^3 = -i.
  2. cos⁡3θ=c3−3cs2\cos3\theta = c^3 - 3cs^2De Moivre: the left side is cos⁡3θ+isin⁡3θ\cos3\theta + i\sin3\theta. Match real parts.
  3. cos⁡3θ=4c3−3c\cos3\theta = 4c^3 - 3cReplace s2s^2 by 1−c21 - c^2.
  4. sin⁡3θ=3c2s−s3=3s−4s3\sin3\theta = 3c^2s - s^3 = 3s - 4s^3Match imaginary parts and replace c2c^2 by 1−s21 - s^2.
  5. cos⁡3θ=4cos⁡3θ−3cos⁡θ\cos3\theta = 4\cos^3\theta - 3\cos\theta and sin⁡3θ=3sin⁡θ−4sin⁡3θ\sin3\theta = 3\sin\theta - 4\sin^3\thetaAt θ=π/9\theta = \pi/9, cos⁡θ≈0.9397\cos\theta \approx 0.9397 gives 4(0.8298)−2.8191≈0.5=cos⁡π34(0.8298) - 2.8191 \approx 0.5 = \cos\tfrac{\pi}{3}, and sin⁡θ≈0.3420\sin\theta \approx 0.3420 gives ≈0.8660=sin⁡π3\approx 0.8660 = \sin\tfrac{\pi}{3}.

Problem 8

Compute ∫0πexcos⁡x dx\int_0^\pi e^x\cos x\,dx and ∫0πexsin⁡x dx\int_0^\pi e^x\sin x\,dx at once, as the real and imaginary parts of ∫0πe(1+i)x dx\int_0^\pi e^{(1 + i)x}\,dx.

  1. e(1+i)x=excos⁡x+iexsin⁡xe^{(1 + i)x} = e^x\cos x + ie^x\sin xEuler's formula, times the real factor exe^x.
  2. ∫0πe(1+i)x dx=e(1+i)π−11+i\int_0^\pi e^{(1 + i)x}\,dx = \dfrac{e^{(1 + i)\pi} - 1}{1 + i}The exponential rule works with a complex constant: the derivative of ekxe^{kx} is kekxke^{kx}.
  3. e(1+i)π=eπeiπ=−eπe^{(1 + i)\pi} = e^\pi e^{i\pi} = -e^\piSo the numerator is −(eπ+1)-(e^\pi + 1).
  4. 11+i=1−i2\dfrac{1}{1 + i} = \dfrac{1 - i}{2}Multiply top and bottom by the conjugate: (1+i)(1−i)=2(1 + i)(1 - i) = 2.
  5. ∫0πexcos⁡x dx=−eπ+12≈−12.07\int_0^\pi e^x\cos x\,dx = -\tfrac{e^\pi + 1}{2} \approx -12.07 and ∫0πexsin⁡x dx=eπ+12≈12.07\int_0^\pi e^x\sin x\,dx = \tfrac{e^\pi + 1}{2} \approx 12.07−(eπ+1)1−i2-(e^\pi + 1)\tfrac{1 - i}{2} has real part −eπ+12-\tfrac{e^\pi + 1}{2} and imaginary part +eπ+12+\tfrac{e^\pi + 1}{2}. Integrating by parts twice gives the same, with more work.

Problem 9

Rotate the point P=(4,2)P = (4, 2) by 60∘60^\circ counterclockwise about the point C=(1,1)C = (1, 1). Check that its distance from CC does not change.

  1. P−C=3+iP - C = 3 + iMove CC to the origin first: rotation by eiαe^{i\alpha} only turns about 00.
  2. eiπ/3=12+32ie^{i\pi/3} = \tfrac12 + \tfrac{\sqrt3}{2}i60∘60^\circ is π/3\pi/3 radians.
  3. (3+i)eiπ/3=(32−32)+(332+12)i(3 + i)e^{i\pi/3} = \big(\tfrac32 - \tfrac{\sqrt3}{2}\big) + \big(\tfrac{3\sqrt3}{2} + \tfrac12\big)iMultiply out: 32+332i+12i−32\tfrac32 + \tfrac{3\sqrt3}{2}i + \tfrac12 i - \tfrac{\sqrt3}{2}.
  4. Add C=1+iC = 1 + i backUndo the shift.
  5. P′=(5−32, 3+332)≈(1.634,4.098)P' = \big(\tfrac{5 - \sqrt3}{2},\ \tfrac{3 + 3\sqrt3}{2}\big) \approx (1.634, 4.098)Its distance from CC is ∣3+i∣=10\lvert 3 + i\rvert = \sqrt{10} before and after, since ∣eiπ/3∣=1\lvert e^{i\pi/3}\rvert = 1: 0.6342+3.0982≈100.634^2 + 3.098^2 \approx 10. Rotating 4+2i4 + 2i itself would turn it about the origin instead.

Problem 10

Rotary position embeddings (RoPE) treat each pair of coordinates of a query or key as a complex number and rotate the vector at position mm by the angle mθm\theta. Take the pair q=(1,2)q = (1, 2), the pair k=(3,−1)k = (3, -1) and θ=π/6\theta = \pi/6. Show that the score Re⁡(qmkn‾)\operatorname{Re}\big(q_m\overline{k_n}\big) between the rotated query qm=qeimθq_m = qe^{im\theta} and the rotated key kn=keinθk_n = ke^{in\theta} is the ordinary dot product when m=nm = n, and find it for (m,n)=(5,2)(m, n) = (5, 2) and (8,5)(8, 5).

  1. Re⁡(zwˉ)=ac+bd\operatorname{Re}(z\bar w) = ac + bd for z=a+biz = a + bi, w=c+diw = c + di(a+bi)(c−di)(a + bi)(c - di) has real part ac+bdac + bd: the dot product of the two pairs.
  2. qmkn‾=qkˉ ei(m−n)θq_m\overline{k_n} = q\bar k\,e^{i(m - n)\theta}einθ‾=e−inθ\overline{e^{in\theta}} = e^{-in\theta}, so the two rotations combine into one by the difference of the angles.
  3. qkˉ=(1+2i)(3+i)=1+7iq\bar k = (1 + 2i)(3 + i) = 1 + 7i3+i+6i+2i23 + i + 6i + 2i^2. With m=nm = n the score is Re⁡(1+7i)=1=1⋅3+2⋅(−1)\operatorname{Re}(1 + 7i) = 1 = 1\cdot3 + 2\cdot(-1).
  4. (m−n)θ=3⋅π6=π2(m - n)\theta = 3\cdot\tfrac{\pi}{6} = \tfrac{\pi}{2} for both pairs5−2=8−5=35 - 2 = 8 - 5 = 3.
  5. The score is Re⁡((1+7i)i)=Re⁡(−7+i)=−7\operatorname{Re}\big((1 + 7i)i\big) = \operatorname{Re}(-7 + i) = -7 for both (5,2)(5, 2) and (8,5)(8, 5)It depends only on the offset m−nm - n, not on where the pair sits in the sequence, which is why RoPE encodes relative position. The rotations keep ∣q∣=5\lvert q\rvert = \sqrt5 and ∣k∣=10\lvert k\rvert = \sqrt{10}, so the norms are unchanged.

Where this goes wrong

1. arctan(b/a) in the wrong quadrant

The argument satisfies tan⁡θ=b/a\tan\theta = b/a, so the inverse tangent looks like it gives the angle directly.

  1. z=−1+3 iz = -1 + \sqrt3\,i, ∣z∣=2\lvert z\rvert = 2Right so far: Problem 1.
  2. “θ=arctan⁡3−1\theta = \arctan\dfrac{\sqrt3}{-1}.”arctan⁡\arctan only returns angles in (−π/2,π/2)(-\pi/2, \pi/2), the right half of the plane, but zz has a negative real part.
  3. z=2e−iπ/3z = 2e^{-i\pi/3}2e−iπ/3=1−3 i2e^{-i\pi/3} = 1 - \sqrt3\,i, which is −z-z, the point directly opposite. Adding π\pi gives the right angle, −π/3+π=2π/3-\pi/3 + \pi = 2\pi/3, and 2e2πi/3=−1+3 i2e^{2\pi i/3} = -1 + \sqrt3\,i.

2. Adding the moduli of a product

Arguments add when complex numbers are multiplied, and it is easy to add the moduli along with them.

  1. z=2 eiπ/4z = \sqrt2\,e^{i\pi/4}, w=2eiπ/6w = 2e^{i\pi/6}, and the argument of zwzw is 5π/125\pi/12Right so far: Problem 3.
  2. “The moduli add too.”Only the exponents add: eiθ1eiθ2=ei(θ1+θ2)e^{i\theta_1}e^{i\theta_2} = e^{i(\theta_1 + \theta_2)}. The moduli are ordinary positive factors in front, and they multiply.
  3. zw=(2+2)e5πi/12zw = (\sqrt2 + 2)e^{5\pi i/12}, modulus ≈3.414\approx 3.414zw=(3−1)+(3+1)izw = (\sqrt3 - 1) + (\sqrt3 + 1)i has modulus (3−1)2+(3+1)2=8=22≈2.828\sqrt{(\sqrt3 - 1)^2 + (\sqrt3 + 1)^2} = \sqrt8 = 2\sqrt2 \approx 2.828.

3. Only one of the n roots

A calculator or a single application of the root formula returns one cube root, and it looks like the answer.

  1. 8i=8eiπ/28i = 8e^{i\pi/2}Right so far: Problem 5.
  2. “z=81/3eiπ/6z = 8^{1/3}e^{i\pi/6}, and that is the solution.”The argument of 8i8i is also π/2+2π\pi/2 + 2\pi and π/2+4π\pi/2 + 4\pi; divided by 33 these give different directions.
  3. z3=8iz^3 = 8i has the one solution 3+i\sqrt3 + iA cubic has three roots: 3+i\sqrt3 + i, −3+i-\sqrt3 + i and −2i-2i, spaced 2π/32\pi/3 apart. Adding 2πk2\pi k for k=3k = 3 or more only repeats them.

4. Raising the real and imaginary parts to the power separately

Powers of a product split into powers of the factors, and the same move gets applied to a sum.

  1. (1+i)10(1 + i)^{10}Right so far: Problem 4.
  2. “(1+i)10=110+i10(1 + i)^{10} = 1^{10} + i^{10}.”(a+b)n(a + b)^n is not an+bna^n + b^n: the binomial expansion has all the cross terms. Powers split over products, which is why polar form helps.
  3. (1+i)10=1+(−1)=0(1 + i)^{10} = 1 + (-1) = 0The right value is 32i32i: ∣1+i∣10=32\lvert 1 + i\rvert^{10} = 32, not 00, and no power of a nonzero number is 00.

5. The modulus of a sum taken as the sum of the moduli

The modulus of a product is the product of the moduli, and the same rule seems to hold for sums.

  1. ∣ωk∣=1\lvert\omega^k\rvert = 1 for each of the fifth roots of unityRight so far: Problem 6.
  2. “∣1+ω+ω2+ω3+ω4∣=1+1+1+1+1\lvert 1 + \omega + \omega^2 + \omega^3 + \omega^4\rvert = 1 + 1 + 1 + 1 + 1.”That is only an upper bound, the triangle inequality. It is an equality only when all the nonzero terms point in the same direction.
  3. The sum has modulus 55The five roots point in five evenly spaced directions and cancel: the sum is 00. Likewise ∣1+i∣+∣3+i∣≈3.414\lvert 1 + i\rvert + \lvert\sqrt3 + i\rvert \approx 3.414, but ∣(1+3)+2i∣≈3.386\lvert(1 + \sqrt3) + 2i\rvert \approx 3.386.

Print this set: complex-numbers-in-polar-form.pdf (problems, answers, and worked solutions on separate pages).

Read the guide: Complex numbers in polar form: find the angle from the quadrant, multiply the lengths and add the angles