#jsDisabledContent { display:none; } My Account | Register | Help

# Arg (mathematics)

Article Id: WHEBN0025826415
Reproduction Date:

 Title: Arg (mathematics) Author: World Heritage Encyclopedia Language: English Subject: Collection: Publisher: World Heritage Encyclopedia Publication Date:

### Arg (mathematics)

"Arg (mathematics)" redirects here. For argument of a function, see Argument of a function.

In mathematics, arg is a function operating on complex numbers (visualized in a complex plane). It gives the angle between the line joining the point to the origin and the positive real axis, shown as φ in figure 1 opposite, known as an argument of the point (that is, the angle between the half-lines of the position vector representing the number and the positive real axis).

## Definition

Arguments are defined in two equivalent ways:

• Geometrically, in relation to an Argand diagram, arg z is the angle from the positive real axis to the vector representing . The numeric value is given by the angle in radians and is positive if measured counter-clockwise.
• Algebraically, an argument of the complex number z = x + iy is any real quantity $\phi$ such that
$z = x + i y = r \cos \phi + i r \sin \phi \$
for some positive real . The quantity is the modulus of , written
$r = |z| = \sqrt\left\{x^2 + y^2\right\} \ .$

The names amplitude[1] or phase[2] 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. Similarly, from the periodicity of sin and cos, the second definition also has this property.

## Principal value

Because a complete rotation around 0 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 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 −π itself (−180 to +180 degrees). This represents an angle of up to half a complete circle from the positive real axis in either direction, the angle is constrained to lie between −π and π radians. This portion of the surface is shown hatched in red in figure 2, and projected onto the plane in figure 4.

### 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.

Some authors define the range of the principal value as being in the closed-open interval .

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

$\arg\left\{z\right\}=\\left\{\operatorname\left\{Arg\right\} z+2\pi n:n\in \mathbb Z\\right\}$.

## Covering space

In informal situations, arg may be left not well-defined, for instance arg z(t) where z depends on a parameter may change by every time goes around the origin. This idea can be made more precise by considering z(t) as being defined not on the complex plane but on a covering space. Polar coordinates excluding the origin and with an unconstrained angle provide such a space, in this case arg is defined by:

\begin\left\{align\right\}

\arg \colon \mathbb{R}^+\times\mathbb{R} &\to \mathbb{R} \\ (r,\ \phi) &\mapsto \phi \end{align}

The covering space has as base space the punctured complex plane. This is equivalent to the product of a positive non-zero radius and an angle on a unit circle that is:

$\mathbb\left\{C\right\}\smallsetminus\\left\{0\\right\} = \mathbb\left\{R\right\}^+ \times \mathbb\left\{S\right\}^1$

The principal value Arg then maps the unit circle component of this representation to the interval .

## Computation

The principal value Arg of a complex number given as x+iy is normally available in programming languages using the function atan2( ) or some language specific variant. The value of atan2(y, x) is the principal value in the range .

Many texts say the value is given by arctan(y/x), as y/x is slope, and arctan converts slope to angle. This is correct only when x > 0, so the quotient is defined and the angle lies between π/2 and π/2, but 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 four half-planes x > 0, x < 0 (separated into two quadrants if one wishes a branch cut on the negative x-axis), y > 0, y < 0, and then patch together.

$\operatorname\left\{Arg\right\}: \mathbb\left\{C\right\} \smallsetminus \\left\{0\\right\} \to \left(-\pi,\pi\right]$
$\operatorname\left\{Arg\right\}\left(x + iy\right) = \operatorname\left\{atan2\right\}\left(y,x\right) =$
  \begin{cases}
\arctan \left( y/x \right) & \qquad x > 0 \\
\pi/2 - \arctan \left( x/y \right) & \qquad y > 0 \\
-\pi/2 - \arctan \left( x/y \right) & \qquad y < 0 \\
\pi + \arctan \left( y/x \right) & \qquad x < 0, y \ge 0 \\
-\pi + \arctan \left( y/x \right) & \qquad x < 0, y < 0 \\
\text{undefined} & \qquad x = 0, y = 0
\end{cases}


For the variant where Arg is defined to lie in the interval , the value can be found by adding to the value above when it is negative.

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:



\operatorname{Arg}(x + iy) = \begin{cases} 2 \arctan \left( \frac{y}{\sqrt{x^2+y^2}+x} \right) & \qquad x > 0 \text{ or } y \ne 0 \\ \pi & \qquad x < 0 \text{ and } y = 0 \\ \text{undefined} & \qquad x = 0 \text{ and } y = 0 \end{cases} This is based on a parametrization of the circle (except for the negative -axis) by rational functions. This version of Arg is not stable enough for numerical use but can be used in symbolic calculation. In many programming libraries there is a function called atan2 which performs an equivalent computation.

## Identities

One of the main motivations for defining the principal value Arg is to be able to write complex numbers in modulus-argument form (the modulus of z = x + iy is = √(x2 + y2), the length of the vector on the Argand diagram). Hence for any complex number ,

$z = \left| z \right| e ^ \left\{ i \operatorname\left\{Arg\right\} \left\left( z \right\right) \right\}$.

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

Some further identities follow. If z1 and z2 are two non-zero complex numbers then

$\operatorname\left\{Arg\right\}\left\left(z_1 z_2\right\right) \equiv \operatorname\left\{Arg\right\}\left(z_1\right) + \operatorname\left\{Arg\right\}\left(z_2\right) \pmod \left\{\left(-\pi,\pi\right]\right\}$
$\operatorname\left\{Arg\right\}\left\left(\frac\left\{z_1\right\}\left\{z_2\right\}\right\right) \equiv \operatorname\left\{Arg\right\}\left(z_1\right) - \operatorname\left\{Arg\right\}\left(z_2\right) \pmod \left\{\left(-\pi,\pi\right]\right\}$

If z ≠ 0 and is any integer then

$\operatorname\left\{Arg\right\}\left\left(z^n\right\right) \equiv n \operatorname\left\{Arg\right\}\left(z\right) \pmod \left\{\left(-\pi,\pi\right]\right\} .$

### Example



\operatorname{Arg}\left(\frac{-1- i}{i}\right) \equiv \operatorname{Arg}(-1-i) - \operatorname{Arg}(i) = -\frac{3\pi}{4} - \frac{\pi}{2} = -\frac{5\pi}{4} \equiv \frac{3\pi}{4} \pmod {(-\pi,\pi]}