Complex number

A **complex number** is a number, but is different from common numbers in many ways. A complex number is made up using two numbers combined. The first part is a real number, and the second part is an imaginary number. The most important imaginary number is called i, defined as a number that will be -1 when squared ("squared" means "multiplied by itself"): i^2 = i \times i = -1\ . All other imaginary numbers are i multiplied by a real number, in the same way that all real numbers can be thought of as 1 multiplied by another number. Arithmetic functions such as addition, subtraction, multiplication, and division can also be performed with complex numbers. They follow commutative, associative and distributive properties, just like real numbers. The set of complex numbers is often represented using the symbol \mathbb{C}.

Complex numbers were discovered while attempting to solve special equations that have exponents in them. These equations began to pose problems for mathematicians. As a comparison, using negative numbers, it is possible to find the *x* in the equation a + x = b for all real values of *a* and *b*, but if only positive numbers are allowed for *x*, it is sometimes impossible to find a positive *x*, as in the equation 3+x=1.

With exponentiation, there is a difficulty to be overcome. There is no real number that gives −1 when it is squared. In other words, −1 (or any other negative number) has no real square root. For example, there is no real number x that solves the equation (x+1)^2=-9. To solve this problem, mathematicians introduced a symbol *i* (I representing the square root of -1) and called it the *imaginary unit*. This is the imaginary number that will give −1 when it is squared.

The first mathematicians to have thought of this were probably Gerolamo Cardano and Rafael Bombelli. They lived in the 16th century. It was probably Leonhard Euler who introduced writing \mathrm i for that number.

All complex numbers can be written as a + bi (or a + b \cdot i), where *a* is called the *real part* of the number, and *b* is called the *imaginary part*. We write \Re (z) or \operatorname{Re}(z) for the real part of a complex number z. So, if z = a + bi, we write a = \Re (z) = \operatorname{Re} (z). Similarly, we write \Im (z) or \operatorname{Im} (z) for the imaginary part of a complex number z; b = \Im (z) = \operatorname{Im} (z), for the same . Every real number is also a complex number; it is a complex number  with \Im (z) = 0.

A complex number can also be written as an ordered pair (a,b), where both *a* and *b* are real numbers. Any real number can simply be written as a + 0 \cdot i, or as the pair (a,0).

Sometimes, j is written instead of i. In electrical engineering for instance, i means electric current so j is used instead of i, to avoid confusion as some complex numbers are often utilised in electrical engineering.

## Operations over complex numbers
Addition, subtraction, multiplication and exponentiation (raising numbers to exponents) are all possible with complex numbers. Division is also possible with complex numbers, as long as the divisor is not zero. Some other calculations are also possible with complex numbers.

The rule for addition and subtraction of complex numbers is pretty simple:

Let  z = (a + bi), w = (c + di), then z + w = (a + bi) + (c + di) = (a + c) + (b + d)i, and z - w = (a + bi) - (c + di) = (a - c) + (b - d)i.

Multiplication is a bit different:

z \cdot w = (a + bi)(c + di) = ac + bci + adi + bdi^2 = (ac - bd) + (bc + ad)i.

Another notable operation for complex numbers is *conjugation*. A complex conjugate \overline{z} to z = a + bi is a - bi.
It is pretty simple, but is important for calculations, because z \times \overline{z} is actually a real number for *all* complex z:

z\bar{z}=(a+bi)(a-bi)=(a^2+b^2)+(ab-ab)i=a^2+b^2.

Because of that, we can use it to do division:

\frac{1}{z}=\frac{\bar{z}}{z\bar{z}}=\frac{a-bi}{a^2+b^2}=\frac{a}{a^2+b^2}-\frac{b}{a^2+b^2}i

\frac {w}{z}= w(\frac {1}{z})= (c+di)\cdot \left(\frac{a}{a^2+b^2} -\frac{b}{a^2+b^2}i\right)= \frac{1}{a^2+b^2}\left((cx+dy)+(dx-cy)i\right).

## Other forms of describing complex numbers
Complex numbers can be shown on a so-called complex plane. If you have a number z = a + bi, you can go to point *a* on the real axis and point *b* on the imaginary axis, and draw a vector from (0, 0) to (a, b). The length of this vector can be calculated using the Pythagorean theorem, and the angle of this vector is simply the angle between the positive real axis and this vector—going counterclockwise. The length of a vector for a number z is called its **modulus** or **absolute value** (written as |z|), and the angle is called its **argument** (\arg z).
, representing the complex plane.]]
This leads to the **trigonometrical form** of describing complex numbers: by the definitions of sine and cosine, it follows that for all z:

z = |z|(\cos \arg z + i \sin \arg z).

This is closely connected to De Moivre's formula.

There exists even another form, called **exponential form**.

## Conclusion
With the introduction of complex numbers to math, every polynomial with complex coefficients has roots in complex numbers. This introduction also helped to open a path to the creation of another kind of numbers, which could help resolve and explain many different problems. These include the hypercomplex numbers, sedenion, hyperreal numbers, surreal numbers and many others. For more, see types of numbers.

## Related pages 
* Complex plane
* Mandelbrot set
* Riemann sphere

## References 
## Other websites 
* A search for *complex number* at Wikibooks