Andromeda
Note

Distance Formula

Definition

The Distance Formula calculates the length of the line segment connecting two points in a Cartesian plane. For two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), the distance dd is given by:

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

  • How to read: “The distance d equals the square root of the quantity x sub two minus x sub one squared plus the quantity y sub two minus y one squared.”
  • Meaning: The straight-line distance between two points, derived from the Pythagorean theorem.

Why It Matters

The distance formula is the “GPS” of analytic geometry, bridging abstract coordinates and physical distance. It is foundational for computer graphics, navigation systems, and physics simulations, allowing for the calculation of the shortest path or the magnitude of displacement.

Core Concepts

  • Pythagorean Derivation: The formula is a direct application of the Pythagorean theorem (a2+b2=c2a^2 + b^2 = c^2) to a right triangle where the horizontal leg is Δx=x2x1\Delta x = x_2 - x_1 and the vertical leg is Δy=y2y1\Delta y = y_2 - y_1.
  • Euclidean Norm: In linear algebra, this formula represents the L2L_2 norm (magnitude) of the displacement vector between the two points.
  • Dimensional Generalization: The principle extends to three dimensions (and higher) by adding the squared difference of the additional coordinates: d=(Δx)2+(Δy)2+(Δz)2d = \sqrt{(\Delta x)^2 + (\Delta y)^2 + (\Delta z)^2}.
  • Invariant Property: Distance is always non-negative (d0d \ge 0) and is zero if and only if the two points are identical.

Connected Concepts