In math, the **imaginary unit** (written as **{\displaystyle i}**) is a mathematical constant that only exists outside of the real numbers and is used in algebra. When we multiply the imaginary unit by a real number, we call the result an imaginary number. Though imaginary numbers can be used to solve a lot of mathematical problems, they cannot be represented by an amount of real life objects.

History
-------

Imaginary units were invented to answer the polynomial equation {\displaystyle x^{2}+1=0}, which normally has no solution (see below). The term "imaginary" comes from by René Descartes and was meant to be insulting as, like zero and negative numbers at other times in history, imaginary numbers were thought to be useless as they are not natural. It wasn't until later centuries that the work of mathematicians like Leonhard Euler, Augustin-Louis Cauchy and Carl Friedrich Gauss would prove that imaginary numbers were very important for some areas of algebra.

Definition
----------

A common rule for multiplying and dividing numbers is that if the signs are different then the result is negative (e.g. {\displaystyle 4\times -3=-12}), but if both numbers have the same sign then the result will be positive (e.g. {\displaystyle 5\times 6=30} and {\displaystyle -10\times -10=100}). However, this leads to problems with square root numbers of negatives, as two negative numbers will always make a positive number:

{\displaystyle 2\times 2=2^{2}=4}
so {\displaystyle {\sqrt {4}}=2}
but {\displaystyle {\sqrt {-4}}\neq -2}
as {\displaystyle -2\times -2=(-2)^{2}=4}
To fill in this value gap the imaginary unit was made, which is defined as {\displaystyle i={\sqrt {-1}}} and {\displaystyle i\times i=i^{2}=-1}. Using imaginary numbers we can solve our last example:

{\displaystyle 2i\times 2i=4i^{2}=-4}
{\displaystyle -2i\times -2i=4i^{2}=-4}
{\displaystyle {\sqrt {4}}=2} and {\displaystyle {\sqrt {-4}}=2i}

Square root of i
----------------

Although the imaginary unit comes from solving a quadratic equation (an equation where the unknown appears squared), we could ask whether we need to create new number values like the imaginary unit to solve equations where higher powers of x like {\displaystyle x^{3}} and {\displaystyle x^{4}} appear. For example, the equation {\displaystyle x^{4}+1=0} has a fourth power of the unknown variable x. Do we need new units like {\displaystyle i} to solve this equation?

We could also ask a similar question: we needed to create a new number to find the square root of -1, and we called this new number {\displaystyle i}. Do we need to create a new number to find the square root(s) of {\displaystyle i}?

It turns out the answer to both these questions is no. For the second question, the square roots of {\displaystyle i} can be written in terms of a real part and an imaginary part. Specifically, the square roots of **{\displaystyle i}** can be written as: {\displaystyle \pm {\sqrt {i}}=\pm {\frac {\sqrt {2}}{2}}(1+i)}. We can check that these are really the square roots of {\displaystyle i} by squaring them and seeing if we get {\displaystyle i}:

|  |  |
| --- | --- |
| {\displaystyle \left(\pm {\frac {\sqrt {2}}{2}}(1+i)\right)^{2}\ } | {\displaystyle =\left(\pm {\frac {\sqrt {2}}{2}}\right)^{2}(1+i)^{2}\ } |
|  | {\displaystyle =(\pm 1)^{2}{\frac {2}{4}}(1+i)(1+i)\ } |
|  | {\displaystyle =1\times {\frac {1}{2}}(1+2i+i^{2})\quad \quad (i^{2}=-1)\ } |
|  | {\displaystyle ={\frac {1}{2}}(2i)\ } |
|  | {\displaystyle =i\ } |

We can also notice that {\displaystyle (\pm {\sqrt {i}})^{4}=(i)^{2}=-1}, so {\displaystyle \pm {\sqrt {i}}} solves the equation {\displaystyle x^{4}+1=0}, partially answering our first question-- for the equation {\displaystyle x^{4}+1=0}, the solutions are still complex numbers (the result of adding a real number and an imaginary number). There are two more solutions for this particular equation, {\displaystyle x=\pm {\frac {\sqrt {2}}{2}}(1-i)}, and they are also complex numbers. No new numbers like the imaginary unit are needed to solve the equation.

In general, *every* equation where the unknown appears with whole number powers can be solved by complex numbers, so once we know about the imaginary unit, we can solve any equation of this form. This result is so important that it is called the fundamental theorem of algebra.

Powers of i
-----------

The powers of **{\displaystyle i}** or {\displaystyle i} follow a regular and predictable pattern:

{\displaystyle i^{-4}=1}
{\displaystyle i^{-3}=i}
{\displaystyle i^{-2}=-1}
{\displaystyle i^{-1}=-i}
{\displaystyle i^{0}=1}
{\displaystyle i^{1}=i}
{\displaystyle i^{2}=-1}
{\displaystyle i^{3}=-i}
{\displaystyle i^{4}=1}
{\displaystyle i^{5}=i}
{\displaystyle i^{6}=-1}
{\displaystyle i^{7}=-i}
As shown, each time we multiply by another {\displaystyle i} the values are {\displaystyle 1,i,-1,-i} and then repeat.

Related pages
-------------

* Complex number
* Euler's Identity
* Imaginary number
* Mathematical constant
* Real number