Distance formula The Cartesian coordinates are used to represent points in a plane. Every point in a place has a one to one relationship to a coordinate point. The distance (d) between two points A(x _{1}, y_{1}) and B(x_{2}, y_{2}) is given by the formula_{2} − x_{1})²+(y_{2} − y_{1})²]The above formula can be found with the help of Pythagoras theorem. Draw a right angled triangle as shown in the graph. When we draw a right angled triangle we draw it such that the two edges including the right angle are parallel to the two axis. This helps us to find the coordinate of the vertex. Name the right angled vertex as C. The coordinate of the point C is (x _{2}, y_{1}). a line parallel to the coordinate axis has its other coordinate same. Suppose the line is parallel to x-axis then all the points on the line has its y-coordinate equal. The distance between the points A and B is d. The distance between the points A and C is AC =(x_{2} − x_{1}) and distance between the points B and C is BC =(y_{2} − y_{1}). By Pythagoras Theorem we have (AB)² = (AC)² + (BC)². Substituting the value of AC and BC we get_{2} − x_{1})²+(y_{2} − y_{1})²_{2} − x_{1})²+(y_{2} − y_{1})²]
Example: Distance between A(3,5) and B(1,2) is AB = d = √(4+9) = √13 A point in three dimensional geometry has the following formula to find distance The distance between points A(x _{1},y_{1},z_{1}) and B(x_{2},y_{2},z_{2}) = √[(x_{2} - x_{1})^{2} + (y_{2} - y_{1})^{2} + (z_{2} - z_{1})^{2}] |