This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 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]=