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 all close 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  (8)

Possible Issues  (1)

Neat Examples  (1)

Introduced in 1988
(1.0)