 # Distance Between Two Points in Cartesian Plane and Distance Formula Class 10th

## Introduction

In Coordinate Geometry, If there are two points situated in the Cartesian plane and we have to find the distance between them, then we can find the distance with the help of the Distance Formula. let’s see how we can find it.

### If Two Points are Situated on the Coordinate Axis (Whether on the x-axis or y-axis)

If two points are situated on the x-axis or y-axis then we can easily find the distance between them by taking the Difference. Let there be two points A and B situated on the x-axis and two points C and D situated on the y–axis.

Coordinates of point A = (2,0)      and       Coordinates of point B = (7,0)

Coordinates of point C = (0,-3)     and       Coordinates of point D = (0,-6)

It means distance of point A from Origin OA = 2 units

and distance of point B from Origin OB = 7 units

Therefore distance between points A and B, here OB > OA,    AB = OB – OA = 7 – 2 = 5 units

Similarly, OC = -3 units and OD = -6 units (Here – sign shows the negative direction)

So, distance between points C and D, here OC > OD, CD = OC – OD = -3 – (-6) = -3 + 6 = 3 units

We can also find the distance between points A & C and points B & D with the help of the Pythagoras theorem (Boudhayana theorem).

At first, we shall join point A to point C and point B to point D. now we can see there are two right-angled triangles AOC and BOD. By Pythagoras theorem,

In △AOC,  AC2 = OA2 + OC2

AC = √(2)2 + (-3)2 = √(4+9) = √13 units

In △BOD,  BD2 = OB2 + OD2

BD = √(7)2 + (-6)2 = √(49+36) = √85 units

We saw that if two points are situated on Coordinate axes then we can easily find the distance between them.

### If Two Points are not Situated on the Coordinate Axis (Situated in Quadrant)

Let there be two points P(2,3) and Q(7,5) situated in Quadrant I. to find the distance between points P and Q, we draw perpendicular PR and QS on the x-axis from points P and Q respectively. We also draw perpendicular PT on QS from point P.

Coordinate of point R and S are (2,0) and (7,0) respectively.

Here, RS = OS – OR = 7 – 2 = 5 units = PT    [∵ RS = PT]

QS = 5 units and PR = 3 units = TS     [∵ PR = TS]

QT = QS – TS = 5 – 3 = 2 units

By Pythagoras theorem, in △PQT,

PQ2 = PT2 + QT2 = (5)2 + (2)2

PQ = √(25+4)

PQ = √29 units

Distance Formula

Let us consider two points A(x1,y1) and B(x2,y2) situated in Quadrant I and we have to find the distance AB.

We draw perpendicular AE and BD on the x-axis from points A and B respectively and draw perpendicular AC on BD from point A.

Here,  ED = (x2 – x1) units

Since ED = AC, therefore AC = (x2 – x1) units    and    BD = y2 units

AE = CD = y1 units and BC = BD – CD = (y2 – y1) units

In △ABC, by Pythagoras theorem,

AB2 = AC2 + BC2

AB2 = (x2 – x1)2 + (y2 – y1)2

AB = √(x2 – x1)2 + (y2 – y1)2

This expression is called Distance Formula. Because Distance is always positive so we shall take only the positive value of the square root.

We can also write,

AB = √(Difference of x-coordinates)2 + (Difference of y-coordinates)2

Note – 1) Distance of a point A(x,y) from Origin O(0,0) can be written as expression

OA = √(x – 0)2 + (y – 0)2

OA = √x2 + y2

2) The Distance formula can be also written as

AB = √(x1 – x2)2 + (y1 – y2)2

Because the square of any difference whether negative or positive is always positive.

#### Let’s Take Some Examples –

Example 1) Find the Distance between points P(2,9) and Q(7,-3).

Solution – Let us compare it with P(x1,y1) and Q(x2,y2) then

x1 = 2, y1 = 9, x2 = 7, y2 = -3

By Distance formula,   PQ = √(x2 – x1)2 + (y2 – y1)2

PQ = √(7 – 2)2 + (-3 – 9)2

PQ = √(5)2 + (-12)2

PQ = √(25+144)

PQ = √169

PQ = 13 units

So, the Distance between points P and Q is 13 units.           Ans.

Example 2) Find the value of x if the Distance between points (1,3) and (x,7) is 5 units.

Solution – Let the given points be A(1,3) and B(x,7).

Distance AB = 5 units, here x1 = 1, y1 = 3, x2 = x, y2 = 7

By Distance formula, AB = √(x2 – x1)2 + (y2 – y1)2

Putting the values,     5 = √(x – 1)2 + (7 – 3)2

5 = √(x2 – 2x + 1) + (4)2         [∵ (a – b)2 = a2 – 2ab + b2]

5 = √(x2 – 2x + 1 + 16)

5 = √(x2 – 2x + 17)

Squaring both side

(5)2 = {√(x2 – 2x + 17)}2

25 = x2 – 2x + 17

x2 – 2x + 17 = 25

x2 – 2x + 17 – 25 = 0

x2 – 2x – 8 = 0

x2 – 4x + 2x – 8 = 0     [By factorization method]

x(x – 4) + 2(x – 4) = 0

(x – 4)(x + 2) = 0

(x – 4) = 0      and       (x + 2) = 0

x = 4          and         x = -2

So, the values of x are 4 and -2.             Ans.

Example 3) Show that the points (-2,1), (2,4), and (5,-2) are the vertices of a triangle.

Solution – Let the points P(-2,1), Q(2,4), and R(5,-2) be the vertices of a triangle. We shall find the Distance PQ, QR, and PR.

By the Distance formula,

PQ = √{2 – (-2)}2 + (4 – 1)2 = √{2+2}2 + (3)2 = √{4}2+9 = √(16+9) = √25 = 5

QR = √(5 – 2)2 + (-2 – 4)2 = √(3)2 + (-6)2 = √(9+36) = √45 = 6.71 (Approximately)

PR = √{5 – (-2)}2 + (-2 – 1)2 = √{5+2}2 + (-3)2 = √{7}2+9 = √(49+9) = √58 = 7.62 (Approximately)

We know that sum of any two sides of a triangle is always greater than the third side.

Here, the sum of any two distances is greater than the third distance so the given points are the vertices of a triangle.              Ans.

Example 4) Show that the points S(-2,5), T(-4,4), U(-1,-2), and V(1,-1) are the vertices of a Rectangle.

Solution –

To prove it is a rectangle we shall find the distances of all four sides and both the diagonals and if the Distances of opposite sides are equal and the distances of both diagonals are equal then it will be a rectangle. So, by the Distance formula,

ST = √{-4 – (-2)}2 + (4 – 5)2 = √{-4+2}2 + (-1)2 = √{-2}2+1 = √(4+1) = √5

TU = √{-1 – (-4)}2 + (-2 – 4)2 = √{-1+4}2 + (-6)2 = √{3}2+36 = √(9+36) = √45

UV = √{1 – (-1)}2 + {-1 – (-2)}2 = √{1+1}2 + {-1+2}2 = √{2}2+{1}2 = √(4+1) = √5

VS = √(-2 – 1)2 + {5 – (-1)}2 = √(-3)2 + {5+1}2 = √9+{6}2 = √(9+36) = √45

Here, opposite sides are equal.

Now Diagonals

SU = √{-1 – (-2)}2 + (-2 – 5)2 = √{-1+2}2 + (-7)2 = √{1}2+49 = √(1+49) = √50

TV = √{1 – (-4)}2 + (-1 – 4)2 = √{1+4}2 + (-5)2 = √{5}2+25 = √(25+25) = √50

So, Diagonals are also equal.

Therefore, S, T, U, and V are the vertices of a Rectangle.                  Ans.

Example 5) If the point (x,y) is equidistant from the points (5,-4) and (-1,6) then find the relation between x and y.

Solution – Let point A(x,y) be equidistant from the points P(5,-4) and Q(-1,6).

It is given that   Distance PA = Distance QA          [∵ Distance formula AB = √(x2 – x1)2 + (y2 – y1)2

Or we can write, PA2 = QA2         [∴ AB2 = (x2 – x1)2 + (y2 – y1)2

By Distance formula,

(5 – x)2 + (-4 – y)2 = (-1 – x)2 + (6 – y)2

25 – 10x + x2 + 16 + 8y + y2 = 1 + 2x + x2 + 36 – 12y + y2             [∵ (a – b)2 = a2 – 2ab + b2]

41 – 10x + 8y = 37 + 2x – 12y

41 – 10x + 8y – 37 – 2x + 12y = 0

-12x + 20y + 4 = 0

Or    12x – 20y – 4 = 0

4[3x – 5y – 1] = 0

3x – 5y – 1 = 0

3x – 5y = 1

This is the required equation that shows the relation between x and y.        Ans.

Example 6) Find a point on the x-axis which is equidistant from points A(3,2) and B(4,-6).

Solution – Since we know that the coordinate of a point situated on the x-axis is of the form (x, 0).

So, Let the point P(x,0) be situated on the x-axis.

According to the question,    PA = PB

Or we can write,    PA2 = PB2

By Distance formula, (3 – x)2 + (2 – 0)2 = (4 – x)2 + (-6 – 0)2

9 – 6x + x2 + 4 = 16 – 8x + x2 + 36           [∵ (a – b)2 = a2 – 2ab + b2]

13 – 6x = 52 – 8x

-6x + 8x = 52 – 13

2x = 39

x = 39/2

Thus the point on the x-axis is P(39/2, 0).            Ans.

Distance Formula Class 10th in Hindi