Producing electricity securely, safely, reliably and cheaply, has many challenges. Electricity is difficult to store in large quantities, so it usually has to be used as soon as it is generated. We also have a very low tolerance to any interruption in the electricity supply. Other challenges arise from the extreme interconnectedness of the electricity network, which means that a problem in part of the network quickly becomes a problem for the whole network.

Most of the time the process of transmitting electricity proceeds smoothly. However, there have been times of such great demand that the UK electricity network has nearly been shut down, such as everyone boiling their kettles at half time during the 1990 World Cup semi final when England played Germany.

Peak demands on the UK supply. (Data source National Grid)

The modern electricity supply network relies on the invention of *alternating current* (AC) by Nikolas Tesla. In AC the current and the voltage vary like a wave over time as seen below. Mathematically, these waves can be described by sine and cosine functions.

The AC voltage and current have the form

*phases*of the respective waves (the phase describes how far the wave is shifted along the horizontal axis), and and are the

*amplitudes*of the respective waves (their heights).

### Electricity is complex

To represent an AC voltage, electrical engineers make extensive use of complex numbers. The imaginary number satisfies the equation

The reason for this is Euler's famous identity

Going back to our expression of the alternating above, we see that an alternating voltage is the real part of the function

This, according to Eulerâ€™s identity, is equal to

A convenient way to express this is as

and we call the expression the

*complex voltage*. This single complex number contains two pieces of information, namely the amplitude, and the phase, of the voltage. There is a similar expression for the complex current. Expressing voltage and current as complex numbers makes the mathematics of power networks a whole lot easier, and is an important part of making sure that the lights always stay on.

*This article is an edited version of Chris Budd's article Energetic maths. You can read the article in full here.*

You can find out more about complex numbers and things you can do with them in this introductory package and in our teacher package.