Absolute Value

Lesson · Beginner

Algebra: Functions

For a real number x,

x={x,x0x,x<0 |x|= \begin{cases} x, & x\ge 0\\ -x, & x<0 \end{cases}

Geometrically, |x| is the distance from x to 0 on the number line.

More generally,

xa|x-a|

is the distance between x and a.