PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Complex Numbers
>
Im
>
Mathematica
>
Mathematics and Algorithms
>
Numerical Evaluation & Precision
>
Complex Numbers
>
Im
>
BUILT-IN MATHEMATICA SYMBOL
Complex Numbers
Numerical Functions
Tutorials »
|
Re
Abs
Arg
ComplexExpand
Complex
I
Conjugate
See Also »
|
Complex Numbers
Functions of Complex Variables
Mathematical Functions
More About »
Im
Im
[
z
]
gives the imaginary part of the complex number
.
MORE INFORMATION
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
CLOSE ALL
Basic Examples
(3)
Find the imaginary part of a complex number:
Plot the imaginary part of a complex-valued function:
Use
Im
to specify regions of the complex plane:
Find the imaginary part of a complex number:
In[1]:=
Out[1]=
Plot the imaginary part of a complex-valued function:
In[1]:=
Out[1]=
Use
Im
to specify regions of the complex plane:
In[1]:=
Out[1]=
Scope
(5)
Mixed-precision complex inputs:
Exact complex inputs:
Algebraic numbers:
Transcendental numbers:
Im
threads element-wise over lists:
For some input
Im
will automatically simplify:
TraditionalForm
formatting:
Generalizations & Extensions
(1)
Infinite arguments give symbolic results:
Check that quantity is in the upper half-plane:
Applications
(3)
Flow around a cylinder as the imaginary part of a complex-valued function:
Construct a bivariate harmonic function from a complex function:
The function satisfies Laplace's equation:
Reconstruct an analytic function
from its real part
:
Example reconstruction:
Check result:
Properties & Relations
(7)
Use
Simplify
and
FullSimplify
to simplify expressions containing
Im
:
Prove that the disk
is in the upper half-plane:
ComplexExpand
assumes variables to be real:
Here
z
is not assumed real, and the result should be in terms of
Re
and
Im
:
FunctionExpand
does not assume variables to be real:
Use
Im
to describe regions in the complex plane:
Reduce
can solve equations and inequalities involving
Im
:
With
FindInstance
you can get sample points of regions:
Use
Im
in
Assumptions
:
Integrate
can generate conditions in terms of
Im
:
Possible Issues
(1)
Im
can stay unevaluated for numeric arguments:
Additional transformation may simplify it:
Neat Examples
(1)
Use
Im
to plot a 3D projection of the Riemann surface of
:
SEE ALSO
Re
Abs
Arg
ComplexExpand
Complex
I
Conjugate
TUTORIALS
Complex Numbers
Numerical Functions
MORE ABOUT
Complex Numbers
Functions of Complex Variables
Mathematical Functions
RELATED LINKS
MathWorld
The Wolfram Functions Site
New in 1