call the slope m
then in general for any two points on a line of form
y = m x + b
the slope is
change in y / change in x
so for two points (x1 ,y1) and (x2 , y2)
m = (y2-y1)/(x2-x1)
the same is true for any other point on the line (x , y)
so
also m = (y2 - y) / (x2 - x)
or m = (y - y1) / (x - x1)
so for example you can say
m =
(y2-y1)/(x2-x1) = (y - y1) / (x - x1)
put in your values for x1 y1 x2 and y2
and solve for y and you have your y = m x + b
Slope of line sw Coordinates of point x Point slope form of sw
M=y2-y1/x2-x- X1-y1
1/
1 answer