Osman A. answered 10/29/21
Professor of Engineering Mathematics – College Algebra, Algebra 2 & 1
Write an equation in point-slope form of the line that passes through (-2, 5) and (1, -1)
(x1, y1) = (-2, 5) and (x2, y2) = (1, -1)
Slope: m = (y2 – y1)/ (x2 – x1) = (-1 – 5)/ (1 – (-2)) = -6/3 = -2 ==> m = -2
Equation in point-slope form:
y – y1 = m(x – x1) ==> y – 5 = -2(x – (-2)) ==> y – 5 = -2(x + 2)
Or
y – y2 = m(x – x2) ==> y - (-1) = -2(x –1) ==> y + 1 = -2(x - 1)
Equation in slope-intercept form: m = -2, (x1, y1) = (-2, 5) and (x2, y2) = (1, -1)
y = mx + b ==> y = -2x + b ==> 5 = -2(-2) + b ==> 5 = 4 + b ==> b = 5 - 4 ==> b = 1 ==> y = -2x + 1
Or
y = mx + b ==> y = -2x + b ==> -1 = -2(1) + b ==> -1 = -2 + b ==> b = -1 + 2 ==> b = 1 ==> y = -2x + 1
Equation in standard form:
Ax + By = C ==> y = -2x + 1 ==> 2x + y = 1
Check: (x1, y1) = (-2, 5)
2x + y = 1 ==> 2(-2) + 5 = 1 ==> -4 + 5 = 1 ==> 1 = 1
Check: (x2, y2) = (1, -1)
2x + y = 1 ==> 2(1) + (-1) = 1 ==> 2 - 1 = 1 ==> 1 = 1