Answer:
Explanation:
First find the slope of the line.
If the 2 points are (x1, y1) and (x2, y2) then the slope is (y2-y1)/(x2-x1).
Then we can use the point-slope form of the equation of the line:
y - y1 = m(x - x1) where m = the slope and by substituting the point (x1, y1) we can convert the equation to slope intercept form ( which is y = mx + b).
Example:
Find slope-intercept equation for the line joining the points (1, 0) and (3, 4):
The slope = (4 - 0)/(3 - 1) = 4/2 = 2.
Now we plug in the slope m and the point (3, 4) into y - y1 = m(x - x1):
y - 4 = 2(x - 3) (Note we can use (1, 0) OR (3, 4) as they are both on line).
y - 4 = 2x - 6
y = 2x - 6 + 4
y = 2x - 2 which is slope-intercept form.