Consider two points in a Cartesian plane:
Let O represent the origin at (0, 0). From points P and Q, draw perpendicular lines down to the x-axis.
This forms two right-angled triangles from the origin to the points, with PA and QB representing vertical distances from the x-axis.
Now consider triangle PQR, where a line segment is drawn from P to Q.
According to the Pythagorean Theorem:
\[ Distance PQ = \sqrt{(x₂ - x₁)^2 + (y₂ - y₁)^2} \]
This construction, using perpendiculars to the x-axis from points P and Q, helps us clearly see that the difference in x-values gives the horizontal side and the difference in y-values gives the vertical side of a right triangle. Applying the Pythagorean theorem gives us the distance formula between any two points in a plane.