Given parameters:
Coordinates of end points = (2, -3) and (-6,5).
Slope of line =
Unknown:
Equation of the line with the given slope = ?
Solution:
Let us find the coordinates of the mid-point of the line given.
Since the end points are (2, -3) and (-6,5);
Midpoint;
x, y =
,
x, y =
,
= -2 , 1
The coordinate of the mid point = -2,1
Equation of a line is;
y = mx + c
x and y are the coordinates
m is the slope
c is the y intercept
We need to find c in order to fully develop our equation;
y = mx + c
y = 1 , x = -2 and m =
So,
1 =
x (-2) + c
c = 1 +
=
Now, the equation of the line is;
y = -2x +
Multiply through by 7,
7y = -14x + 25
The equation of the line is 7y = -14x + 25