To find the distance between points A and B, we first draw a straight line segment joining the two points. Next, we draw dotted lines from each point to form a right-angled triangle, with AB as the hypotenuse.
From the figure (you can insert an appropriate diagram here), you will see that:
AC = ∣x2−x1∣ (horizontal distance)
BC = ∣y2−y1∣ (vertical distance)
Since triangle ABC is a right-angled triangle, we apply the Pythagorean Theorem:
AB2=(x2−x1)2+(y2−y1)2
Taking the square root of both sides:
AB=(x2−x1)2+(y2−y1)2
Example 1
Find the distance between points A(3,4) and B(10,12).
x1=3,y1=4,x2=10,y2=12
Distance = (10−3)2+(12−4)2
= 72+82
= 49+64
= 113≈10.63 units
Example 2
Find the distance between points A(5,2) and B(−5,−10).