**Distance Formula**

The distance formula is used to determine the distance, d, between two points. As, we know the coordinates of two points in a plain fix the positions of the points in the plane and also the distance between them. The distance and the coordinates of the two points are related by an algebraic relation which can be deduced as shown below.

Let M (x_{1}, y_{1}) and N (x_{2}, y_{2}) are the two points in the plane. OX and OY being the rectangular axes of reference. Let MN = d. Draw MP ⊥ OX, NQ ⊥ OX and MR ⊥ NQ.

According to the definition of the co-ordinates,

OP = x_{1}, MP = y_{1}, OQ = x_{2}, NQ = y_{2}

From geometry, MR = PQ = OQ – OP = x_{2} – x_{1}, and

NR = NQ – RQ = NQ – MP = y_{1} – y_{1}.

In the right-angled triangle MRN,

MN^{2} = MR^{2} + NR^{2}

or, d^{2} = (x_{2} – x_{1})^{2} + (y_{2} – y_{1})^{2}

Therefore, d = √[(x_{2} – x_{1})^{2} +(y_{2} – y_{1})^{2}]

The distance between two points (x_{1}, y_{1}) and (x_{2}, y_{2}) = √[(x_{2} – x_{1})^{2} +(y_{2} – y_{1})^{2}]

= (difference of x − coordinates)^{2} + (difference of y − coordinates)^{2}

The above formula is known as the distance formula.

Information Source: