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)。