デカルト座標系における2点間の距離は距離公式で計算します:d = √[(x₂-x₁)² + (y₂-y₁)²]。この公式はピタゴラスの定理から導かれます。例えば、点(2, 3)と(6, 7)の場合:d = √[(6-2)² + (7-3)²] = √[16 + 16] = √32 ≈ 5.66単位。実際の地理問題では、地球の球面上の距離にはハバーサイン公式を使用します。3Dの点の場合、平方根の下に(z₂-z₁)²の項を追加します。
数学5 min readApril 13, 2026
How to Calculate Distance Between Two Points: Distance Formula
Apply the distance formula d = √((x₂−x₁)² + (y₂−y₁)²) to find the straight-line distance between any two coordinates in 2D and 3D space, with worked examples.
無料の計算機を試す
Topics:distance formulacoordinate geometryPythagorean theoremalgebra2D 3D
無料の計算機を試す
登録不要