
Inmathematics (particularly incomplex analysis), theargument of a complex numberz, denotedarg(z), is theangle between the positiverealaxis and the line joining the origin andz, represented as a point in thecomplex plane, shown as in Figure 1. By convention thepositive real axis is drawn pointing rightward, the positiveimaginary axis is drawn pointing upward, and complex numbers with positive real part are considered to have ananticlockwise argument with positive sign.
When any real-valued angle is considered, the argument is amultivalued function operating on the nonzerocomplex numbers. Theprincipal value of this function is single-valued, typically chosen to be the unique value of the argument that lies within the interval(−π,π].[1][2] In this article the multi-valued function will be denotedarg(z) and its principal value will be denotedArg(z), but in some sources the capitalization of these symbols is exchanged.
In some older mathematical texts, the term "amplitude" was used interchangeably with argument to denote the angle of a complex number. This usage is seen in older references such asLars Ahlfors'Complex Analysis: An introduction to the theory of analytic functions of one complex variable (1979), where amplitude referred to the argument of a complex number. While this term is largely outdated in modern texts, it still appears in some regional educational resources, where it is sometimes used in introductory-level textbooks.[3]

Anargument of the nonzero complex numberz =x +iy, denotedarg(z), is defined in two equivalent ways:
for some positive realr (seeEuler's formula). The quantityr is themodulus (or absolute value) ofz, denoted |z|:
The argument of zero is usually left undefined. The namesmagnitude, for the modulus, andphase,[4][1] 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 of2πradians (a completeturn) are the same, as reflected by figure 2 on the right. Similarly, from theperiodicity ofsin andcos, the second definition also has this property.

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 themulti-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 awell-defined function is required, then the usual choice, known as theprincipal value, is the value in the open-closedinterval(−π,π] radians, that is from−π toπradians excluding−π radians itself (equiv., from −180 to +180degrees, 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[0, 2π).
The principal value sometimes has the initial letter capitalized, as inArgz, especially when a general version of the argument is also being considered. Note that notation varies, soarg andArg may be interchanged in different texts.
The set of all possible values of the argument can be written in terms ofArg as:
If a complex number is known in terms of its real and imaginary parts, then the function that calculates the principal valueArg is called thetwo-argument arctangent function,atan2:Theatan2 function is available in the math libraries of many programming languages, sometimes under a different name, and usually returns a value in the range(−π, π].[1]Seeatan2 for further detail and alternative implementations, such aswhich works except when and, in which case the value is insteadπ if or undefined when.
In Wolfram language, there'sArg[z]:[5]
Arg[x + y I]or using the language'sArcTan:
Arg[x + y I]ArcTan[x, y] is extended to work with infinities.ArcTan[0, 0] isIndeterminate (i.e. it'sstill defined), whileArcTan[Infinity, -Infinity] doesn't return anything (i.e. it'sundefined).
Maple'sargument(z) behaves the same asArg[z] in Wolfram language, except thatargument(z) also returns ifz is the special floating-point value−0..[6]Also, Maple doesn't have.
MATLAB'sangle(z) behaves[7][8] the same asArg[z] in Wolfram language, except that it is
Unlike in Maple and Wolfram language, MATLAB'satan2(y, x) is equivalent toangle(x + y*1i). That is,atan2(0, 0) is.
One of the main motivations for defining the principal valueArg is to be able to write complex numbers in modulus-argument form. Hence for any complex numberz,
This is only really valid ifz is non-zero, but can be considered valid forz = 0 ifArg(0) is considered as anindeterminate form—rather than as being undefined.
Some further identities follow. Ifz1 andz2 are two non-zero complex numbers, thenwhere means to add or subtract any integer multiple of2π if necessary to bring the value into the interval of(−π,π] radians.
Ifz ≠ 0 andn is any integer, then[1]
From, we get, alternatively. As we are taking the imaginary part, any normalisation by a real scalar will not affect the result. This is useful when one has thecomplex logarithm available.
The argument function is not complex differentiable, as the limit
does not exist for any and on any branch (indeed, for any chosen branch the numerator takes the same value). However, theWirtinger derivatives may be applied to it. Begin from the logarithmic identity.
Use that.
Performing different branch cuts lets one apply the derivatives to all points of the principal logarithm in two goes. First, apply.
Rearranging gives. Now apply.
This shows that
As both Wirtinger derivatives exist, one can then apply the Dolbeault derivatives.
This then means theexterior derivative exists, given by their sum.
This is an important differential form, as it is precisely the generator of the first de Rham cohomology of the circle,. In other words,
making this form closed but not exact in the usual sense (a byproduct of being multivalued).
with the standard orientation.