Pythagorean theorem and distance Knowledge-Based Study
Math topic explanations on Pythagorean theorem and distance.
Study notes
Fundamentals of the Theorem
In any right-angled triangle, the side opposite the right angle is called the hypotenuse, and it is always the longest side. The two sides that form the right angle are called the legs.
If the lengths of the legs are denoted by and , and the length of the hypotenuse is denoted by , the Pythagorean theorem states that:
This fundamental geometric relation allows us to find the length of any side of a right triangle when the lengths of the other two sides are known:
- To find the hypotenuse:
- To find a missing leg: or
Constructing Right Triangles on a Grid
When two points, and , lie on a Cartesian coordinate plane, the straight-line segment joining them represents the shortest path between them.
We can construct a right-angled triangle by introducing a third point, , which shares the horizontal coordinate of point and the vertical coordinate of point :
- The horizontal leg has length .
- The vertical leg has length .
- The segment serves as the hypotenuse of the triangle.
Because the coordinate axes are perpendicular, triangle is guaranteed to be a right triangle with the right angle at vertex .
From Geometric Legs to Coordinate Distance
Applying the Pythagorean theorem directly to the right triangle formed on the coordinate grid gives:
Substituting the coordinate expressions for the lengths of the legs:
Taking the positive square root of both sides yields the distance formula:
Because squaring any real number produces a non-negative result, the order of subtraction does not affect the outcome: and .
Step-by-Step Calculation
Calculate the distance between points and .
- Identify coordinates: Let , , , and .
- Find horizontal change: .
- Find vertical change: .
- Square both differences: and .
- Sum the squares: .
- Take the square root: .
Thus, the straight-line distance between and is exactly 10 units.

