Distance Between Two Points - Formula, Derivation, Examples (2024)

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 √[(x2 − x1)2 + (y2 − y1)2], where (x1, y1) and (x2, y2) are two points on the coordinate plane. Let us understand the formula to find the distance between two points in a two-dimensional and three-dimensional plane.

1.What is the Distance Between Two Points?
2.Distance Between Two Points Formula
3.Derivation of Formula for Distance Between Two Points of Coordinates
4.How to Find Distance Between Two Points of Coordinates?
5.Distance Between Two Points in Complex Plane
6.FAQs on Distance Between Two Points

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.

Distance Between Two Points - Formula, Derivation, Examples (1)

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, Derivation, Examples (2)

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 2-D 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 (x1,y1) and (x2, y2) is: d = √[(x2 − x1)2 + (y2 − y1)2]

This is also known as the Euclidean Distance Formula.

To find the distance between the points with coordinates (x1,y1, z1) and (x2, y2, z2) given in a 3-D plane, we can apply the 3D distance formula, given as,

d = √[(x2 − x1)2 + (y2 − y1)2 + (z2 − z1)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 two-dimensional plane, let us assume that there are two points with the coordinates given as, A(x1, y1) B(x2, y2). 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.

Distance Between Two Points - Formula, Derivation, Examples (3)

Next, we will construct a right-angled triangle with \(\overline{AB}\) as the hypotenuse.

Distance Between Two Points - Formula, Derivation, Examples (4)

Applying Pythagoras theorem for the △ABC:

AB2 = AC2 + BC2

d2 = (x2 − x1)2 + (y2 − y1)2 (Values from the figure)

Here, the vertical distance between the given points is |y2 − y1|.

The horizontal distance between the given points is |x2 − x1|.

d = √[(x2 − x1)2 + (y2 − y1)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 x-axis, i.e. the coordinates of A and B are (x1, 0) and (x2, 0) respectively, then the distance between two points AB = |x2 − x1|.

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(x1, y1) and B(x2, y2).
  • We can apply the distance formula to find the distance between the two points, d = √[(x2 − x1)2 + (y2 − y1)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 = √[(x2 − x1)2 + (y2 − y1)2 + (z2 − z1)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 = √[(x2 − x1)2 + (y2 − y1)2], where (x1, y1) and (x2, y2) 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 x-coordinates 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 y-coordinates.

In the same way, the distance between two points that lie on a horizontal line is the absolute value of the difference in their x-coordinates.

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 z1 = a + ib and z2 = 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 z1 and z2 is:

|z1 − z2| = √[(a − c)2 + (b − d)2]

Here |z1 − z2| is the absolute value of the complex number z1 − z2.

Example: Find the distance between the complex numbers z1 = 1 + 3i and z2 = 2 - 4i.

Solution:

The points that denote the given complex numbers are (1, 3) and (2, -4). So the distance between them is:

|z1 − z2| = √[(1 - 2)2 + (3 + 4)2 = √(1 + 49) = √50 = 5√2 units

Related topics:

  • Distance Between Two Points Calculator
  • Distance Between Two Lines
  • Distance Between Point and Plane

Important Notes on Distance Between Two Points:

  • The distance, d, between two points whose coordinates are (x1,y1) and (x2, y2) is: d = √[(x2 − x1)2 + (y2 − y1)2]
  • Note that, there is no harm though we interchange the values x1 and x2 in this formula because (x2 - x1)2 is the same as (x1 - x2)2. The same thing works with y-coordinates as well. Thus, the distance between two points can also be written as √[(x1 − x2)2 + (y1 − y2)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.

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 √[(x2 − x1)2 + (y2 − y1)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 = √[(x2 − x1)2 + (y2 − y1)2], where, (x1, y1), (x2, y2) are the coordinates of the two points. We can apply another formula if the given points liw in 3D plane, d = √[(x2 − x1)2 + (y2 − y1)2 + (z2 − z1)2], where 'd' is the distance between the two points and (x1, y1, z1), (x2, y2, z2) 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 two-dimensional plane can be calculated using their coordinates. To calculate distance between two coordinates A(x1, y1) and B(x2, y2) we use the formula, d = √[(x2 − x1)2 + (y2 − y1)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 (x1, y1) and (x2, y2).
  • Apply the Euclidean distance formula, distance, d = √[(x2 − x1)2 + (y2 − y1)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 three-dimensional 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 right-angled 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 y-axis 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 three-dimensional plane, we can apply the 3D distance formula given as, d = √[(x2 − x1)2 + (y2 − y1)2 + (z2 − z1)2], where 'd' is the distance between the two points and (x1, y1, z1), (x2, y2, z2) 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, dy = |y2 - y1|, where (x1, y1), (x2, y2) are the coordinates of the two points.

Distance Between Two Points - Formula, Derivation, Examples (2024)

FAQs

Distance Between Two Points - Formula, Derivation, Examples? ›

Solution: The distance between two points using coordinates can be given as, d = √[(x2 − x1)2 + (y2 − y1)2], where (x1, y1) and (x2, y2) are the coordinates of the two points.

How do you derive the distance between two points? ›

What is Distance Between Two Points Formula? Distance between two points is the length of the line segment that connects the two points in a plane. The formula to find the distance between the two points is usually given by d=√((x2 – x1)² + (y2 – y1)²).

What is the formula for distance derivation? ›

To derive the formula, let us consider two points in 2D plane A(x1,y1) ( x 1 , y 1 ) , and B(x2,y2) ( x 2 , y 2 ) . Assume that 'd' is the distance between A and B. Then the distance formula is d = √[(x2 2 – x1 1 )2 + (y2 2 – y1 1 )2].

What is the distance between the points − 5 − 9 and − 5 13? ›

The distance between the points (-5, -9) and (-5, 13) is calculated as the absolute difference between their y-coordinates, which is 22 units.

What is the best method to find distance between two points? ›

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.

What is the formula for the point between two points? ›

All you need to do is dividing the sum of x-values and the sum of y-values by 2. This formula also comes in very handy when you are asked to find the point of intersection or equation of a perpendicular bisector of a given line segment.

What mathematical theorem is the distance formula derived from? ›

Distance can be calculated using the formula derived from Pythagoras theorem.

How to find the shortest distance between two points? ›

The Distance Formula. The shortest distance between two points is a straight line. This distance can be calculated by using the distance formula. The distance between two points ( x 1 , y 1 ) and ( x 2 , y 2 ) can be defined as d = ( x 2 − x 1 ) 2 + ( y 2 − y 1 ) 2 .

What is the derivative of distance? ›

The derivative of distance with respect to time is velocity.

How do you derive the distance between two lines? ›

What is the Formula for Distance Between Two Lines? The formula for the distance between two lines having the equations y = mx + c1 and y = mx + c2 is: d=|c2−c1|√1+m2 d = | c 2 − c 1 | 1 + m 2 .

What are the three formulas of distance? ›

The three formulas which show the relationship among distance, time, and speed are: distance = (speed)(time), speed = distance/time, and time = distance/speed.

How to calculate distance example? ›

How do you calculate distance traveled? You calculate distance traveled by using the formula d=rt. You will need to know the rate at which you are traveling and the total time you traveled. You can then multiply these two numbers together to determine the distance traveled.

What is the distance between the points − 3 − 5 and − 3 − 7? ›

To find the distance, subtract the second y-coordinate from the first one. Therefore, the distance between the points (−3, −5) and (−3, −7) is 2 units.

What is the distance between 8 − 3 and 4 − 7? ›

The distance between (8, -3) and (4, -7) is about 5.66.

How to find the distance between two points from the origin? ›

As a special case of the distance formula, suppose we want to know the distance of a point (x,y) to the origin. According to the distance formula, this is √(x−0)2+(y−0)2=√x2+y2. A point (x,y) is at a distance r from the origin if and only if √x2+y2=r, or, if we square both sides: x2+y2=r2.

How to derive the formula for distance between two points in 3d? ›

Similarly, to calculate the distance between two objects (or points) in space, the knowledge and formula of three dimensions – the distance between two points is required. PQ = d = √ [(x2 – x1)2 + (y2 – y1)2 + (z2 – z1)2].

How do you derive the distance between a point and a plane? ›

To find the shortest distance between point and plane, we use the formula d = |Axo + Byo + Czo + D |/√(A2 + B2 + C2), where (xo, yo, zo) is the given point and Ax + By + Cz + D = 0 is the equation of the given plane.

References

Top Articles
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 6427

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.