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.

Derivation of section formula in all four quadrants