2D Midpoint Calculator

Compute the midpoint of a line segment from endpoints (x₁,y₁) and (x₂,y₂) using M = ((x₁+x₂)/2, (y₁+y₂)/2).

📐 計算公式
中點座標:x_M = (x₁+x₂) ÷ 2、y_M = (y₁+y₂) ÷ 2,即兩端點座標的算術平均;例 (1,2) 與 (5,8) → (3,5)。校驗:x₁、y₁、x₂、y₂ 均必填,空白不等於 0;結果下方給出代入步驟與座標示意圖。判據:無固定分級,中點到兩端點的距離相等。

輸入兩點座標,求中點座標。

📏 線段幾何量(P1→P2)

📈 線段路徑(P1 → 中點 → P2)

Formula & Standard References

Item Formula / Note Source / Standard
Midpoint formulaM = ((x₁+x₂)/2, (y₁+y₂)/2)Analytic geometry
Vector formM = (a + b)/2Vector algebra
Segment length|AB| = √(Δx² + Δy²)Distance formula
TrisectionWeighted average for any ratioSection formula
3D generalisationAdd z for space midpoint3D analytic geometry
ApplicationsGraphics, mesh centre, interpolationComputational geometry
📌 計算說明
  • 中點 = 兩端座標算術平均。
  • 1,2 與 5,8 → (3,5)。