G e n er a l e q u a t i o n f or l in e in s l o p e in t erce pt f or m : y = a x + b T o f in d a an d b s u b s t i t u d e p o in t s ( − 2 , 7 ) , ( 1 , − 2 ) in t o e q u a t i o n { − 2 = a + b ∣ : − 1 7 = − 2 a + b { 2 = − a − b 7 = − 2 a + b + − − − − − 9 = − 3 a ∣ : − 3 a = − 3 − 2 = − 3 + b − 2 + 3 = b b = 1 y = − 3 x + 1
The equation of the line that passes through the points (-2, 7) and (1, -2) is y = -3x + 1. To find this, we calculated the slope and used the point-slope form of a line's equation. The final result shows how the line can be represented in slope-intercept form.
;