Argument (complex analysis) explained

In mathematics (particularly in complex analysis), the argument of a complex number, denoted, is the angle between the positive real axis and the line joining the origin and, represented as a point in the complex plane, shown as

\varphi

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 and its principal value will be denoted, but in some sources the capitalization of these symbols is exchanged.

Definition

An argument of the complex number, denoted, is defined in two equivalent ways:

\varphi

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.
  1. Algebraically, as any real quantity

\varphi

such that z = r (\cos \varphi + i \sin \varphi) = r e^ for some positive real (see Euler's formula). The quantity is the modulus (or absolute value) of, denoted ||: r = \sqrt.

The names magnitude, for the modulus, and phase,[3] 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 , 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:\arg(z) = \lim_ n\cdot \operatornameThis 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

z

by dividing by

|z|

isn't necessary for convergence to the correct value, but it does speed up convergence and ensures that

\arg(0)

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

\varphi

by circling the origin any number of times. This is shown in figure 2, a representation of the multi-valued (set-valued) function

f(x,y)=\arg(x+iy)

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

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:

\arg(z)=\{\operatorname{Arg}(z)+2\pin\midn\inZ\}.

Computing from the real and imaginary part

See main article: atan2. 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, :

\operatorname{Arg}(x+iy)=\operatorname{atan2}(y,x)

.The function is available in the math libraries of many programming languages, sometimes under a different name, and usually returns a value in the range .

In some sources the argument is defined as

\operatorname{Arg}(x+iy)=\arctan(y/x),

however this is correct only when, where

y/x

is well-defined and the angle lies between

-\tfrac\pi2

and

\tfrac\pi2.

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 half-plane and the two quadrants with, and then patch the definitions together:

\operatorname{Arg}(x+iy)=\operatorname{atan2}(y,x)= \begin{cases} \arctan\left(

y
x\right)

&ifx>0,\\[5mu] \arctan\left(

y
x\right)

+\pi&ifx<0andy\ge0,\\[5mu] \arctan\left(

y
x\right)

-\pi&ifx<0andy<0,\\[5mu] +

\pi
2

&ifx=0andy>0,\\[5mu] -

\pi
2

&ifx=0andy<0,\\[5mu] undefined&ifx=0andy=0. \end{cases}

See atan2 for further detail and alternative implementations.

Realizations of the function in computer languages

Wolfram language (Mathematica)

In Wolfram language, there's Arg[z]:[4]

Arg[x + y I]

= \begin{cases} undefined&if|x|=inftyand|y|=infty,\\[5mu] 0&ifx=0andy=0,\\[5mu] 0&ifx=infty,\\[5mu] \pi&ifx=-infty,\\[5mu] \pm

\pi
2

&ify=\pminfty,\\[5mu] \operatorname{Arg}(x+yi)&otherwise. \end{cases}

or using the language's ArcTan:

Arg[x + y I]

= \begin{cases} 0&ifx=0andy=0,\\[5mu] ArcTan[x,y]&otherwise. \end{cases}

ArcTan[x, y] is

\operatorname{atan2}(y,x)

extended to work with infinities. ArcTan[0, 0] is Indeterminate (i.e. it's still defined), while ArcTan[Infinity, -Infinity] doesn't return anything (i.e. it's undefined).

Maple

Maple's argument(z) behaves the same as Arg[z] in Wolfram language, except that argument(z) also returns

\pi

if z is the special floating-point value −0..[5] Also, Maple doesn't have

\operatorname{atan2}

.

MATLAB

MATLAB's angle(z) behaves[6] [7] the same as Arg[z] in Wolfram language, except that it is

\begin{cases}

1\pi
4

&ifx=inftyandy=infty,\\[5mu] -

1\pi
4

&ifx=inftyandy=-infty,\\[5mu]

3\pi
4

&ifx=-inftyandy=infty,\\[5mu] -

3\pi
4

&ifx=-inftyandy=-infty. \end{cases}

Unlike in Maple and Wolfram language, MATLAB's atan2(y, x) is equivalent to angle(x + y*1i). That is, atan2(0, 0) is

0

.

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,

z=\left|z\right|eiz}.

This is only really valid if is non-zero, but can be considered valid for if is considered as an indeterminate form—rather than as being undefined.

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

\begin{align} \operatorname{Arg}(z1z2)&\equiv\operatorname{Arg}(z1)+\operatorname{Arg}(z2)\pmod{R/2\piZ

}, \\ \operatorname\left(\frac\right) &\equiv \operatorname(z_1) - \operatorname(z_2) \pmod.\end

If and is any integer, then

\operatorname{Arg}\left(zn\right)\equivn\operatorname{Arg}(z)\pmod{R/2\piZ

}.

Example

\operatorname{Arg}l(-1-i
i

r)=\operatorname{Arg}(-1-i)-\operatorname{Arg}(i)=-

3\pi
4

-

\pi
2

=-

5\pi
4

Using the complex logarithm

From

z=|z|ei(z)}

, we get

i\operatorname{Arg}(z)=ln

z
|z|
, alternatively

\operatorname{Arg}(z)=\operatorname{Im}(ln

z
|z|

)=\operatorname{Im}(lnz)

. 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

\overline{\arg}(z)

) is the set of all real numbers congruent to

\arg(z)

modulo 2

\pi

.[8] \overline(z) = \arg (z) + 2k\pi, \forall k \in \mathbb

Bibliography

External links

Notes and References

  1. Web site: Weisstein. Eric W.. Complex Argument. 2020-08-31. mathworld.wolfram.com. en.
  2. Web site: Pure Maths. 2020-08-31. internal.ncl.ac.uk. en.
  3. Dictionary of Mathematics (2002). phase.
  4. https://reference.wolfram.com/language/ref/Arg.html
  5. https://www.maplesoft.com/support/help/Maple/view.aspx?path=argument
  6. https://www.mathworks.com/help/matlab/ref/angle.html
  7. https://www.mathworks.com/help/matlab/ref/atan2.html
  8. Web site: Algebraic Structure of Complex Numbers. 2021-08-29 . www.cut-the-knot.org.