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 formula | M = ((x₁+x₂)/2, (y₁+y₂)/2) | Analytic geometry |
| Vector form | M = (a + b)/2 | Vector algebra |
| Segment length | |AB| = √(Δx² + Δy²) | Distance formula |
| Trisection | Weighted average for any ratio | Section formula |
| 3D generalisation | Add z for space midpoint | 3D analytic geometry |
| Applications | Graphics, mesh centre, interpolation | Computational geometry |
📌 計算說明
- 中點 = 兩端座標算術平均。
- 1,2 與 5,8 → (3,5)。