Complex numbers are numbers of the form , where and are real numbers and denotes a number satisfying . Of course, since the square of any real number is nonnegative, 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 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-feeling way.
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. Here is such an example (with modern notation). Let us consider the equation
Cardano's method for solving it suggests looking for a solution by writing it as a sum , where another condition on and is to be decided later. Recording this in the equation, we have, once the left member is expanded,
which can be written as
Now we recall that we did not completely specify and ; we only required that . Hence, we can choose another condition on and . We pick this condition to be , or , in order to simplify the above equation. This implies that and are numbers whose sum and product are given by
It follows from the second equation that . Substituting this in the first equation, we get . Hence we may find some values for by solving the equation . Get rid of the brackets and move the number 125 to the left-hand side to get the quadratic equation
Its discriminant is , which is negative, so that the quadratic equation has no real solution: the usual formulae giving the solutions require taking the square root of the discriminant, which is undefined here.
Well, let us be bold and write . Here, the symbol denotes an hypothetical number whose square would be At this stage, such a number has no meaning (squares of real numbers are always nonnegative), but we use it in a purely formal way. Using this symbol, we can write the "solutions" to the quadratic equation as
It remains to find cube roots of these "numbers". A straightforward calculation shows that and do the job. For instance, remembering the rule , we have
But now, going back to the original cubic equation, we get the real solution . One can verify it is indeed a solution, as . And once this solution is found, it is easy to find the two other solutions , which are also real.
The fact that the formal calculations managed to give a real solution suggests that the "number" may have some sense. But to really give it a legitimate status, one has to construct a new set of numbers, containing the real numbers, but also other numbers whose squares may be negative real numbers. This will be the set of complex numbers. A rigorous construction of this set as pairs of real numbers was given much later by William Rowan Hamilton in 1837; this construction is explained later in this article.
Working with complex numbers
As a first step in giving some legitimacy to the "number" , 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 equals .
In the remainder of the article, we will use the letter to denote one solution of the equation , where we previously used . With this convention, all complex numbers can be written as , where and are real numbers. We call the real part of the complex number and the imaginary part. Complex numbers whose imaginary part is are of the form . In this way, the real number is considered as the complex number whose imaginary part is zero.
Addition of complex numbers is straightforward, The result is again a complex number.
Multiplication is more interesting. Suppose we want to compute . Using , we can rewrite this product in a form which clearly shows it to be another complex number:
To handle division, we simply note that , so
from which it follows that
Going a bit further, we can introduce the important operation of complex conjugation. Given an arbitrary complex number , we define its complex conjugate to be . Using the identity we derive the important formula
and we define the modulus of a complex number z to be
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
- ; furthermore, if and only if
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
The same series may be used to define the complex exponential function
(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
The complex exponential function has the important property that
as may be seen immediately by substituting and comparing terms with the usual power series expansions of and .
The familiar trigonometric identity
immediately implies the important formula
- , for any
Of course, there is no reason to assume this identity. We only need note that , so
Since a complex number is specified by two real numbers, namely and , it can be interpreted as the point 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 . Similarly, if is real, multiplication by is just scalar multiplication. In we have
To put it succintly, 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
Here, r is simply the modulus or vector length. The number is just the angle formed with the -axis, and is called the argument. Now, when complex numbers are written in polar form, multiplication is very interesting
In other words, multiplication by a complex number 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 by we need only to rotate by (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
In other words, up to a scaling factor, division of one by is just complex conjugation. Returning to the representation of complex numbers in rectangular form, we note that complex conjugation is just the transformation (or map) or, in vector notation, . This is nothing other than reflection in the -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).
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 , and we introduced a new number, , 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.
Complex numbers in physics
Complex numbers appear everywhere in mathematical physics, but one area where the role of complex numbers is especially difficult to ignore is in quantum mechanics. There are a number of ways of formulating the basic laws of quantum mechanics, but here we consider just one: the Schrödinger equation, discovered by Erwin Schrödinger in 1926. In rectangular coordinates, it may be written
is known as the Laplacian operator and is the potential function. (As a practical example, the potential function might represent the attractive force per unit mass between the nucleus of a hydrogen atom and an electron). Now, there is some subtlety in the interpretation of because a system can be affected by observation, and the functions we "see" must be eigenstates of the operator defined by the Schrödinger equation, but when we do measure, say, the position of a particle, the probability of finding it in a small region is just
This all shows that complex numbers behave very much like real numbers and that they can be very useful, but it does not prove that they exist. In fact, it is quite easy to go wrong when using complex numbers. Consider for instance the following computation:
This computation seems to show that equals , which is nonsense. The point is that the second equality can not be applied. Positive real numbers satisfy the identity
but this identity does not hold for negative real numbers, whose square roots are not real.
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,
Such pairs can be added and multiplied as follows
The multiplication may look artificial, but it is inspired by the formula
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, the sum (or the product) of two numbers does not depend on the order of terms; the sum (product) of three or more elements does not depend on order of operations ('we can suppress the parentheses'); the product of a complex number with a sum of two other numbers expands in the usual way. In mathematical language this means that with addition and multiplication defined this way, satisfies the axioms for a field and is called the field of complex numbers.
Now we are ready to understand the 'real' meaning of . Observe that the pairs of type (,0) are identical to the set of reals, so we write . Observe also that by definition . In other words, we can define , the number satisfying , as the pair (0,1).
Another way to define the complex numbers comes from field theory. Because is irreducible in the polynomial ring , the ideal generated by is a maximal ideal. Therefore, the quotient ring 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 is the imaginary number , and the elements of the quotient ring behave exactly the way we expect the complex numbers to behave. For example, is in the same equivalence class as , and so in this quotient ring. (As a final comment in this analysis, we could next show that has no finite extension and must therefore be algebraically closed.)
Notes and references
- This article follows the usual convention in mathematics and physics of using as the imaginary unit. Complex numbers are frequently used in electrical engineering, but in that discipline it is usual to use instead, reserving for electrical current. This usage is found in some programming languages too, notably Python.
- Part of the reason for not using is that the symbol (or ) with is sometimes used to denote the set of complex roots of , i.e., the set of the solutions of the equation ( respectively). The set contains 2 (, respectively) "equally important" elements and there is no canonical way to distinguish a "representative". Consequently, no computations are performed using this symbol.
- that is, the addition (multiplication) is commutative
- This is called associativity
- In other words, multiplication is distributive over addition
- i.e., isomorphic, which basically means that the mapping preserves the addition and multiplication.
- although we should be careful about giving this particular definition too much credit: after all, the number has exactly the same property!
- An ideal in a polynomial ring over a field is maximal if and only if is irreducible over the field.