Im

Im[z]

gives the imaginary part of the complex number z.

Details

  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • Im[expr] is left unevaluated if expr is not a numeric quantity.
  • Im automatically threads over lists.

Examples

open allclose all

Basic Examples  (3)

Find the imaginary part of a complex number:

In[1]:=
Click for copyable input
Out[1]=

Plot the imaginary part of a complexvalued function:

In[1]:=
Click for copyable input
Out[1]=

Use Im to specify regions of the complex plane:

In[1]:=
Click for copyable input
Out[1]=

Scope  (5)

Generalizations & Extensions  (1)

Applications  (3)

Properties & Relations  (7)

Possible Issues  (1)

Neat Examples  (1)

See Also

Re  ReIm  Abs  Arg  ComplexExpand  Complex  I  Conjugate

Tutorials

Introduced in 1988
(1.0)