# High School Mathematics Extensions/Supplementary/Complex Numbers

## Introduction[edit]

Supplementary Chapters |

Content |
---|

Basic Counting |

Polynomial Division |

Partial Fractions |

Summation Sign |

Complex Numbers |

Differentiation |

Problems & Projects |

Problem Set |

Solutions |

Exercise Solutions |

Problem Set Solutions |

Although the real numbers can, in some sense, represent any natural quantity, they are in another sense incomplete. We can write certain types of equations with real number coefficients which we desire to solve, but which have no real number solutions. The simplest example of this is the equation:

Your high school math teacher may have told you that there is no solution to the above equation. He/she may have even emphasised that there is no *real* solution. But we can, in fact, extend our system of numbers to include the *complex* numbers by declaring the solution to that equation to exist, and giving it a name: the *imaginary unit*, .

Let's *imagine* for this chapter that exists. Hence *x* = *i* is a solution to the above question, and .

A valid question that one may ask is "Why?". Why is it important that we be able to solve these quadratics with this seemingly artificial construction? It is interesting delve a little further into the reason why this imaginary number was introduced in the first place - it turns out that there was a valid reason why mathematicians realized that such a construct was useful, and could provide deeper insight.

The answer to the question lies not in the solution of quadratics, but rather in the solution of the intersection of a cubic and a line. The mathematician Cardano managed to come up with an ingenious method of solving cubics - much like the quadratic formula, there is also a formula that gives us the roots of cubic equations, although it is far more complicated. Essentially, we can express the solution of a cubic in the form

An unsightly expression, indeed!

You should be able to convince yourself that the line must always hit the cubic . But try solving some equation where , and you run into a problem - the problem is that we are forced to deal with the square root of a negative number. But, we know that in fact there is a solution for x; for example, has the solution x = 4.

It became apparent to the mathematician Bombelli that there was some piece of the puzzle that was missing - something that explained how this seemingly perverse operation of taking a square root of a negative number would somehow simplify to a simple answer like 4. This was in fact the motivation for considering imaginary numbers, and opened up a fascinating area of mathematics.

The topic of **Complex numbers** is very much concerned with this number *i*. Since this number doesn't exist in this real world, and only lives in our imagination, we call it the *imaginary unit*. (Note that is not typically chosen as a variable name for this reason.)

### The imaginary unit[edit]

As mentioned above

- .

Let's compute a few more powers of *i*:

As you may see, there is a pattern to be found in this.

### Exercises[edit]

- Compute
- Compute
- Compute

### Complex numbers as solutions to quadratic equations[edit]

Consider the quadratic equation:

The *x* we get as a solution is what we call a complex number. (To be nitpicky, the solution set of this equation actually has two complex numbers in it; either is a valid value for x.) It consists of *two* parts: a *real* part of 3 and an *imaginary* part of . Let's call the real part *a* and the imaginary part *b*; then the sum is a complex number.

Notice that by merely defining the square root of negative one, we have already given ourselves the ability to assign a value to a much more complicated, and previously unsolvable, quadratic equation. It turns out that 'any' polynomial equation of degree has exactly zeroes if we allow complex numbers; this is called the Fundamental Theorem of Algebra.

We denote the *real* part by *Re*. E.g.:

and the *imaginary* part by *Im*. E.g.:

Let's check to see whether really is solution to the equation:

### Exercises[edit]

- Convince yourself that
*x = 3 - 2i*is also a solution to the equation. - Plot the points A(3, 2) and B(3, -2) on a XY plane. Draw a line for each point joining them to the origin.
- Compute the length of AO (the distance from point A to the Origin) and BO. Denote them by r
_{1}and r_{2}respectively. What do you observe? - Compute the angle between each line and the x-axis and denote them by and . What do you observe?
- Consider the complex numbers:

Substitute *z* and *w* into the quadratic equation above using the values you have computed in Exercise 3 and 4. What do you observe? What conclusion can you draw from this?

- Find the complex solutions to the equation . Perform the same steps as above. What can you conclude here?

## Arithmetic with complex numbers[edit]

### Addition and multiplication[edit]

Adding and multiplying two complex number together turns out to be quite straightforward. Let's illustrate with a few examples. Let *x* = 3 - 2*i* and *y* = 7 + 11*i*, and we do addition first

and now multiplication

Let's summarise the results here.

- When adding complex numbers we add the real parts with real parts, and add the imaginary parts with imaginary parts.
- When multiplying two complex numbers together, we use normal expansion. Whenever we see
*i*^{2}we put in its place -1. We then collect like terms.

But how do we calculate:

Note that the square root is only above the 5 and not the *i*. This is a little bit tricky, and we shall cover it in the next section.

### Exercises:[edit]

Compute:

- x + y
- x - y
- x
^{2} - y
^{2} - xy
- (x + y)(x - y)

### Division[edit]

One way to calculate:

is to rationalise the denominator:

Utilising a similar idea, to calculate

we *real*ise the denominator.

The denominator is the sum of two squares. We get:

If somehow we can always find a complex number whose product with the denominator is a real number, then it's easy to do divisions.

If

and

Then *zw* is a real number. This is true for any 'a' and 'b' (provided they are real numbers).

### Exercises[edit]

Convince yourself that the product of *zw* is always a real number.

### Complex Conjugate[edit]

The exercise above leads to the idea of a complex conjugate. The complex conjugate of *a* + *ib* is *a* - *ib*. For example, the conjugate of *2 + 3i* is *2 - 3i*. It is a simple fact that the product of a complex number and its conjugate is always a real number. If *z* is a complex number then its conjugate is denoted by . Symbolically if

- z = a + ib

then,

The conjugate of *3 - 9i* is *3 + 9i*.

The conjugate of *100* is *100*.

The conjugate of *9i - 20* is *-20 - 9i*.

**Conjugate laws**

Here are a few simple rules regarding the complex conjugate

and

The above laws simply says that the sum of conjugates equals the conjugate of the sum; and similarly, the conjugate of the product equals the product of the conjugates.

Consider this example:

and we can see that

which equals to

This confirms the addition conjugate law.

### Exercise[edit]

- Convince yourself that the multiplication law is also true.

## The complex root[edit]

Now that you are equipped with all the basics of complex numbers, you can tackle the more advanced topic of root finding.

Consider the question:

Express *w* in the form of *a + ib*.

That is easy enough.

Solve (1) and (2) simultaneously to work out *a* and *b*.

Observe that if, after solving for *a* and *b*, we replace them with -*a* and -*b* respectively, then they would still satisfy the two simultaneous equations above, we can see that (as expected) if *w* = *a* + *ib* satisfies the equation *w*^{2} = *z*, then so will *w* = -(*a* + *ib*). With real numbers, we always take the non-negative answer and call the solution . However, since there is no notion of "greater than" or "less than" with complex numbers, there is no such choice of . In fact, which square root to take as "the" value of depends on the circumstances, and this choice is very important to some calculations.

### info -- Finding the square root[edit]

Finding the root of a real number is a very difficult problem to start with. Most people have no hope of finding a close estimate of without the help of a calculator. The modern method of approximating roots involves an easy to understand and ingenius piece of mathematics called the Taylor series expansion. The topic is usually covered in first year university maths as it requires an elementary understanding of an important branch of mathematics called calculus.

The Newton-Raphson method of root finding is also used extensively for this purpose.

Now consider the problem

Express *w* in the form of "*a* + *ib*".

Using the methodology developed above we proceed as follows,

It turns out that the simultaneous equations (1) & (2) are hard to solve. Actually, there is an easy way to calculate the roots of complex numbers called the De Moivre's theorem, it allows us to calculate the *n*th root of any complex number with ease. But to set the method, we need understand the geometric meaning of a complex number and learn a new way to *represent* a complex number.

### Exercises[edit]

- Find (3 + 3i)
^{1/2} - Find (1 + 1i)
^{1/2} - Find i
^{1/3}

## The complex plane[edit]

### Complex numbers as ordered pairs[edit]

It is worth noting, at this point, that every complex number, *a* + *bi*, can be completely specified with exactly two real numbers: the *real part* *a*, and the *imaginary part* *b*. This is true of *every* complex number; for example, the number 5 has real part 5 and imaginary part 0, while the number 7*i* has real part 0 and imaginary part 7. We can take advantage of this to adopt an alternative scheme for writing complex numbers: we can write them as ordered pairs, in the form *(a, b)* instead of *a+bi*.

These should look familiar: they are exactly like the ordered pairs we use to represent points in the plane. In fact, we can use them that way; the plane which results is called the *complex plane*. We refer to its x axis as the *real axis*, and to its y axis as the *imaginary axis*.

### The complex plane[edit]

We can see from the above that a single complex number is a point in the complex plane. We can also represent *sets* of complex numbers; these will form *regions* on the plane. For example, the set

is a square of edge length 2 centered at the origin (See following diagram).

### Complex-valued functions[edit]

Just as we can make functions which take *real* values and output *real* values, so we can create functions from complex numbers to real numbers, or from complex numbers to complex numbers. These latter functions are often referred to as *complex-valued* functions, because they evaluate to (output) a complex number; it is implicit that their argument (input) is complex as well.

Since complex-valued functions map complex numbers to other complex numbers, and we have already seen that complex numbers correspond to points on the complex plane, we can see that a complex-valued function can turn regions on the complex plane into other regions. A simple example: the function

takes a point in the complex plane and shifts it up by 1. If we apply it to the set of points making up the square above, it will move the entire square up one, so that it "rests" on the x-axis.

{To make more complicated examples, I will first have to go back and introduce the polar representation of complex numbers. Makes for much more interesting functions, :-) You can use the diagrams below or modify them to make new diagrams. I will make links to these diagrams in other places in Wikibooks:math. In the 2nd diagram showing the point, r=4 and theta= 50 degrees. These types of diagrams can be used to introduce phasors, which are notations for complex numbers used in electrical engineering.}

## de Moivre's Theorem[edit]

For example, say we have . We may now write this in polar form,

Using de Moivre's theorem, we can deduce,

etc.

## Complex root of unity[edit]

The complex roots of unity to the nth degree is the set of solutions to the equation . Clearly they all have magnitude 1. They form a cyclic group under multiplication. For any given , there are exactly many of them, and they form a regular n-gon in the complex plane over the unit circle.

A closed form solution can be given for them, by use of Euler's formula:

The sum of the th roots of unity is equal to 0, except for , where it is equal to 1.

The product of the th roots of unity alternates between -1 and 1.

## Problem set[edit]