Answer:
y = -x + 2
Step-by-step explanation:
The equation of a line in a slope intercept form is given as :
[tex]y = mx + c[/tex], where m is the gradient and c, y - intercept.
First, let us find the gradient, m of the line that passes through the points, (4,-2) and (-5,7) using the relation ;
[tex]m = \frac{y_2 - y_1}{x_2- x_1} [/tex]
By substitution we get
[tex]m = \frac{7- (- 2)}{ - 5 - 4}[/tex]
[tex] \implies m = \frac{7 + 2}{ - (5 + 4)}[/tex]
[tex]\implies m = \frac{9}{ - 9} = - 1[/tex]
We substitute any of the points and the value of m into y= mx + c to find the value for c.
[tex]\implies - 2 = 4( - 1) + c[/tex]
[tex]\implies - 2 = - 4+ c[/tex]
Adding 4 to both sides.
[tex]\implies 4- 2= - 4 + 4+ c[/tex]
[tex]\implies 4- 2= + c[/tex]
[tex]\implies c = 2[/tex]
Hence the equation of the line is :
y = -x +2