bloch-sphere-0

Complex Numbers

A concept that will be very important later on is that of complex numbers. Complex numbers originally come from solutions of square roots, so we'll start there.

We all know how to solve equations like this x2=4x^2 = 4. We don't even need to try particularly hard since we can just try values of xx until we find one that works. In this case, we know that both 22 and 2-2 are solutions. Having two solutions is key here. If we have a positive solution to such an equation, we can also say its negative is a solution since a negative times a negative is a positive.

It seems then that when squaring a number we should always get a positive result. If we tried to solve the equationx2=1x^2 = -1, we would find that there is no solution.

Or would we?

With our current knowledge, there is no known solution. But what if we were to just pretend one exists? Let's define a constant, ii, that is the "solution" to the equation i2=1i^2 = -1. We can't express any meaningful value to ii, but we can still see how it behaves in equations.

One of the most basic and principle properties we will be able to study is the powers of ii:

i0=1i1=ii2=1i3=ii2=i(1)=ii4=i2i2=(1)(1)=1i^0 = 1 \\[3ex] i^1=i \\[3ex] i^2=-1 \\[3ex] i^3=i\cdot i^2 = i \cdot (-1) = -i \\[3ex] i^4 = i^2 \cdot i^2 = (-1) \cdot (-1) = 1

From this we can see that:

i0=i4=i8==i4n=1i1=i5=i9==i4n+1=ii2=i6=i10==i4n+2=1i3=i7=i11==i4n+3=ii^0 = i^4 = i^8 = \cdots = i^{4n} = 1 \\[3ex] i^1 = i^5 = i^9 = \cdots = i^{4n + 1} = i \\[3ex] i^2 = i^6 = i^{10} = \cdots = i^{4n + 2} = -1 \\[3ex] i^3 = i^7 = i^{11} = \cdots = i^{4n + 3}= -i

It's quite suprising that the powers of ii follow this "circular" pattern. There's no number we know that behaves like this! Normally a number will simply grow larger and larger as we raise it to higher powers.

This "circular" idea will be our first step to a visual intuition of the complex numbers. We will imagine these numbers as lying on a circle that extends the standard number line:

A circular representation of the complex units on an Argan diagram

This starts to give us an intuition that complex numbers might be well visualised as 2-dimensional. Just as we would represent a point in 2 dimensions with an xx component and a yy component, we will represent our complex numbers as having a real component and an imaginary component.

We will write them as a+bia + bi where aa is the real component and bb is the imaginary component as it is the coefficient of ii.

Let's take a look at how we plot these numbers on the 2D plane:

A variety of example complex numbers plotted on an Argand diagram

So we can see how they plot just like 2D points.

In the same way we can calculate the distance of a point from the origin using pythagoras: x2+y2\sqrt{x^2 + y^2}, we can also calculate the distance of a complex number from 00 as a2+b2\sqrt{a^2 + b^2}. This value we will call the modulus of the complex number and will be represented like this:

a+bi=a2+b2|a + bi| = \sqrt{a^2 + b^2}

Another concept we'll introduce is the complex conjugate. This will be represented with the ^* symbol and will simply make the complex part negative:

(a+bi)=abi(a + bi)^* = a - bi

Here's an interesting property we'll show. For a complex number z=a+biz = a + bi we have:

zz=(a+bi)(abi)=a2abi+abib2i2=a2+b2=z2z z^* = (a + bi)(a - bi) = a^2 - abi + abi - b^2i^2 = a^2 + b^2 = |z|^2

Polar Representation

We also know that we can represent points in 2D space using polar coordinates. We can do the same for complex numbers:

An example of a complex number in polar form, with an angle and a radius

We will represent the distance from the origin as rr and the angle from the postive-real line as θ\theta

Some knowledge of trigonometry shows us that for a complex number zz we can represent it in polar form as such:

z=rcosθ+irsinθz = r\cos{\theta} + ir\sin{\theta}

The polar system has another more interesting representation however, that is quite extraordinary!

We will begin in an unusual and seemingly unrelated place: the taylor expansion of exe^x:

ex=1+x+x22!+x33!++xnn!+e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \ldots + \frac{x^n}{n!} + \ldots

We're going to check what happens when we introduce ii into the exponent:

eix=1+ix+(ix)22!+(ix)33!++(ix)nn!+e^{ix} = 1 + ix + \frac{(ix)^2}{2!} + \frac{(ix)^3}{3!} + \ldots + \frac{(ix)^n}{n!} + \ldots

Now we can apply our power rules of ii to simplify:

eix=1+ixx22!ix33!+x44!+ix55!x66!ix77!+e^{ix} = 1 + ix - \frac{x^2}{2!} - i\frac{x^3}{3!} + \frac{x^4}{4!} + i\frac{x^5}{5!} - \frac{x^6}{6!} - i\frac{x^7}{7!} + \ldots

We've expanded the series out to more terms here to make the pattern more visible. Notice now we have some terms with an ii in them and some without. If we group the like terms and factor out the ii we get:

eix=(1x22!+x44!x66!+)+i(xx33!+x55!x77!+)e^{ix} = \Bigl(1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \ldots \Bigr) + i\Bigl(x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \ldots \Bigr)

Our amazing discovery now comes as we realise that the two infinite series in the brackets are the taylor expansions for cos\cos and sin\sin respectively! So let's substitute them in:

eix=cosx+isinxe^{ix} = \cos{x} + i\sin{x}

That's quite the incredible formula! Trigonometric functions, exponentials and complex numbers all together!

Going back to our polar representation from earlier, we can now simplify it to:

z=r(cosθ+isinθ)=reiθz = r(\cos{\theta} + i\sin{\theta}) = r e^{i\theta}

This is a very useful representation that we will use heavily. Note that can also re-state our definition of modulus and conjugate in this form:

reiθ=r(reiθ)=reiθ|re^{i\theta}| = r \\[3ex] (re^{i\theta})^* = re^{-i\theta}

Exercises

Exercise 1

Using the exponential form of the polar representation shown above, prove Euler's formula:

eiπ+1=0e^{i\pi} + 1 = 0
Show solution

Exercise 2

Prove the following properties about the conjugation operation:

(z)=z(z+z)=z+z(zz)=zz(z^*)^* = z \\[3ex] (z + z^\prime)^* = z^* + z^{\prime*} \\[3ex] (z z^\prime)^* = z^* z^{\prime*}
Show solution

Exercise 3

Just as we showed some properties of the conjugate operator, now let's have a look at a property of the modulus.

Prove the following:

zz=zz|z z^\prime| = |z| |z^\prime|
Show solution
> Next Article (Groups)