Definition
Set of all complex numbers

, where

A complex number is any number of the form

where are real numbers and is the imaginary unit. The set of complex numbers, denoted C or , is a field under the operations of addition, multiplication, and exponentiation defined as follows:

This means that these complex-number operations are commutative, associative and distributive in the same way as their real-number counterparts.

Note that the final expression above is the result of multiplying out the left hand side in the usual way (using the FOIL method) and simplifying using the fact that (see Imaginary unit).

It is easily seen that the set of real numbers R is a subset of the set of complex numbers C, since every real number is equal to a complex number with the imaginary part equals 0:

All purely imaginary numbers are also complex, since

The complex numbers can also be thought of as a two-dimensional vector space over the real numbers, with basis vectors 1 (one, the real unit) and (the imaginary unit). In this case, a complex number may be written as:

## Number lines and rectangular form

If the real numbers have a real number line, and the imaginary numbers have their own number line, these two number lines can be interpreted as being perpendicular to one another.

These perpendicular lines form axes in a Cartesian coordinate system where all complex numbers lie somewhere on the plane.

In this fashion, the real value of magnitude forms the x-coordinate and the imaginary value of magnitude forms the y-coordinate. This way, all complex numbers exist somewhere on the complex number plane at coordinate loci , which equates to a simple numeric value of .

## Polar form

Since all coordinates on a rectangular coordinate plane can be interpreted using the polar coordinate system, all complex numbers can also be interpreted in terms of a polar coordinate set and using the trigonometric based function cis.

In this way:

Where:

## Matrix representations

The complex number can also be represented as matrices of the form , where are real numbers. The complex conjugate will simply be the transpose of the matrix.

As a vector space composed of the span of the real and imaginary units over the real numbers, the following subspace can be shown to be a field, and moreover, isomorphic to  :

Where the isomorphism is given by

## Operations of complex numbers

### Division

Given two complex numbers, and , they can be divided my multiplying the numerator and denominator by the complex conjugate of the denominator as follows:

Because division of a complex number by another complex number always results in another complex number, the complex field is also closed over division.

This formula also allows us to take the reciprocal of complex numbers.

As a corollary,

### Exponentiation

As previously mentioned, complex numbers can be raised to powers by the binomial theorem. However, it is much simpler in polar form. By De Moivre's formula,

or, written another way,

### Logarithms

Since any complex number can be represented as , the logarithm of a complex number is simply

Since negative numbers can be represented by complex numbers with an argument of , logarithms of negative numbers can be defined.