Input the coordinates of a known endpoint and the midpoint to instantly calculate the other endpoint of the line segment.
In geometry, a line segment is defined by two endpoints, which are its starting and ending points. If one endpoint and the midpoint of the line segment are known, the other endpoint can be calculated.
Given the midpoint \( M(x_m, y_m) \) and a known endpoint \( A(x_1, y_1) \), the coordinates of the other endpoint \( B(x_2, y_2) \) are calculated using the following formulas: \( x_2 = 2x_m - x_1 \) \( y_2 = 2y_m - y_1 \)
Solution:
\( x_2 = 2 \times 5 - 2 = 8 \)
\( y_2 = 2 \times 5 - 3 = 7 \)
Result: The other endpoint is \( B(8, 7) \)
Solution:
\( x_2 = 2 \times 3 - (-4) = 10 \)
\( y_2 = 2 \times 2 - 6 = -2 \)
Result: The missing endpoint \( D(10, -2) \)