# HSC Extension 1 and 2 Mathematics/4-Unit/Complex numbers

This topic introduces the complex number system from both an algebraic and a geometric point of view. The underlying idea is the introduction of a number ${\displaystyle i\,}$ such that ${\displaystyle i\,}$ and ${\displaystyle -i\,}$ are the two solutions of the quadratic,

${\displaystyle x^{2}+1=0\,}$

Multiples of ${\displaystyle i\,}$ are called pure imaginary numbers, and numbers which can be expressed as ${\displaystyle a+bi\,}$ (where ${\displaystyle a\,}$ and ${\displaystyle b\,}$ are real numbers) are called complex numbers. (This means that all real numbers are also complex numbers.) Algebraic manipulation of complex numbers follows all the standard algebraic rules, with the further rule that

${\displaystyle i^{2}=-1\,}$

which allows algebraic simplifications.

## Anatomy of a complex number

Diagram of a point on the argand (complex) plane, showing the polar and cartesian forms

### Real and Imaginary parts

All complex numbers can be written in the form ${\displaystyle a+ib}$ where ${\displaystyle a}$ and ${\displaystyle b}$ are real numbers. In this form, the real part is ${\displaystyle a}$ and the imaginary part is ${\displaystyle b}$. The real part of a complex number ${\displaystyle z}$ is usually denoted ${\displaystyle {\mbox{Re}}(z)}$, and the imaginary part ${\displaystyle {\mbox{Im}}(z)}$.

### Geometrical representation of complex numbers as a vector (Modulus-argument form)

It is sometimes useful to represent a complex number as a vector. If ${\displaystyle z=x+iy\,}$, one can plot a point on the number plane at ${\displaystyle (x,y)\,}$. The vector from the origin to the point ${\displaystyle (x,y)\,}$ can also be described in terms of the magnitude, or modulus (i.e., the distance from the origin to the point) — denoted ${\displaystyle |z|\,}$ — and the angle or argument (i.e., the angle the line through the origin and the point makes with the ${\displaystyle x}$-axis) — denoted ${\displaystyle \arg z}$. The modulus is usually called ${\displaystyle r}$, and the argument ${\displaystyle \theta }$. The complex number ${\displaystyle z=x+iy\,}$ can then be expressed in the form ${\displaystyle z=r(\cos \theta +i\sin \theta )\,}$, where ${\displaystyle r={\sqrt {x^{2}+y^{2}}}}$ and ${\displaystyle \theta =\tan ^{-1}{\frac {y}{x}}}$ (WRONG: see discussion). This is known as modulus-argument form and is often abbreviated to ${\displaystyle z=r{\mbox{cis}}\theta \,}$.

## Algebra on complex numbers

This topic requires you to frequently deal algebraically with complex numbers. In order to do this, you must be familiar with the following (which you can read about on Wikipedia's complex number page):

• Definition of equality of complex numbers, and equating co-efficients
• Addition, subtraction, and multiplication of complex numbers
• The conjugate of a complex number, including its algebraic simplifications. You should try to prove some of these properties, by using the forms ${\displaystyle z=x+iy\,}$ and ${\displaystyle {\overline {z}}=x-iy}$
• Dealing with complex fractions algebraically

#### Negative square roots in the quadratic formula

Complex numbers allow us to use the quadratic formula to solve all quadratics, even where the square root is negative. Consider the following quadratic equation, which has no real solutions:

${\displaystyle x^{2}+x+1=0\,}$

{\displaystyle {\begin{aligned}x&={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}\\&={\frac {-1\pm {\sqrt {-3}}}{2}}\end{aligned}}}

We deal with the negative square root as follows:

{\displaystyle {\begin{aligned}{\sqrt {-3}}&={\sqrt {3\times (-1)}}\\&={\sqrt {3}}\times {\sqrt {-1}}\end{aligned}}}

However, note that

${\displaystyle {\sqrt {-1}}\neq i\,}$

but rather

${\displaystyle {\sqrt {-1}}=\pm i\,}$

so we continue with the quadratic formula:

{\displaystyle {\begin{aligned}x&={\frac {-1\pm {\sqrt {-3}}}{2}}\\&={\frac {-1\pm ({\sqrt {3}}\times {\sqrt {-1}})}{2}}\\&={\frac {-1\pm ({\sqrt {3}}\times (\pm i))}{2}}\\&={\frac {-1\pm {\sqrt {3}}i}{2}}\\&={\frac {-1}{2}}\pm {\frac {\sqrt {3}}{2}}i\end{aligned}}}

The last form is preferred, because it completely separates the real and imaginary parts in the equation. Note that normally, the detail shown here is not required; you are expected to skip from the first to the fourth line in the above working.

##### ${\displaystyle {\sqrt {-1}}\,}$ is not unique

Although pointing out

${\displaystyle {\sqrt {-1}}\neq i\,}$

may seem pedantic, it is an important thing to realise and be aware of. In the real number system, ${\displaystyle x={\sqrt {a}}}$ is defined to be the positive solution (for ${\displaystyle x}$) to

${\displaystyle x^{2}-a=0\,}$

in the complex number system, there is no useful sense of positive-ness or negative-ness, so the square root cannot be uniquely defined. For all intents and purposes, ${\displaystyle i\,}$ could be defined to be 'the other' root of ${\displaystyle x^{2}+1=0}$, and dealing with complex numbers wouldn't change.

For a solid example of why it is wrong to outright say ${\displaystyle {\sqrt {-1}}=i\,}$, consider:

${\displaystyle 1={\sqrt {1}}={\sqrt {(-1)\times (-1)}}={\sqrt {-1}}\times {\sqrt {-1}}=i^{2}=-1}$

The mistake lies in

• mixing the real number (unique) definition of ${\displaystyle {\sqrt {x}}}$ with the complex number (non-unique) definition
• assuming ${\displaystyle {\sqrt {-1}}=i\,}$. If we didn't assume this, then we could write
${\displaystyle {\sqrt {-1}}\times {\sqrt {-1}}=(\pm i)\times (\pm i)=\pm i^{2}=\pm 1\,}$
which at least contains the right answer.

#### Complex square roots

You should be able to solve equations like

${\displaystyle z^{2}=1+i\,}$

To do this, we first let

${\displaystyle z=a+ib\,}$

and then

{\displaystyle {\begin{aligned}(a+ib)^{2}&=1+i\\a^{2}+2aib+(ib)^{2}&=1+i\\a^{2}+2aib+i^{2}b^{2}&=1+i\\a^{2}+2abi-b^{2}&=1+i\\\end{aligned}}}

In order for two complex numbers to be equal, their complex part and their real part must be equal. Therefore, we can equate the coefficients of i (the complex coefficients) and the real numbers separately. From this, we can solve for a and b:

Real Part: ${\displaystyle a^{2}-b^{2}=1}$

Imaginary Part: ${\displaystyle 2ab=1}$

Soving:

{\displaystyle {\begin{aligned}b&={\frac {1}{2a}}\\a^{2}-\left({\frac {1}{2a}}\right)^{2}&=1\\a^{4}-a^{2}-{\frac {1}{4}}&=0\\\left(a^{2}\right)^{2}-\left(a^{2}\right)-{\frac {1}{4}}&=0\\a^{2}&={\frac {1\pm {\sqrt {2}}}{2}}\\\end{aligned}}}

But ${\displaystyle a}$ is real, so ${\displaystyle a^{2}}$ is positive.

{\displaystyle {\begin{aligned}a^{2}&={\frac {1+{\sqrt {2}}}{2}}\\a&=\pm {\sqrt {\frac {1+{\sqrt {2}}}{2}}}\\b&={\frac {1}{2a}}=\pm {\sqrt {\frac {1}{2+2{\sqrt {2}}}}}\\z&=a+ib\\&=\pm \left({\sqrt {\frac {1+{\sqrt {2}}}{2}}}+{\sqrt {\frac {1}{2+2{\sqrt {2}}}}}i\right)\end{aligned}}}

We have two solutions for ${\displaystyle z}$, which makes sense, since quadratic expressions have two roots. We can verify that ${\displaystyle z^{2}=1+i}$ by squaring it (which is left as an exercise for the reader).