
William W. answered 10/05/22
Experienced Tutor and Retired Engineer
To find the equation of the line, first find the slope.
To find the slope, use the slope equation:
where "m" is the slope, (x1, y1) is the first point, and (x2, y2) is the second point. Since the points are (5, -1) and (-5, 1) then x1 = 5, y1 = -1, x2 = -5, and y2 = 1. Plug those in to get:
m = (1 - -1)/(-5 - 5) = (1 + 1)/(-10) = 2/-10 = -1/5
Then use the point-slope form of a line which is: y - y1 = m(x - x1) where "m" is the slope you calculated above and (x1, y1) is one of the two points above. It can be either point. Let's pick (5. -1) so x1 = 5 and y1 = -1. Plug those in to get:
y - -1 = (-1/5)(x - 5)
y + 1 = (-1/5)x + 1
y = (-1/5)x