Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Mathematical Functions > Numerical Functions >

Abs

Abs[z]
gives the absolute value of the real or complex number z.
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • For complex numbers z, Abs[z] gives the modulus |z|.
  • Abs[z] is left unevaluated if z is not a numeric quantity.
  • Abs automatically threads over lists.
Real numbers:
Complex numbers:
Abs threads element-wise over lists:
Abs works with symbolic representations of numbers:
Express absolute values of algebraic numbers as explicit algebraic numbers:
TraditionalForm formatting:
Abs can deal with real-valued intervals:
Infinite arguments give symbolic results:
Abs threads element-wise over sparse arrays:
Plot Abs over the complex plane:
Color plots according to Abs:
Simplify expressions containing Abs:
Abs is idempotent:
Use Abs as a target function in ComplexExpand:
Solve an equation involving Abs:
Prove an inequality containing Abs:
Definite integration:
Integrate along a line in the complex plane, symbolically and numerically:
Interpret as the indefinite integral for real arguments:
Integral transforms:
Obtain Abs from Limit:
Convert into Piecewise:
De-nest:
Norms of general vectors contain Abs:
Abs can stay unevaluated for some complicated numeric arguments:
No series can be formed from Abs for complex arguments:
For real arguments, a series can be found:
Form nested functions involving Abs:
Plot Abs at Gaussian integers:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team