The imaginary unit, conventionally written , is a complex number defined by the equation
No real number satisfies this equation, since the square of every real number is nonnegative. Introducing allows every complex number to be written uniquely as , where and are real. The word imaginary is historical: these numbers are rigorously defined mathematical objects, not hypothetical or indeterminate quantities. In electrical engineering, the symbol is commonly used instead of , which often denotes electric current.
Definition and basic arithmetic
The imaginary unit is one of the two roots of the polynomial equation
The other root is , because
Thus, the condition alone does not distinguish one root from the other. Standard notation selects one as ; replacing that choice everywhere by its negative gives an equivalent arithmetic.
A complex number has the form
Here is its real part, and , not , is its imaginary part. A number of the form is called purely imaginary; some usage reserves this expression for .
Calculations follow the usual distributive and associative laws, together with the replacement . Consequently,
and
For example,
The multiplicative inverse of is :
since . More generally, division by a nonzero complex number uses its complex conjugate. If , its conjugate is , and
Therefore,
These operations make the complex numbers a field containing the real numbers.
Powers and periodicity
The integer powers of repeat with period four:
For every integer ,
The same pattern holds for negative exponents because is nonzero. Computing an integer power of therefore reduces to finding the exponent's remainder modulo four, an elementary application of modular arithmetic.
Noninteger powers require additional care. Complex exponentiation is generally defined using a complex logarithm, whose multiple possible values can produce multiple values for a power.
Geometric interpretation
In the complex plane, the number corresponds to the point in a Cartesian coordinate system. The real numbers lie on the horizontal axis, and the purely imaginary numbers lie on the vertical axis. Thus corresponds to , while corresponds to .
Multiplication by gives
In coordinates, this is the transformation
a counterclockwise rotation through under the standard orientation. Multiplication by is a clockwise quarter-turn. Applying multiplication by twice produces a half-turn, explaining geometrically why .
The absolute value, or modulus, of is
In particular, , so multiplication by preserves lengths.
Using polar coordinates, a nonzero complex number can be expressed as
where and is an argument of , determined modulo . Multiplication combines the scaling factors and adds the angles.
Rigorous constructions
Introducing need not depend on assuming an unexplained square root of a negative number. The complex numbers can be constructed directly from ordered pairs of real numbers.
Define
and
Identify each real number with , and define . The multiplication rule then gives
which is precisely .
In linear algebra, the same structure appears through real matrices. The matrix
satisfies
where is the identity matrix. Matrices of the form
obey exactly the addition and multiplication rules of . They provide a concrete representation of complex arithmetic using real entries.
From the viewpoint of field extensions, adjoining to produces . As a real vector space, has dimension two, with basis .
Exponentials and trigonometry
The imaginary unit connects exponential growth formulas with rotation. Euler's formula states that, for real ,
This identity follows, for example, by comparing the convergent power series for the exponential function, sine, and cosine.
At a quarter-turn,
At a half-turn,
giving Euler's identity
These relations allow oscillations to be represented by complex exponentials. For a real constant ,
Differentiation therefore becomes multiplication by for this class of functions, a property central to many calculations involving waves and oscillations.
Square roots and ordering
The notation
is conventional when the square-root symbol denotes the principal complex square root. Nevertheless, the equation has both and as solutions. More generally, every nonzero complex number has exactly two square roots, which are negatives of each other.
Identities valid for nonnegative real square roots do not necessarily extend to principal complex square roots. In particular,
does not hold for all complex . Taking gives
This discrepancy reflects the choice involved in defining a single-valued square root, not an inconsistency in complex arithmetic.
The complex numbers also cannot be ordered as a field in a way compatible with their addition and multiplication. In any ordered field, the square of a nonzero element is positive. Both and would then be positive, a contradiction. Their moduli can be compared, but this does not give an ordered-field structure.
Historical development
Expressions involving square roots of negative numbers arose in sixteenth-century work on algebraic equations, especially cubic equations. Such expressions could appear in intermediate calculations even when the final solutions were real. Rafael Bombelli developed systematic arithmetic rules for them in his Algebra of 1572.
Leonhard Euler introduced the notation , which subsequently became standard. Geometric interpretations developed through the work of Caspar Wessel, Jean-Robert Argand, Carl Friedrich Gauss, and others helped establish complex numbers as points in a plane rather than merely formal algebraic expressions.
The fundamental theorem of algebra describes a central consequence of passing to the complex numbers: every nonconstant polynomial with complex coefficients has a complex root. Factoring repeatedly shows that a polynomial of degree has exactly roots when multiplicities are counted.
Applications and related structures
The imaginary unit is fundamental to complex analysis, where functions of complex variables exhibit properties that differ substantially from those of general functions of real variables.
In the Fourier transform, complex exponentials encode oscillations with different frequencies and phases. In differential equations, complex-valued solutions can simplify calculations involving real oscillatory systems; appropriate real or imaginary parts then supply real-valued solutions.
In alternating-current circuit analysis, complex numbers represent sinusoidal voltages and currents, and expresses phase relationships between them. In quantum mechanics, appears explicitly in the Schrödinger equation governing time evolution.
The idea also extends beyond complex numbers. The quaternions contain three distinguished units, traditionally written , each squaring to . Unlike complex multiplication, quaternion multiplication is not commutative: for example, , whereas .