The coordinates of the mid points are the means of the pairs of coordinates of the two end points.
Thus, if P = (px, py, pz) and Q = (qx, qy, qz)
then the midpoint of PQ is [(px+qx)/2, (py+qy)/2, (pz+qz)/2].
The result can be simplified for 2-dimensional space, or extended to more dimensions.
Chat with our AI personalities
The midpoint is at (7, 6)
(7,4)
true
B is (-5, 9).
To calculate the x-coordinate of the midpoint of a horizontal segment, you simply take the sum of x-coordinate of the endpoints of the horizontal segment and divide this by two. An example is if one is given endpoints with th x and y coordinates 2,3 and 5,6. To find the midpoint of the x-coordinates add 2 and 5 and divide this by 2, or 7/2.