Complex Number

DOWNLOAD Mathematica Notebook EXPLORE THIS TOPIC IN the MathWorld Classroom

The complex numbers are the field C of numbers of the form x+iy, where x and y are real numbers and i is the imaginary unit equal to the square root of -1, sqrt(-1). When a single letter z=x+iy is used to denote a complex number, it is sometimes called an "affix." In component notation, z=x+iy can be written (x,y). The field of complex numbers includes the field of real numbers as a subfield.

The set of complex numbers is implemented in the Wolfram Language as Complexes. A number x can then be tested to see if it is complex using the command Element[x, Complexes], and expressions that are complex numbers have the Head of Complex.

Complex numbers are useful abstract quantities that can be used in calculations and result in physically meaningful solutions. However, recognition of this fact is one that took a long time for mathematicians to accept. For example, John Wallis wrote, "These Imaginary Quantities (as they are commonly called) arising from the Supposed Root of a Negative Square (when they happen) are reputed to imply that the Case proposed is Impossible" (Wells 1986, p. 22).

ComplexNumberArgand

Through the Euler formula, a complex number

 z=x+iy
(1)

may be written in "phasor" form

 z=|z|(costheta+isintheta)=|z|e^(itheta).
(2)

Here, |z| is known as the complex modulus (or sometimes the complex norm) and theta is known as the complex argument or phase. The plot above shows what is known as an Argand diagram of the point z, where the dashed circle represents the complex modulus |z| of z and the angle theta represents its complex argument. Historically, the geometric representation of a complex number as simply a point in the plane was important because it made the whole idea of a complex number more acceptable. In particular, "imaginary" numbers became accepted partly through their visualization.

Unlike real numbers, complex numbers do not have a natural ordering, so there is no analog of complex-valued inequalities. This property is not so surprising however when they are viewed as being elements in the complex plane, since points in a plane also lack a natural ordering.

The absolute square of z is defined by |z|^2=zz^_, with z^_ the complex conjugate, and the argument may be computed from

 arg(z)=theta=tan^(-1)(y/x).
(3)

The real R(z) and imaginary parts I(z) are given by

R(z)=1/2(z+z^_)
(4)
I(z)=(z-z^_)/(2i)
(5)
=-1/2i(z-z^_)
(6)
=1/2i(z^_-z).
(7)

de Moivre's identity relates powers of complex numbers for real n by

 z^n=|z|^n[cos(ntheta)+isin(ntheta)].
(8)

A power of complex number z to a positive integer exponent n can be written in closed form as

 z^n=[x^n-(n; 2)x^(n-2)y^2+(n; 4)x^(n-4)y^4-...] 
 +i[(n; 1)x^(n-1)y-(n; 3)x^(n-3)y^3+...].
(9)

The first few are explicitly

z^2=(x^2-y^2)+i(2xy)
(10)
z^3=(x^3-3xy^2)+i(3x^2y-y^3)
(11)
z^4=(x^4-6x^2y^2+y^4)+i(4x^3y-4xy^3)
(12)
z^5=(x^5-10x^3y^2+5xy^4)+i(5x^4y-10x^2y^3+y^5)
(13)

(Abramowitz and Stegun 1972).

Complex addition

 (a+bi)+(c+di)=(a+c)+i(b+d),
(14)

complex subtraction

 (a+bi)-(c+di)=(a-c)+i(b-d),
(15)

complex multiplication

 (a+bi)(c+di)=(ac-bd)+i(ad+bc),
(16)

and complex division

 (a+bi)/(c+di)=((ac+bd)+i(bc-ad))/(c^2+d^2)
(17)

can also be defined for complex numbers. Complex numbers may also be taken to complex powers. For example, complex exponentiation obeys

 (a+bi)^(c+di)=(a^2+b^2)^((c+id)/2)e^(i(c+id)arg(a+ib)),
(18)

where arg(z) is the complex argument.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.