In mathematics, the **imaginary unit i** allows the real number system to be extended to the complex number system . Its precise definition is dependent upon the particular method of extension. The primary motivation for this extension is the fact that not every polynomial equation *f*(*x*) = 0 has a solution in the real numbers. In particular, the equation *x*^{2} + 1 = 0 has no real solution. However, if we allow complex numbers as solutions, then this equation, and indeed *every* polynomial equation *f*(*x*) = 0 does have a solution. (See algebraic closure and fundamental theorem of algebra.) ## Definition
By definition, the **imaginary unit i** is a solution of the equation *x*^{2} = −1 Real number operations can be extended to imaginary and complex numbers by treating i as an unknown quantity while manipulating an expression, and then using the definition to replace occurrences of i^{2} with −1.
## i and −i The above equation actually has *two* distinct solutions which are additive inverses. More precisely, once a solution i of the equation has been fixed, −i ≠ i is also a solution. Since the equation is the only definition of i, it appears that the definition is ambiguous (more precisely, not well-defined). However, no ambiguity results, as long as we choose a soluton and fix it forever as "positive i". The issue is a subtle one. The most precise explanation is to say that although the complex field, defined as **R**[*X*]/(*X*^{2} + 1), (see complex number) is unique up to isomorphism, it is *not* unique up to a *unique* isomorphism — there are exactly 2 field automorphisms of **R**[*X*]/(*X*^{2} + 1), the identity and the automorphism sending *X* to −*X*. (It should be noted that these are not the only field automorphisms of **C**; they are the only field automorphisms of **C** which keep each real number fixed.) See complex number, complex conjugation, field automorphism, and Galois group. A similar problem appears to occur if the complex numbers are interpreted as 2 × 2 real matrices (see complex number), because then both -
are solutions to the equation *x*^{2} = −1. In this case, the ambiguity results from the geometric choice of which "direction" around the unit circle is "positive". A more precise explanation is to say that the automorphism group of the special orthogonal group SO(2, **R**) has exactly 2 elements — the identity and the automorphism which exchanges "CW" (clockwise) and "CCW" (counter-clockwise) rotations. See orthogonal group.
## Warning The imaginary unit is sometimes written in advanced mathematics contexts, but care needs to be taken when manipulating formulas involving radicals. The notation is reserved either for the principal square root function, which is **only** defined for real *x* ≥ 0, or for the principal branch of the complex square root function. Attempting to apply the calculation rules of the principal (real) square root function to manipulate the principal branch of the complex square root function will produce false results: The calculation rule is only valid for real, non-negative numbers *a* and *b*. For a more thorough discussion of this phenomenon, see square root and branch_(complex analysis).
## Powers of i The powers of i repeat in a cycle: - i
^{1} = i - i
^{2} = - 1 - i
^{3} = - i - i
^{4} = 1 - i
^{5} = i - i
^{6} = - 1 This can be expressed with the following pattern where n is any integer: - i
^{4n} = 1 - i
^{4n + 1} = i - i
^{4n + 2} = - 1 - i
^{4n + 3} = - i *i* and Euler's Formula Taking Euler's formula *e*^{ix} = cos *x* + i sin *x*, and substituting π / 2 for *x*, one arrives at *e*^{iπ / 2} = i If both sides are raised to the power *i*, remembering that i^{2} = - 1, one obtains this remarkable identity: In fact, it is easy to determine that *i*^{i} has an infinite number of solutions in the form of - i
^{i} = *e* ^{- π / 2 + 2πN} where *N* is any integer. From the number theorists point of view, i is a quadratic irrational number, like √2, and by applying the Gelfond-Schneider theorem, we can conclude that all of the values we obtained above, and e^{-π/2} in particular, are transcendental.
## Alternate notation In electrical engineering and related fields, the imaginary unit is often written as j to avoid confusion with a changing current, traditionally denoted by *i*.
## See also |