Why the squares appear
That geometric origin matters. The formula is not separate from the graph; it is a compact way to calculate the hypotenuse of the step pattern you can already see between the two points.
This page keeps the segment, the coordinate differences, and the resulting length on one board so the algebra and the geometry support the same answer.
For points (1, 2) and (7, 10), the horizontal change is 6 and the vertical change is 8. Those are the legs of a 6-8-10 right triangle, so the distance is 10 units. The graph lets you check whether the signs and absolute changes were read correctly before squaring.
- The distance formula finds the length between two points on the coordinate plane.
- The horizontal and vertical changes are found by subtracting the x-coordinates and y-coordinates respectively.
- Distance is always nonnegative because it represents length, even if coordinate differences themselves are negative.
- The formula is an application of the Pythagorean theorem in the plane.