Complex Number Multiplication

A Complex Number is a combination of a Real Number and an Imaginary Number:

A Real Number is the type of number we use every day.

Examples: 12.38, ½, 0, −2000

An Imaginary Number, when squared gives a negative result:

imaginary squared gives negative

The "unit" imaginary number when squared equals −1

i2 = −1

Examples: 5i, −3.6i, i/2, 500i

Examples of Complex Numbers:

3.6 + 4i
(real part is 3.6, imaginary part is 4i)
−0.02 + 1.2i
(real part is −0.02, imaginary part is 1.2i)
25 − 0.3i
(real part is 25, imaginary part is −0.3i)

Either part can be zero:

0 + 2i
(no real part, imaginary part is 2i)
same as 2i
4 + 0i
(real part is 4, no imaginary part)
same as 4

Multiplying

To multiply complex numbers:

Each part of the first complex number gets multiplied by
each part of the second complex number

Just use "FOIL", which stands for "Firsts, Outers, Inners, Lasts" (see Binomial Multiplication for more details):

FOIL: Firsts, Outers, Inners, Lasts
  • Firsts: a × c
  • Outers: a × di
  • Inners: bi × c
  • Lasts: bi × di

(a+bi)(c+di) = ac + adi + bci + bdi2

Like this:

Example: (3 + 2i)(1 + 7i)

(3 + 2i)(1 + 7i) = 3×1 + 3×7i + 2i×1+ 2i×7i
 = 3 + 21i + 2i + 14i2
 = 3 + 21i + 2i − 14   (because i2 = −1)
 = −11 + 23i

Here is another example:

Example: (1 + i)2

(1 + i)2= (1 + i)(1 + i)
= 1×1 + 1×i + 1×i + i2
 = 1 + 2i − 1   (because i2 = −1)
 = 0 + 2i

But There is a Quicker Way!

Use this rule:

(a+bi)(c+di) = (ac−bd) + (ad+bc)i

Example:

(3 + 2i)(1 + 7i) = (3×1 − 2×7) + (3×7 + 2×1)i
= −11 + 23i

Why Does That Rule Work?

It is just the "FOIL" method after a little work:

(a+bi)(c+di) = ac + adi + bci + bdi2   FOIL method
  = ac + adi + bci − bd   (because i2=−1)
  = (ac − bd) + (ad + bc)i   (gathering like terms)

And there you have the (ac − bd) + (ad + bc)i  pattern.

This rule is certainly faster, but if you forget it, just remember the FOIL method.

 

Now let's see what multiplication looks like on the Complex Plane.

The Complex Plane

This is the complex plane:

complex plane

It is a plane for complex numbers!

We can plot a complex number like 3 + 4i :

It is placed

  • 3 units along (the real axis),
  • and 4 units up (the imaginary axis).
 
complex plane 3+4i

Multiplying By i

Let's multiply it by i:

(3 + 4i) x i = 3i + 4i2

Which simplifies to (because i2 = −1):

−4 + 3i
  complex plane vector 3+4i by i = -4+31

And here is the cool thing ... it's the same as rotating by a right angle (90° or π/2)

Was that just a weird coincidence?

Let's try multiplying by i again:

(−4 + 3i) x i = −4i + 3i2 = −3 − 4i

and again:

(−3 − 4i) x i = −3i − 4i2 = 4 − 3i

and again:

(4 − 3i) x i = 4i − 3i2 = 3 + 4i
  complex plane vector by i 4 times is full rotation

Well, isn't that stunning? Each time it rotates by a right angle, until it ends up where it started.

Let's try it on the number 1:

1 × i   = i
i × i   = −1
−1 × i   = −i
i × i   = 1
Back to 1 again!
  i cycle on complex plane

Each time a right angle rotation.

Choose your own complex number and try that for yourself, it is good practice.

Let's look more closely at angles now.

Polar Form

Our friendly complex number 3 + 4i :   complex plane 3+4i vector
     

Here it is again, but

in polar form:
(distance and angle)

  complex plane 3+4i polar

So the complex number 3 + 4i can also be shown as distance (5) and angle (0.927 radians).

How do we do the conversions?

Example: the number 3 + 4i

We can do a Cartesian to Polar conversion:

 

We can also take Polar coordinates and convert them to Cartesian coordinates:

In fact, a common way to write a complex number in Polar form is

x + iy = r cos θ + i r sin θ
  = r(cos θ + i sin θ)

And "cos θ + i sin θ" is often shortened to "cis θ", so:

x + iy = r cis θ

cis is just shorthand for cos θ + i sin θ

So we can write:

3 + 4i = 5 cis 0.927

In some subjects, like electronics, "cis" is used a lot!

Now For Some More Multiplication

Let's try another multiplication:

Example: Multiply 1+i by 3+i

(1+i) (3+i) =1(3+i) + i(3+i)
 =3 + i + 3i + i2
 =3 + 4i − 1
 =2 + 4i

And here is the result on the Complex Plane:

complex plane 1+i, 3+i, 2+4i

But it is more interesting to see those numbers in Polar Form:

Example: (continued)

Convert 1+i to Polar:

 

Convert 3+i to Polar:

 

Convert 2+4i to Polar:

 

Have a look at the r values for a minute. Are they related somehow?
And what about the θ values?

Here is that multiplication in one line (using "cis"):

(√2 cis 0.785) × (√10 cis 0.322) = √20 cis 1.107

This is the interesting thing:

So:

The magnitudes get multiplied.
And the angles get added.

When multiplying in Polar Form: multiply the magnitudes, add the angles.

 

complex plane i is right angle

And that is why multiplying by i rotates by a right angle:

i has a magnitude of 1 and forms a right angle on the complex plane

Squaring

To square a complex number, multiply it by itself:

Result: square the magnitudes, double the angle.

complex plane vector 1+2i squared is -3+4i

Example: Let us square 1 + 2i:

(1 + 2i)(1 + 2i) = 1 + 4i + 4i2 = −3 + 4i

On the diagram the angle looks to be (and is!) doubled.

Also:

So the magnitude got squared, too.

In general, a complex number like:

r(cos θ + i sin θ)

When squared becomes:

r2(cos 2θ + i sin 2θ)

(the magnitude r gets squared and the angle θ gets doubled.)

Or in the shorter "cis" notation:

(r cis θ)2 = r2 cis 2θ

 

de moivre

De Moivre's Formula

And the mathematician Abraham de Moivre found it works for any integer exponent n:

[ r(cos θ + i sin θ) ]n = rn(cos nθ + i sin nθ)

(the magnitude becomes rn the angle becomes .)

Or in the shorter "cis" notation:

(r cis θ)n = rn cis nθ

 

complex plane 0-8i

Example: What is (1+i)6

Convert 1+i to Polar:

In "cis" notation: 1+i = √2 cis π/4

Now, with an exponent of 6, r becomes r6, θ becomes :

(√2 cis π/4)6 = (√2)6 cis 6π/4 = 8 cis 3π/2

The magnitude is now 8, and the angle is 3π/2 (=270°)

Which is also 0−8i (see diagram)

 

Summary