Graph of y = 3x + 2
The graph of y = 3x + 2 is a straight line with a slope of 3, crossing the y-axis at (0, 2). It rises from left to right, going up 3 for every 1 to the right.
Key features
- Domain
- All real numbers
- Range
- All real numbers
- Slope
- 3
- Direction
- Rising
- x-intercept
- (−2/3, 0)
- Perpendicular slope
- −1/3
- y-intercept
- (0, 2)
- Derivative
- 3
- Antiderivative
- 3/2 x² + 2x + C
Derivative and antiderivative from the calculator’s algebra system. Domain, range and asymptotes are stated for real x.
What the graph of 3x + 2 looks like
In slope-intercept form, y = mx + b, this line has m = 3 and b = 2. The slope says the line goes up 3 for every 1 to the right, so it rises from left to right.
The value b = 2 is where the line crosses the y-axis: when x = 0, y = 2.
A line has the same slope everywhere, so its derivative is the constant 3. Any two points on it give the same rise over run.
Points of interest
Found numerically to about twelve digits in the window −6 ≤ x ≤ 6, then shown in exact form where one exists.
- x-intercepts (roots)
- x = −0.6667
- Local maxima
- None in this window
- Local minima
- None in this window
- Inflection points
- (−6, −16), (−5.997, −15.991), (−5.994, −15.982), (−5.991, −15.973), (−5.988, −15.964), (−5.985, −15.955) … (4001 in view)
Table of values
A few points to plot, with exact values where they are simple.
| x | y = 3x + 2 |
|---|---|
| −2 | −4 |
| −1 | −1 |
| 0 | 2 |
| 1 | 5 |
| 2 | 8 |
| 3 | 11 |
How to graph 3x + 2 by hand
- 1Plot the y-intercept at (0, 2).
- 2Use the slope to find a second point: from there, go up 3 for every 1 to the right, which takes you to (1, 5).
- 3Draw a straight line through the two points, and extend it in both directions.
- 4Check with a third point from the table of values.
Transformations
How the graph moves when you change the formula. The original is 3x + 2 in blue.
y = 3x + 4The same slope, moved up by 2: this line is parallel to the original.y = 6x + 2Twice as steep, with slope 6, through the same y-intercept.y = (-1/3)x + 2Perpendicular to the original: its slope, −1/3, multiplies with 3 to give −1.
Common mistakes
- Plotting the slope as run over rise. The rise comes first: it is the top of the fraction.
- Starting at the x-intercept when you only have the y-intercept. The b value is where the line meets the y-axis.
Frequently asked questions
What is the slope of y = 3x + 2?
What is the y-intercept of y = 3x + 2?
How do you graph y = 3x + 2?
Related graphs
Slope −1, crossing the y-axis at 3.
A horizontal line through (0, 1).
A horizontal line through (0, 2).
A horizontal line through (0, 3).
Slope 1, crossing the y-axis at 0.
A straight line: slope m, y-intercept b.
Change the window, add sliders for a, b, h and k, trace the curve with your keyboard, or overlay its derivative.