# Complex number

Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
Citable Version  [?]

This editable Main Article has an approved citable version (see its Citable Version subpage). While we have done conscientious work, we cannot guarantee that this Main Article, or its citable version, is wholly free of mistakes. By helping to improve this editable Main Article, you will help the process of generating a new, improved citable version.

Complex numbers are numbers of the form ${\displaystyle \scriptstyle a+b\cdot i}$, where ${\displaystyle a}$ and ${\displaystyle b}$ are real numbers and ${\displaystyle i}$ denotes a number satisfying ${\displaystyle \scriptstyle i^{2}=-1}$.[1] Of course, since the square of any real number is nonnegative, ${\displaystyle i}$ cannot be a real number. At first glance, it is not even clear whether such an object exists and can be reasonably called a number; for example, can we sensibly associate with ${\displaystyle i}$ natural operations such as addition and multiplication? As it happens, we can define mathematical operations for these "complex numbers" in a consistent and sensible way and, perhaps more importantly, using complex numbers provides mathematicians, physicists, and engineers with an extremely powerful approach to expressing parts of these sciences in a convenient and natural way.

## Historical Development

A common complaint among math students is why they must bother with complex numbers when real numbers almost always seem sufficient for applications. Indeed, many familiar real world quantities, such as distance, temperature, and time are best described using real numbers. In contrast, although there are many physical situations which are mostly aptly described with complex numbers, most of these situations require some relatively sophisticated knowledge of physics, and the phenomena which they describe are more abstruse than distance, temperature, or time.

Many modern students first encounter complex numbers when solving quadratic equations, which can have complex number solutions. This presentation is historically misleading — the quadratic formula precedes recognition of the utility of complex numbers by many centuries. The ancients could simply dismiss quadratic equations whose solutions involve complex numbers as having no real roots.

The need for complex numbers might have appeared for the first time during the sixteenth century, when Italian mathematicians like Scipione del Ferro, Niccolò Fontana Tartaglia, Gerolamo Cardano and Rafael Bombelli tried to solve cubic equations. Even for equations with three real solutions, the method they used sometimes required calculations with numbers whose squares are negative. A historical example of this can be found on the "advanced" subpage for this article.

In modernity, complex numbers form the basis for the mathematical models of many physical phenomena, including electro-magnetism and quantum mechanics. Even so, it is still often difficult to find examples where an equivalent mathematical model cannot be formulated using pairs of real numbers instead.

## Working with complex numbers

As a first step in giving some legitimacy to the "number" ${\displaystyle \scriptstyle {\sqrt {-1}}}$, we will explain how to compute with it. How do you add, multiply and divide expressions with this number? It turns out that this is not that difficult; the main rule to keep in mind is that the square of ${\displaystyle \scriptstyle {\sqrt {-1}}}$ equals ${\displaystyle \scriptstyle -1}$.

In the remainder of the article, we will use the letter ${\displaystyle i}$ to denote one solution of the equation ${\displaystyle \scriptstyle i^{2}=-1}$, where we previously used ${\displaystyle \scriptstyle {\sqrt {-1}}}$.[2] With this convention, all complex numbers can be written as ${\displaystyle a+bi}$, where ${\displaystyle a}$ and ${\displaystyle b}$ are real numbers. We call ${\displaystyle a}$ the real part of the complex number and ${\displaystyle b}$ the imaginary part. The complex number ${\displaystyle a+0\cdot i}$ whose imaginary part is zero is considered to be the same thing as the real number ${\displaystyle a}$.

### Basic operations

Addition of complex numbers is straightforward, ${\displaystyle \scriptstyle (a+b\cdot i)+(c+d\cdot i)=(a+c)+(b+d)\cdot i.}$ The result is again a complex number.

Multiplication is more interesting. Suppose we want to compute ${\displaystyle \scriptstyle (a+b\cdot i)\cdot (c+d\cdot i)}$. Using ${\displaystyle \scriptstyle i^{2}=-1}$, we can rewrite this product in a form which clearly shows it to be another complex number:

${\displaystyle (a+b\cdot i)\cdot (c+d\cdot i)=a\cdot c+a\cdot d\cdot i+b\cdot c\cdot i+b\cdot d\cdot i^{2}=(a\cdot c-b\cdot d)+(b\cdot c+a\cdot d)i.\ }$

To handle division, we simply note that ${\displaystyle (c+d\cdot i)\cdot (c-d\cdot i)=c^{2}+d^{2}}$, so, provided that c and d are not simultaneously zero,

${\displaystyle {\frac {1}{c+d\cdot i}}={\frac {c-d\cdot i}{c^{2}+d^{2}}},}$

from which it follows that

${\displaystyle {\frac {a+b\cdot i}{c+d\cdot i}}={\frac {(a\cdot c+b\cdot d)+(b\cdot c-a\cdot d)i}{c^{2}+d^{2}}}.}$

If ${\displaystyle c=d=0}$ then division by ${\displaystyle c+d\cdot i}$ is not defined.

Going a bit further, we can introduce the important operation of complex conjugation. Given an arbitrary complex number ${\displaystyle z=x+y\cdot i}$, we define its complex conjugate to be ${\displaystyle \scriptstyle {\bar {z}}=x-y\cdot i}$. Using the identity ${\displaystyle (a+b)\cdot (a-b)=a^{2}-b^{2}}$ we derive the important formula

${\displaystyle z{\bar {z}}=x^{2}+y^{2}}$

and we define the modulus of a complex number z to be

${\displaystyle |z|={\sqrt {z{\bar {z}}}}}$

Note that the modulus of a complex number is always a nonnegative real number. The modulus (also called absolute value) satisfies three important properties that are completely analogous to the properties of the absolute value of real numbers

• ${\displaystyle |z|\geq 0}$; furthermore, ${\displaystyle |z|=0}$ if and only if ${\displaystyle z=0}$
• ${\displaystyle |z_{1}z_{2}|=|z_{1}||z_{2}|\ }$
• ${\displaystyle |z_{1}+z_{2}|\leq |z_{1}|+|z_{2}|}$

The last inequality is known as the triangle inequality.

### The complex exponential

Recall that in real analysis, the ordinary exponential function may be defined as

${\displaystyle e^{x}=1+x+{\frac {x^{2}}{2!}}+{\frac {x^{3}}{3!}}+\cdots }$

The same series may be used to define the complex exponential function

${\displaystyle e^{z}=1+z+{\frac {z^{2}}{2!}}+{\frac {z^{3}}{3!}}+\cdots }$

(where, of course, convergence is defined in terms of the complex modulus, instead of the real absolute value).

The complex exponential has the same multiplicative property that holds for real numbers, namely

${\displaystyle e^{z_{1}+z_{2}}=e^{z_{1}}e^{z_{2}}\ }$

The complex exponential function has the important property that

${\displaystyle e^{i\theta }=\cos \theta +i\sin \theta \ }$

as may be seen immediately by substituting ${\displaystyle z=i\theta }$ and comparing terms with the usual power series expansions of ${\displaystyle \sin \theta }$ and ${\displaystyle \cos \theta }$.

The familiar trigonometric identity

${\displaystyle \sin ^{2}\theta +\cos ^{2}\theta =1\ }$

immediately implies the important formula

${\displaystyle |e^{i\theta }|=1}$, for any ${\displaystyle \theta \in \mathbb {R} .}$

Another way to establish this identity is to note that ${\displaystyle \scriptstyle {\overline {e^{i\theta }}}=e^{-i\theta }}$, so

${\displaystyle |e^{i\theta }|^{2}=e^{i\theta }e^{-i\theta }=e^{0}=1.\ }$

### Geometric interpretation

Graphical representation of a complex number and its conjugate

Since a complex number ${\displaystyle z=x+iy}$ is specified by two real numbers, namely ${\displaystyle x}$ and ${\displaystyle y}$, it can be interpreted as the point ${\displaystyle (x,y)}$ in the plane. When complex numbers are represented as points in the plane, the resulting diagrams are known as Argand diagrams, after Robert Argand. The geometric representation of complex numbers turns out to be very useful, both as an aid to understanding the properties of complex numbers and as a tool in applying complex numbers to geometrical and physical problems.

There are no real surprises when we look at addition and subtraction in isolation: addition of complex numbers is not essentially different from addition of vectors in ${\displaystyle \scriptstyle \mathbb {R} ^{2}}$. Similarly, if ${\displaystyle \scriptstyle \alpha \in \mathbb {R} }$ is real, multiplication by ${\displaystyle \alpha }$ is just scalar multiplication. In ${\displaystyle \scriptstyle \mathbb {C} }$ we have

${\displaystyle z_{1}+z_{2}=(x_{1}+iy_{1})+(x_{2}+iy_{2})=(x_{1}+x_{2})+i(y_{1}+y_{2})\ }$

and

${\displaystyle \alpha z=\alpha (x+i\cdot y)=\alpha x+i\alpha y.\,}$

To put it succinctly, ${\displaystyle \scriptstyle \mathbb {C} }$ is a 2-dimensional real vector space with respect to the usual operations of addition of complex numbers and multiplication by a real number. There doesn't seem to be much more to say. But there is more to say, and that is that the multiplication of complex numbers has geometric significance. This is most easily seen if we take advantage of the complex exponential, and write complex numbers in polar form

${\displaystyle z=r\cdot e^{i\theta }.}$

Here, r is simply the modulus ${\displaystyle \scriptstyle |z|={\sqrt {x^{2}+y^{2}}}}$ or vector length. The number ${\displaystyle \theta }$ is just the angle formed with the ${\displaystyle x}$-axis, and is called the argument satisfying the condition ${\displaystyle {\rm {tan\theta =y/x}}}$. Now, when complex numbers are written in polar form, multiplication is very interesting

${\displaystyle z_{1}z_{2}=(r_{1}e^{i\theta _{1}})(r_{2}e^{i\theta _{2}})=r_{1}r_{2}e^{i(\theta _{1}+\theta _{2})}.}$
Multiplication by ${\displaystyle i}$ amounts to rotation by 90 degrees

In other words, multiplication by a complex number ${\displaystyle z}$ has the effect of simultaneously scaling by the number's modulus and rotating by its argument. This is really astounding. For example, to multiply a given complex number ${\displaystyle z}$ by ${\displaystyle i}$ we need only to rotate ${\displaystyle z}$ by ${\displaystyle \pi /2}$ (that is, 90 degrees). Translation corresponds to complex addition, scaling to multiplication by a real number, and rotation to multiplication by a complex number of unit modulus. The one type of coordinate transformation that is missing from this list is reflection. On the other hand, there is an arithmetic operation we have not considered, and that is division. Recall that for non-zero ${\displaystyle z}$

${\displaystyle {\frac {1}{z}}={\frac {\bar {z}}{|z|^{2}}}.}$

Division of a complex number ${\displaystyle z_{1}}$ by a non-zero complex number ${\displaystyle z_{2}}$ can then be interpreted as multiplication of ${\displaystyle z_{1}}$ by ${\displaystyle {\frac {1}{z_{2}}}}$. This in turn corresponds to scaling of the modulus of ${\displaystyle z_{1}}$ by the inverse of the modulus of ${\displaystyle z_{2}}$ and a rotation of its argument by the negative of the argument of ${\displaystyle z_{2}}$. That is,

${\displaystyle {\frac {z_{1}}{z_{2}}}=z_{1}({\frac {1}{z_{2}}})={\frac {1}{|z_{2}|^{2}}}z_{1}{\overline {z_{2}}}={\frac {|z_{1}|}{|z_{2}|}}e^{i(\theta _{1}-\theta _{2})},}$

where ${\displaystyle \theta _{1},\theta _{2}}$ are the arguments of ${\displaystyle z_{1},z_{2}}$, respectively.

Returning to the representation of complex numbers in rectangular form, we note that complex conjugation is just the transformation (or map) ${\displaystyle \scriptstyle x+iy\;\mapsto \;x-iy}$ or, in vector notation, ${\displaystyle \scriptstyle (x,y)\;\mapsto \;(x,-y)}$. This is nothing other than reflection in the ${\displaystyle x}$-axis, and any other reflection may be obtained by combining that transformation with rotations and translations.

Historically, this observation was very important and led to the search for higher dimensional algebras that could "arithmetize" Euclidean geometry. It turns out that there are such generalizations in dimensions 4 and 8, known as the quaternions and octonions (also known as Cayley numbers). At that point, the process stops, but the ideas developed in this process have played an important role in the development of modern differential geometry and mathematical physics).

## Algebraic closure

An important property of the set of complex numbers is that it is algebraically closed. This means that any non-constant polynomial with complex coefficients has a complex root. This result is known as the Fundamental Theorem of Algebra.

This is actually quite remarkable. We started out with the real numbers. There are many polynomials with real coefficients that do not have a real root. We took just one of these, the polynomial ${\displaystyle x^{2}+1}$, and we introduced a new number, ${\displaystyle i}$, which is defined to be a root of the polynomial. Suddenly, all non-constant polynomials have a root in this new setting where we allow complex numbers.

There are many proofs of the Fundamental Theorem of Algebra. Many of the simplest depend crucially on complex analysis. But it is by no means necessary to rely on complex analysis here. A proof using field theory is alluded to at the very end of this article.

## Formal definition

We have been treating complex numbers very much like real numbers and found that they can be very useful, but we have not yet proven that they exist or that they can be used without running into contradictions. In fact, it is quite easy to go wrong when using complex numbers. Consider for instance the following computation:

${\displaystyle -1={\sqrt {-1}}\times {\sqrt {-1}}={\sqrt {(-1)\times (-1)}}={\sqrt {1}}=1.}$

This computation seems to show that ${\displaystyle -1}$ equals ${\displaystyle 1}$, which is nonsense. The point is that the second equality can not be applied. Positive real numbers satisfy the identity

${\displaystyle {\sqrt {a}}\times {\sqrt {b}}={\sqrt {a\times b}},}$

but this identity does not hold for negative real numbers, whose square roots are not real, because the square root symbol denotes only the positive solution to ${\displaystyle x^{2}=a}$.

One possibility to feel more secure when using complex numbers is to define them in terms of constructs which are better understood. This approach was taken by Hamilton, who defined complex numbers as ordered pairs of real numbers, that is,

${\displaystyle \mathbb {C} =\{(a,b)\colon a,b\in \mathbb {R} \}.}$

Addition and multiplication of such pairs can be defined as follows:

• addition: ${\displaystyle (a,b)+(c,d)=(a+c,b+d)}$
• multiplication: ${\displaystyle (a,b)(c,d)=(ac-bd,bc+ad)}$

The multiplication may look artificial, but it is inspired by the formula

${\displaystyle (a+b\cdot i)(c+d\cdot i)=(a\cdot c-b\cdot d)+(b\cdot c+a\cdot d)\cdot i.\ }$

which we derived before.

These definitions satisfy most of the basic properties of addition and multiplication of real numbers, and we can employ many formulas from the elementary algebra we are accustomed to. More specifically, it can easily be shown that addition and multiplication as defined above are commutative and associative, and that multiplication is distributive over addition; in other words, the sum (or the product) of two numbers does not depend on the order of terms;[3] the sum (product) of three or more elements does not depend on order of operations ('we can suppress the parentheses');[4] the product of a complex number with a sum of two other numbers expands in the usual way.[5] In mathematical language this means that with addition and multiplication defined this way, ${\displaystyle \mathbb {C} }$ satisfies the axioms for a field and is called the field of complex numbers.

Now we are ready to understand the 'real' meaning of ${\displaystyle i}$. Observe that the pairs of type (${\displaystyle a}$,0) are identical[6] to the set of reals, so we write ${\displaystyle (a,0)=a}$. Observe also that by definition ${\displaystyle (0,1)(0,1)=(-1,0)=-1}$. In other words, we can define ${\displaystyle i}$, the symbol we've been using, as the pair (0,1). In this way we have a way of indicating which one we mean of the two solutions of the equation ${\displaystyle i^{2}=-1}$; the other is now denoted (0,-1).

Another way to define the complex numbers comes from field theory. Because ${\displaystyle x^{2}+1}$ is irreducible in the polynomial ring ${\displaystyle \mathbb {R} [x]}$, the ideal generated by ${\displaystyle x^{2}+1}$ is a maximal ideal.[7] Therefore, the quotient ring ${\displaystyle \mathbb {C} =\mathbb {R} [x]/\left(x^{2}+1\right)}$ is a field. We can choose the polynomials of degree at most 1 as the representatives for the equivalence classes in this quotient ring. So in a sense, we can imagine that the dummy variable ${\displaystyle x}$ is the imaginary number ${\displaystyle i}$, and the elements of the quotient ring behave exactly the way we expect the complex numbers to behave. For example, ${\displaystyle x^{2}}$ is in the same equivalence class as ${\displaystyle -1}$, and so ${\displaystyle x^{2}=-1}$ in this quotient ring. (As a final comment in this analysis, we could next show that ${\displaystyle \mathbb {C} }$ has no finite extension and must therefore be algebraically closed.)

## Notes and references

1. This article follows the usual convention in mathematics and physics of using ${\displaystyle i}$ as the imaginary unit. Complex numbers are frequently used in electrical engineering, but in that discipline it is usual to use ${\displaystyle j}$ instead, reserving ${\displaystyle i}$ for electrical current. This usage is found in some programming languages too, notably Python.
2. Part of the reason for not using ${\displaystyle {\sqrt {-1}}}$ is that the symbol ${\displaystyle {\sqrt {a}}}$ (or ${\displaystyle {\sqrt[{n}]{a}}}$) with ${\displaystyle a\in \mathbb {C} }$ is sometimes used to denote the set of complex roots of ${\displaystyle a}$, i.e., the set of the solutions of the equation ${\displaystyle x^{2}=a}$ (${\displaystyle x^{n}=a}$ respectively). The set contains 2 (${\displaystyle n}$, respectively) "equally important" elements and there is no canonical way to distinguish a "representative". Consequently, no computations are performed using this symbol.
3. that is, the addition (multiplication) is commutative
4. This is called associativity
5. In other words, multiplication is distributive over addition
6. i.e., isomorphic, which basically means that the mapping ${\displaystyle \mathbb {C} \ni (a,0)\mapsto a\in \mathbb {R} ,}$ preserves the addition and multiplication.
7. An ideal ${\displaystyle I=\left(f(x)\right)}$ in a polynomial ring over a field is maximal if and only if ${\displaystyle f(x)}$ is irreducible over the field.