201k views
4 votes
A line segment has (x1, y1) as one endpoint and (xm, ym) as its midpoint. Find the other endpoint (x2, y2) of the line segment in terms of x1, y1, xm, and ym.

User TheiNaD
by
8.3k points

1 Answer

2 votes
Midpoint (xm, ym) = ((x1 + x2)/2, (y1 + y2)/2)
xm = (x1 + x2)/2
2xm = x1 + x2
x2 = 2xm - x1
y2 = 2ym - y1

Therefore, (x2, y2) = (2xm - x1, 2ym - y1)
User Rrcal
by
8.2k points