Write The Equation Of a Line That Contains The Points (2,5) And (-2,-1) ?

1 Answer
Mar 17, 2018

First, we need to find the slope of the line using the following formula.
(y2-y1)/(x2-x1)

= (-1-5)/(-2-2)
= (-6)/(-4)
= 3/2

Therefore, the slope of the line is 3/2.

Next, we need to find the y-intercept by substituting the following using the slope and one of the given points.
(2,5)

y = mx+b
5= 3/2 (2)+b
5= 6/2 +b
5-6/2 =b
4/2 =b
b=2

Therefore, the y-intercept is 2.

Lastly, write the equation.
y = 3/2x +2