Derive Distance Between Two Points Formula

This example derives the distance between two points formula using the geometry of a right triangle and the Pythagorean theorem](concepts/pythagorean-theorem).

Steps

  1. Observe that the geometry of the two points and forms the shape of a right triangle in the cartesian coordinate system. The hypotenuse labeled with the variable is equal to the distance between the two points. This is illustrated below.

    Distance betweent he points (-1,3) and (2,-2)
  2. Setup the equation for the pythagorean theorem.

  3. Rearrange the equation and take the square root of both sides.

  4. Find the lengths of adjacent and opposite of the right triangle by applying the one dimensional distance formula.

  5. Substitute these expressions into the expression from step three.

    Finally, change the variable to to represent distance and we have derived the formula.