Open In App

How to find the distance between two points?

Last Updated : 28 Nov, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

The length of the wire used to cover the length between two points is the distance between two points. In case the two points are situated on the same horizontal or same vertical line, the distance between the two points can be calculated by subtracting the coordinates that are not the same.

The distance formula can be used to compute the distance that is measured between the two line segments. The distance formula can be used for the computation of the sum of the lengths of all the sides of a polygon, perimeter of polygons on a coordinate plane, the area of polygons, etc. The lengths of sides of triangles can also be computed using the distance formula. The type of triangle, scalene, isosceles or equilateral can also be determined using the distance formula.

Distance Between Two Points

The x coordinate of the point is known as the abscissa whereas the y coordinate is known as the ordinate. The distance formula can be used to calculate the distance between two points of the xy-plane. An ordered pair (x, y) represents the co-ordinate of the point, where x-coordinate is defined as the distance of the point from the x-axis and y-coordinate is the distance of the point from the y-axis.

The following formula can be used to find the distance between two points in a 2d plane:

Consider any two arbitrary points A(x1,y1) and B(x2,y2) on the given coordinate axis. The distance between the following two points is given as follows:

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

Derivation of Distance Formula

In the right-angled triangle ABC, we have,

By the Pythagoras theorem,

AB2 = AC2 + BC2

Since, we have derived the formula of distance calculation between two points, therefore,

The distance between points A and C is calculated as (x2 – x1)2

The distance between points A and C is calculated as (y2 – y1)2

The distance, d is calculated as,

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

Now,

Taking the square root on both sides,

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

This is the called the distance between two points formula.

Sample Questions

Question 1. Find the distance between A(3, 4) and B(5, 8)

Solution:

Here to find the distance between point A and B

Applying distance formula

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

d = \sqrt{(5-3)^2+(8-4)^2}\\ =\sqrt{2^2+4^2}\\ =\sqrt{4+8}\\ =\sqrt{12}

Distance between A and B is √12 or 3.46

Question 2. Calculate the distance between the points X(-10, -12) and Y(-2, 3)?

Solution:

Here to find the distance between point X and Y

Applying distance formula

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

d = \sqrt{(-2-(-10))^2+(3-(-12))^2}\\ =\sqrt{(-2+10)^2+(3+12)^2}\\ =\sqrt{(8)^2+(15)^2}\\ =\sqrt{64+225}\\ =\sqrt{289}

d = 17

Distance between X and Y is 17.

Question 3. Find the distance between P(-10, -20) and Q(-1, -2)?

Solution:

Here to find the distance between  P and Q

Applying distance formula

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

d = \sqrt{(-1-(-10))^2+(-2-(-20))^2}\\ =\sqrt{(-1+10)^2+(-2+20)^2}\\ =\sqrt{(9)^2+(18)^2}\\ =\sqrt{81+324}\\ =\sqrt{405}

Distance between P and Q is √405 or 20.12.

Question 4. Find the distance between two points A(445, 550) and B(-445, -550)?

Solution:

Here to find the distance between  A and B

Applying distance formula

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

d = \sqrt{(-445-(445))^2+(-550-(550))^2}\\ =\sqrt{(-445-445)^2+(-550-550)^2}\\ =\sqrt{(-890)^2+(-1100)^2}\\ =\sqrt{792100+1210000}\\ =\sqrt{2002100}

Distance between A and B is √2002100 or 1414.95.



Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads