Complex numbers — theory with the fairground Ferris wheel, binomial and polar form, De Moivre and roots (and the cabin that turned by itself)

On the Ferris wheel at our town fair I found out that multiplying by i is turning: what I was trying to work out with sines and cosines took a single multiplication. We were stuck at the top while the wheel loaded people, and a friend asked where we would be after a quarter turn. I took out my phone, drew the wheel, wrote coordinates, got tangled up with the angles and, by the time I had the answer, we were already at the bottom. Weeks later, in Linear Algebra, I saw that all it took was multiplying our position by ii.

This topic is about exactly that: numbers that live on a plane and that turn and stretch when you multiply them. We start with the binomial form a+bia + bi and its operations, move on to the polar form (modulus and argument), where multiplying is turning, and finish with powers (De Moivre’s formula) and nth roots, which always form a regular polygon. The example for the whole article is the fairground Ferris wheel: the axle at the origin, a radius of 2 units (each unit is 10 metres) and six cabins. We will use a little trigonometry (sine, cosine, arctangent) and, at the end, the same thing in MATLAB.

In a nutshell: a complex number is a number of the form z=a+biz = a + bi, where aa and bb are real and ii satisfies i2=−1i^2 = -1; it is drawn as a point on the plane. In polar form it is described by its modulus (the distance to the origin) and its argument (the angle), and multiplying two complex numbers multiplies the moduli and adds the arguments: it is turning and scaling.

Before you start. For this topic you only need to know how to multiply two binomials, Pythagoras’ theorem and what the sine, cosine and tangent are in a right-angled triangle. Nothing else. The topic has three big ideas, in this order: some new numbers, with a real part and an imaginary part, that are drawn as points of the plane and are worked with almost as usual (the binomial form); another way of describing the same point, by its distance to the center and its angle (the polar form), in which multiplying is turning and stretching; and what comes out of that, powers with De Moivre and nth roots, which always form a polygon. If you get lost at any point, go back to the Ferris wheel: the whole topic can be told with its six cabins.

Why we need complex numbers

With real numbers, the equation x2+1=0x^2 + 1 = 0 has no solution: no real number squared gives −1-1. Complex numbers come from adding one new number, the imaginary unit ii, which does exactly that:

i2=−1 i^2 = -1

With ii you can take the square root of any negative number: −4=4⋅−1=2i\sqrt{-4} = \sqrt{4} \cdot \sqrt{-1} = 2i, because (2i)2=4i2=−4(2i)^2 = 4i^2 = -4. And the equation above has two solutions, x=ix = i and x=−ix = -i.

What are they for, beyond solving strange equations? For everything that rotates: alternating currents, audio signals, rotations in computer graphics and, in this course, the eigenvalues of matrices that rotate the plane (topic 5). A complex number is the shortest way to write “a turn and a change of size”.

Before the names: how do you say where a cabin is?

Before the definition, think about the Ferris wheel. A real number says where something is on a line: 2 is “2 units to the right of the axle” and −2 -2 , “2 to the left”. But our cabin is a little to the right and a little up: you need two numbers, one for each direction.

The idea of complex numbers is to put those two numbers into one. What goes to the right is written as it is, and what goes up is marked with an i i . Our cabin is 3 \sqrt3 to the right and 1 up, so it is 3+1i \sqrt3 + 1i , that is, 3+i \sqrt3 + i . The i i works as a label: it says “this is measured upwards”.

And why does that label have to satisfy i2=−1 i^2 = -1 ? You can see that on the wheel too. Multiplying by −1 -1 takes 2 to −2 -2 : from right to left, half a turn. A number that, applied twice, gives that half turn has to be a quarter turn, and that is i i : multiplying by i i turns a quarter turn, which is why i⋅1=i i \cdot 1 = i sits right above the axle, straight up. Two quarter turns, i⋅i i \cdot i , are half a turn, which is multiplying by −1 -1 .

This is how four of the six cabins are written:

CabinTo the rightUpComplex numberWhy
Ours, at 30°3 \sqrt3 13+i \sqrt3 + i A little to the right and a little up
The very top one, at 90°022i 2i It does not move right at all: only the part with i i is left
The one at 150°−3 -\sqrt3 1−3+i -\sqrt3 + i It is ours reflected in the vertical axis: the rightward part changes sign
The bottom one, at 270°0−2 -2 −2i -2i 2 downwards, which is “up” with a minus sign

You now have the definition, without the names. The official ones: what goes to the right is the real part, what goes up (without the i i ) is the imaginary part, and writing the number as a+bi a + bi is the binomial form.

The binomial form

A complex number in binomial form (also called rectangular or Cartesian form) is

z=a+bi,a,b∈R z = a + bi, \qquad a, b \in \mathbb{R}
  • aa is the real part: Re(z)=a\mathrm{Re}(z) = a.
  • bb is the imaginary part: Im(z)=b\mathrm{Im}(z) = b. Careful: the imaginary part is the number bb, not bibi.

Depending on its parts, a complex number is:

  • Purely real if b=0b = 0: z=az = a. For example, −3=−3+0i-3 = -3 + 0i.
  • Purely imaginary if a=0a = 0: z=biz = bi. For example, −7i-7i.
  • 0=0+0i0 = 0 + 0i is both at once.

Two complex numbers are equal when their real parts match and their imaginary parts match: a+bi=c+dia + bi = c + di if and only if a=ca = c and b=db = d. That rule turns one equation with complex numbers into two real equations, and we will use it in the exercises with a parameter.

Saying that the imaginary part of 3−5i3 – 5i is −5i-5i. It is −5-5: a real number. If an exam asks for “the value of kk that makes zz purely real”, that number is what you set to zero.

The complex plane

Each complex number a+bia + bi is drawn as the point (a,b)(a, b) of a plane: the real part on the horizontal axis (real axis) and the imaginary part on the vertical one (imaginary axis). The point can also be seen as the arrow (vector) from the origin to the point.

This is the Ferris wheel. The axle is at the origin and the six cabins are 2 units from the center, 60° apart. Ours is 30° above the horizontal: a little to the right and a little up.

The Ferris wheel on the complex planeThe complex plane with the wheel axle at the origin and a circle of radius 2. There are six cabins at 30, 90, 150, 210, 270 and 330 degrees. Ours is the point √3 + i, with real part √3 on the horizontal axis and imaginary part 1 on the vertical one.−2−112−2i−ii2iReImz = √3 + ia = √3b = 1our cabin√3 + ithe top one2ithe bottom one−2ion its left−√3 + i
Each cabin is a complex number: the real part says how far right, the imaginary part how far up.

Our cabin is z=3+iz = \sqrt{3} + i: 3≈1.73\sqrt{3} \approx 1.73 units to the right of the axle (17 metres) and 1 unit above it (10 metres). The very top one is 2i2i (real part 0: purely imaginary) and the bottom one, where you get on, is −2i-2i. Why 3\sqrt{3} and not a round number? Because the cabin sits on the circle of radius 2 at 30°, and 2cos⁡30∘=32\cos 30^\circ = \sqrt{3}, 2sin⁡30∘=12\sin 30^\circ = 1. We will see it with the polar form.

Operations in binomial form

Addition and subtraction

Add (or subtract) the real parts together and the imaginary parts together:

(a+bi)+(c+di)=(a+c)+(b+d)i (a + bi) + (c + di) = (a + c) + (b + d)i

Say that, on the fairground map (with the wheel axle as the origin), the candyfloss stall is at z1=3+2iz_1 = 3 + 2i and the ticket booth is at z2=1−2iz_2 = 1 – 2i. Then z1+z2=(3+1)+(2−2)i=4z_1 + z_2 = (3 + 1) + (2 – 2)i = 4 and z1−z2=(3−1)+(2−(−2))i=2+4iz_1 – z_2 = (3 – 1) + (2 – (-2))i = 2 + 4i.

Addition is the parallelogram ruleThe vectors of 3 + 2i and 1 − 2i and their sum 4, the diagonal of the parallelogram they form.−112345−2i−ii2i3iReImz₁ = 3 + 2iz₂ = 1 − 2iz₁ + z₂ = 4(3 + 1) + (2 − 2)i= 4 + 0i = 4real with real, imaginary with imaginary
Adding complex numbers is adding arrows: put one after the other.

The drawing shows that adding complex numbers is adding arrows: you put the arrow of z2z_2 after the arrow of z1z_1 and land on the diagonal of the parallelogram. It is the same vector addition in the plane you will see in topic 3.

Multiplication

Multiply as you would two binomials, term by term, and use i2=−1i^2 = -1:

(a+bi)(c+di)=ac+adi+bci+bdi2=(ac−bd)+(ad+bc)i (a + bi)(c + di) = ac + adi + bci + bdi^2 = (ac – bd) + (ad + bc)i

Don’t memorise the formula: do the calculation. With the candyfloss and the booth:

(3+2i)(1−2i)=3−6i+2i−4i2=3−4i+4=7−4i (3 + 2i)(1 – 2i) = 3 – 6i + 2i – 4i^2 = 3 – 4i + 4 = 7 – 4i

The −4i2-4i^2 becomes +4+4: that change of sign is the one people forget most.

Conjugate and opposite

  • The conjugate of z=a+biz = a + bi is zˉ=a−bi\bar z = a – bi: the sign of the imaginary part flips. On the plane it is the reflection in the real axis.
  • The opposite (negative) of zz is −z=−a−bi-z = -a – bi: both signs flip. On the plane it is the point symmetric about the origin (a half turn).
Conjugate and oppositeThe point z = 3 + 2i, its conjugate 3 − 2i reflected in the real axis, and its opposite −3 − 2i, symmetric about the origin.−4−3−2−11234−2i−ii2iReImz = 3 + 2iz̄ = 3 − 2i−z = −3 − 2iconjugatemirror in the real axisoppositehalf turn (180°)
The conjugate flips only the sign of the imaginary part; the opposite flips both.

The conjugate has a property you use in every division:

z⋅zˉ=(a+bi)(a−bi)=a2−b2i2=a2+b2 z \cdot \bar z = (a + bi)(a – bi) = a^2 – b^2 i^2 = a^2 + b^2

A complex number times its conjugate always gives a real number, and a non-negative one. With z1=3+2iz_1 = 3 + 2i: (3+2i)(3−2i)=9+4=13(3 + 2i)(3 – 2i) = 9 + 4 = 13.

Mixing up the opposite and the conjugate. The opposite of 4−3i4 – 3i is −4+3i-4 + 3i; its conjugate is 4+3i4 + 3i. The Campus quiz asks exactly that, with both answers among the options.

Division

Before the rule, think about what the problem is. If the denominator were real, there would be nothing to do: 3+2i5 \frac{3 + 2i}{5} is 35+25i \frac35 + \frac25 i , because the 5 is shared out between the two parts. What gets in the way is the i i at the bottom.

It is like removing a root from the denominator in 12 \frac{1}{\sqrt2} : you multiply top and bottom by something that makes it disappear. And from the previous section you already know which number turns 1−2i 1 – 2i into a real one: its conjugate, because (1−2i)(1+2i)=12+22=5 (1 – 2i)(1 + 2i) = 1^2 + 2^2 = 5 . Multiplying top and bottom by the same number does not change the fraction (it is multiplying by 1). The calculation, step by step:

StepCalculationWhy
1Conjugate of the denominator: 1+2i 1 + 2i You change the sign of the imaginary part of 1−2i 1 – 2i
2Denominator: (1−2i)(1+2i)=1+4=5 (1 – 2i)(1 + 2i) = 1 + 4 = 5 A complex number times its conjugate gives a2+b2 a^2 + b^2 : it comes out real
3Numerator: (3+2i)(1+2i)=3+6i+2i+4i2 (3 + 2i)(1 + 2i) = 3 + 6i + 2i + 4i^2 Product term by term, as with two binomials
43+8i−4=−1+8i 3 + 8i – 4 = -1 + 8i 4i2=−4 4i^2 = -4 , which joins the 3
5−1+8i5=−15+85i \frac{-1 + 8i}{5} = -\frac15 + \frac85 i The 5 at the bottom is real: it divides each part separately
Check you’ve got it: what is 1 − 2i divided by 3 + 2i, the ticket booth divided by the candyfloss stall?

−113−813i -\frac{1}{13} – \frac{8}{13}i . Step by step: the conjugate of the denominator is 3−2i 3 – 2i . At the bottom, (3+2i)(3−2i)=9+4=13 (3 + 2i)(3 – 2i) = 9 + 4 = 13 . At the top, (1−2i)(3−2i)=3−2i−6i+4i2=3−8i−4=−1−8i (1 – 2i)(3 – 2i) = 3 – 2i – 6i + 4i^2 = 3 – 8i – 4 = -1 – 8i . You are left with −1−8i13 \frac{-1 – 8i}{13} , which you split into its two parts. It is not the same as before: just as 6/3 6 / 3 is not 3/6 3 / 6 .

That is all the rule in the notes says, now in one line.

To divide, multiply the numerator and the denominator by the conjugate of the denominator, which turns it real:

3+2i1−2i=(3+2i)(1+2i)(1−2i)(1+2i)=3+6i+2i+4i21+4=−1+8i5=−15+85i \frac{3 + 2i}{1 – 2i} = \frac{(3 + 2i)(1 + 2i)}{(1 – 2i)(1 + 2i)} = \frac{3 + 6i + 2i + 4i^2}{1 + 4} = \frac{-1 + 8i}{5} = -\frac{1}{5} + \frac{8}{5}i

Check it by multiplying back: (1−2i)(−15+85i)=−15+85i+25i−165i2=−15+165+2i=3+2i(1 – 2i)\left(-\tfrac{1}{5} + \tfrac{8}{5}i\right) = -\tfrac{1}{5} + \tfrac{8}{5}i + \tfrac{2}{5}i – \tfrac{16}{5}i^2 = -\tfrac{1}{5} + \tfrac{16}{5} + 2i = 3 + 2i. You get the numerator back: the division is right.

Give the result of a division split into real and imaginary parts, −15+85i-\tfrac15 + \tfrac85 i, not as −1+8i5\tfrac{-1 + 8i}{5}. If you are asked for “the real part”, it is −15-\tfrac15.

Powers of i

Since i2=−1i^2 = -1, the powers of ii repeat every four:

i0=1,i1=i,i2=−1,i3=−i,i4=1,i5=i, … i^0 = 1, \quad i^1 = i, \quad i^2 = -1, \quad i^3 = -i, \quad i^4 = 1, \quad i^5 = i, \ \ldots

To work out ini^n, divide nn by 4 and keep the remainder. For example, 2026=4⋅506+22026 = 4 \cdot 506 + 2, so i2026=i2=−1i^{2026} = i^2 = -1.

The powers of i go round in circlesThe points 1, i, −1 and −i on the unit circle, linked by quarter-turn arrows. Beside it, the rule: the remainder of n divided by 4 gives the power, and 2026 leaves 2, so i to the 2026 is −1.1 = i⁴i = i¹ = i⁵−1 = i²−i = i³multiplying by i = turning 90°iⁿ: look at the remainder of n ÷ 4remainder 0→ 1remainder 1→ iremainder 2→ −1remainder 3→ −ii²⁰²⁶: 2026 = 4·506 + 2→ i²⁰²⁶ = i² = −1
Each multiplication by i is a quarter turn: after four you are back at the start.

Look at the drawing: multiplying by ii takes 1 to ii, ii to −1-1, −1-1 to −i-i… A quarter turn every time. It is the first hint of what we will see with the polar form.

Modulus and argument

Before the names, go back to the Ferris wheel. If someone asks you where our cabin is, the natural answer is “2 units from the axle, 30° above the horizontal”: a distance and an angle.

The distance comes from the triangle in the drawing: 3 \sqrt3 to the right and 1 up are the legs, and the distance to the axle is the hypotenuse. By Pythagoras:

(3)2+12=3+1=4=2 \sqrt{(\sqrt3)^2 + 1^2} = \sqrt{3 + 1} = \sqrt4 = 2

Out comes the radius of the wheel, as it should.

The angle comes from the same triangle. The tangent of an angle is the opposite leg divided by the adjacent one: here, how far it rises divided by how far it moves right, 13 \frac{1}{\sqrt3} . The angle whose tangent is 13 \frac{1}{\sqrt3} is 30°. Notice where it is measured from: from the right-hand side of the horizontal axis, turning upwards, anticlockwise.

The distance is called the modulus and the angle, the argument. Now, with the official names.

A point of the plane can also be described by its distance to the origin and its angle:

  • The modulus of z=a+biz = a + bi is its distance to the origin: ∣z∣=R=a2+b2|z| = R = \sqrt{a^2 + b^2}. It is always a positive real number (or zero, if z=0z = 0).
  • The argument α=arg⁡(z)\alpha = \arg(z) is the angle the arrow of zz makes with the positive real axis, measured anticlockwise.

Our cabin: ∣3+i∣=3+1=2|\sqrt{3} + i| = \sqrt{3 + 1} = 2 (the radius of the wheel, as it should be) and tan⁡α=13\tan \alpha = \tfrac{1}{\sqrt 3}, so α=30∘\alpha = 30^\circ.

An argument is not unique: 30∘30^\circ, 390∘390^\circ and −330∘-330^\circ point the same way, because they differ by whole turns of 360∘360^\circ. You usually give the one between 0∘0^\circ and 360∘360^\circ (or between −180∘-180^\circ and 180∘180^\circ, as MATLAB does). The Campus quiz accepts both: for 1−i1 – i, both −45∘-45^\circ and 315∘315^\circ.

The arctangent trap

The formula “α=arctan⁡(b/a)\alpha = \arctan(b/a)” is only right in the first and fourth quadrants. A calculator always returns an angle between −90∘-90^\circ and 90∘90^\circ, and it cannot tell 1+i1 + i from −1−i-1 – i: in both, b/a=1b/a = 1.

The argument depends on the quadrantThe point −1 − i, at distance root 2 from the origin, with a 225 degree arc from the positive real axis. In grey, the point 1 + i at 45 degrees, which is what the calculator gives for arctan(1). Beside it, the quadrant correction rule.−2−112−2i−ii2iReIm−1 − i1 + i225°45°√2z = −1 − i|z| = √((−1)² + (−1)²) = √2arctan(−1/−1) = arctan(1) = 45°… but −1 − i is in the 3rd quadrantα = 45° + 180° = 225° (or −135°)Quadrant → fix1st: none 2nd and 3rd: +180°4th: +360° (or leave it negative)
arctan(b/a) cannot tell −1 − i from 1 + i: you decide the quadrant by drawing the point.

For z=−1−iz = -1 – i: ∣z∣=2|z| = \sqrt{2} and arctan⁡(1)=45∘\arctan(1) = 45^\circ, but the point is in the third quadrant (both parts negative). The right argument is 45∘+180∘=225∘45^\circ + 180^\circ = 225^\circ (or −135∘-135^\circ). The rule:

QuadrantSigns of aa and bbArgument
1sta>0, b>0a > 0,\ b > 0arctan⁡(b/a)\arctan(b/a)
2nda<0, b>0a < 0,\ b > 0arctan⁡(b/a)+180∘\arctan(b/a) + 180^\circ
3rda<0, b<0a < 0,\ b < 0arctan⁡(b/a)+180∘\arctan(b/a) + 180^\circ
4tha>0, b<0a > 0,\ b < 0arctan⁡(b/a)+360∘\arctan(b/a) + 360^\circ (or leave it negative)
On the axesa=0a = 0 or b=0b = 00∘0^\circ, 90∘90^\circ, 180∘180^\circ or 270∘270^\circ, from the drawing

The four quadrants, one by one

The table is easier to understand with one point in each quadrant. All four have both parts equal in absolute value, so all four have modulus 1+1=2 \sqrt{1 + 1} = \sqrt2 and the calculator always gives 45∘ 45^\circ or −45∘ -45^\circ . It is the drawing that decides:

Complex numberWhere it isCalculatorArgumentWhy
1+i 1 + i 1st: right and uparctan⁡(1)=45∘ \arctan(1) = 45^\circ 45∘ 45^\circ Both parts positive: the calculator gets it right
−1+i -1 + i 2nd: left and uparctan⁡(−1)=−45∘ \arctan(-1) = -45^\circ 135∘ 135^\circ −45∘ -45^\circ points down and to the right, exactly the opposite side: add 180∘ 180^\circ
−1−i -1 – i 3rd: left and downarctan⁡(1)=45∘ \arctan(1) = 45^\circ 225∘ 225^\circ 45∘ 45^\circ points up and to the right, the opposite side again: add 180∘ 180^\circ
1−i 1 – i 4th: right and downarctan⁡(−1)=−45∘ \arctan(-1) = -45^\circ 315∘ 315^\circ or −45∘ -45^\circ The direction is already right; +360∘ +360^\circ only gives it between 0∘ 0^\circ and 360∘ 360^\circ

Why add exactly 180∘ 180^\circ ? Because b/a b/a does not change if you change the sign of both parts at once: −1−1=11 \frac{-1}{-1} = \frac{1}{1} . And changing both signs is the opposite, the half turn. The calculator always gives an angle in the right half of the plane; if your point is on the left (a<0 a < 0 ), the right one is the one facing it.

Check you’ve got it: what is the argument of the cabin at −√3 + i?

150∘ 150^\circ . Step by step: a=−3 a = -\sqrt3 is negative and b=1 b = 1 is positive, so the point is to the left and up, in the second quadrant. The calculator gives arctan⁡(1−3)=−30∘ \arctan\left(\frac{1}{-\sqrt3}\right) = -30^\circ , which points down and to the right: the opposite side. Add half a turn: −30∘+180∘=150∘ -30^\circ + 180^\circ = 150^\circ . And the modulus is 3+1=2 \sqrt{3 + 1} = 2 : it is the cabin at 150∘ 150^\circ .

Before working out an argument, draw the point, even freehand. Ten seconds of drawing prevent the costliest mistake of the topic: an argument in the wrong quadrant ruins every power and root that follows.

The polar, trigonometric and exponential forms

Before the notation, look at what you already have: for our cabin you know the distance, 2, and the angle, 30°, and that says it all. The polar form is just a short way of writing that pair: the modulus in full size and the angle stuck underneath, 230∘ 2_{30^\circ} , read as “modulus 2, angle 30 degrees”.

And how do you get back to coordinates? With the same triangle as before, but the other way round: now you know the hypotenuse (2) and the angle (30°), and you want the legs. How far it moves right is the hypotenuse times the cosine, and how far it rises, the hypotenuse times the sine. With four of the cabins:

CabinPolarBinomialWhy
Ours230∘ 2_{30^\circ} 3+i \sqrt3 + i 2cos⁡30∘=2⋅32=3 2\cos 30^\circ = 2 \cdot \frac{\sqrt3}{2} = \sqrt3 and 2sin⁡30∘=2⋅12=1 2\sin 30^\circ = 2 \cdot \frac12 = 1
Top290∘ 2_{90^\circ} 2i 2i cos⁡90∘=0 \cos 90^\circ = 0 and sin⁡90∘=1 \sin 90^\circ = 1 : all of it upwards
Top left2150∘ 2_{150^\circ} −3+i -\sqrt3 + i The cosine of 150∘ 150^\circ is negative, −32 -\frac{\sqrt3}{2} : the cabin is on the left
Bottom right2330∘ 2_{330^\circ} 3−i \sqrt3 – i It is ours reflected in the real axis: its conjugate

The exponential form uses the angle in radians. Half a turn, 180∘ 180^\circ , is π \pi radians, so 30∘ 30^\circ , which is a sixth of half a turn, is π6 \frac{\pi}{6} . The four forms in this section are four ways of writing the same point.

With the modulus RR and the argument α\alpha, the complex number is written in polar form (the notation of the lecture notes):

z=Rα z = R_\alpha

Our cabin is 230∘2_{30^\circ}. The top one, 290∘2_{90^\circ}. The number −1-1 is 1180∘1_{180^\circ} and the imaginary unit ii is 190∘1_{90^\circ}.

To go back to binomial form, use the trigonometry of the triangle in the Ferris wheel drawing: a=Rcos⁡αa = R\cos\alpha and b=Rsin⁡αb = R\sin\alpha. That gives the trigonometric form:

z=R(cos⁡α+isin⁡α) z = R(\cos\alpha + i \sin\alpha)

For example, 230∘=2(cos⁡30∘+isin⁡30∘)=2(32+12i)=3+i2_{30^\circ} = 2(\cos 30^\circ + i\sin 30^\circ) = 2\left(\tfrac{\sqrt3}{2} + \tfrac12 i\right) = \sqrt{3} + i. There and back.

And there is a fourth form, the exponential one, thanks to Euler’s formula eiα=cos⁡α+isin⁡αe^{i\alpha} = \cos\alpha + i\sin\alpha (with α\alpha in radians):

z=R eiα⇒3+i=2eiπ/6 z = R\, e^{i\alpha} \qquad\Rightarrow\qquad \sqrt{3} + i = 2e^{i\pi/6}

It is the one MATLAB uses to build a complex number from its modulus and its argument.

One number, four ways to write itOur cabin, with modulus 2 and argument 30 degrees, written in binomial form √3 + i, polar form 2 sub 30 degrees, trigonometric form 2 times cos 30 plus i sin 30, and exponential form 2 e to the i pi over 6. Under each, what it is used for.our cabin|z| = 2, α = 30° = π/6binomial√3 + ia + biadd, subtractpolar2₃₀°R_αmultiply, dividetrigonometric2(cos 30° + i sin 30°)R(cos α + i sin α)switch between themexponential2e^(iπ/6)R·e^(iα)MATLAB and powers
It is the same point on the wheel: only the way of describing it changes.
FormWritten asWhat it is handy for
Binomiala+bia + biAdding, subtracting, matching parts, saying whether it is purely real or imaginary
PolarRαR_\alphaMultiplying, dividing, powers and roots
TrigonometricR(cos⁡α+isin⁡α)R(\cos\alpha + i\sin\alpha)Going from polar to binomial
ExponentialReiαR e^{i\alpha}MATLAB and proofs (De Moivre comes for free)

In polar form the conjugate and the opposite are simple too: Rα‾=R−α\overline{R_\alpha} = R_{-\alpha} (the reflection flips the sign of the angle) and −Rα=Rα+180∘-R_\alpha = R_{\alpha + 180^\circ} (a half turn). The modulus never becomes negative: −5α-5_\alpha is not a valid polar form.

Thinking the opposite in polar form is “changing RR to −R-R“. The modulus is a distance and is always positive: the opposite of 540∘5_{40^\circ} is 5220∘5_{220^\circ}.

Multiplying is turning and scaling

Before the rule, an experiment: multiply our cabin, 3+i \sqrt3 + i , by three numbers and see what happens to its distance and its angle:

You multiply byResultDistanceAngleWhy
i i (3+i) i=−1+3i (\sqrt3 + i)\,i = -1 + \sqrt3 i 2120∘ 120^\circ Same distance, 90∘ 90^\circ more: i i has modulus 1 and angle 90∘ 90^\circ
2(3+i)⋅2=23+2i (\sqrt3 + i) \cdot 2 = 2\sqrt3 + 2i 430∘ 30^\circ Twice the distance, same angle: 2 has modulus 2 and angle 0∘ 0^\circ
2i 2i (3+i) 2i=−2+23i (\sqrt3 + i)\,2i = -2 + 2\sqrt3 i 4120∘ 120^\circ Both things at once: 2i 2i has modulus 2 and angle 90∘ 90^\circ

The pattern jumps out: the distance of the result is the cabin’s times the other number’s (2⋅1 2 \cdot 1 , 2⋅2 2 \cdot 2 , 2⋅2 2 \cdot 2 ), and the angle is the sum of the two angles (30∘+90∘ 30^\circ + 90^\circ , 30∘+0∘ 30^\circ + 0^\circ , 30∘+90∘ 30^\circ + 90^\circ ). Multiplying by a number is turning by its angle and stretching by its modulus. That is exactly what the formula in the notes says, coming up now.

Check you’ve got it: what number do you have to multiply our cabin by to take it to the very bottom one?

By 1240∘ 1_{240^\circ} , which in binomial form is −12−32i -\frac12 – \frac{\sqrt3}{2}i . Step by step: the bottom cabin is −2i=2270∘ -2i = 2_{270^\circ} . The distance does not change (from 2 to 2), so the modulus of the number has to be 1. The angle goes from 30∘ 30^\circ to 270∘ 270^\circ : you have to add 240∘ 240^\circ . Check it in binomial form: (3+i)(−12−32i)=−32−32i−12i−32i2=−2i (\sqrt3 + i)\left(-\frac12 – \frac{\sqrt3}{2}i\right) = -\frac{\sqrt3}{2} – \frac32 i – \frac12 i – \frac{\sqrt3}{2}i^2 = -2i . 1−120∘ 1_{-120^\circ} works too: it is the same turn, backwards.

Here is the key idea of the topic. If you multiply two complex numbers in polar form:

Rα⋅Sβ=(R⋅S)α+β R_\alpha \cdot S_\beta = (R \cdot S)_{\alpha + \beta}

The moduli multiply and the arguments add. It comes from the exponential form: Reiα⋅Seiβ=RS ei(α+β)Re^{i\alpha} \cdot Se^{i\beta} = RS\, e^{i(\alpha + \beta)}. In Ferris wheel terms:

  • Multiplying by i=190∘i = 1_{90^\circ} turns 90∘90^\circ without changing the distance: our cabin 230∘2_{30^\circ} moves to 2120∘2_{120^\circ}. That is what I was after that afternoon on the wheel. In binomial form: (3+i) i=3i+i2=−1+3i(\sqrt3 + i)\,i = \sqrt3 i + i^2 = -1 + \sqrt3 i.
  • Multiplying by 160∘1_{60^\circ} takes it to the next cabin, 290∘=2i2_{90^\circ} = 2i.
  • Multiplying by 2=20∘2 = 2_{0^\circ} does not turn: it moves it twice as far, 430∘4_{30^\circ}.
Multiplying is turning and scalingOur cabin z at 2 sub 30 degrees. Multiplied by 1 sub 60 degrees it moves to the top cabin, 2 sub 90; multiplied by i it turns 90 degrees to 2 sub 120; multiplied by 2 it goes twice as far, 4 sub 30.−3−2−1123−2i−ii2iReImz = 2₃₀°z·1₆₀° = 2₉₀°z·i = 2₁₂₀°+90°R_α · S_β = (R·S)_(α+β)× i = × 1₉₀° → turn 90°× 1₆₀° → one cabin on× 2 → twice as farthe modulus multiplies (scale)the argument adds (turn)dividing: divide and subtract
In polar form the product reads at a glance: moduli multiply and angles add.

Dividing does the opposite: divide the moduli and subtract the arguments.

RαSβ=(RS)α−β \frac{R_\alpha}{S_\beta} = \left(\frac{R}{S}\right)_{\alpha – \beta}

For example, 290∘230∘=160∘\dfrac{2_{90^\circ}}{2_{30^\circ}} = 1_{60^\circ}: the turn that takes our cabin to the top one. That is why products and quotients with many factors are done in polar form, and sums in binomial form. In an exam exercise it is normal to switch between forms several times.

Powers: De Moivre’s formula

Before the formula, take our cabin up power by power. Each new power is the previous one multiplied by 230∘ 2_{30^\circ} again, and you already know what that does: it multiplies the distances and adds the angles:

PowerCalculationResultWhy
z z The cabin230∘ 2_{30^\circ} Modulus 2 and argument 30∘ 30^\circ
z2 z^2 230∘⋅230∘ 2_{30^\circ} \cdot 2_{30^\circ} 460∘ 4_{60^\circ} Distance 2⋅2 2 \cdot 2 , angle 30∘+30∘ 30^\circ + 30^\circ
z3 z^3 460∘⋅230∘ 4_{60^\circ} \cdot 2_{30^\circ} 890∘ 8_{90^\circ} Straight up: it is 8i 8i
z4 z^4 890∘⋅230∘ 8_{90^\circ} \cdot 2_{30^\circ} 16120∘ 16_{120^\circ} Times 2 again and 30∘ 30^\circ more
z5 z^5 16120∘⋅230∘ 16_{120^\circ} \cdot 2_{30^\circ} 32150∘ 32_{150^\circ} The same
z6 z^6 32150∘⋅230∘ 32_{150^\circ} \cdot 2_{30^\circ} 64180∘ 64_{180^\circ} Half a turn: the real number −64 -64

Check it with z2 z^2 in binomial form: (3+i)2=3+23i+i2=2+23i (\sqrt3 + i)^2 = 3 + 2\sqrt3 i + i^2 = 2 + 2\sqrt3 i , and 460∘=4(12+32i)=2+23i 4_{60^\circ} = 4\left(\frac12 + \frac{\sqrt3}{2}i\right) = 2 + 2\sqrt3 i . The same, with no working.

There are two patterns in the result column: the moduli are 2, 4, 8, 16…, powers of 2, and the angles are 30∘,60∘,90∘ 30^\circ, 60^\circ, 90^\circ …, multiples of 30∘ 30^\circ . After n n multiplications, the modulus has been multiplied by itself n n times and the angle has been added n n times. That, with letters, is De Moivre’s formula.

Raising to the nn is multiplying nn times by the same number, so the same turn and the same scale repeat nn times:

(Rα)n=(Rn)nα(De Moivre’s formula) (R_\alpha)^n = (R^n)_{n\alpha} \qquad\text{(De Moivre's formula)}

With 1+i=245∘1 + i = \sqrt{2}_{45^\circ}: (1+i)2=290∘=2i(1 + i)^2 = 2_{90^\circ} = 2i, (1+i)3=(22)135∘(1 + i)^3 = (2\sqrt2)_{135^\circ}, (1+i)4=4180∘=−4(1 + i)^4 = 4_{180^\circ} = -4… Each power turns 45∘45^\circ more and moves out by a factor of 2\sqrt2: a spiral.

Powers go in a spiralThe powers 1, 2, 3 and 4 of 1 + i: each turns 45 degrees more and moves out by a factor of root 2, until it reaches −4. A dotted spiral joins them.−5−4−3−2−112−ii2i3i4iReIm1 + i = √2₄₅°(1 + i)² = 2₉₀° = 2i(1 + i)³ = (2√2)₁₃₅°(1 + i)⁴ = 4₁₈₀° = −4De Moivre: (R_α)ⁿ = (Rⁿ)_(n·α)(1 + i)⁸ = (√2)⁸₃₆₀° = 16
Each power repeats the same turn and the same scale: that is why the modulus is raised and the angle multiplied.

What in binomial form would be eight multiplications is one line in polar form: (1+i)8=(2)8⋅45∘8=16360∘=16(1 + i)^8 = (\sqrt{2})^8_{8 \cdot 45^\circ} = 16_{360^\circ} = 16. And the wheel: (3+i)6=(230∘)6=64180∘=−64(\sqrt3 + i)^6 = (2_{30^\circ})^6 = 64_{180^\circ} = -64. Keep that −64-64 in mind: it comes back in the next section.

At the end, bring the argument back within one turn: 64180∘64_{180^\circ} and 64540∘64_{540^\circ} are the same number, but the first is easier to turn into binomial form.

nth roots

Before the formula, go the other way. The previous section ended with (3+i)6=−64 (\sqrt3 + i)^6 = -64 . The question now is: which numbers, raised to the 6th, give −64 -64 ? You already know one: our cabin. Are there more?

Think in polar form. If z=Rα z = R_\alpha , De Moivre says that z6=(R6)6α z^6 = (R^6)_{6\alpha} , and that has to be −64=64180∘ -64 = 64_{180^\circ} . There are two conditions:

  • The modulus: R6=64 R^6 = 64 . R R is a positive distance, so R=2 R = 2 , with no other options.
  • The angle: 6α 6\alpha has to point at 180∘ 180^\circ . But it does not have to be 180∘ 180^\circ : 540∘ 540^\circ (180∘ 180^\circ plus one turn) and 900∘ 900^\circ (plus two turns) point there too… Each one gives a different α \alpha .
Extra turns6α 6\alpha α \alpha RootWhy
0180∘ 180^\circ 30∘ 30^\circ 230∘ 2_{30^\circ} The usual cabin
1540∘ 540^\circ 90∘ 90^\circ 290∘ 2_{90^\circ} 540∘=180∘+360∘ 540^\circ = 180^\circ + 360^\circ : one more turn
2900∘ 900^\circ 150∘ 150^\circ 2150∘ 2_{150^\circ} Another 60∘ 60^\circ more
31260∘ 1260^\circ 210∘ 210^\circ 2210∘ 2_{210^\circ} The same
41620∘ 1620^\circ 270∘ 270^\circ 2270∘ 2_{270^\circ} The bottom cabin
51980∘ 1980^\circ 330∘ 330^\circ 2330∘ 2_{330^\circ} The last new one
62340∘ 2340^\circ 390∘ 390^\circ 230∘ 2_{30^\circ} 390∘ 390^\circ is 30∘ 30^\circ plus one turn: the first one again. This is where it stops

When you divide by 6, each extra turn becomes 360∘6=60∘ \frac{360^\circ}{6} = 60^\circ more: that is why the roots go 60∘ 60^\circ at a time and why, at the sixth turn, they repeat. Six roots come out, the six cabins. The formula in the notes does exactly this with n n instead of 6.

Check you’ve got it: what are the cube roots of 8?

2 2 , −1+3i -1 + \sqrt3 i and −1−3i -1 – \sqrt3 i . Step by step: 8=80∘ 8 = 8_{0^\circ} . The modulus: R3=8 R^3 = 8 , so R=2 R = 2 . The angle: 3α 3\alpha has to point at 0∘ 0^\circ , and 0∘ 0^\circ , 360∘ 360^\circ and 720∘ 720^\circ point there, which give α=0∘,120∘,240∘ \alpha = 0^\circ, 120^\circ, 240^\circ ; with 1080∘ 1080^\circ you would get 360∘ 360^\circ , the first one again. The three roots are 20∘=2 2_{0^\circ} = 2 , 2120∘=2(−12+32i)=−1+3i 2_{120^\circ} = 2\left(-\frac12 + \frac{\sqrt3}{2}i\right) = -1 + \sqrt3 i and 2240∘=−1−3i 2_{240^\circ} = -1 – \sqrt3 i : an equilateral triangle.

An nth root of ww is any zz with zn=wz^n = w. Among the reals, x3=8x^3 = 8 has one solution; among the complex numbers, every number other than 0 has exactly nn nth roots. Why so many? Because raising to the nn multiplies the argument by nn, and different angles can end up in the same place after going round.

If w=Rαw = R_\alpha, its nth roots are

Rαn=(Rn)α+360∘kn,k=0,1,…,n−1 \sqrt[n]{R_\alpha} = \left(\sqrt[n]{R}\right)_{\frac{\alpha + 360^\circ k}{n}}, \qquad k = 0, 1, \ldots, n – 1
  • They all have the same modulus, Rn\sqrt[n]{R} (the positive real root of a positive number).
  • Their arguments are 360∘n\tfrac{360^\circ}{n} apart.
  • That is why they form a regular polygon with nn sides centred at the origin.

And here the Ferris wheel comes full circle: the six cabins are the sixth roots of −64-64. Since −64=64180∘-64 = 64_{180^\circ}:

64180∘6=2180∘+360∘k6=230∘+60∘k,k=0,…,5 \sqrt[6]{64_{180^\circ}} = 2_{\frac{180^\circ + 360^\circ k}{6}} = 2_{30^\circ + 60^\circ k}, \qquad k = 0, \ldots, 5

That is, 230∘,290∘,2150∘,2210∘,2270∘,2330∘2_{30^\circ}, 2_{90^\circ}, 2_{150^\circ}, 2_{210^\circ}, 2_{270^\circ}, 2_{330^\circ}: exactly the cabins.

The six cabins are the sixth roots of −64A regular hexagon inscribed in the circle of radius 2, with vertices at 30, 90, 150, 210, 270 and 330 degrees: the six solutions of z to the sixth equals −64, 60 degrees apart.−3−2−1123−2i−ii2iReImz₀ = 2₃₀°z₁ = 2₉₀°z₂ = 2₁₅₀°z₃ = 2₂₁₀°z₄ = 2₂₇₀°z₅ = 2₃₃₀°60°z⁶ = −64 = 64₁₈₀°R = ⁶√64 = 2α = (180° + 360°·k) / 6 = 30° + 60°·kk = 0, 1, …, 5n roots, same modulus,360°/n apart:a regular polygon
The nth roots always form a regular polygon centred at the origin.

Giving only one root (the “calculator” one) or adding 360∘360^\circ to the argument instead of 360∘n\tfrac{360^\circ}{n}. If you are asked for the cube roots, there are three of them, 120∘120^\circ apart; always check you get nn.

Equations with complex numbers

Thanks to complex numbers, a polynomial of degree nn has exactly nn roots (counting repeated ones): it is the fundamental theorem of algebra. The quadratic equation no longer runs out of solutions when the discriminant is negative. For example, z2−2z+5=0z^2 – 2z + 5 = 0:

z=2±4−202=2±−162=2±4i2=1±2i z = \frac{2 \pm \sqrt{4 – 20}}{2} = \frac{2 \pm \sqrt{-16}}{2} = \frac{2 \pm 4i}{2} = 1 \pm 2i

The two solutions are conjugates, and that is no accident: if a polynomial has real coefficients, its non-real roots come in conjugate pairs. If you know 1+2i1 + 2i is a root of a polynomial with real coefficients, 1−2i1 – 2i is one too, and (z−(1+2i))(z−(1−2i))=z2−2z+5(z – (1 + 2i))(z – (1 – 2i)) = z^2 – 2z + 5 divides the polynomial. That lets you lower the degree with synthetic division, as you will see in the exercises.

Equations like zn=wz^n = w need no formula: they are nth roots.

The same in MATLAB

In MATLAB the imaginary unit is written 1i (i works too, but 1i cannot be confused with a variable called i). The functions of this topic are abs (modulus), angle (argument in radians, between −π-\pi and π\pi), real, imag, conj and exp:

z = sqrt(3) + 1i          % our cabin
abs(z)                    % the modulus: the radius of the wheel
angle(z)*180/pi           % the argument, in degrees
z*1i                      % a quarter turn
w = 2*exp(1i*pi/6)        % the same cabin, from its modulus and argument

Output:

z =

   1.7321 + 1.0000i

ans =

     2

ans =

   30.0000

ans =

  -1.0000 + 1.7321i

w =

   1.7321 + 1.0000i

angle returns radians: that is why we multiply by 180/pi. It prints 30.0000 and not 30 because π/6\pi/6 is not exact on a computer; the difference is in the sixteenth decimal place. z*1i gives −1+3i-1 + \sqrt3 i, the cabin at 120∘120^\circ, and w, built from the exponential form, matches z.

Binomial operations and the arctangent trap:

z1 = 3 + 2i;  z2 = 1 - 2i;
z1*z2                     % (3 + 2i)(1 - 2i)
z1/z2                     % the quotient
z1*conj(z1)               % a number times its conjugate: real
z = -1 - 1i;
atan(imag(z)/real(z))*180/pi    % the calculator: 45, wrong!
angle(z)*180/pi                 % angle checks the quadrant: -135

Output:

ans =

   7.0000 - 4.0000i

ans =

  -0.2000 + 1.6000i

ans =

    13

ans =

    45

ans =

  -135

z1*conj(z1) gives 13 with no imaginary part: MATLAB drops the + 0i when the result is real. And the last pair says it all: atan returns 45 and angle returns −135-135, which is 225∘−360∘225^\circ – 360^\circ, the right angle given between −180∘-180^\circ and 180∘180^\circ.

The six cabins, from the roots formula, and the solutions of z2−2z+5=0z^2 – 2z + 5 = 0 with roots (which takes the coefficients of the polynomial, from the highest degree down):

k = 0:5;
cabins = 2*exp(1i*(pi + 2*pi*k)/6);    % sixth roots of -64
abs(cabins)                             % all 2 away from the axle
angle(cabins)*180/pi                    % 60 degrees apart
roots([1 -2 5])                         % z^2 - 2z + 5 = 0

Output:

ans =

     2     2     2     2     2     2

ans =

   30.0000   90.0000  150.0000 -150.0000  -90.0000  -30.0000

ans =

   1.0000 + 2.0000i
   1.0000 - 2.0000i

angle gives the arguments between −180∘-180^\circ and 180∘180^\circ: the cabin at 210∘210^\circ shows up as −150∘-150^\circ and the one at 270∘270^\circ as −90∘-90^\circ. They are the same angles written another way. And roots returns the conjugate pair 1±2i1 \pm 2i.

Common mistakes in this topic

  • Forgetting that i2=−1i^2 = -1 when multiplying: (3+2i)(1−2i)(3 + 2i)(1 – 2i) is not 3−4i−4i23 – 4i – 4i^2 “and done”; the −4i2-4i^2 is +4+4.
  • The imaginary part with the ii attached: Im(3−5i)=−5\mathrm{Im}(3 – 5i) = -5, not −5i-5i.
  • The argument in the wrong quadrant from trusting arctan⁡(b/a)\arctan(b/a). Draw the point.
  • Opposite and conjugate swapped, and the opposite in polar form with a negative modulus.
  • Dividing in binomial form without the conjugate (or multiplying only the denominator).
  • A single root when there are nn, or roots 360∘360^\circ apart instead of 360∘n\tfrac{360^\circ}{n}.
  • Mixing degrees and radians: MATLAB works in radians (angle, exp, sin, cos).

Try it in the MATLAB playground

In the site’s MATLAB playground you can turn the wheel yourself:

% The Ferris wheel: our cabin and a turn
z = sqrt(3) + 1i;              % cabin at 2, 30 degrees
turn = exp(1i*pi/3);           % 60 degrees: one cabin on
next = z*turn
modulus = abs(next)
degrees = angle(next)*180/pi

Things to look at:

  1. Change pi/3 to pi/2 and check that next is the same as z*1i.
  2. Multiply turn by 2 (turn = 2*exp(1i*pi/3)): the angle stays the same, but the modulus becomes 4.
  3. Check De Moivre without raising to a power: abs(z)^6 and angle(z)*6*180/pi give 64 and 180, that is, 64180∘=−6464_{180^\circ} = -64.
  4. Try atan(1/-1) against angle(-1 + 1i): the first one gets the quadrant wrong.

And to watch complex numbers turn and stretch while you drag the points, there is the Complex plane simulator: binomial and polar at the same time, the product as a turn and a scale, and the nth roots drawn as a polygon.

Summary

ConceptWhat it isHow to work it out
Imaginary uniti2=−1i^2 = -1ini^n: remainder of nn divided by 4
Binomial forma+bia + biPurely real: b=0b = 0; purely imaginary: a=0a = 0
ConjugateReflection in the real axiszˉ=a−bi\bar z = a – bi; zzˉ=a2+b2z\bar z = a^2 + b^2
OppositeHalf turn−z=−a−bi=Rα+180∘-z = -a – bi = R_{\alpha + 180^\circ}
DivisionClearing ii from the denominatorMultiply top and bottom by the conjugate of the denominator
ModulusDistance to the originR=a2+b2R = \sqrt{a^2 + b^2}
ArgumentAngle with the positive real axisarctan⁡(b/a)\arctan(b/a) fixed by quadrant
Polar formRα=R(cos⁡α+isin⁡α)=ReiαR_\alpha = R(\cos\alpha + i\sin\alpha) = Re^{i\alpha}a=Rcos⁡αa = R\cos\alpha, b=Rsin⁡αb = R\sin\alpha
Product and quotientTurning and scalingRαSβ=(RS)α+βR_\alpha S_\beta = (RS)_{\alpha+\beta}; dividing: divide and subtract
PowerDe Moivre(Rα)n=(Rn)nα(R_\alpha)^n = (R^n)_{n\alpha}
nth rootsnn roots, regular polygon(Rn)(α+360∘k)/n(\sqrt[n]{R})_{(\alpha + 360^\circ k)/n}, k=0,…,n−1k = 0, \ldots, n-1

Three ideas to take away:

  1. Add in binomial form, multiply in polar form. Each operation has its handy form, and switching between them is part of the exercise.
  2. Multiplying is turning and scaling: the moduli multiply and the arguments add. De Moivre and the roots come from there.
  3. Before working out an argument, draw the point. The arctangent does not know which quadrant you are in; you do.

Now it is your turn: in the complex numbers guided practice we solve five problems step by step, checked in MATLAB: operations on the fairground map, switching forms in all four quadrants, powers with De Moivre, the cube roots of a number and an exercise with a parameter like the exam ones. And to check you have got it, the complex numbers exercises go from easy to hard and come with commented solutions and a quiz like the Campus ones. Then comes topic 8, affine space, where points stop being numbers and become places on the plane and in space.

Next step: practiceComplex numbers — guided practice with the fairground map, the four quadrants, De Moivre and roots step by step (and the angle that slipped into the wrong quadrant)

Did this article help you? Here is how you can support SergioLearns →