PRODUCTS
Products Overview
Mathematica
Mathematica for Students
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
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
SUPPORT
Support Overview
Knowledge Base
Learning Center
Community & Forums
Training & Free Seminars
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
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Complex Numbers
>
Arg
>
Mathematica
>
Mathematics and Algorithms
>
Numerical Evaluation & Precision
>
Complex Numbers
>
Arg
>
BUILT-IN MATHEMATICA SYMBOL
Complex Numbers
Numerical Functions
Tutorials »
|
ArcTan
Sign
Abs
Im
Re
Conjugate
See Also »
|
Complex Numbers
Functions of Complex Variables
Mathematical Functions
More About »
Arg
Arg
[
z
]
gives the argument of the complex number
z
.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
Arg
[
z
]
is left unevaluated if
z
is not a numeric quantity.
Arg
[
z
]
gives the phase angle of
z
in radians.
The result from
Arg
[
z
]
is always between
and
.
Arg
[
z
]
has a branch cut discontinuity in the complex
z
plane running from
to 0.
Arg
gives 0.
Arg
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
The result is given in radians:
The result is given in radians:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
In[1]:=
Out[1]=
Scope
(4)
For purely real or imaginary arguments, exact results are returned:
For generic approximate complex arguments, approximate results are returned:
The precision of the output tracks the precision of the input:
Arg
threads element-wise over lists and matrices:
Generalizations & Extensions
(3)
Arg
returns exact answers for exact numerical arguments:
Infinite arguments give symbolic results:
Arg
threads element-wise over sparse arrays:
Applications
(3)
Polar decomposition of a complex number:
Color a plot according to value of
Arg
:
Expand multivalued functions without making assumptions about variables:
Properties & Relations
(6)
Simplify expressions containing
Arg
:
Generate
Arg
from
FullSimplify
:
Use
Arg
as a target function in
ComplexExpand
:
Rescale
Arg
to run from 0 to 1:
Find the domain of positivity for a linear function:
Use
Arg
to specify assumptions about complex variables:
Possible Issues
(3)
Degenerate cases give intervals as results :
Numerical decision procedures with default settings cannot simplify this expression:
The machine-precision result is incorrect:
The arbitrary-precision result indicates that the result may be incorrect:
Using a larger setting for
$MaxExtraPrecision
gives the correct result:
The input contains a hidden zero, and simplifying the argument gets the correct answer:
The argument principle of complex analysis cannot be used because
Arg
has range
:
Neat Examples
(1)
SEE ALSO
ArcTan
Sign
Abs
Im
Re
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 | Last modified in 6