formula for the midpoint of a line
If you mean: (y2-y1)/(x2-x1) and (y1-y2)/(x1-x2) then either works out the same.
Given two coordinates (x1,y1) and (x2,y2) The midpoint is ( ((x2+x1)/2) , ((y2+y1)/2) )
midpoint=(X1 + X2, Y1 + Y2)divide both of those by 2.X1 + X2 divided by 2 should give you the co ordinate for X.
The formula is the square root of: (x2-x1)^2 plus (y2-y1)^2
formula is (x1+x2)/2 (y1+y2) /2
Line (x1, y1, x2, y1); Line (x2, y1, x2, y2); Line (x2, y2, x1, y2); Line (x1, y2, x1, y1);
If you mean: (y2-y1)/(x2-x1) and (y1-y2)/(x1-x2) then either works out the same.
Rise divided by run. (Y2 - Y1) / (X2 - X1) - with (X1, Y1) and (X2, Y2) being two points on the graph.
m = y2 - y1 divided by x2 - x1
( x1 + x2) divided by 2 then (y1 +y 2) divided by 2
Let P(x1, y1), Q(x2, y2), and M(x3, y3).If M is the midpoint of PQ, then,(x3, y3) = [(x1 + x2)/2, (y1 + y2)/2]We need to verify that,√[[(x1 + x2)/2 - x1]^2 + [(y1 + y2)/2 - y1]^2] = √[[x2 - (x1 + x2)/2]^2 + [y2 - (y1 + y2)/2]^2]]Let's work separately in both sides. Left side:√[[(x1 + x2)/2 - x1]^2 + [(y1 + y2)/2 - y1]^2]= √[[(x1/2 + x2/2)]^2 - (2)(x1)[(x1/2 + x2/2)) + x1^2] + [(y1/2 + y2/2)]^2 - (2)(y1)[(y1/2 + y2/2)] + y1^2]]= √[[(x1)^2]/4 + [(x1)(x2)]/2 + [(x2)^2]/4 - (x1)^2 - (x1)(x2) + (x1)^2 +[(y1)^2]/4 + [(y1)(y2)]/2 + [(y2)^2]/4 - (y1)^2 - (y1)(y2) + (y1)^2]]= √[[(x1)^2]/4 - [(x1)(x2)]/2 + [(x2)^2]/4 + [(y1)^2]/4 - [(y1)(y2)]/2 + [(y2)^2]/4]]Right side:√[[x2 - (x1 + x2)/2]^2 + [y2 - (y1 + y2)/2]^2]]= √[[(x2)^2 - (2)(x2)[(x1/2 + x2/2)] + [(x1/2 + x2/2)]^2 + [(y2)^2 - (2)(y2)[(y1/2 + y2/2)] + [(y1/2 + y2/2)]^2]]= √[[(x2)^2 - (x1)(x2) - (x2)^2 + [(x1)^2]/4 + [(x1)(x2)]/2 + [(x2)^2]/4 + (y2)^2 - (y1)[(y2) - (y2)^2 + [(y1)^2]/4) + [(y1)(y2)]/2 + [(y2)^2]/4]]= √[[(x1)^2]/4 - [(x1)(x2)]/2 + [(x2)^2]/4 + [(y1)^2]/4 - [(y1)(y2)]/2 + [(y2)^2]/4]]Since the left and right sides are equals, the identity is true. Thus, the length of PM equals the length of MQ. As the result, M is the midpoint of PQ
if we take the (x1,y1),(x2,y2) as coordinates the formula was (x-x1)/(x2-x1)=(y-y1)/(y2-y1)
It's m = y2 - y1/ x2- x1 It's m equals y2 minus y1 over x2 minus x1
The equation for the slope between the points A = (x1, y1) and B = (x2, y2) = (y2 - y1)/(x2 - x1), provided x1 is different from x2. If x1 and x2 are the same then the slope is not defined.
(y -y1)=(x -x1)(y2 -y1)/(x2 -x1) defines the line containing coordinates (x1,y1) and (x2.y2).
The slope between two points, (x1, y1) and (x2, y2) is: (y1 - y2) / (x1 - x2)
Points: (x1, y1) and (x2, y2) Slope: y1-y2/x1-x2