Graph of y = |x|
Quick answer
The graph of y = |x| is an absolute value function. Its domain is all real numbers and its range is y ≥ 0. It crosses the x-axis at (0, 0) and the y-axis at (0, 0). It has a local minimum at (0, 0).
y=abs(x)
Key features
| Domain | All real numbers |
|---|---|
| Range | y ≥ 0 |
| x-intercepts | (0, 0) |
| y-intercept | (0, 0) |
| Turning points | min (0, 0) |
| Symmetry | even (symmetric about the y-axis) |
| Asymptotes | None |
| End behavior | As x → −∞, y → ∞; as x → ∞, y → ∞ |
| Derivative | y′ = sign(x) |
| Second derivative | y″ = 0 |
The parent absolute value graph: two rays of slope ±1 meeting at a sharp corner at the origin, where the derivative does not exist.
Table of values
| x | −3 | −2 | −1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|---|---|
| y | 3 | 2 | 1 | 0 | 1 | 2 | 3 |
How to graph y = |x|
- Open the graphing calculator and type
y = abs(x). - Plot the y-intercept (0, 0).
- Plot the x-intercepts: (0, 0).
- Mark the turning points: (0, 0).
- Use the table of values to add a few more points, then connect them with a smooth curve that follows the end behavior.
About absolute value functions
An absolute value function makes every output non-negative, so its graph has a V shape with a corner at the vertex.
Frequently asked questions
What is the domain and range of y = |x|?
Domain: All real numbers. Range: y ≥ 0.
What are the x-intercepts of y = |x|?
(0, 0).
What is the derivative of |x|?
sign(x). Graph it by defining f(x) = abs(x) and typing f'(x).
Is |x| even, odd or neither?
It is even (symmetric about the y-axis).