is the magnitude of with its sign removed, that is, its distance from the origin on the number line. It equals for and for , and it can also be written .
The domain is all real numbers. Since the value is a distance it is never negative, so the range is .
Since , the function is even and its graph is symmetric about the -axis.
The graph is a V shape, formed by the part of the line with joined to the part of the line with , with the origin as its vertex. It is made of two rays rather than a curve, so it bends nowhere and has no inflection point.
The derivative is for and for .
| Range of | Slope | |
|---|---|---|
| undefined | ||
At the origin the slope from the left is and the slope from the right is ; they disagree, so the function is not differentiable at . It is the standard example of a function that is continuous everywhere yet fails to be differentiable somewhere. Where the parabola has a smooth valley at the origin, has a sharp corner.
| Number of solutions | Solutions | |
|---|---|---|
| none |
The graph passes through , and . The magnitude of the slope is everywhere, so the value grows at a constant rate as you move away from the origin.
It equals , and also . Both and are even, but flattens near the origin while folds there with a constant slope. The distance to a point in the plane, , is the two-dimensional counterpart of this function.
It measures the size of an error without regard to sign.