The Distance Formula itself is actually derived from the Pythagorean Theorem which is a2 b2 c2 where c is the longest side of a right triangle also known as the hypotenuse and a and b are the other shorter sides known as the legs of a right triangle. Distance formula of two points The distance between two points x1 y1 and x2 y2 in the Cartesian coordinate system can be given by. When we found the length of the horizontal leg we subtracted 6 2 which is x2 x1.
Therefore the Midpoint Formula did indeed return the midpoint between the two given points.
Suppose youre given the two points 2 1 and 1 5 and they want you to find out how far apart they are. As discussed earlier the distance formula is the combination of distance speed and time. The distance from a point A to a point B is sometimes denoted as. In the above figure length of is 15 cm and distance of C from both the endpoints A andB is 75 cm.