Graph of y = −x + 4
Quick answer
The graph of y = −x + 4 is a linear function. Its domain is all real numbers and its range is all real numbers. It crosses the x-axis at (4, 0) and the y-axis at (0, 4).
y=-x+4
Key features
| Domain | All real numbers |
|---|---|
| Range | All real numbers |
| x-intercepts | (4, 0) |
| y-intercept | (0, 4) |
| Turning points | None |
| Symmetry | neither even nor odd |
| Asymptotes | None |
| End behavior | As x → −∞, y → ∞; as x → ∞, y → −∞ |
| Derivative | y′ = −1 |
| Second derivative | y″ = 0 |
A negative slope makes the line fall from left to right. It meets both axes at 4, so it forms an isosceles right triangle with them.
Table of values
| x | −3 | −2 | −1 | 0 | 1 | 2 | 3 |
|---|---|---|---|---|---|---|---|
| y | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
How to graph y = −x + 4
- Open the graphing calculator and type
y = -x+4. - Plot the y-intercept (0, 4).
- Plot the x-intercepts: (4, 0).
- 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 = −x + 4 is a transformation of y = x. A linear function has a constant rate of change, so its graph is a straight line. In slope-intercept form y = mx + b, m is the slope and b is the y-intercept.
y=xy=-x+4
Frequently asked questions
What is the domain and range of y = −x + 4?
Domain: All real numbers. Range: All real numbers.
What are the x-intercepts of y = −x + 4?
(4, 0).
What is the derivative of −x + 4?
−1. Graph it by defining f(x) = -x+4 and typing f'(x).
Is −x + 4 even, odd or neither?
It is neither even nor odd.