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