# Imaginary number

 ... (repeats the pattern from blue area) i−3 = i i−2 = −1 i−1 = −i i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 in = in(mod 4)

An imaginary number[note 1] is a complex number that can be written as a real number multiplied by the imaginary unit i,[note 2] which is defined by its property i2 = −1. The square of an imaginary number bi is b2. For example, 5i is an imaginary number, and its square is −25. Except for 0 (which is both real and imaginary), imaginary numbers produce negative real numbers when squared.

An imaginary number bi can be added to a real number a to form a complex number of the form a + bi, where the real numbers a and b are called, respectively, the real part and the imaginary part of the complex number.[note 3] Imaginary numbers can therefore be thought of as complex numbers whose real part is zero. The name "imaginary number" was coined in the 17th century as a derogatory term, as such numbers were regarded by some as fictitious or useless. The term "imaginary number" now means simply a complex number with a real part equal to 0, that is, a number of the form bi.

Some authors use the term pure imaginary number to denote what is called here an imaginary number, and imaginary number to denote any complex number that is not real (i.e. has non-zero imaginary part).

## History An illustration of the complex plane. The imaginary numbers are on the vertical coordinate axis.

Although Greek mathematician and engineer Heron of Alexandria is noted as the first to have conceived these numbers, Rafael Bombelli first set down the rules for multiplication of complex numbers in 1572. The concept had appeared in print earlier, for instance in work by Gerolamo Cardano. At the time, such numbers were poorly understood and regarded by some as fictitious or useless, much as zero and the negative numbers once were. Many other mathematicians were slow to adopt the use of imaginary numbers, including René Descartes, who wrote about them in his La Géométrie, where the term imaginary was used and meant to be derogatory. The use of imaginary numbers was not widely accepted until the work of Leonhard Euler (1707–1783) and Carl Friedrich Gauss (1777–1855). The geometric significance of complex numbers as points in a plane was first described by Caspar Wessel (1745–1818).

In 1843 a mathematical physicist, William Rowan Hamilton, extended the idea of an axis of imaginary numbers in the plane to a three-dimensional space of quaternion imaginaries.

With the development of quotient rings of polynomial rings, the concept behind an imaginary number became more substantial, but then one also finds other imaginary numbers such as the j of tessarines which has a square of +1. This idea first surfaced with the articles by James Cockle beginning in 1848.

## Geometric interpretation

Geometrically, imaginary numbers are found on the vertical axis of the complex number plane, allowing them to be presented perpendicular to the real axis. One way of viewing imaginary numbers is to consider a standard number line, positively increasing in magnitude to the right, and negatively increasing in magnitude to the left. At 0 on this x-axis, a y-axis can be drawn with "positive" direction going up; "positive" imaginary numbers then increase in magnitude upwards, and "negative" imaginary numbers increase in magnitude downwards. This vertical axis is often called the "imaginary axis" and is denoted i, $\scriptstyle\mathbb{I}$, or .

In this representation, multiplication by –1 corresponds to a rotation of 180 degrees about the origin. Multiplication by i corresponds to a 90-degree rotation in the "positive" direction (i.e., counterclockwise), and the equation i2 = −1 is interpreted as saying that if we apply two 90-degree rotations about the origin, the net result is a single 180-degree rotation. Note that a 90-degree rotation in the "negative" direction (i.e. clockwise) also satisfies this interpretation. This reflects the fact that i also solves the equation x2 = −1. In general, multiplying by a complex number is the same as rotating around the origin by the complex number's argument, followed by a scaling by its magnitude.

## Multiplication of square roots

Care must be used in multiplying square roots of negative numbers. For example, the following reasoning is incorrect: $-1 = i^2 = \sqrt{-1}\sqrt{-1} = \sqrt{(-1)(-1)} = \sqrt{1} = 1$

The fallacy is that the rule xy = xy, where the principal value of the square root is taken in each instance, is generally valid only if x and y are suitably constrained.[note 4] It is not possible to extend the definition of principal values to the square roots of all complex numbers in a way that preserves the validity of the multiplication rule. Hence −1 in such contexts should be regarded either as meaningless, or as a two-valued expression with the possible values i and i.