
Distance between two points
The distance between two points, A, and B, can be expresssed in terms of their coordinates by using the Pythagorean theorem. Let the coordinates of A, be (x_{1},y_{1}) and let those of B be (x_{2},y_{2}), as shown in figure:
By the Pythagorean theorem, the distance between two points A=(x_{1},y_{1}) and B=(x_{2},y_{2}) in the plane is given by the formula:
The distance between A=(2,5) and B=(6,12) is given by:
