RealAbs
RealAbs[x]
gives the absolute value of the real number x.
Details

- RealAbs is also known as modulus.
- Mathematical function, suitable for both symbolic and numerical manipulation.
- RealAbs[x] is effectively equivalent to Piecewise[{{x,x>=0}},-x].
- RealAbs is continuous and differentiable everywhere except at the origin.
- RealAbs[x] is left unevaluated if x is not a numeric quantity.
- RealAbs automatically threads over lists.

Examples
open allclose allBasic Examples (4)
Scope (23)
Numerical Evaluation (6)
Specific Values (5)
Values of RealAbs at particular points:
Visualization (3)
Function Properties (4)
RealAbs is defined only for real inputs:
The range of RealAbs is the non-negative reals:
RealAbs is an even function:
TraditionalForm formatting:
Differentiation and Integration (5)
Applications (7)
Properties & Relations (8)
Neat Examples (1)
Form nested functions involving RealAbs:
Wolfram Research (2017), RealAbs, Wolfram Language function, https://reference.wolfram.com/language/ref/RealAbs.html.
Text
Wolfram Research (2017), RealAbs, Wolfram Language function, https://reference.wolfram.com/language/ref/RealAbs.html.
BibTeX
BibLaTeX
CMS
Wolfram Language. 2017. "RealAbs." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RealAbs.html.
APA
Wolfram Language. (2017). RealAbs. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RealAbs.html