# Distance between Two points in terms of their coordinates

Expressing distance between any two points on the plane in the terms of their coordinates is defined distance between two points in terms of coordinates.

Geometrically, every point has its own coordinates on a plane as per the Cartesian coordinate system. The distance between any two points can be calculated by the coordinates of the two points. Developing a general mathematical expression which calculates the distance between the points by the coordinates is really useful to evaluate the distance between them easily.

## Derivation

Consider a point on a plane and assume to call it as point

$P$

. Assume the distance of the point

$P$

from origin of the Cartesian coordinate system are

${x}_{1}$

and

${y}_{1}$

. Therefore, the location of the point

$P$

is

$P\left({x}_{1},{y}_{1}\right)$

. Similarly, consider another point on the plane and assume to call it as point

$Q$

. Assume, the location of the point

$Q$

in coordinates form is

$Q\left({x}_{2},{y}_{2}\right)$

. There is some distance between points

$P$

and

$Q$

in the plane and expressing it in coordinates form is the object here.

Draw a line from point

$P$

and it should be parallel to the

$x$

-axis. Similarly, draw another line from point

$Q$

and it should be parallel to

$y$

-axis and perpendicular to the

$x$

-axis. Assume, the line drawn from point

$P$

and the line drawn from point

$Q$

are met at a point

$R$

. This process formed a right angled triangle

$\Delta QPR$

.

As per the right angled triangle

$\Delta QPR$

, the distance between two points is hypotenuse of the right angle triangle.

Hypotenuse of the right angled triangle can be calculated by applying Pythagorean theorem.

Pythagorean Theorem actually reveals the relation of the hypotenuse of the right angled triangle with opposite side and adjacent side. Therefore, let us first calculate the length of the opposite side and length of the adjacent side.

Length of Opposite side

According to Pythagoras’ theorem,

${\left(Hypotenuse\right)}^{2}={\left(Opposite Side\right)}^{2}+{\left(Adjacent Side\right)}^{2}$

$⇒{PQ}^{2}={QR}^{2}+{PR}^{2}$

Therefore, distance between two points

$PQ=\sqrt{{QR}^{2}+{PR}^{2}}$

It can also be written as follows

It is an expression which evaluates the distance between any two points on the plane with the help of the coordinates of the points.