24.7k views
2 votes
What is the equation of a line that passes through the points (-3,2) and (-5,8)

User Cck
by
5.5k points

1 Answer

6 votes

To solve this problem, we have to start with the general formula for the equation of a straight line.

The equation of a straight line is
y = mx+c

where
m is the gradient and
c is the intercept on the y axis.

The gradient is computed by
m=(y_2-y_1)/(x_2-x_1)=(8-2)/(-5-(-3)) =(6)/(-2)=-3

The next step is to find the value of
c , by picking the point
(-3,2) and substituting it into the equation above together with the gradient.


2=(-3)*(-3)+c\\=>c =-7.

The equation of the line is


y = -3x-7.

User Mbonato
by
6.3k points