Graph of y = āx + 4
The graph of y = āx + 4 is a straight line with slope -1 and y-intercept 4. It crosses the y-axis at (0, 4) and the x-axis at (4, 0).
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
Read the slope and the y-intercept. A line is y = mx + b, where m is the slope and b is where it crosses the y-axis. Here m = -1 and b = 4.
- 2
Plot the y-intercept: the point (0, 4) is on the line because x = 0 gives y = 4.
- 3
Use the slope -1 = -1/1 as rise over run: from any point, go 1 to the right and down 1. From (0, 4) that gives the point (1, 3).
- 4
Find where it crosses the x-axis by setting y = 0 and solving for x.
- 5
Draw the straight line through these points and extend it both ways. It falls from left to right (it is decreasing).
LaTeX source of the formulas on this page
\[ y = -x + 4 \] \[ y = -1\cdot 0 + 4 = 4 \] \[ (0,\;4) \to (1,\;3) \] \[ 0 = -x + 4 \;\Rightarrow\; x = 4 \]
Table of values
| x | y |
|---|---|
| -3 | 7 |
| -2 | 6 |
| -1 | 5 |
| 0 | 4 |
| 1 | 3 |
| 2 | 2 |
| 3 | 1 |
Questions
What is the slope of y = āx + 4?
The slope is -1. For every 1 step to the right the line goes down 1.
What is the y-intercept of y = āx + 4?
The y-intercept is 4: the line crosses the y-axis at (0, 4).
What is the x-intercept of y = āx + 4?
Set y = 0: āx + 4 = 0, so x = 4 (about 4). The line crosses the x-axis at (4, 0).
Is y = āx + 4 increasing or decreasing?
Decreasing, because the slope -1 is negative. The line makes an angle of about -45° with the x-axis.
What is the slope of a line perpendicular to y = āx + 4?
1, the negative reciprocal of -1. A line parallel to it has the same slope -1.