# How to calculate the distance between Two Points?

The length of the line segment connecting two points is defined as the distance between them. The length of the line segment connecting the specified coordinates can be used to compute the distance between two points in coordinate geometry. Let’s look at the formula for calculating the distance between two points in a two-dimensional or three-dimensional plane.

**What is the Distance Between Two Points?**

The distance of the line segment connecting any two points is the distance between them. There is only one line that connects two points. As a result, the distance between two points may be computed by determining the length of the line segment that connects the two spots. For example, if A and B are two points and A B = 20 cm, it implies the distance between A and B is 20 cm.

The length of the line segment connecting two points is the distance between them (but this CANNOT be the length of the curve joining them). It is important to note that the distance between two places is always positive.

**Distance Between Two Points Formula**

The distance formula is used to determine the distance between two points using the provided coordinates. We use the 2D distance formula or the Euclidean distance formula to calculate the distance between any two points in the 2-D plane.

**Formula for Distance Between Two Points**

The formula for the distance, d, between two points whose coordinates are (x_{1}, y_{1}) and (x_{2, }y_{2}) is

This is called the Distance Formula.

To find the distance between two points given in 3-D plane, we can apply the 3D distance formula, given as,

**Derivation of Formula for Distance Between Two Points**

To obtain the formula for calculating the distance between two points on a two-dimensional plane, assume there are two points with the coordinates, A (x_{1},y_{1}) and B (x_{2},y_{2}). Following that, we will suppose that the line segment connecting A and B is AB = d. We will now plot the specified points on the coordinate plane and connect them with a line.

Next, we will construct a right-angled triangle using AB as the hypotenuse.

Using Pythagoras Theorem,

AB^{2 }= AC^{2 }+ BC^{2}

d^{2} = (x_{2}−x_{1})^{2} + (y_{2}−y_{1})^{2}

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} |

(Taking square root on both sides)

Thus, the distance formula to find the distance between two points is proved.

Using similar steps and concept, we can also derive the formula to find the distance between two points given in the 3D plane.

**Steps to find the distance between two points**

The following steps may be used to determine the distance between two places using the provided coordinates:

- Make a note of the coordinates of the two given points on the coordinate plane as follows: A(x
_{1},y_{1}) and B(x_{2},y_{2}). - We may use the distance formula to calculate the distance between two places,
- Express the given answer in units.

Note:We can apply the 3D distance formula in case the two points are given in 3D plane,

### Sample Problems

**Problem 1: Find the distance between the two points with the coordinates given as, A(1,5) and B (2,7).**

**Solution:**

Let (x

_{1}, y_{1}) be (2,7) and (x_{2}, y_{2}) be (1,5).The distance d between the points :

The distance between the two points is √5 units.

**Problem 2: Find the distance between the two points with the coordinates given as, P (2,-6,2) and** **Q(7, 3, 1).**

**Solution:**

Let (x

_{1}, y_{1}, z_{1}) be P (2,-6,2) and (x_{2}, y_{2}, z_{2}) be Q (7,3,1).The distance d between the points P and Q :

**Problem 3: Prove that the vertices of a right-angled triangle are the points (3, 4), (7, 4), and (3, 8).**

**Solution:**

Let us say the given points be:

P = (3, 4)

Q = (7, 4)

R = (3, 8)

Now, we will find each vertices of the right-angle triangle by distance formula.

As we know the length of the sided of the right-angled triangle, by Pythagoras Theorem;

AB

^{2 }+ AC^{2 }= BC^{2}4

^{2}+4^{2}=(4√2)^{2}16+16 = 32⟹32 = 32

This proves that ABC is a right-angle triangle.

**Distance Between Two Points in Complex Plane**

The distance between two points in a complex plane or two complex numbers z_{1}=a+ib* *and z_{2}=c+id in the complex ⟹1−2k=9+4k plane is the distance between points (a, b) and (c, d), given as,

**Problem 4: Find the distance between the two complex numbers z _{1 }= 2−5i and z_{2 }= 7+7i**

**Solution:**

Here, we have two complex numbers z

_{1 }= 2-5i and z_{2 }= 7+7i.The distance between these complex numbers is equidistance to the two points in the plane, with coordinates, (2,-5) and (7,7).

Thus, distance between the two points is

Hence, the distance between two complex numbers z_1=2-5i and z_2=7+7i is 13 units.

**Problem 5: A complex number ω is 6 units apart from z _{1 }= -3 – i and 6 units apart from z_{2 }= 3 + 5i. Check whether the triangle formed by ω, z_{1}, z_{2} is right – angled or not.**

**Solution:**

There are 3 complex numbers

ω, z._{1}, z_{2}As we know the distance between ω and z

_{1}is 6 units and distance between ω and z_{2}is 6 units.Given, ω, z

_{1 }= 6 unitsω, z

_{2 }= 6 unitsNow, we will find the distance between

zby using distance formula._{1 }and z_{2}

By Pythagoras Theorem, we have;

(z

_{1}z_{2})^{2}=(ωz_{1})^{2}+(ωz_{2})^{2}Hence, we conclude that the given triangle is right-angle triangle.

**Problem 6: Find a point on the x-axis that is equidistant from the points (1, -2) and (-2, -3).**

**Solution:**

We know that any point on the x-axis has an y-coordinate of 0. As a result, we consider the point equidistant from the provided points to be (k,0). i.e., Distance between ( k,0) and (1, -2) = Distance between (k, 0) and (-2, -3).

\implies -4k-2k= 9-1

Therefore, the required point is (k, 0) =

## Please

Loginto comment...