Distance Formula Formula

The Formula

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

When to use: Imagine two points on a grid. Draw a horizontal line from one and a vertical line from the other to form a right triangle. The horizontal leg is the difference in x-coordinates, the vertical leg is the difference in y-coordinates, and the hypotenuse—the direct distance—comes from the Pythagorean theorem. The distance formula is just a^2 + b^2 = c^2 in coordinate clothing.

Quick Example

Distance from (1, 2) to (4, 6): d = \sqrt{(4-1)^2 + (6-2)^2} = \sqrt{9 + 16} = \sqrt{25} = 5

Notation

d for distance; (x_1, y_1) and (x_2, y_2) are the two points

What This Formula Means

A formula for finding the distance between two points in the coordinate plane, derived directly from the Pythagorean theorem.

Imagine two points on a grid. Draw a horizontal line from one and a vertical line from the other to form a right triangle. The horizontal leg is the difference in x-coordinates, the vertical leg is the difference in y-coordinates, and the hypotenuse—the direct distance—comes from the Pythagorean theorem. The distance formula is just a^2 + b^2 = c^2 in coordinate clothing.

Formal View

d(P_1, P_2) = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} in \mathbb{R}^2; generalization: d(P, Q) = \sqrt{\sum_{i=1}^n (q_i - p_i)^2} in \mathbb{R}^n; derived from the Pythagorean theorem

Worked Examples

Example 1

easy
Find the distance between the points (1, 2) and (4, 6).

Solution

  1. 1
    The distance formula is derived from the Pythagorean theorem: the horizontal and vertical separations form the legs of a right triangle, and the distance is the hypotenuse. d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.
  2. 2
    Identify the coordinates: (x_1, y_1) = (1, 2) and (x_2, y_2) = (4, 6). Compute the differences: x_2 - x_1 = 3, y_2 - y_1 = 4.
  3. 3
    Substitute: d = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5. Recognise the 3-4-5 Pythagorean triple — no calculator needed.

Answer

d = 5
The distance formula is a direct application of the Pythagorean theorem on the coordinate plane. The horizontal and vertical differences form the legs of a right triangle, and the distance is the hypotenuse.

Example 2

medium
Find the distance between (-3, 5) and (2, -7).

Common Mistakes

  • Forgetting the square root at the end
  • Subtracting x from y instead of x from x and y from y
  • Not squaring the differences before adding them

Why This Formula Matters

Fundamental for coordinate geometry, navigation (GPS), computer graphics, and any application that measures distance between locations.

Frequently Asked Questions

What is the Distance Formula formula?

A formula for finding the distance between two points in the coordinate plane, derived directly from the Pythagorean theorem.

How do you use the Distance Formula formula?

Imagine two points on a grid. Draw a horizontal line from one and a vertical line from the other to form a right triangle. The horizontal leg is the difference in x-coordinates, the vertical leg is the difference in y-coordinates, and the hypotenuse—the direct distance—comes from the Pythagorean theorem. The distance formula is just a^2 + b^2 = c^2 in coordinate clothing.

What do the symbols mean in the Distance Formula formula?

d for distance; (x_1, y_1) and (x_2, y_2) are the two points

Why is the Distance Formula formula important in Math?

Fundamental for coordinate geometry, navigation (GPS), computer graphics, and any application that measures distance between locations.

What do students get wrong about Distance Formula?

The order of subtraction doesn't matter ((x_2 - x_1)^2 = (x_1 - x_2)^2) because squaring eliminates the sign.

What should I learn before the Distance Formula formula?

Before studying the Distance Formula formula, you should understand: pythagorean theorem, coordinate plane, square roots.