DocumentationMathematicaBuilt-in FunctionsNumerical ComputationComplex Numbers
Further Examples: Im
Here are the imaginary parts of two complex numbers.
In[1]:=
Out[1]=
Since a or b might be complex, Im doesn't evaluate to b. ComplexExpand assumes the variables are real.
In[2]:=
Out[2]=