Graph of y = |x|
The graph of y = |x| has domain all real numbers and range y ≥ 0. It is even, decreasing for x < 0 and increasing for x > 0, with a sharp corner at 0. Asymptotes: none. Intercepts: (0, 0).
f(x) =
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
Domain: the x values the function accepts. For |x| that is all real numbers.
- 2
Range: the y values it takes: y ≥ 0.
- 3
Symmetry: the function is even. Its graph is a mirror image across the y-axis, so f(−x) = f(x).
- 4
Intercepts and asymptotes: intercepts (0, 0); asymptotes none.
- 5
Slope: the derivative is the formula for the slope at each point.
LaTeX source of the formulas on this page
\[ y = |x| \]
\[ \frac{d}{dx}\left(|x|\right) = \operatorname{sign}\left(x\right) \]Table of values
| x | y |
|---|---|
| -3 | 3 |
| -2 | 2 |
| -1 | 1 |
| -0.5 | 0.5 |
| 0 | 0 |
| 0.5 | 0.5 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
Questions
What is the domain of y = |x|?
All real numbers.
What is the range of y = |x|?
Y ≥ 0.
Is y = |x| even or odd?
It is even.
What are the asymptotes of y = |x|?
None.
What is the derivative of |x|?
sign(x).