Skip to content
ihateDesmos

Graph of y = 2x − 3

Updated 6 November 2026 · Values computed by the ihateDesmos engine

The graph of y = 2x − 3 is a straight line with a slope of 2, crossing the y-axis at (0, −3). It rises from left to right, going up 2 for every 1 to the right.

−4−224−220
Open in calculator
The graph of
y=2x−3
for −6 ≤ x ≤ 6. Dots mark where it crosses the axes.

Key features

Domain
All real numbers
Range
All real numbers
Slope
2
Direction
Rising
x-intercept
(3/2, 0)
Perpendicular slope
−1/2
y-intercept
(0, −3)
Derivative
2
Antiderivative
1 x² − 3x + C

Derivative and antiderivative from the calculator’s algebra system. Domain, range and asymptotes are stated for real x.

What the graph of 2x − 3 looks like

In slope-intercept form, y = mx + b, this line has m = 2 and b = −3. The slope says the line goes up 2 for every 1 to the right, so it rises from left to right.

The value b = −3 is where the line crosses the y-axis: when x = 0, y = −3.

A line has the same slope everywhere, so its derivative is the constant 2. 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 = 3/2
Local maxima
None in this window
Local minima
None in this window
Inflection points
(−6, −15), (−5.997, −14.994), (−5.994, −14.988), (−5.991, −14.982), (−5.988, −14.976), (−5.985, −14.97) … (4001 in view)

Table of values

A few points to plot, with exact values where they are simple.

Values of 2x − 3
xy = 2x − 3
−2−7
−1−5
0−3
1−1
21
33

How to graph 2x − 3 by hand

  1. 1
    Plot the y-intercept at (0, −3).
  2. 2
    Use the slope to find a second point: from there, go up 2 for every 1 to the right, which takes you to (1, -1).
  3. 3
    Draw a straight line through the two points, and extend it in both directions.
  4. 4
    Check with a third point from the table of values.

Transformations

How the graph moves when you change the formula. The original is 2x − 3 in blue.

−4−224−220
  • y = 2x - 1 The same slope, moved up by 2: this line is parallel to the original.
  • y = 4x - 3 Twice as steep, with slope 4, through the same y-intercept.
  • y = (-1/2)x - 3 Perpendicular to the original: its slope, −1/2, multiplies with 2 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 = 2x − 3?
2. In y = mx + b, the slope is the number multiplying x.
What is the y-intercept of y = 2x − 3?
−3, so the line crosses the y-axis at (0, −3).
How do you graph y = 2x − 3?
Plot (0, −3), then go up 2 for every 1 to the right, and draw a straight line through the points.

Related graphs

Graph 2x − 3 your way

Change the window, add sliders for a, b, h and k, trace the curve with your keyboard, or overlay its derivative.

Open in the calculator