Point \blue{A}
is at \blue{(X1, Y1)}
and
point \green{B}
is at \green{(X2, Y2)}
.
What is the midpoint of line segment \overline{AB}
?
(
XM, YM)
The x
coordinate of the midpoint is the average of the
x
coordinates of \blue{A}
and \green{B}
.
x = \dfrac{1}{2}(\blue{X1} + \green{X2})
x = \dfrac{1}{2}(X1 + X2)
x = \purple{XM}
The y
coordinate of the midpoint is the average of the
y
coordinates \blue{A}
and \green{B}
.
y = \dfrac{1}{2}(\blue{Y1} + \green{Y2})
y = \dfrac{1}{2}(Y1 + Y2)
y = \purple{YM}
The midpoint is (\purple{XM}, \purple{YM})
.
Point \blue{A}
is at \blue{(X1, Y1)}
and
point \purple{M}
is at \purple{(XM, YM)}
.
Point \purple{M}
is the midpoint of point \blue{A}
and point \green{B}
.
What are the coordinates of point \green{B}
?
(
X2, Y2)
The average of the x
coordinates of point \blue{A}
and point \green{B}
should be \purple{XM}
.
\dfrac{1}{2}(\blue{X1} + \green{x}) = \purple{XM}
Solving for \green{x}
:
\blue{X1} + \green{x} = 2 * XM
\green{x} = X2
The average of the y
coordinates of point \blue{A}
and point \green{B}
should be \purple{YM}
.
\dfrac{1}{2}(\blue{Y1} + \green{y}) = \purple{YM}
Solving for \green{y}
:
\blue{Y1} + \green{y} = 2 * YM
\green{y} = Y2
Point \green{B}
is (\green{X2}, \green{Y2})
.