## Maths in a minute: Complex numbers

Solving equations often involves taking square roots of numbers and if you're not careful you might accidentally take a square root of something that's negative. That isn't allowed of course, but if you hold your breath and just carry on, then you might eventually square the illegal entity again and end up with a negative number that's a perfectly valid solution to your equation.

People first noticed this fact in the 15th century. A lot later on, in the 19th century, William Rowan Hamilton noticed that the illegal numbers you come across in this way can always be written as where and are ordinary numbers and stands for the square root of The number itself can be represented in this way with and Numbers of this form are called complex numbers.

You can add two complex numbers like this:

And you multiply them like this:

The complex number 1+2i.

But how can we visualise these numbers and their addition and multiplication? The and components are normal numbers so we can associate to them the point with coordinates on the plane, which is where you get to if you walk a distance in the horizontal direction and a distance in the vertical direction. So the complex number which is the sum of and corresponds to the point you get to by walking a distance in the horizontal direction and a distance in the vertical direction. Makes sense.

What about multiplication? Think of the numbers that lie on your horizontal axis with coordinates Multiplying them by flips them over to the other side of the point : goes to goes to and so on. In fact, you can think of multiplication by as a rotation: you rotate the whole plane through 180 degrees about the point

Multiplying by i.

What about multiplication by the square root of ? Multiplying twice by is the same as multiplying by So if the latter corresponds to a rotation through 180 degrees, the former should correspond to rotation by 90 degrees. And this works. Try multiplying any complex number, say by and you will see that the result corresponds to the point you get to by rotating through 90 degrees (counter-clockwise) about

And what about multiplying not just by but by a more difficult complex number Well, multiplying by an ordinary positive number corresponds to stretching or shrinking the plane: multiplication by 2 takes a point to which is further away from (that’s stretching) and multiplication by 1/2 takes it to which is closer to (shrinking).

Multiplying by 2 is stretching.

It turns out that multiplication by a complex number corresponds to a combination of rotation and shrinking/stretching. For example, multiplication by is rotation through 120 degrees followed by stretching by a factor of 2. So complex numbers are not just weird figments of the imagination designed to help you solve equations, they’ve got a geometric existence in their own right.

You can find out more about complex numbers and things you can do with them in the Plus articles Curious quaternions, Unveiling the Mandelbrot set, Non-Euclidean geometry and Indra's pearls and Maths goes to the movies.

• Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
• Lines and paragraphs break automatically.