Lably
Skip to content

Complex number

Number with a real and an imaginary part

  • 31 min read
  • 6 chapters
  • 2 labs on Lably

Learn it on Lably

The complex numbers form a number system which extends the real numbers and supports the same basic arithmetic operations of addition, subtraction, multiplication, and division, satisfying the same associative, commutative, and distributive laws. This makes the complex numbers a field. The set of complex numbers is denoted by either of the symbols C or C.

Because any nonzero real number, whether positive or negative, squares to a positive number, taking the square root of a negative number was historically considered impossible. When, in the 16th century, such square roots were found helpful for determining the real solutions of cubic equations, they were originally considered a mere symbolic contrivance, and in the 17th century were given the name imaginary numbers. Despite the historical nomenclature, "imaginary" numbers are not fictitious: they are no less valid mathematically than real numbers, and they are essential to the scientific description of the physical world.

Complex numbers allow solutions to all non-constant polynomial equations with real or complex coefficients, even those that have no solutions in real numbers, a result known as the fundamental theorem of algebra. The complex numbers also form a real vector space of dimension two, with {1,i} as a standard basis. Thus each complex number z=a+ib can be uniquely associated to a point with coordinates (a,b) in a Cartesian plane, called the complex plane. This allows a geometric interpretation of the complex numbers and their operations; in particular, addition by a complex number corresponds to translation of the plane and multiplication by a complex number corresponds to scaling and rotation. Conversely some geometric objects and operations can be expressed in terms of complex numbers, enabling the solution of geometric problems using algebraic methods.

Definition and basic operations

A complex number is an expression of the form a + bi, where a and b are real numbers, and i is an abstract symbol, the imaginary unit, whose meaning will be explained further below. For example, 2 + 3i is a complex number.

For a complex number a + bi, the real number a is its real part, and the real number b (not the complex number bi) is its imaginary part. The real part of a complex number z is denoted Re(z), ⁠Re(z)⁠, or ⁠R(z)⁠; the imaginary part is Im(z), ⁠Im(z)⁠, or ⁠I(z)⁠: for example, ⁠Re⁡(2+3i)=2⁠, ⁠Im⁡(2+3i)=3⁠.

A complex number z can be identified with the ordered pair of real numbers ⁠(ℜ(z),ℑ(z))⁠, which may be interpreted as coordinates of a point in a Euclidean plane with standard coordinates, which is the complex plane or Argand diagram. The horizontal axis is generally used to display the real part, with increasing values to the right, and the imaginary part marks the vertical axis, with increasing values upwards.

A real number a can be regarded as a complex number a + 0i, whose imaginary part is 0. A purely imaginary number bi is a complex number 0 + bi, whose real part is zero. It is common to write a + 0i = a, 0 + bi = bi, and a + (−b)i = a − bi; for example, 3 + (−4)i = 3 − 4i.

The set of all complex numbers is denoted by C (blackboard bold) or C (upright bold).

In some disciplines such as electromagnetism and electrical engineering, j is used instead of i, as i frequently represents electric current, and complex numbers are written as a + bj or a + jb.

Addition, additive inverse, and subtraction

Two complex numbers a=x+yi and b=u+vi are added by separately adding their real and imaginary parts. That is to say:

a+b=(x+yi)+(u+vi)=(x+u)+(y+v)i. In particular, the additive inverse of a = x + yi must be −a = (−x) + (−y)i = −x − yi because a + (−a) gives zero by the above addition formula. Similarly, subtraction can be performed as a−b=(x+yi)−(u+vi)=(x−u)+(y−v)i.

The addition can be geometrically visualized as follows: the sum of two complex numbers a and b, interpreted as points in the complex plane, is the point obtained by building a parallelogram from the three vertices O, and the points of the arrows labeled a and b (provided that they are not on a line). Equivalently, calling these points A, B, respectively and the fourth point of the parallelogram X the triangles OAB and XBA are congruent.

Multiplication

The product of two complex numbers can expanded using the distributive property and the identity ⁠i2=−1⁠: (a+bi)⋅(c+di)=ac+adi+bci+bdi2=(ac−bd)+(ad+bc)i. For example, (2−i)⋅(3+4i)=(2⋅3−(−1)⋅4)+(2⋅4+(−1)⋅3)i=10+5i.

Using the sum rule from the previous section and this product rule, the familiar rules for the arithmetic of rational or real numbers continue to hold for complex numbers. Namely, addition and multiplication always satisfy the associative and commutative properties, and multiplication is distributive over addition.

Complex conjugate, absolute value, argument and division

The complex conjugate of the complex number z = x + yi is defined as ⁠z¯=x−yi⁠. It is also denoted by some authors by ⁠z∗⁠. Geometrically, z is the "reflection" of z about the real axis. Conjugating twice gives the original complex number: z¯¯=z. A complex number is real if and only if it equals its own conjugate. The unary operation of taking the complex conjugate of a complex number cannot be expressed by applying only the basic operations of addition, subtraction, multiplication and division.

For any complex number z = x + yi , the product z⋅z¯=(x+iy)(x−iy)=x2+y2 is a non-negative real number. This allows to define the absolute value (or modulus or magnitude) of z to be the square root |z|=x2+y2. By Pythagoras' theorem, |z| is the distance from the origin to the point representing the complex number z in the complex plane. In particular, the circle of radius one around the origin consists precisely of the numbers z such that ⁠|z|=1⁠, known as the unit complex numbers. If z=x=x+0i is a real number, then ⁠|z|=|x|⁠: its absolute value as a complex number and as a real number are equal.

Using the conjugate, the reciprocal of a nonzero complex number z=x+yi can be computed to be

1z=z¯zz¯=z¯|z|2=x−yix2+y2=xx2+y2−yx2+y2i. Every complex number ⁠z⁠ has an additive inverse ⁠−z⁠ and every nonzero complex number ⁠z⁠ has a multiplicative inverse ⁠1/z⁠; the complex numbers form a field, much as the rational or real numbers do.

More generally, the division of an arbitrary complex number w=u+vi by a non-zero complex number z=x+yi equals wz=wz¯|z|2=(u+vi)(x−iy)x2+y2=ux+vyx2+y2+vx−uyx2+y2i. This process is sometimes called "rationalization" of the denominator (although the denominator in the final expression may be an irrational real number), because it resembles the method to remove roots from simple expressions in a denominator.

The argument of z, sometimes called the "phase", is the angle of the radius Oz measured anticlockwise from the positive real axis. It is written as arg z and is expressed in radians in this article. The angle is defined only up to adding integer multiples of ⁠2π⁠, since a rotation by 2π (or 360°) around the origin leaves all points in the complex plane unchanged. One possible choice to uniquely specify the argument (also known as choosing a principal value) is to require it to be within the interval ⁠(−π,π]⁠, though there are other possibilities. The argument plays a role with complex logarithms; see below. It can be computed from the rectangular form x + yi by means of the arctan (inverse tangent) function.

Polar form

For any complex number z, with absolute value r=|z| and argument ⁠φ=arg⁡z⁠, the equation z=r(cos⁡φ+isin⁡φ) holds. This identity is referred to as the polar form of z. It is sometimes written as ⁠z=rcis⁡φ⁠ or ⁠z=rexp⁡φi⁠. In electronics, one represents a phasor with amplitude r and phase φ in angle notation:z=r∠φ.

If two complex numbers are given in polar form, i.e., z1 = r1(cos φ1 + i sin φ1) and z2 = r2(cos φ2 + i sin φ2), the product and division can be computed as z1z2=r1r2(cos⁡(φ1+φ2)+isin⁡(φ1+φ2)). z1z2=r1r2(cos⁡(φ1−φ2)+isin⁡(φ1−φ2)),if z2≠0. (These are a consequence of the trigonometric identities for the sine and cosine function.) In other words, the absolute values are multiplied and the arguments are added to yield the polar form of the product. The picture at the right illustrates the multiplication of (2+i)(3+i)=5+5i. Because the real and imaginary part of 5 + 5i are equal, the argument of that number is 45 degrees, or π/4 (in radian). On the other hand, it is also the sum of the angles at the origin of the red and blue triangles are arctan(1/3) and arctan(1/2), respectively. Thus, the formula π4=arctan⁡(12)+arctan⁡(13) holds. As the arctan function can be approximated highly efficiently, formulas like this – known as Machin-like formulas – are used for high-precision approximations of π: π4=4arctan⁡(15)−arctan⁡(1239)

Powers and roots

When n is an integer, the n-th power of a complex number can be computed using de Moivre's formula, which is obtained by repeatedly applying the above formula for the product: zn=z⋅⋯⋅z⏟n factors=(r(cos⁡φ+isin⁡φ))n=rn(cos⁡nφ+isin⁡nφ). For example, the first few powers of the imaginary unit i are ⁠i,i2=−1,i3=−i,i4=1,i5=i,…⁠.

When n is a positive integer, the n n-th roots of a complex number z are given by z1/n=rn(cos⁡(φ+2kπn)+isin⁡(φ+2kπn)) for integer k satisfying 0 ≤ k ≤ n − 1 and where rn is the usual (positive) n-th root of the positive real number r. Because sine and cosine are periodic, other integer values of k do not give additional values. For any ⁠z≠0⁠, these n complex n-th roots are distinct. For example, there are 4 fourth roots of 1, namely z1=1,z2=i,z3=−1,z4=−i. For ⁠n≥2⁠, the n-th root is a multivalued function (or specifically, an n-valued function) of z. One of these values can be designated as the principal value, typically via the technique of branch cuts of the complex plane.

Fundamental theorem of algebra

The fundamental theorem of algebra, of Carl Friedrich Gauss and Jean le Rond d'Alembert, states that for any coefficients that are complex numbers a0, ..., an, the equation anzn+⋯+a1z+a0=0 has at least one complex solution z, provided that at least one of the higher coefficients a1, ..., an is nonzero. This property does not hold for the field of rational numbers Q (the polynomial x2 − 2 does not have a rational root, because √2 is not a rational number) nor the real numbers R (the polynomial x2 + 4 does not have a real root, because the square of x is positive for any real number x).

Because of this fact, C is an algebraically closed field. It is a cornerstone of various applications of complex numbers, as is detailed further below. There are various proofs of this theorem, by either analytic methods such as Liouville's theorem, or topological ones such as the winding number, or a proof combining Galois theory and the fact that any real polynomial of odd degree has at least one real root.

The field of complex numbers is defined as the (unique) algebraic extension field of the real numbers later in #Abstract algebraic definitions.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Counting and numbers