
In
mathematics (particularly in
complex analysis
Complex analysis, traditionally known as the theory of functions of a complex variable, is the branch of mathematical analysis that investigates functions of complex numbers. It is helpful in many branches of mathematics, including algebra ...
), the argument of a complex number ''z'', denoted arg(''z''), is the
angle
In Euclidean geometry, an angle is the figure formed by two rays, called the '' sides'' of the angle, sharing a common endpoint, called the '' vertex'' of the angle.
Angles formed by two rays lie in the plane that contains the rays. Angles ...
between the positive
real axis and the line joining the origin and ''z'', represented as a point in the
complex plane, shown as
in Figure 1.
It is a multi-valued
function operating on the nonzero
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s.
To define a single-valued function, the
principal value of the argument (sometimes denoted Arg ''z'') is used. It is often chosen to be the unique value of the argument that lies within the interval .
Definition

An argument of the complex number , denoted , is defined in two equivalent ways:
#Geometrically, in the
complex plane, as the
2D polar angle
In mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a reference point and an angle from a reference direction. The reference point (analogous to the ...
from the positive real axis to the vector representing . The numeric value is given by the angle in
radians, and is positive if measured counterclockwise.
#Algebraically, as any real quantity
such that
for some positive real (see
Euler's formula). The quantity is the ''
modulus'' (or absolute value) of , denoted , , :
The names ''
magnitude,'' for the modulus, and ''
phase'',
[Dictionary of Mathematics (2002). ''phase''.] for the argument, are sometimes used equivalently.
Under both definitions, it can be seen that the argument of any non-zero complex number has many possible values: firstly, as a geometrical angle, it is clear that whole circle rotations do not change the point, so angles differing by an integer multiple of
radians (a complete circle) are the same, as reflected by figure 2 on the right. Similarly, from the
periodicity of
and cosine, , the second definition also has this property. The argument of zero is usually left undefined.
Alternative Definition
The complex argument can also be defined algebraically in terms of Square root#Algebraic_formula, complex roots as:
This definition removes reliance on other difficult-to-compute functions such as arctangent as well as eliminating the need for the
piecewise
In mathematics, a piecewise-defined function (also called a piecewise function, a hybrid function, or definition by cases) is a function defined by multiple sub-functions, where each sub-function applies to a different interval in the domain. P ...
definition. Because it's defined in terms of
roots, it also inherits the
principal branch of square root as its own principle branch. The
normalization of
by dividing by
isn't necessary for convergence to the correct value, but it does speed up convergence and ensures that
is left undefined.
Principal value

Because a complete rotation around the origin leaves a complex number unchanged, there are many choices which could be made for
by circling the origin any number of times. This is shown in figure 2, a representation of the
multi-valued (set-valued) function
, where a vertical line (not shown in the figure) cuts the surface at heights representing all the possible choices of angle for that point.
When a
well-defined function is required, then the usual choice, known as the ''
principal value'', is the value in the open-closed
interval , that is from to
radians, excluding rad itself (equiv., from −180 to +180
degree
Degree may refer to:
As a unit of measurement
* Degree (angle), a unit of angle measurement
** Degree of geographical latitude
** Degree of geographical longitude
* Degree symbol (°), a notation used in science, engineering, and mathemati ...
s, excluding −180° itself). This represents an angle of up to half a complete circle from the positive real axis in either direction.
Some authors define the range of the principal value as being in the closed-open interval .
Notation
The principal value sometimes has the initial letter capitalized, as in , especially when a general version of the argument is also being considered. Note that notation varies, so and may be interchanged in different texts.
The set of all possible values of the argument can be written in terms of as:
:
Computing from the real and imaginary part
If a complex number is known in terms of its real and imaginary parts, then the function that calculates the principal value is called the
two-argument arctangent function atan2:
:
.
The atan2 function (also called arctan2 or other synonyms) is available in the math libraries of many programming languages, and usually returns a value in the range .
Many texts say the value is given by , as is slope, and converts slope to angle. This is correct only when , so the quotient is defined and the angle lies between and , but extending this definition to cases where is not positive is relatively involved. Specifically, one may define the principal value of the argument separately on the two half-planes and (separated into two quadrants if one wishes a branch cut on the negative -axis), , , and then patch together.
:
A compact expression with 4 overlapping half-planes is
:
It's also possible to use arccotangent for the definition:
:
For the variant where is defined to lie in the interval , the value can be found by adding to the value above when it is negative (when ).
Alternatively, the principal value can be calculated in a uniform way using the
tangent half-angle formula, the function being defined over the complex plane but excluding the origin:
:
This is based on a parametrization of the circle (except for the negative -axis) by rational functions. This version of is not stable enough for
floating point
In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can be r ...
computational use (as it may overflow near the region ), but can be used in
symbolic calculation
In mathematics and computer science, computer algebra, also called symbolic computation or algebraic computation, is a scientific area that refers to the study and development of algorithms and software for manipulating mathematical expressions ...
.
A variant of the last formula which avoids overflow is sometimes used in high precision computation:
:
Identities
One of the main motivations for defining the principal value is to be able to write complex numbers in modulus-argument form. Hence for any complex number ,
:
This is only really valid if is non-zero, but can be considered valid for if is considered as an
indeterminate form
In calculus and other branches of mathematical analysis, limits involving an algebraic combination of functions in an independent variable may often be evaluated by replacing these functions by their limits; if the expression obtained after this s ...
—rather than as being undefined.
Some further identities follow. If and are two non-zero complex numbers, then
:
If and is any integer, then
:
Example
:
Using the complex logarithm
From
, it easily follows that
. This is useful when one has the
complex logarithm available.
Extended Argument
Extended argument of a number z (denoted as
) is the set of all real numbers congruent to
modulo 2
.
References
Bibliography
*
*
*
*
{{refend
External links
''Argument''at
Encyclopedia of Mathematics.
Trigonometry
Complex analysis
Signal processing