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 .
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 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 , where and are real and satisfies ; 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.
Table of Contents
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 has no solution: no real number squared gives . Complex numbers come from adding one new number, the imaginary unit , which does exactly that:
With you can take the square root of any negative number: , because . And the equation above has two solutions, and .
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 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 . Our cabin is to the right and 1 up, so it is , that is, . The works as a label: it says “this is measured upwards”.
And why does that label have to satisfy ? You can see that on the wheel too. Multiplying by takes 2 to : 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 : multiplying by turns a quarter turn, which is why sits right above the axle, straight up. Two quarter turns, , are half a turn, which is multiplying by .
This is how four of the six cabins are written:
| Cabin | To the right | Up | Complex number | Why |
|---|---|---|---|---|
| Ours, at 30° | 1 | A little to the right and a little up | ||
| The very top one, at 90° | 0 | 2 | It does not move right at all: only the part with is left | |
| The one at 150° | 1 | It is ours reflected in the vertical axis: the rightward part changes sign | ||
| The bottom one, at 270° | 0 | 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 ) is the imaginary part, and writing the number as is the binomial form.
The binomial form
A complex number in binomial form (also called rectangular or Cartesian form) is
- is the real part: .
- is the imaginary part: . Careful: the imaginary part is the number , not .
Depending on its parts, a complex number is:
- Purely real if : . For example, .
- Purely imaginary if : . For example, .
- is both at once.
Two complex numbers are equal when their real parts match and their imaginary parts match: if and only if and . 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 is . It is : a real number. If an exam asks for “the value of that makes purely real”, that number is what you set to zero.
The complex plane
Each complex number is drawn as the point 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.
Our cabin is : units to the right of the axle (17 metres) and 1 unit above it (10 metres). The very top one is (real part 0: purely imaginary) and the bottom one, where you get on, is . Why and not a round number? Because the cabin sits on the circle of radius 2 at 30°, and , . 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:
Say that, on the fairground map (with the wheel axle as the origin), the candyfloss stall is at and the ticket booth is at . Then and .
The drawing shows that adding complex numbers is adding arrows: you put the arrow of after the arrow of 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 :
Don’t memorise the formula: do the calculation. With the candyfloss and the booth:
The becomes : that change of sign is the one people forget most.
Conjugate and opposite
- The conjugate of is : the sign of the imaginary part flips. On the plane it is the reflection in the real axis.
- The opposite (negative) of is : both signs flip. On the plane it is the point symmetric about the origin (a half turn).
The conjugate has a property you use in every division:
A complex number times its conjugate always gives a real number, and a non-negative one. With : .
Mixing up the opposite and the conjugate. The opposite of is ; its conjugate is . 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: is , because the 5 is shared out between the two parts. What gets in the way is the at the bottom.
It is like removing a root from the denominator in : you multiply top and bottom by something that makes it disappear. And from the previous section you already know which number turns into a real one: its conjugate, because . Multiplying top and bottom by the same number does not change the fraction (it is multiplying by 1). The calculation, step by step:
| Step | Calculation | Why |
|---|---|---|
| 1 | Conjugate of the denominator: | You change the sign of the imaginary part of |
| 2 | Denominator: | A complex number times its conjugate gives : it comes out real |
| 3 | Numerator: | Product term by term, as with two binomials |
| 4 | , which joins the 3 | |
| 5 | 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?
. Step by step: the conjugate of the denominator is . At the bottom, . At the top, . You are left with , which you split into its two parts. It is not the same as before: just as is not .
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:
Check it by multiplying back: . You get the numerator back: the division is right.
Give the result of a division split into real and imaginary parts, , not as . If you are asked for “the real part”, it is .
Powers of i
Since , the powers of repeat every four:
To work out , divide by 4 and keep the remainder. For example, , so .
Look at the drawing: multiplying by takes 1 to , to , to … 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: to the right and 1 up are the legs, and the distance to the axle is the hypotenuse. By Pythagoras:
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, . The angle whose tangent is 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 is its distance to the origin: . It is always a positive real number (or zero, if ).
- The argument is the angle the arrow of makes with the positive real axis, measured anticlockwise.
Our cabin: (the radius of the wheel, as it should be) and , so .
An argument is not unique: , and point the same way, because they differ by whole turns of . You usually give the one between and (or between and , as MATLAB does). The Campus quiz accepts both: for , both and .
The arctangent trap
The formula “” is only right in the first and fourth quadrants. A calculator always returns an angle between and , and it cannot tell from : in both, .
For : and , but the point is in the third quadrant (both parts negative). The right argument is (or ). The rule:
| Quadrant | Signs of and | Argument |
|---|---|---|
| 1st | ||
| 2nd | ||
| 3rd | ||
| 4th | (or leave it negative) | |
| On the axes | or | , , or , 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 and the calculator always gives or . It is the drawing that decides:
| Complex number | Where it is | Calculator | Argument | Why |
|---|---|---|---|---|
| 1st: right and up | Both parts positive: the calculator gets it right | |||
| 2nd: left and up | points down and to the right, exactly the opposite side: add | |||
| 3rd: left and down | points up and to the right, the opposite side again: add | |||
| 4th: right and down | or | The direction is already right; only gives it between and |
Why add exactly ? Because does not change if you change the sign of both parts at once: . 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 (), the right one is the one facing it.
Check you’ve got it: what is the argument of the cabin at −√3 + i?
. Step by step: is negative and is positive, so the point is to the left and up, in the second quadrant. The calculator gives , which points down and to the right: the opposite side. Add half a turn: . And the modulus is : it is the cabin at .
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, , 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:
| Cabin | Polar | Binomial | Why |
|---|---|---|---|
| Ours | and | ||
| Top | and : all of it upwards | ||
| Top left | The cosine of is negative, : the cabin is on the left | ||
| Bottom right | It is ours reflected in the real axis: its conjugate |
The exponential form uses the angle in radians. Half a turn, , is radians, so , which is a sixth of half a turn, is . The four forms in this section are four ways of writing the same point.
With the modulus and the argument , the complex number is written in polar form (the notation of the lecture notes):
Our cabin is . The top one, . The number is and the imaginary unit is .
To go back to binomial form, use the trigonometry of the triangle in the Ferris wheel drawing: and . That gives the trigonometric form:
For example, . There and back.
And there is a fourth form, the exponential one, thanks to Euler’s formula (with in radians):
It is the one MATLAB uses to build a complex number from its modulus and its argument.
| Form | Written as | What it is handy for |
|---|---|---|
| Binomial | Adding, subtracting, matching parts, saying whether it is purely real or imaginary | |
| Polar | Multiplying, dividing, powers and roots | |
| Trigonometric | Going from polar to binomial | |
| Exponential | MATLAB and proofs (De Moivre comes for free) |
In polar form the conjugate and the opposite are simple too: (the reflection flips the sign of the angle) and (a half turn). The modulus never becomes negative: is not a valid polar form.
Thinking the opposite in polar form is “changing to “. The modulus is a distance and is always positive: the opposite of is .
Multiplying is turning and scaling
Before the rule, an experiment: multiply our cabin, , by three numbers and see what happens to its distance and its angle:
| You multiply by | Result | Distance | Angle | Why |
|---|---|---|---|---|
| 2 | Same distance, more: has modulus 1 and angle | |||
| 2 | 4 | Twice the distance, same angle: 2 has modulus 2 and angle | ||
| 4 | Both things at once: has modulus 2 and angle |
The pattern jumps out: the distance of the result is the cabin’s times the other number’s (, , ), and the angle is the sum of the two angles (, , ). 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 , which in binomial form is . Step by step: the bottom cabin is . The distance does not change (from 2 to 2), so the modulus of the number has to be 1. The angle goes from to : you have to add . Check it in binomial form: . 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:
The moduli multiply and the arguments add. It comes from the exponential form: . In Ferris wheel terms:
- Multiplying by turns without changing the distance: our cabin moves to . That is what I was after that afternoon on the wheel. In binomial form: .
- Multiplying by takes it to the next cabin, .
- Multiplying by does not turn: it moves it twice as far, .
Dividing does the opposite: divide the moduli and subtract the arguments.
For example, : 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 again, and you already know what that does: it multiplies the distances and adds the angles:
| Power | Calculation | Result | Why |
|---|---|---|---|
| The cabin | Modulus 2 and argument | ||
| Distance , angle | |||
| Straight up: it is | |||
| Times 2 again and more | |||
| The same | |||
| Half a turn: the real number |
Check it with in binomial form: , and . 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 …, multiples of . After multiplications, the modulus has been multiplied by itself times and the angle has been added times. That, with letters, is De Moivre’s formula.
Raising to the is multiplying times by the same number, so the same turn and the same scale repeat times:
With : , , … Each power turns more and moves out by a factor of : a spiral.
What in binomial form would be eight multiplications is one line in polar form: . And the wheel: . Keep that in mind: it comes back in the next section.
At the end, bring the argument back within one turn: and 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 . The question now is: which numbers, raised to the 6th, give ? You already know one: our cabin. Are there more?
Think in polar form. If , De Moivre says that , and that has to be . There are two conditions:
- The modulus: . is a positive distance, so , with no other options.
- The angle: has to point at . But it does not have to be : ( plus one turn) and (plus two turns) point there too… Each one gives a different .
| Extra turns | Root | Why | ||
|---|---|---|---|---|
| 0 | The usual cabin | |||
| 1 | : one more turn | |||
| 2 | Another more | |||
| 3 | The same | |||
| 4 | The bottom cabin | |||
| 5 | The last new one | |||
| 6 | is plus one turn: the first one again. This is where it stops |
When you divide by 6, each extra turn becomes more: that is why the roots go 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 instead of 6.
Check you’ve got it: what are the cube roots of 8?
, and . Step by step: . The modulus: , so . The angle: has to point at , and , and point there, which give ; with you would get , the first one again. The three roots are , and : an equilateral triangle.
An nth root of is any with . Among the reals, has one solution; among the complex numbers, every number other than 0 has exactly nth roots. Why so many? Because raising to the multiplies the argument by , and different angles can end up in the same place after going round.
If , its nth roots are
- They all have the same modulus, (the positive real root of a positive number).
- Their arguments are apart.
- That is why they form a regular polygon with sides centred at the origin.
And here the Ferris wheel comes full circle: the six cabins are the sixth roots of . Since :
That is, : exactly the cabins.
Giving only one root (the “calculator” one) or adding to the argument instead of . If you are asked for the cube roots, there are three of them, apart; always check you get .
Equations with complex numbers
Thanks to complex numbers, a polynomial of degree has exactly 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, :
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 is a root of a polynomial with real coefficients, is one too, and divides the polynomial. That lets you lower the degree with synthetic division, as you will see in the exercises.
Equations like 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 and ), 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 is not exact on a computer; the difference is in the sixteenth decimal place. z*1i gives , the cabin at , 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 , which is , the right angle given between and .
The six cabins, from the roots formula, and the solutions of 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 and : the cabin at shows up as and the one at as . They are the same angles written another way. And roots returns the conjugate pair .
Common mistakes in this topic
- Forgetting that when multiplying: is not “and done”; the is .
- The imaginary part with the attached: , not .
- The argument in the wrong quadrant from trusting . 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 , or roots apart instead of .
- 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:
- Change
pi/3topi/2and check thatnextis the same asz*1i. - Multiply
turnby 2 (turn = 2*exp(1i*pi/3)): the angle stays the same, but the modulus becomes 4. - Check De Moivre without raising to a power:
abs(z)^6andangle(z)*6*180/pigive 64 and 180, that is, . - Try
atan(1/-1)againstangle(-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
| Concept | What it is | How to work it out |
|---|---|---|
| Imaginary unit | : remainder of divided by 4 | |
| Binomial form | Purely real: ; purely imaginary: | |
| Conjugate | Reflection in the real axis | ; |
| Opposite | Half turn | |
| Division | Clearing from the denominator | Multiply top and bottom by the conjugate of the denominator |
| Modulus | Distance to the origin | |
| Argument | Angle with the positive real axis | fixed by quadrant |
| Polar form | , | |
| Product and quotient | Turning and scaling | ; dividing: divide and subtract |
| Power | De Moivre | |
| nth roots | roots, regular polygon | , |
Three ideas to take away:
- Add in binomial form, multiply in polar form. Each operation has its handy form, and switching between them is part of the exercise.
- Multiplying is turning and scaling: the moduli multiply and the arguments add. De Moivre and the roots come from there.
- 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 →



