Graph of y = 3x
The graph of y = 3x is a straight line with a slope of 3, crossing the y-axis at (0, 0). 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
- (0, 0)
- Perpendicular slope
- −1/3
- y-intercept
- None
- Derivative
- 3
- Antiderivative
- 3/2 x² + C
Derivative and antiderivative from the calculator’s algebra system. Domain, range and asymptotes are stated for real x.
What the graph of 3x looks like
In slope-intercept form, y = mx + b, this line has m = 3 and b = 0. The slope says the line goes up 3 for every 1 to the right, so it rises from left to right.
Since b = 0, the line passes through the origin, which means y is directly proportional to x: double x and y doubles too.
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
- Local maxima
- None in this window
- Local minima
- None in this window
- Inflection points
- (−6, −18), (−5.997, −17.991), (−5.994, −17.982), (−5.991, −17.973), (−5.988, −17.964), (−5.985, −17.955) … (4001 in view)
Table of values
A few points to plot, with exact values where they are simple.
| x | y = 3x |
|---|---|
| −2 | −6 |
| −1 | −3 |
| 0 | 0 |
| 1 | 3 |
| 2 | 6 |
| 3 | 9 |
How to graph 3x by hand
- 1Plot the y-intercept at (0, 0).
- 2Use the slope to find a second point: from there, go up 3 for every 1 to the right, which takes you to (1, 3).
- 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 in blue.
y = 3x + 2The same slope, moved up by 2: this line is parallel to the original.y = 6xTwice as steep, with slope 6, through the same y-intercept.y = (-1/3)xPerpendicular 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?
What is the y-intercept of y = 3x?
How do you graph y = 3x?
Related graphs
Slope 4, crossing the y-axis at 0.
Slope −1, crossing the y-axis at 0.
Slope −2, crossing the y-axis at 0.
Slope 1/2, crossing the y-axis at 0.
Slope 1, crossing the y-axis at 1.
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.