Graph of y = 2x ā 6
The graph of y = 2x ā 6 is a straight line with slope 2 and y-intercept -6. It crosses the y-axis at (0, -6) and the x-axis at (3, 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 = 2 and b = -6.
- 2
Plot the y-intercept: the point (0, -6) is on the line because x = 0 gives y = -6.
- 3
Use the slope 2 = 2/1 as rise over run: from any point, go 1 to the right and up 2. From (0, -6) that gives the point (1, -4).
- 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 rises from left to right (it is increasing).
LaTeX source of the formulas on this page
\[ y = 2x - 6 \] \[ y = 2\cdot 0 - 6 = -6 \] \[ (0,\;-6) \to (1,\;-4) \] \[ 0 = 2x - 6 \;\Rightarrow\; x = 3 \]
Table of values
| x | y |
|---|---|
| -3 | -12 |
| -2 | -10 |
| -1 | -8 |
| 0 | -6 |
| 1 | -4 |
| 2 | -2 |
| 3 | 0 |
Questions
What is the slope of y = 2x ā 6?
The slope is 2. For every 1 step to the right the line goes up 2.
What is the y-intercept of y = 2x ā 6?
The y-intercept is -6: the line crosses the y-axis at (0, -6).
What is the x-intercept of y = 2x ā 6?
Set y = 0: 2x ā 6 = 0, so x = 3 (about 3). The line crosses the x-axis at (3, 0).
Is y = 2x ā 6 increasing or decreasing?
Increasing, because the slope 2 is positive. The line makes an angle of about 63.4° with the x-axis.
What is the slope of a line perpendicular to y = 2x ā 6?
-1/2, the negative reciprocal of 2. A line parallel to it has the same slope 2.