graphing equation of a straight line y= mx + c

An SAT Math micro-topic under Graphs of linear systems and inequalities (Algebra). Free to read — no account needed.

A straight line is fixed by any two points, so to graph one you find two points and connect them. The intercepts — where the line meets the axes — are usually the easiest pair to find.
intercepts_line.png
In the figure, the line y=−2x+4y = -2x + 4 is drawn through its intercepts. Set x=0x = 0 for the yy-intercept (0,4)(0, 4), and set y=0y = 0 for the xx-intercept (2,0)(2, 0).
You can also use slope-intercept form directly: in y=mx+cy = mx + c, the value cc is the yy-intercept, so plot (0,c)(0, c) first, then use the slope mm as rise over run to step to a second point. For y=2x+3y = 2x + 3, plot (0,3)(0, 3), then go up 22 and right 11 to (1,5)(1, 5).
If the line is given in a rearranged form like 2x−3y+3=02x - 3y + 3 = 0, just find the two intercepts directly: at y=0y = 0, 2x+3=02x + 3 = 0 so x=−32x = -\frac{3}{2}; at x=0x = 0, −3y+3=0-3y + 3 = 0 so y=1y = 1.

Worked examples

Graph y=3x−6y = 3x - 6 using its intercepts.
yy-intercept (set x=0x = 0): (0,−6)(0, -6).
xx-intercept (set y=0y = 0): 0=3x−60 = 3x - 6, so x=2x = 2, giving (2,0)(2, 0). Draw the line through these two points.
Graph −2x+4y=8-2x + 4y = 8 using its intercepts.
xx-intercept (set y=0y = 0): −2x=8-2x = 8, so x=−4x = -4, the point (−4,0)(-4, 0).
yy-intercept (set x=0x = 0): 4y=84y = 8, so y=2y = 2, the point (0,2)(0, 2).
Graph y=−12x+4y = -\frac{1}{2}x + 4 using the slope.
Start at the yy-intercept (0,4)(0, 4).
The slope is −12-\frac{1}{2}, so go down 11 and right 22 to (2,3)(2, 3). Draw the line through both points.

Is this one of the topics costing you points?

Take the free 10-question diagnostic for a predicted SAT score and a breakdown of which domains are costing you points.

Predict your SAT score →

More in Graphs of linear systems and inequalities