- x₁ (first point)
- 0
- y₁ (first point)
- 0
- z₁ (first point)
- 0
- x₂ (second point)
- 2
- y₂ (second point)
- 3
- z₂ (second point)
- 6
7.000000
Open with these values7.000000
Result: 7.000000Subtract the coordinates axis by axis, square the three gaps, add them and take the square root. From the origin to (2, 3, 6) that is √(4 + 9 + 36) = 7. If both z values are equal the third term vanishes and the answer matches the plane formula.
Held fixed: x₁ (first point) 0.0000, y₁ (first point) 0.0000, z₁ (first point) 0.0000, x₂ (second point) 2.0000, y₂ (second point) 3.0000.
| z₂ (second point) | Result |
|---|---|
| 0.0000 | 3.605551 |
| 2.0000 | 4.123106 |
| 4.0000 | 5.385165 |
| 6.0000Your value | 7.000000 |
| 8.0000 | 8.774964 |
| 10.0000 | 10.630146 |
| 12.0000 | 12.529964 |
7.000000
Open with these values5.000000
Open with these values7.810250
Open with these valuesd = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²)
| x₁, y₁, z₁, x₂, y₂, z₂ | Δx, Δy, Δz | Distance |
|---|---|---|
| 3, 3, 3, 3, 3, 3 | 0, 0, 0 | 0.000000 |
| 0, 0, 0, 1, 2, 2 | 1, 2, 2 | 3.000000 |
| 0, 0, 0, 1.5, 2.5, 3.5 | 1.5, 2.5, 3.5 | 4.555217 |
| 1, 1, 1, 4, 5, 1 | 3, 4, 0 | 5.000000 |
| 0, 0, 0, 2, 3, 6 | 2, 3, 6 | 7.000000 |
| -1, -2, -2, 2, 2, 4 | 3, 4, 6 | 7.810250 |
Use d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²). Subtract the matching coordinates on each axis, square each difference, add the three squares and take the square root. For (0, 0, 0) and (1, 2, 2) that is √(1 + 4 + 4) = √9 = 3.
The two points sit at opposite corners of a box whose edges are the axis gaps Δx, Δy and Δz. Applying Pythagoras twice — first across the base, then up to the far corner — gives d² = Δx² + Δy² + Δz².
The 3D formula simply adds a third squared term for the z-axis. If both z-coordinates are equal, Δz is zero and the result matches the plane formula exactly.
Yes, on any axis. For (−1, −2, −2) and (2, 2, 4) the gaps are 3, 4 and 6, giving √61 ≈ 7.81. Two identical points give a distance of zero.
Anywhere a straight-line gap in space matters: 3D modelling and CAD, collision checks in games, the separation between atoms in chemistry, robotics and motion planning.
Information, not professional advice.
Diese Seite gibt es auch auf Deutsch.
Zu Deutsch wechseln