Arg (mathematics)

Arg (mathematics)

In mathematics the arg function is a logical function that extracts the angular component of a complex number or function.An alternative definition is available at Complex argument (continued fraction). The essential difference is the treatment of arg("0" + "i0").] The angular component is also referred to as the "argument". For real numbers "x" and "y", arg("x" + "iy") is equivalent to a function used in three computer languages called atan2("y", "x"), which is constrained to the range (−π, π] . That is, for "y" ≠ 0:

:arg(x+iy) = egin{cases}phicdot sgn(y) & qquad x > 0 \frac{pi}{2}cdot sgn(y) & qquad x = 0 \(pi - phi)cdot sgn(y) & qquad x < 0 \end{cases}

where phi, is the angle in [0,π/2) such that: an(phi) = left| frac{y}{x} ight|., And sgn is the sign function.

And:

:arg(x+i0) = egin{cases}0 & qquad x > 0 \ ext{undefined} & qquad x = 0 \pi & qquad x < 0 \end{cases}

This produces results in the range (−π, π] , which can be mapped to [0, 2π) by adding 2π to the negative values.

arg is also used less formally to represent an unconstrained angle. For instance, when:
* phi(t), is a continuous function of time (such as omega t),,
* and z(t) = r,mathrm{e}^{i phi(t)}, (called "exponential" form),
* or z(t) = r,(cos phi(t) + isin phi(t)), (called "trigonometric" form),arg("z"("t")) often denotes the continuous function, phi(t).,

Alternative implementation

If r = sqrt{x^2+y^2} is readily available, a potentially simpler implementation of arg("x" + "iy") is also available.

For "y" ≠ 0:

:arg(x + iy) = heta cdot sgn(y),,

where heta, is the angle in [0,π) such that: cos( heta) = frac{x}{r}.,

And arg(x+i0), is defined as before.

arg(0 + i 0)

When x and y are both zero, r = 0,, and any angle phi, satisfies:

Therefore, arg(0 + "i" 0) is sometimes defined as 0, for the sake of uniqueness. However, solving EquationNote|Eq.1 for phi, gives:

:arg(x + iy) = phi = -ilog_efrac{x+iy}{r}, , which is indeterminate/undefined when r=0. In this viewpoint, arg("x" + "i y") is not necessarily perceived as an angle.

Arg of rational complex numbers

If z1 and z2≠0 are two complex numbers then:

:argleft(frac{z_1}{z_2} ight) = [ arg(z_1) - arg(z_2) ] _{mod 2pi}.

E.g.::argleft(frac{-1-i}{i} ight) = arg(-1-i) - arg(i) = -frac{3pi}{4} - frac{pi}{2} = -frac{5pi}{4} stackrel{mod 2pi}{longrightarrow}quad frac{3pi}{4}.

Notes

External links

*MathWorld|title=ComplexArgument|urlname=ComplexArgument


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • ARG — NOTOC Arg or ARG may refer to:Architecture* Arg é Bam, in classical Persian architecture, a type of citadelComputing* argument, specifically Parameter (computer science), in computer science, the input for a subroutineCulture* Aragonese language… …   Wikipedia

  • Arg max — In mathematics, arg max (or argmax) stands for the argument of the maximum, that is to say, the value of the given argument for which the value of the given expression attains its maximum value::underset{x}{operatorname{arg,max , f(x) quadinquad… …   Wikipedia

  • List of mathematics articles (A) — NOTOC A A Beautiful Mind A Beautiful Mind (book) A Beautiful Mind (film) A Brief History of Time (film) A Course of Pure Mathematics A curious identity involving binomial coefficients A derivation of the discrete Fourier transform A equivalence A …   Wikipedia

  • Linear least squares (mathematics) — This article is about the mathematics that underlie curve fitting using linear least squares. For statistical regression analysis using least squares, see linear regression. For linear regression on a single variable, see simple linear regression …   Wikipedia

  • Optimization (mathematics) — In mathematics, the term optimization, or mathematical programming, refers to the study of problems in which one seeks to minimize or maximize a real function by systematically choosing the values of real or integer variables from within an… …   Wikipedia

  • Coordinates (mathematics) — Coordinates are numbers which describe the location of points in a plane or in space. For example, the height above sea level is a coordinate which is useful for describing points near the surface of the earth. A coordinate system, in a plane or… …   Wikipedia

  • Argument (complex analysis) — Arg (mathematics) redirects here. For argument of a function, see Argument of a function. Figure 1. This Argand diagram represents the complex numbers lying on a plane. For each point on the plane, arg is the function which returns the angle φ.… …   Wikipedia

  • Complex logarithm — A single branch of the complex logarithm. The hue of the color is used to show the arg (polar coordinate angle) of the complex logarithm. The saturation (intensity) of the color is used to show the modulus of the complex logarithm. The page with… …   Wikipedia

  • Atan2 — In computing, atan2 is a two argument function that makes it easy to find the angle round the origin of a point. When given the coordinates ( x , y ) the angle is atan2( y , x ). It is implemented in many different programming languages. The… …   Wikipedia

  • Mathematical optimization — For other uses, see Optimization (disambiguation). The maximum of a paraboloid (red dot) In mathematics, computational science, or management science, mathematical optimization (alternatively, optimization or mathematical programming) refers to… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”