You want to go to Bangkok from Mumbai for a concert of your favourite artist, but you don’t know the distance you have to travel. These cities are just 2 points on a map with specific latitudes and longitudes. So how do you calculate the distance between the two points? That’s easy. You use the distance formula. Here’s how we do it.

### Suggested Videos

## What is distance formula?

Derived from the Pythagorean Theorem, the distance formula is used to find the distance between any 2 given points. These points are usually crafted on an x-y coordinate plane.

The formula is,

AB=√[(x2-x1)²+(y2-y1)²]

Let us take a look at how the formula was derived.

**Browse more Topics under Coordinate Geometry**

**Download Coordinate Geometry Cheat Sheet Below**

### Derivation of formula

In the above diagram, let’s consider 2 points A(x1,y1) and B(x2,y2). Connect the points A and B directly forming a slanting line AB. Now complete the triangle by joining the points A and B to a common point C such that AC is parallel to the y-axis while BC is parallel to the x-axis.

Now for the coordinates of point C.

Since we considered the point C to be parallel to x-axis the y-coordinate of C will be the same as the y-coordinate of B which is y2 and since C is also parallel to the y-axis the x-coordinate will be equal to the x-coordinate of A which is x1.

Therefore the coordinates of point C are C (x1,y2).

It is a well-known fact that on the x-y coordinate plane the x-axis cuts the y-axis at 90 degrees. That means both the axes are perpendicular to each other. Since the sides, AC and BC are parallel to the y-axis and the x-axis respectively, what we now have is a right-angled triangle ACB where side AB is the hypotenuse, side AC is the perpendicular and CB is the base.

In order to find the length of side AC, we need to find the distance between points A and C. As we have already established the fact that AC is parallel to the y-axis, the x-coordinates will be the same and we cannot use it to calculate the distance.

**Download NCERT Solutions for Class 10 Mathematics**

The only information we are left with are the y-coordinates. If we observe carefully, subtracting the y-coordinate values of C from the y-coordinate value of A we get the distance between the points A and C.

And that my friends, is how we found the length of side AC.

side AC= y2-y1 (1)

Similarly, we also find the length of side CB. The only difference here will be that the y-coordinates remain the same and we subtract the x-coordinates. Therefore,

side CB= x2-x1 (2)

Triangle ACB is a right-angled triangle. We need to find hypotenuse AB.

To do that we use the Pythagoras Theorem. So,

AB²=BC²+AC²

From (1) and (2),

AB²=(x2-x1)²+(y2-y1)²

Taking Square roots on both sides,

AB=√{(x2-x1)²+(y2-y1)²}

What we derived just now is the Distance formula.

So the Distance Formula is,

**AB=√[(x2-x1)²+(y2-y1)²]**

Remember, as there is a plus sign in between both the squared values, we cannot take them out of the square root without first performing the addition operation.

## Solved Examples

**Question 1: The coordinates of point A are (-4,0) and the coordinates of point B are (0,3). Find the distance between these two points.**

**Answer:** Coordinates of A = (-4,0) = (x1,y1)

Coordinates of B = (0,3) = (x2,y2)

By Distance Formula,

AB = √{(x2-x1)²+(y2-y1)²} = √{[0-(-4)]²+ (3-0)²}

= √(4²+3²)} = √(16+9) = √25

= 5 units

Hence, according to the Distance Formula, the distance between points A and B is 5 units

**Question 2: The coordinates of point A are (1,7) and the coordinates of point B are (3,2). Find the distance between these two points. **

**Answer:** Coordinates of A = (1,7) = (x1,y1)

Coordinates of B = (3,2) = (x2,y2)

By Distance Formula,

AB = √{(x2-x1)²+(y2-y1)²}

= √{(1-3)²+ (7-2)²}

= √{(-2)²+(5)²}

= √(4+25) = √29 units

According to the Distance Formula, the distance between points A and B is √29 units.

**Question 3: Write down the distance formula in maths?**

**Answer:** It is a very useful tool for finding the distance between two points that can be arbitrarily represented as points (x_{1}, y_{1}) and (x_{2}, y_{2}), However, distance formula is derived from Pythagorean theorem that is a^{2} + b^{2} + = c^{2}.

**Question 4: What do us call the distance between two points?**

**Answer:** Distance refers to the area travelled by an object, while the shortest distance between two points is the length of a so-called geodesic between the points. However, in the sphere, the geodesic is the segment of a great circle containing two points.

**Question 5: Can distance be negative?**

**Answer:** No, the distance cannot be negative and also it never decreases. Furthermore, distance is a scalar quantity or a magnitude. However, displacement can be negative, positive or zero because it is a vector quantity. Moreover, theoretically, the shortest distance between two points is always zero.

**Question 6: What is the minimum distance?**

**Answer:** Minimum distance refers to the minimum distance estimation, a statistical method for fitting a model to data. In addition, the closest pair of point’s problem, the algorithmic problem of finding two points that have the minimum distance among a larger set of points.