📐

Distance Formula

★★☆☆☆Middle School

📖Definition

The straight-line distance between two points in a coordinate plane, derived from the Pythagorean theorem.

📐Formulas

d = √(x₂ - x₁)² + (y₂ - y₁)²

Distance between (x₁, y₁) and (x₂, y₂)

d = √(x₂ - x₁)² + (y₂ - y₁)² + (z₂ - z₁)²

3D distance formula

✏️Examples

예제 1★★☆☆☆

Find the distance between A(1, 2) and B(4, 6).

d = √3² + 4² = 5

Applications

GPS

Distance between locations

Game Development

Collision detection

#geometry#coordinate#distance#analytic