Find the equation of the straight line passing through the points #(-3,-2) and (0,7)# ?

1 Answer
Dec 14, 2017

#y=3x+7#

Explanation:

The equation of the straight line passing through the points #(x_1, y_1) and (x_2, y_2)# is:

#(y-y_1) =m(x-x_1)#

Where #m# is the slope of the line, given by:#(y_2-y_1)/(x_2-x_1)#

In this example; #x_1 = -3 and x_2 =0#, #y_1= -2 and y_2= 7#

#:. m = (7-(-2))/(0-(-3))#

#= 9/3 =3#

Hence, the equation of our straight line is:

#(y-(-2)) = 3*(x-(-3))#

#y+2 =3x+9#

#y=3x+7#

We can see the line and the given points on it in the graphic below:

graph{(-y+3x+7)((x+3)^2+(y+2)^2-0.5)((x+0)^2+(y-7)^2-0.5)=0 [-22.81, 22.8, -11.4, 11.41]}