# Argument (complex analysis)

__: Angle of complex number about real axis__

**Short description**In mathematics (particularly in complex analysis), the **argument** of a complex number z, denoted arg(*z*), is the angle between the positive real axis and the line joining the origin and z, represented as a point in the complex plane, shown as [math]\displaystyle{ \varphi }[/math] in Figure 1. By convention the positive real axis is drawn pointing rightward, the positive imaginary axis is drawn pointing upward, and complex numbers with positive real part are considered to have an anticlockwise argument with positive sign.

When any real-valued angle is considered, the argument is a multivalued function operating on the nonzero complex numbers. The principal 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 denoted arg(*z*) and its principal value will be denoted Arg(*z*), but in some sources the capitalization of these symbols is exchanged.

## Definition

An **argument** of the complex number *z* = *x* + *iy*, denoted arg(*z*), is defined in two equivalent ways:

- Geometrically, in the complex plane, as the 2D polar angle [math]\displaystyle{ \varphi }[/math] from the positive real axis to the vector representing z. The numeric value is given by the angle in radians, and is positive if measured counterclockwise.
- Algebraically, as any real quantity [math]\displaystyle{ \varphi }[/math] such that [math]\displaystyle{ z = r (\cos \varphi + i \sin \varphi) = r e^{i\varphi} }[/math] for some positive real r (see Euler's formula). The quantity r is the
*modulus*(or absolute value) of z, denoted |z|: [math]\displaystyle{ r = \sqrt{x^2 + y^2}. }[/math]

The names *magnitude,* for the modulus, and *phase*,^{[3]}^{[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 of 2π radians (a complete circle) are the same, as reflected by figure 2 on the right. Similarly, from the periodicity of sin and cos, 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 complex roots as: [math]\displaystyle{ \arg(z) = \lim_{n\to\infty} n\cdot \operatorname{Im}{\sqrt[n]{z/|z|}} }[/math] This definition removes reliance on other difficult-to-compute functions such as arctangent as well as eliminating the need for the piecewise definition. Because it's defined in terms of roots, it also inherits the principal branch of square root as its own principal branch. The normalization of [math]\displaystyle{ z }[/math] by dividing by [math]\displaystyle{ |z| }[/math] isn't necessary for convergence to the correct value, but it does speed up convergence and ensures that [math]\displaystyle{ \arg(0) }[/math] 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 [math]\displaystyle{ \varphi }[/math] by circling the origin any number of times. This is shown in figure 2, a representation of the multi-valued (set-valued) function [math]\displaystyle{ f(x,y)=\arg(x+iy) }[/math], 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 (−*π* rad, *π* rad], that is from −*π* to *π* radians, excluding −*π* rad itself (equiv., from −180 to +180 degrees, 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*π*).

### Notation

The principal value sometimes has the initial letter capitalized, as in Arg *z*, especially when a general version of the argument is also being considered. Note that notation varies, so arg and Arg may be interchanged in different texts.

The set of all possible values of the argument can be written in terms of Arg as:

- [math]\displaystyle{ \arg(z) = \{\operatorname{Arg}(z) + 2\pi n \mid n \in \mathbb Z\}. }[/math]

## 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 Arg is called the two-argument arctangent function, atan2:

- [math]\displaystyle{ \operatorname{Arg}(x + iy) = \operatorname{atan2}(y,\, x) }[/math].

The atan2 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]}

In some sources the argument is defined as [math]\displaystyle{ \operatorname{Arg}(x + iy) = \arctan(y/x), }[/math] however this is correct only when *x* > 0, where [math]\displaystyle{ y/x }[/math] is well-defined and the angle lies between [math]\displaystyle{ -\tfrac\pi2 }[/math] and [math]\displaystyle{ \tfrac\pi2. }[/math] Extending this definition to cases where *x* is not positive is relatively involved. Specifically, one may define the principal value of the argument separately on the half-plane *x* > 0 and the two quadrants with *x* < 0, and then patch the definitions together:

- [math]\displaystyle{ \operatorname{Arg}(x + iy) = \operatorname{atan2}(y,\, x) = \begin{cases} \arctan\left(\frac y x\right) &\text{if } x \gt 0, \\[5mu] \arctan\left(\frac y x\right) + \pi &\text{if } x \lt 0 \text{ and } y \ge 0, \\[5mu] \arctan\left(\frac y x\right) - \pi &\text{if } x \lt 0 \text{ and } y \lt 0, \\[5mu] +\frac{\pi}{2} &\text{if } x = 0 \text{ and } y \gt 0, \\[5mu] -\frac{\pi}{2} &\text{if } x = 0 \text{ and } y \lt 0, \\[5mu] \text{undefined} &\text{if } x = 0 \text{ and } y = 0. \end{cases} }[/math]

See atan2 for further detail and alternative implementations.

## Identities

One of the main motivations for defining the principal value Arg is to be able to write complex numbers in modulus-argument form. Hence for any complex number z,

- [math]\displaystyle{ z = \left| z \right| e^{i \operatorname{Arg} z}. }[/math]

This is only really valid if z is non-zero, but can be considered valid for *z* = 0 if Arg(0) is considered as an indeterminate form—rather than as being undefined.

Some further identities follow. If *z*_{1} and *z*_{2} are two non-zero complex numbers, then

- [math]\displaystyle{ \begin{align} \operatorname{Arg}(z_1 z_2) &\equiv \operatorname{Arg}(z_1) + \operatorname{Arg}(z_2) \pmod{\mathbb{R}/2\pi\mathbb{Z}}, \\ \operatorname{Arg}\left(\frac{z_1}{z_2}\right) &\equiv \operatorname{Arg}(z_1) - \operatorname{Arg}(z_2) \pmod{\mathbb{R}/2\pi\mathbb{Z}}. \end{align} }[/math]

If *z* ≠ 0 and n is any integer, then^{[1]}

- [math]\displaystyle{ \operatorname{Arg}\left(z^n\right) \equiv n \operatorname{Arg}(z) \pmod{\mathbb{R}/2\pi\mathbb{Z}}. }[/math]

### Example

- [math]\displaystyle{ \operatorname{Arg}\biggl(\frac{-1- i}{i}\biggr) = \operatorname{Arg}(-1 - i) - \operatorname{Arg}(i) = -\frac{3\pi}{4} - \frac{\pi}{2} = -\frac{5\pi}{4} }[/math]

### Using the complex logarithm

From [math]\displaystyle{ z = |z| e^{i \operatorname{Arg}(z)} }[/math], we get [math]\displaystyle{ i \operatorname{Arg}(z) = \ln \frac{z}{|z|} }[/math], alternatively [math]\displaystyle{ \operatorname{Arg}(z) = Im [ \ln \frac{z}{|z|} ] = Im [ \ln z ] }[/math]. As we are taking the imaginary part, any normalisation by a real scalar will not affect the result. This is useful when one has the complex logarithm available.

## Extended argument

The extended argument of a number z (denoted as [math]\displaystyle{ \overline{\arg}(z) }[/math]) is the set of all real numbers congruent to [math]\displaystyle{ \arg (z) }[/math] modulo 2[math]\displaystyle{ \pi }[/math].^{[4]}[math]\displaystyle{ \overline{\arg}(z) = \arg (z) + 2k\pi, \forall k \in \mathbb{Z} }[/math]

## References

- ↑
^{1.0}^{1.1}^{1.2}^{1.3}Weisstein, Eric W.. "Complex Argument" (in en). https://mathworld.wolfram.com/ComplexArgument.html. - ↑ "Pure Maths" (in en). https://internal.ncl.ac.uk/ask/numeracy-maths-statistics/core-mathematics/pure-maths/algebra/modulus-and-argument.html.
- ↑ Dictionary of Mathematics (2002).
*phase*. - ↑ "Algebraic Structure of Complex Numbers". https://www.cut-the-knot.org/arithmetic/algebra/ComplexNumbers.shtml.

## Bibliography

- Ahlfors, Lars (1979).
*Complex Analysis: An Introduction to the Theory of Analytic Functions of One Complex Variable*(3rd ed.). New York;London: McGraw-Hill. ISBN 0-07-000657-1. - Ponnuswamy, S. (2005).
*Foundations of Complex Analysis*(2nd ed.). New Delhi;Mumbai: Narosa. ISBN 978-81-7319-629-4. - Beardon, Alan (1979).
*Complex Analysis: The Argument Principle in Analysis and Topology*. Chichester: Wiley. ISBN 0-471-99671-8. - Borowski, Ephraim; Borwein, Jonathan (2002).
*Mathematics*. Collins Dictionary (2nd ed.). Glasgow: HarperCollins. ISBN 0-00-710295-X.

## External links

Original source: https://en.wikipedia.org/wiki/Argument (complex analysis).
Read more |