# Distance Between Two Points or Distance Formula

We need to find the distance between two points on Rectangular Coordinate Plane. For this, take two points in XY plane as P and Q whose coordinates are P(x_{1}, y_{1}) and Q(x_{2}, y_{2}). We join P and Q and make a right triangle PQR as shown in the figure below.

Thus, we need to find PQ. From the figure, we have PR = (x_{2}-x_{1}) and QR = (y_{2}-y_{1}).

In right triangle PQR, we use Pythagoras Theorem as

PQ^{2} = PR^{2} + QR^{2} = (x_{2}-x_{1})^{2} + (y_{2}-y_{1})^{2} PQ =

Thus, the distance between two points P(x_{1}, y_{1}) and Q(x_{2}, y_{2}) is

PQ =

**Some Important Points:**

1. If O is the origin and P(x, y) is any point, then from distance formula OP =

2. For three points to be collinear, the sum of the distance between two pairs of points is equal to the third pair of the points.

3. Given the two points (*x*_{1}, *y*_{1}) and (*x*_{2}, *y*_{2}), they only indicate that there is a “first” point and a “second” point; that is, that you have two points. Whichever one you call “first” or “second” is up to you. The distance will be the same, regardless.

4. The most common mistake made when using the Formula is to accidentally mismatch the *x*-values and *y*-values. Be careful you don’t subtract an *x* from a *y*, or vice versa; make sure you’ve paired the numbers properly.

See this video about How To Find the Distance Between Two Points: