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
>
Re
>
Mathematica
>
Mathematics and Algorithms
>
Numerical Evaluation & Precision
>
Complex Numbers
>
Re
>
BUILT-IN MATHEMATICA SYMBOL
Complex Numbers
Numerical Functions
Tutorials »
|
Im
I
Abs
Arg
Complex
ComplexExpand
See Also »
|
Complex Numbers
Functions of Complex Variables
Mathematical Functions
More About »
Re
Re
[
z
]
gives the real part of the complex number
z
.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
Re
[
expr
]
is left unevaluated if
expr
is not a numeric quantity.
Re
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Find the real part of a complex number:
Plot the real part of a complex-valued function:
Use
Re
to specify regions of the complex plane:
Find the real part of a complex number:
In[1]:=
Out[1]=
Plot the real part of a complex-valued function:
In[1]:=
Out[1]=
Use
Re
to specify regions of the complex plane:
In[1]:=
Out[1]=
Scope
(5)
Mixed-precision complex inputs:
Exact complex inputs:
Algebraic numbers:
Transcendental numbers:
Re
threads element-wise over lists:
For some input
Re
will automatically simplify:
TraditionalForm
formatting:
Generalizations & Extensions
(1)
Infinite arguments give symbolic results:
Check that the quantity is in the right half-plane:
Applications
(3)
Flow around a cylinder as the real part of a complex-valued function:
Construct a bivariate real harmonic function from a complex function:
The real part satisfies Laplace's equation:
Reconstruct an analytic function
from its real part
:
Example reconstruction:
Check the result:
Properties & Relations
(7)
Use
Simplify
and
FullSimplify
to simplify expressions containing
Re
:
Prove that the disk
is in the right 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
Re
to describe regions in the complex plane:
Reduce
can solve equations and inequalities involving
Re
:
With
FindInstance
you can get sample points of regions:
Use
Re
in
Assumptions
:
Integrate
often generates conditions in terms of
Re
:
Possible Issues
(1)
Re
can stay unevaluated for numeric arguments:
Additional transformation may simplify it:
Neat Examples
(1)
Use
Re
to plot a 3D projection of the Riemann surface of
:
SEE ALSO
Im
I
Abs
Arg
Complex
ComplexExpand
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