If A(x1,y1) and B(x2,y2) are two points in a coordinate plane, the distance between them, AB, can be found.
The horizontal and vertical distance between the points can be thought of as Δx and Δy, respectively.
As can be seen in the diagram above, AB, which gives the distance between points A and B, is the hypotenuse of the right triangle whose legs are Δx and Δy. An equation can be created for AB using the Pythagorean Theorem, a2+b2=c2.
(Δx)2+(Δy)2=(AB)2
Δx and Δy are the differences between the coordinates of the points. They can be written as Δx=∣x2−x1∣ and Δy=∣y2−y1∣. Here, the absolute values are included to ensure the distances are positive. Rearranging the equation and substituting these values gives the following.
Mathleaks uses cookies for an enhanced user experience. By using our website, you agree to the usage of cookies as described in our policy for cookies.