This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Complex Numbers

You can enter complex numbers in Mathematica just by including the constant I, equal to . Make sure that you type a capital I.
If you are using notebooks, you can also enter I as by typing Esc ii Esc (see "Mathematical Notation in Notebooks: Numerical Calculations"). The form is normally what is used in output. Note that an ordinary i means a variable named i, not .
This gives the imaginary number result 2i.
Click for copyable input
This gives the ratio of two complex numbers.
Click for copyable input
Here is the numerical value of a complex exponential.
Click for copyable input
x+I ythe complex number x+i y
Re[z]real part
Im[z]imaginary part
Conjugate[z]complex conjugate z* or
Abs[z]absolute value z
Arg[z]the argument in zei

Complex number operations.