# Imaginary unit

# Imaginary unit

The **imaginary unit** or **unit imaginary number** (**i**) is a solution to the quadratic equation *x*2 + 1 = 0. Although there is no real number with this property, i can be used to extend the real numbers to what are called complex numbers, using addition and multiplication. A simple example of the use of i in a complex number is 2 + 3*i*.

Imaginary numbers are an important mathematical concept, which extend the real number system ℝ to the complex number system ℂ, which in turn provides at least one root for every nonconstant polynomial *P*(*x*). (See Algebraic closure and Fundamental theorem of algebra.) The term "imaginary" is used because there is no real number having a negative square.

There are two complex square roots of −1, namely *i* and −*i*, just as there are two complex square roots of every real number other than zero, which has one double square root.

In contexts where i is ambiguous or problematic, j or the Greek *ι* is sometimes used (see § Alternative notations). In the disciplines of electrical engineering and control systems engineering, the imaginary unit is normally denoted by j instead of i, because i is commonly used to denote electric current.

For the history of the imaginary unit, see Complex number § History.

Definition

The powers ofi return cyclic values: |
---|

...(repeats the pattern from blue area) |

i^{−3}= i |

i^{−2}= −1 |

i^{−1}= −i |

i^{0}= 1 |

i^{1}= i |

i^{2}= −1 |

i^{3}= −i |

i^{4}= 1 |

i^{5}= i |

i^{6}= −1 |

...(repeats the pattern from the blue area) |

The imaginary number i is defined solely by the property that its square is −1:

With i defined this way, it follows directly from algebra that i and −*i* are both square roots of −1.

Although the construction is called "imaginary", and although the concept of an imaginary number may be intuitively more difficult to grasp than that of a real number, the construction is perfectly valid from a mathematical standpoint. 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 any occurrence of *i*2 with −1. Higher integral powers of i can also be replaced with −*i*, 1, i, or −1:

Similarly, as with any non-zero real number:

As a complex number, i is represented in rectangular form as 0 + 1⋅*i*, with a zero real component and a unit imaginary component. In polar form, i is represented as 1⋅*e**i*π/2 (or just *e**i*π/2), with an absolute value (or magnitude) of 1 and an argument (or angle) of π/2. In the complex plane (also known as the Argand plane), which is a special interpretation of a Cartesian plane, i is the point located one unit from the origin along the imaginary axis (which is orthogonal to the real axis).

i and −*i*

*i*

Being a quadratic polynomial with no multiple root, the defining equation *x*2 = −1 has *two* distinct solutions, which are equally valid and which happen to be additive and multiplicative inverses of each other. More precisely, once a solution i of the equation has been fixed, the value −*i*, which is distinct from 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 one or other of the solutions is chosen and labelled as "i", with the other one then being labelled as −*i*. This is because, although −*i* and i are not *quantitatively* equivalent (they *are* negatives of each other), there is no *algebraic* difference between i and −*i*. Both imaginary numbers have equal claim to being the number whose square is −1. If all mathematical textbooks and published literature referring to imaginary or complex numbers were rewritten with −*i* replacing every occurrence of +*i* (and therefore every occurrence of −*i* replaced by −(−*i*) = +*i*), all facts and theorems would continue to be equivalently valid. The distinction between the two roots x of *x*2 + 1 = 0 with one of them labelled with a minus sign is purely a notational relic; neither root can be said to be more primary or fundamental than the other, and neither of them is "positive" or "negative".^{[2]}

The issue can be a subtle one. The most precise explanation is to say that although the complex field, defined as ℝ[*x*]/(*x*2 + 1) (see complex number), is unique up to isomorphism, it is *not* unique up to a *unique* isomorphism — there are exactly two field automorphisms of ℝ[*x*]/(*x*2 + 1) which keep each real number fixed: the identity and the automorphism sending *x* to −*x*. See also Complex conjugate and Galois group.

Matrices

A similar issue arises if the complex numbers are interpreted as 2 × 2 real matrices (see matrix representation of complex numbers), because then both

- and

are solutions to the matrix equation

In this case, the ambiguity results from the geometric choice of which "direction" around the unit circle is "positive" rotation. A more precise explanation is to say that the automorphism group of the special orthogonal group SO(2, ℝ) has exactly two elements—the identity and the automorphism which exchanges "CW" (clockwise) and "CCW" (counter-clockwise) rotations. See orthogonal group.

All these ambiguities can be solved by adopting a more rigorous definition of complex number, and explicitly *choosing* one of the solutions to the equation to be the imaginary unit. For example, the ordered pair (0, 1), in the usual construction of the complex numbers with two-dimensional vectors.

`Consider the matrix equation`

`Thenso the product`

*xy*is negative becausethus the point (*x,y*) lies in quadrant II or IV. Furthermore,- so (

*x,y*) is bounded by the hyperbola

*xy*= –1.

Proper use

The imaginary unit is sometimes written √−1 in advanced mathematics contexts (as well as in less advanced popular texts). However, great care needs to be taken when manipulating formulas involving radicals. The radical sign 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 can produce false results:

*(incorrect)*.

Similarly:

*(incorrect)*.

The calculation rules

and

are only valid for real, non-negative values of a and b.^{[3]}

These problems are avoided by writing and manipulating expressions like *i*√7, rather than √−7. For a more thorough discussion, see Square root and Branch point.

Properties

Square roots

i has two square roots, just like all complex numbers (except zero, which has a double root). These two roots can be expressed as the complex numbers:^{[1]}

Indeed, squaring both expressions:

Using the radical sign for the principal square root gives:

Cube roots

The three cube roots of i are:

Similar to all of the roots of 1, all of the roots of i are the vertices of regular polygons inscribed within the unit circle in the complex plane.

Multiplication and division

Multiplying a complex number by i gives:

(This is equivalent to a 90° counter-clockwise rotation of a vector about the origin in the complex plane.)

Dividing by i is equivalent to multiplying by the reciprocal of i:

Using this identity to generalize division by i to all complex numbers gives:

(This is equivalent to a 90° clockwise rotation of a vector about the origin in the complex plane.)

Powers

The powers of i repeat in a cycle expressible with the following pattern, where *n* is any integer:

This leads to the conclusion that

where *mod* represents the modulo operation. Equivalently:

i raised to the power of i

Making use of Euler's formula, *i**i* is

`where, the set ofintegers.`

The principal value (for *k* = 0) is *e*−π/2 or approximately 0.207879576...^{[4]}

Factorial

The factorial of the imaginary unit i is most often given in terms of the gamma function evaluated at 1 + *i*:

Also,

^{[5]}

Other operations

Many mathematical operations that can be carried out with real numbers can also be carried out with i, such as exponentiation, roots, logarithms, and trigonometric functions. All of the following functions are complex multi-valued functions, and it should be clearly stated which branch of the Riemann surface the function is defined on in practice. Listed below are results for the most commonly chosen branch.

A number raised to the n*i* power is:

The n*i*th root of a number is:

The imaginary-base logarithm of a number is:

As with any complex logarithm, the log base i is not uniquely defined.

The cosine of i is a real number:

And the sine of i is purely imaginary:

Alternative notations

In electrical engineering and related fields, the imaginary unit is normally denoted by j to avoid confusion with electric current as a function of time, traditionally denoted by

*i*(*t*) or just i.^{[6]}The Python programming language also uses j to mark the imaginary part of a complex number. MATLAB associates both i and j with the imaginary unit, although 1*i*or 1*j*is preferable, for speed and improved robustness.^{[7]}Some texts use the Greek letter iota (ι) for the imaginary unit, to avoid confusion, especially with index and subscripts.

Each of i, j, and k is an imaginary unit in the quaternions. In bivectors and biquaternions an additional imaginary unit h is used.

See also

Multiplicity (mathematics)

Root of unity

Unit complex number

## References

*x*+

*iy*)2 =

*i*where x and y are real parameters to be determined, or equivalently

*x*2 + 2

*ixy*−

*y*2 =

*i*. Because the real and imaginary parts are always separate, we regroup the terms:

*x*2 −

*y*2 + 2

*ixy*= 0 +

*i*and by equating coefficients, real part and real coefficient of imaginary part separately, we get a system of two equations:

*x*2 −

*y*2 = 0 2

*xy*= 1. Substituting

*y*= 1/2

*x*into the first equation, we get

*x*2 − 1/4

*x*2 = 0

*x*2 = 1/4

*x*2 4

*x*4 = 1 Because x is a real number, this equation has two real solutions for x:

*x*= 1/√2 and

*x*= −1/√2. Substituting either of these results into the equation 2

*xy*= 1 in turn, we will get the corresponding result for

*y*. Thus, the square roots of i are the numbers 1/√2 +

*i*/√2 and −1/√2 −

*i*/√2. (University of Toronto Mathematics Network: What is the square root of i? URL retrieved March 26, 2007.)

*Circles Disturbed: The Interplay of Mathematics and Narrative*(illustrated ed.). Princeton University Press. p. 225. ISBN 978-0-691-14904-2. Extract of page 225

*An Imaginary Tale: The Story of "i" [the square root of minus one]*. Princeton University Press. p. 12. ISBN 978-1-4008-3029-9. Extract of page 12

*Mathematical methods in the physical sciences*(3. ed.). New York [u.a.]: Wiley. p. 49. ISBN 0-471-19826-9.

*Circles Disturbed: The Interplay of Mathematics and Narrative*

*An Imaginary Tale: The Story of "i" [the square root of minus one]*