Complex numbers

Arithmetic

A complex number z may be written in ‘Cartesian form’ with distinct real and imaginary components, z=a+bi with a,b. For addition (as z1+z2) and multiplication by a real number (as λz) one operates on a and b just as the components of a vector. Complex numbers are multiplied by complex numbers using the formula i2=1. Thus if z1=a1+b1i and z2=a2+b2i, then we have:

z1z2=(a1a2b1b2)+(a1b2+a2b1)i.

Complex arithmetic Mathlet

Exponents

Complex numbers can be used as exponents in virtue of Euler’s Formula:

eiθ=cosθ+isinθ.

Deriving Euler’s Formula using power series

Recall the power series formula for ex:

ex=1+11!x+12!x2+13!x3+=i=01i!xi.

Plug in x=iθ, and recall the power series formulas for cos(θ) and sin(θ):

eiθ=1+(iθ)+12!(iθ)2+13!(iθ)3++=(112!θ2+14!θ4)+(θ13!θ3+15!θ5)i=cosθ+sinθi.

Other complex exponents can be calculated from Euler’s Formula by using exponent rules:

ea+bi=eaebi=ea(cos(b)+isin(b))=eacos(b)+easin(b)i

Euler Formula Mathlet

Polar format

A complex number can be written in ‘polar form’ as z=reiθ. This translates to ‘Cartesian form’ using the exponential rule:

z=reiθ=rcos(θ)+rsin(θ)i.

These forms allow one to graph complex numbers in the plane 2 using the polar coordinates (r,θ) or the corresponding Cartesian coordinates (x,y)=(a,b).

The radius r is called the modulus and the angle θ is called the argument of the complex number reiθ. The modulus of z=a+bi is the number a2+b2. It is sometimes written |z|.

If a complex number is graphed in the coordinate plane, and this number is multiplied by another complex number z=reiθ, then the product is given by scaling z by r, and rotating z by θ (counterclockwise).

Complex exponentials Mathlet

Conjugate

Complex numbers come in natural pairs. Given z=a+bi, there is a conjugate number z=abi. Conjugates correspond to reflection in the real axis.

It is easy to verify a relationship between conjugation and multiplication:

zz=|z|2.

Given z=a+bi, we sometimes write Re(z)=a and Im(z)=b for the real part and imaginary part. These can be extracted using conjugation:

Re(z)=z+z2,Im(z)=zz2i.

Conjugation preserves algebraic operations:

z+w=z+w(zw)=(z)(w).

Division

Division can be taken by complex numbers. The quotient can be calculated using conjugate multiplication. Supposing z=a+bi, then:

1z=zzz=abia2+b2=aa2+b2ba2+b2i.

Roots

Whole number roots of complex numbers are found using the exponential form:

(reiθ)1/n=rneθni.

In polar form, this means the root is taken on the modulus directly, and the angle is divided by the root number.

This procedure gives the analogue of 4=2. But of course, (2)2=4 as well. For any given z0, there are exactly n distinct complex numbers, w1,,wn, such that win=z. These numbers are given by adding (2πi)kn to the angle, for various k:

w1=rneθniw2=rneθni+(2πi)1nw3=rneθni+(2πi)2nw4=rneθni+(2πi)3nwn=rneθni+(2πi)n1n.

Complex roots Mathlet