Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Mathematical Functions / Numerical Functions  /
Abs

  • Abs[ z ] gives the absolute value of the real or complex number z.
  • For complex numbers , Abs[ z ] gives the modulus .
  • Abs[ z ] is left unevaluated if z is not a numeric quantity.
  • See the Mathematica book: Section 1.1.3, Section 1.1.5, Section 3.2.2Section 3.2.2.
  • See also: Re, Im, Arg, Mod, ComplexExpand.

    Further Examples

    The absolute value (or modulus) of a complex number z is the distance from z to the origin.

    In[1]:=

    Out[1]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.