Distance Between Two Points

To calculate the distance between two points in a plane, we have to use distance formula as per described in coordinate geometry. With the help of this formula, we can find the distance between any two points marked in an x-y coordinate. This is a significant topic explained in Class 10 Maths Chapter 7.

Suppose, City A is located 50km east and 20km north from the city B. Then how can we calculate the distance between the two cities, without actually measuring it. Here, we can make use of Pythagoras theorem, by forming a right-triangle in a plane using the directions given. Now let us read more to know how we can use this theorem to find the distance between to cartesian point.

Also, read:

Coordinates of a point

Two-dimensional geometry deals with coordinates of points, distance between the points etc. Coordinates of a point is a pair of numbers which exactly define the location of that point in a coordinate plane.

Coordinates of a point

Coordinates of the point P in the two-dimensional plane is (x,y) which means, P is x units away from y-axis and y units away from the x-axis.

Coordinates of a point on the x-axis are of the form (a,0), where a is the distance of the point from the origin and on the y-axis is of the form (0,a), where a is the distance of the point from the origin.

Distance Formula

Consider the following situation.

A boy walks towards north 30 meters and took a turn to the east and walked for 40 meters more. How do we calculate the shortest distance between the initial place and final place?

A pictorial representation of the above situation is shown:

Distance Between Two Points

The initial point is A and final point is C. The distance between the points A, B is 30 m and between points B, C is 40 m.

The shortest distance between points A and C is AC. This is calculated using Pythagoras theorem,

AC2 = AB2 + BC2

\( AC \) = \( \sqrt{30^2~+~40^2}\) = 50 m

Hence, we got the distance between the start point and the endpoint. In the same way, the distance between two points in a coordinate plane is also calculated using the Pythagorean theorem or right-angles triangle theorem. Let us see how we can calculate.

Distance between a point from the origin

Suppose a point P(x,y) in the xy – plane as shown in the figure below:

Distance Formula

Let us calculate the distance between the point P and the origin.P is x units away from y-axis and y units away from the x-axis.

By Pythagoras theorem,

OP2 = x+ y2

\( OP \) = \( \sqrt{x^2~+~y^2} \)

Therefore distance between any point (x,y) in xy-plane and the origin (0,0) is \( \sqrt{x^2~+~y^2} \).

Now, let us consider a more generic case. Let us take two points P(x1,y1)  and Q(x2,y2) in the coordinate plane. Let us represent this in a figure.

Distance Between Two Points by Distance Formula

Note that we have taken our points P and Q in the first quadrant itself. What if the points are in other quadrants? As you shall observe in the following discussion, the final formula still remains the same, irrespective of which quadrant P and Q lie in.

PS, QT are perpendicular to x-axis and PR is parallel to the x-axis.

Distance between points P and Q are calculated as follows:

S and T are the points on the x-axis which are endpoints of two parallel line segments PS and QT respectively.

⇒ PR = ST

Coordinates of S and T are (x1, 0) and  (x2, 0) respectively.

OS =  xand OT = x2

ST = OT – OS = x2– x1 = PR

Similarly,

PS =  RT

QR = QT – RT = QT – PS = y2– y1

By Pythagoras theorem,

PQ= PR+ QR2

\( PQ  = \sqrt{(x_2~-~x_1 )^2~+~(y_2~-~y_1 )^2 }\)

Therefore,

Distance between two points (x1,y1) and (x2,y2) is given by:

PQ = √[(x2– x1)2+ (y2– y1)2]

It is known as distance formula.

Observe that (x2– x1)2  is the square of the difference in x – coordinates of P and Q and is always positive. The same can be said about (y2– y1)as well. Use this point and try to see for yourself why the formula remains the same for any coordinates of P and Q, in any quadrant.

Example

Example 1: Find the value of a, if the distance between the points P(3,-6) and Q(-3,a) is 10 units.

Solution: By distance formula,

Distance between points (3,-6) and (-3,a) = √[(-3-3)2+(a+6)2] = 10 units

Squaring both sides of the equation gives,

(-6)+ (a+6)2 = 100

(a+6)2 = 100 – 36 = 64 

Taking root on both the sides, we get;

a + 6 = ±8

Case I, consider +8,

a+6= 8 ,

a = 8-6 = 2

Case II, consider -8

a+6 = -8

a = -8 – 6

a = -14

Therefore, the coordinates are either P(3,-6) and Q(-3,2) or P(3,-6) and Q(-3,-14).

Example 2: Find a relation between x and y such that the point (x , y) is equidistant from the points (7, 1) and (3, 5).

Solution: Let P(x, y) be equidistant from the points A(7, 1) and B(3, 5).

Given, AP = BP.

So, AP= BP2
(x – 7)+ (y – 1)= (x – 3)+ (y – 5)
x– 14x + 49 + y– 2y + 1 = x– 6x + 9 + y– 10y + 25
x – y = 2
which is the required relation.

Example 3: Find a point on the y-axis which is equidistant from the points A(6, 5) and B(– 4, 3).

Solution: We know that a point on the y-axis is of the form (0, y). So, let the point P(0, y) be equidistant from A and B. Then:

(6 – 0)+ (5 – y)= (– 4 – 0)+ (3 – y)2
36 + 25 + y2– 10y = 16 + 9 + y– 6y
4y = 36
y = 9

So, the required point is (0, 9).

Verification:

AP = √[(6 – 0)+ (5 – y)2]

= √(36+16)

= √52

BP =  √[(-4-0)2+(3-9)2]

=√(16+36)

=√52

Hence, we conclude that, point (0, 9) is the intersection of the y-axis and the perpendicular bisector of AB.

To learn more about coordinate geometry and related topics, log onto www.byjus.com. To watch interesting videos on the topic, download BYJU’S – The Learning App.

Leave a Comment

Your email address will not be published. Required fields are marked *