finding equation of a straight line

An SAT micro-topic explainer. Free to read — no account needed.

Every straight line can be written as y=mx+by = mx + b, with slope mm and yy-intercept bb. To build the equation you need two things: the slope, and one point the line passes through.
line_two_points.png
When you are given two points, the slope is the rise over the run: m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}. In the figure, going from (1,1)(1, 1) to (4,3)(4, 3) the run is 33 and the rise is 22, so the slope is 23\frac{2}{3}.
Once you have the slope and any point, use point-slope form y−y1=m(x−x1)y - y_1 = m(x - x_1) and simplify. With slope 23\frac{2}{3} and point (1,1)(1, 1): y−1=23(x−1)y - 1 = \frac{2}{3}(x - 1), which gives y=23x+13y = \frac{2}{3}x + \frac{1}{3}.
Parallel lines have equal slopes; perpendicular lines have slopes that are negative reciprocals (they multiply to −1-1). A line parallel to y=23x+1y = \frac{2}{3}x + 1 has slope 23\frac{2}{3}, and one perpendicular to it has slope −32-\frac{3}{2}.

Worked examples

Find the equation of the line with slope −13-\frac{1}{3} passing through (0,5)(0, 5).
The point (0,5)(0, 5) is the yy-intercept, so b=5b = 5.
The equation is y=−13x+5y = -\frac{1}{3}x + 5.
Find the equation of the line through (0,32)(0, 32) and (100,212)(100, 212).
Slope =212−32100−0=180100=95= \frac{212 - 32}{100 - 0} = \frac{180}{100} = \frac{9}{5}.
The yy-intercept is 3232 (from (0,32)(0, 32)), so the equation is y=95x+32y = \frac{9}{5}x + 32.
Find the line parallel to 3x−5y=43x - 5y = 4 that passes through (0,2)(0, 2).
Rewrite 3x−5y=43x - 5y = 4 as y=35x−45y = \frac{3}{5}x - \frac{4}{5}, so its slope is 35\frac{3}{5}.
A parallel line has the same slope, and with yy-intercept 22: y=35x+2y = \frac{3}{5}x + 2.

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 →