Absolute value
Quick answer
The absolute value |x| is the distance of x from 0, so it is never negative: |−5| = 5 and |5| = 5. The graph of y = |x| is a V with its vertex at the origin. To solve |x − 3| = 4, split it into x − 3 = 4 or x − 3 = −4, giving x = 7 or x = −1.
y=abs(x-3)
Solving absolute value inequalities
| |x| < a | −a < x < a (between) |
|---|---|
| |x| > a | x < −a or x > a (outside) |
On the graph, |x − 3| < 4 is where the V lies below the line y = 4: between x = −1 and x = 7.
Typing absolute value
Type abs(x) or use vertical bars |x|. Both work in every calculator on this site.
Frequently asked questions
Can an absolute value equation have no solution?
Yes. |x| = −2 has no solution because absolute value is never negative.