Complex Numbers – they don’t have to be complex!

The idea of complex numbers stems from a question that bugged mathematicians for thousands of years: what is the square root of -1? That is, which number do you multiply by itself to get -1?

Such a simple question has blossomed into a vast mathematical theory, for the simple reason that the answer isn’t real! It can’t be 1, as 1 * 1 = 1; it can’t be -1, as -1 * -1 = 1; whichever number you multiply by itself, you can’t get a negative number. Up until the 16th century, almost everyone ignored this issue; perhaps they were afraid of the implications it could bring. But then, gradually, people began to realise that there was a whole new world of mathematics waiting to be discovered if they faced up to the question.

In order to explain this apparent gap in maths, the idea of an ‘imaginary’ number was introduced. The prolific Swiss mathematician Leonhard Euler first used the letter i to represent the square root of -1, and as with most of his ideas, it stuck. Now i isn’t something that you’ll see in everyday life in relation to physical quantities, such as money. If you’re lucky enough to have money in your bank account, then you’ll see a positive number on your bank statement. If, as is the case for most students, you currently owe money to the bank (for example, if you have an overdraft), then your statement will display a negative number. However, because i is an ‘imaginary’ unit, it is neither ‘positive’ nor ‘negative’ in this sense, and so it won’t crop up in these situations.

Helpfully, you can add, subtract, multiply and divide using i in the same way as with any other numbers. By doing so, we expand the idea of imaginary numbers to the idea of complex numbers.

Take two real numbers a and b – these are the type that we’re used to dealing with.

They could be positive, negative, whole numbers, fractions, whatever.

A complex number is then formed by taking the number a + b * i. Let’s call this number z.

We say that a is the real part of z, and b is the imaginary part of z.

Any number that you can make in this way is a complex number.

For example, let a = -3 and b = 2; then -3 + 2*i, which we write as -3 + 2i, is a complex number.

As we saw before, complex numbers don’t actually pop up in ‘real-life’ situations. So why do we care about them? The reason is that complex numbers have some very neat properties that allow them to be used in all sorts of mathematical contexts. So even though you may not see the number i in everyday life, it’s very likely that there are complex numbers involved behind the scenes wherever you look. Let’s have a quick glance at some of these properties.

The key observation is that the square of i is -1, that is, i * i = -1.

We can use this fact to multiply complex numbers together.

Let’s look at a concrete example: multiply 2 + 2i by 4 – 3i.

We use the grid method for multiplying out brackets:

  4 -3i
2 2 * 4 = 8 2 * -3i = -6i
+2i 4 * 2i = 8i 2i * -3i = -6 * i * i = -6 * -1 = 6

Adding the results together, we get (2 + 2i)(4 – 3i) = 8 + 6 – 6i + 8i = 14 + 2i.

Therefore, multiplying two complex numbers has given us another complex number!

This is true in general, and it turns out to be very handy. In fact, Carl Friedrich Gauss proved a very famous result – known as the Fundamental Theorem of Algebra because it’s so important – that effectively tells us that the solutions to all equations can be written as complex numbers. This is extremely useful because we know that we don’t have to go any ‘deeper’ into numbers; once you’ve got your head around complex numbers, you can proudly declare that you’ve mastered them all!

Because of this fundamental theorem, our little friend i pops up all over the place in physics, engineering, computer science, and of course, in all sorts of areas of maths. While it may only be imaginary, its applications can be very real, from air traffic control, to animating characters in films. It plays a really important role in much of theoretical mathematics, which in turn is used in almost every scientific discipline. And to think, all of this stemmed from an innocent-looking question about -1; what were they so scared of?!

Kai Laddiman

This robot is a ‘Cheetah’

Robots are developing at an incredible rate, with their ability to perform real-world tasks improving almost by the minute. Such rapid development doesn’t come without downsides, and there are many people who believe that artificial intelligence (AI) could become too powerful, leading to the possibility of robots taking our jobs, or perhaps even taking over the world! Whilst these fears might not be completely unjustified, let’s instead focus on the positives for the time being and marvel at the astonishing accomplishments being made in the field of robotics.

The Cheetah robot, developed by scientists at MIT, is roughly the same shape and size as a small dog, and has been designed to be able to walk across difficult terrains efficiently and effectively. Such a trait is particularly useful when we need to explore dangerous and hazardous environments that may be unsuitable for humans, such as the Fukushima nuclear power plant that collapsed in Japan in 2011. Like all robots, it uses algorithms to help it to navigate, stabilise itself, and ensure that its movements are natural. The latest version, the Cheetah 3, was unveiled in early July, and I think it’s fair to say that it wouldn’t look too far out of place in the animal kingdom!

Picture1

[Image courtesy of Sangbae Kim, MIT]

Perhaps the most impressive feature of the Cheetah 3 is that the strangely adorable hunk of metal performs the majority of its navigation without any visual input, meaning that it is effectively blind. The researchers at MIT believe that this is a more robust way to design the robot, since visual data can be noisy and unreliable, whereas an input such as touch is always available. Let’s imagine that you are in a pitch-black room; how would you find your way around? Your eyes are pretty much useless, but you can use your sense of touch to feel around the environment, making sure that you don’t bump into walls or obstacles. It’s also important to step carefully, so that you don’t misjudge where the floor is, or tread too strongly and break through something. The Cheetah 3 takes all of this into account as it gracefully glides across even the roughest terrain.

One of the key ideas that was addressed in the new model is contact detection. This means that the robot is able to work out when to commit to putting pressure on a step, or whether it should swing its leg instead, based on the surface that it is stepping onto. This has a massive impact on its ability to balance when it is walking on rough terrain, or one that is full of different obstacles; it also makes each step quicker and more natural. Going back to our dark room, you are likely to step quite tentatively if you can’t see where you are going as this will allow you to react to whatever surface you come into contact with, and adjust your motion as required. With the latest update, the clever ‘canine’ can make these adjustments by itself in a natural manner.

The Cheetah 3 also contains a new and improved prediction model. This can calculate how much pressure will need to be applied to each leg when it experiences a force, by estimating what will happen in half a second’s time. Returning once again to our pitch-black room, imagine how great it would be if you were able to predict what you’re about to step on and adjust your path accordingly – no more treading on sharp objects or stubbing your toe! The scientists tested the power of the new model by kicking the robot when it was walking on a treadmill. Using its prediction algorithm, the Cheetah 3 was able to quickly calculate the forces it needed to exert in order to correctly balance itself again and keep moving. Whilst I can confirm that no animals were harmed in the making of this robot, whether or not the robot itself felt harm is perhaps a question for another day…

The new and improved Cheetah 3 is certainly one of the more remarkable recent accomplishments in the field of robotics. Its natural movements and quick corrections mean that it excellently mimics animal navigation, and it is easy to see how such a robot would be extremely useful for exploring dangerous terrains. Such incredible progress in the study of robotics is as impressive and exciting as it is scary. While it is extraordinary that we are able to replicate animal movements so closely, it has rightly made many people slightly worried; will robots eventually be able to completely replace us? We can only cross our fingers that these critters have no plans for world domination just yet…

Kai Laddiman

WordPress.com.

Up ↑