from a handpicked tutor in LIVE 1to1 classes
Distance Between Two Points
Distance between two points is the length of the line segment that connects the two given points. Distance between two points in coordinate geometry can be calculated by finding the length of the line segment joining the given coordinates.
Distance between two points in coordinate geometry is calculated by the formula √[(x_{2} − x_{1})^{2} + (y_{2} − y_{1})^{2}], where (x_{1}, y_{1}) and (x_{2}, y_{2}) are two points on the coordinate plane. Let us understand the formula to find the distance between two points in a twodimensional and threedimensional plane.
What is the Distance Between Two Points?
The distance between any two points is the length of the line segment joining the points. There is only one line passing through two points. So, the distance between two points can be calculated by finding the length of this line segment connecting the two points. For example, if A and B are two points and if \(\overline{AB}\) =10 cm, it means that the distance between A and B is 10 cm.
The distance between two points is the length of the line segment joining them (but this CANNOT be the length of the curve joining them). Note that the distance between two points is always positive.
Distance Between Two Points Formula
The distance between two points using the given coordinates can be calculated by applying the distance formula. For any point given in the 2D plane, we can apply the 2D distance formula or the Euclidean distance formula given as:
The formula for the distance between two points (d) whose coordinates are (x_{1},y_{1}) and (x_{2}, y_{2}) is: d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}]
This is also known as the Euclidean Distance Formula.
To find the distance between the points with coordinates (x_{1},y_{1}, z_{1}) and (x_{2}, y_{2}, z_{2}) given in a 3D plane, we can apply the 3D distance formula, given as,
d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2} + (z_{2} − z_{1})^{2}]
Let's learn how to derive this formula next.
Derivation of Formula for Distance Between Two Points of Coordinates
To derive the formula to calculate the distance between two points in a twodimensional plane, let us assume that there are two points with the coordinates given as, A(x_{1}, y_{1}) B(x_{2}, y_{2}). Next, we will assume that the line segment joining A and B is \(\overline{AB}\) = d. Now, we will plot the given points on the coordinate plane and join them by a line.
Next, we will construct a rightangled triangle with \(\overline{AB}\) as the hypotenuse.
Applying Pythagoras theorem for the △ABC:
AB^{2} = AC^{2} + BC^{2}
d^{2} = (x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2} (Values from the figure)
Here, the vertical distance between the given points is y_{2} − y_{1}.
The horizontal distance between the given points is x_{2} − x_{1}.
d = √[(x_{2} − x_{1})^{2} + (y_{2} − y_{1})^{2}] (Taking square root on both sides)
Thus, the distance formula to find the distance between two points is proved.
Note: In case the two points A and B are on the xaxis, i.e. the coordinates of A and B are (x_{1}, 0) and (x_{2}, 0) respectively, then the distance between two points AB = x_{2} − x_{1}.
Using similar steps and concepts, we can also derive the formula to find the distance between two points given in the 3D plane.
How to Find Distance Between Two Points of Coordinates?
The distance between two points using the given coordinates can be calculated with the help of the following given steps:
 Note down the coordinates of the two given points in the coordinate plane as, A(x_{1}, y_{1}) and B(x_{2}, y_{2}).
 We can apply the distance formula to find the distance between the two points, d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}]
 Express the given answer in units.
Note: We can apply the 3D distance formula in case the two points are given in 3D plane, d = √[(x_{2} − x_{1})^{2} + (y_{2} − y_{1})^{2} + (z_{2} − z_{1})^{2}]
Example: Find the distance between the points with coordinates given as, A = (1, 2) and B = (1, 5).
Solution:
The distance between two points using coordinates can be given as, d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}], where (x_{1}, y_{1}) and (x_{2}, y_{2}) are the coordinates of the two points.
⇒ d = √[(1 − 1)^{2} + (5 − 2)^{2}]
⇒ d = 3 units
From the above example, we can also observe that when the xcoordinates of the given points are the same (i.e. when the points are on a vertical line), we can find the distance between the two points by finding the absolute value of the difference between the ycoordinates.
In the same way, the distance between two points that lie on a horizontal line is the absolute value of the difference in their xcoordinates.
Distance Between Two Points in Complex Plane
The distance between two points in a complex plane is found by using a formula that is similar to the distance between two points formula in cartesian plane. Consider two complex numbers z_{1} = a + ib and z_{2} = c + id. Recall the fact that every complex number on a complex plane corresponds to a point on the coordinate plane. Then the distance between the two complex numbers z_{1} and z_{2} is:
z_{1} − z_{2} = √[(a − c)^{2 }+ (b − d)^{2}]
Here z_{1} − z_{2} is the absolute value of the complex number z_{1} − z_{2}.
Example: Find the distance between the complex numbers z_{1} = 1 + 3i and z_{2} = 2  4i.
Solution:
The points that denote the given complex numbers are (1, 3) and (2, 4). So the distance between them is:
z_{1} − z_{2} = √[(1  2)^{2} + (3 + 4)^{2} = √(1 + 49) = √50 = 5√2 units
☛Related topics:
Important Notes on Distance Between Two Points:
 The distance, d, between two points whose coordinates are (x_{1},y_{1}) and (x_{2}, y_{2}) is: d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}]
 Note that, there is no harm though we interchange the values x_{1} and x_{2} in this formula because (x_{2}  x_{1})^{2} is the same as (x_{1}  x_{2})^{2}. The same thing works with ycoordinates as well. Thus, the distance between two points can also be written as √[(x_{1} − x_{2})^{2 }+ (y_{1} − y_{2})^{2}].
 Distance of a point (a, b) from:
(i) x  axis is b.
(ii) y  axis is a.
We have used the absolute value signs because distance can never be negative.
Examples on Distance Between Two Points

Example 1: Find the distance between the two points (2, 6) and (7, 3)
Solution:
Let us assume the given points to be:
(x_{1},y_{1}) = (2, 6)
(x_{2},y_{2}) = (7,3)
The formula to find the distance between two points is:
d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}]
d = √[(7−2)^{2 }+ (3−(−6))^{2}]
d = √(5^{2 }+ 9^{2})
d = √(25 + 81)
d = √106
Answer: Distance =√106

Example 2: Show that the points (2, 1), (0, 1) and (2, 3) are the vertices of a rightangled triangle.
Solution:
Let us assume the given points to be:
A = (2, −1)
B = (0, 1)
C = (2, 3)
We will find the length of each side of triangle the distance formula.
AB = √[(0−2)^{2 }+ (1−(−1))^{2}]
= √[(−2)^{2} + (2)^{2}]
= √(4 + 4)
= √8
BC = √[(2 − 0)^{2} + (3 − 1)^{2}]
= √[(2)^{2} + (2)^{2]}
= √(4 + 4)
= √8
CA = √[(2 − 2)^{2 }+ (3−(−1))^{2}]
= √(0^{2} + 4^{2})
= √16
= 4
Now that we know the lengths of all three sides,
AB^{2 }+ BC^{2} = CA^{2}
(√8)^{2 }+ (√8)^{2 }= 4^{2}
8 + 8 = 16
16 = 16
Thus, A, B and C satisfy the Pythagoras theorem.
So △ABC is a rightangled triangle.
We can examine the same by marking all the coordinates on a graph:
Answer: The given points form a rightangled triangle.

Example 3: Find a point on the yaxis that is equidistant from the points (1, 2) and (2, 3).
Solution:
We know that the xcoordinate of any point on the yaxis is 0.
Hence, we assume the point that is equidistant from the given points to be (0, k). i.e.,
Distance between (0, k) and (1, 2) = Distance between (0, k) and (2, 3)
√[(−1 − 0)^{2} + (2 − k)^{2}] = √[(2 − 0)^{2} + (3 − k)^{2}]
Squaring on both sides,
(−1 − 0)^{2} + (2 − k)^{2} = (2 − 0)^{2} + (3 − k)^{2}
1 + 4 + k^{2} − 4k = 4 + 9 + k^{2} − 6k
2k = 8
k = 4
Therefore, the required point is, (0, k) = (0, 4)
Answer: Required Point = (0, 4)
FAQs on Distance Between Two Points
What is Meant By Distance Between Two Points?
The distance between two points is defined as the length of the straight line connecting these points in the coordinate plane. This distance can never be negative, therefore we take the absolute value while finding the distance between two given points. It is calculated by the formula √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}].
What is the Distance Formula to Find the Distance Between Two Points in Coordinate Geometry?
In coordinate geometry, the distance between two points formula is given as, d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}], where, (x_{1}, y_{1}), (x_{2}, y_{2}) are the coordinates of the two points. We can apply another formula if the given points liw in 3D plane, d = √[(x_{2} − x_{1})^{2} + (y_{2} − y_{1})^{2} + (z_{2} − z_{1})^{2}], where 'd' is the distance between the two points and (x_{1}, y_{1}, z_{1}), (x_{2}, y_{2}, z_{2}) are the coordinates of the two points.
How Do We Calculate the Distance Between Two points in Geometry?
The distance between any two points given in a twodimensional plane can be calculated using their coordinates. To calculate distance between two coordinates A(x_{1}, y_{1}) and B(x_{2}, y_{2}) we use the formula, d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}].
How to Calculate Distance Between Two Points?
The distance between two points can be calculated using the following steps,
 Denote the given points as (x_{1}, y_{1}) and (x_{2}, y_{2}).
 Apply the Euclidean distance formula, distance, d = √[(x_{2} − x_{1})^{2 }+ (y_{2} − y_{1})^{2}]
 Simplify the square root.
What is the Shortest Distance Between Two Points?
The shortest distance between two points can be calculated by finding the length of the line segment connecting both the points. We can apply the distance formula to find this distance depending on the coordinates given in two or threedimensional plane.
How to Find the Distance Between Two 2 Using Pythagorean Theorem?
The distance between two points in the cartesian plane can be calculated by applying the Pythagorean theorem.
 We can form a rightangled triangle using the line joining the given two points as the hypotenuse.
 Here the base and perpendicular will be the lines parallel to x and yaxis with one end as one of the given points and the other end as their intersecting point.
 Using the Pythagoras' theorem, (hypotenuse)^{2} = (base)^{2} + (perpendicular)^{2}.
 By taking the square root on both sides we can find the length of the hypotenuse with the help of the given coordinates of two points. This length is equal to the distance between two points.
How to Find the Distance Between Two points in 3D Plane?
To calculate the distance between two points in a threedimensional plane, we can apply the 3D distance formula given as, d = √[(x_{2} − x_{1})^{2} + (y_{2} − y_{1})^{2} + (z_{2} − z_{1})^{2}], where 'd' is the distance between the two points and (x_{1}, y_{1}, z_{1}), (x_{2}, y_{2}, z_{2}) are the coordinates of the two points.
How to Derive the Formula to Find The Distance Between Two Points?
We can apply the Pythagoras theorem to derive the distance between two points formula. We can take the line joining the two points as the hypotenuse of a right triangle formed in the cartesian plane. The length of the hypotenuse can be calculated using the Pythagorean theorem and the given coordinates of two points to derive the distance between two points formula.
How to Find the Vertical Distance Between Two Points?
The vertical distance between 2 points can be found by calculating the difference of the y coordinates of the two points, i.e., the vertical distance between two points, d_{y} = y_{2}  y_{1}, where (x_{1}, y_{1}), (x_{2}, y_{2}) are the coordinates of the two points.
visual curriculum