Related to ‘Distance between’, we will discuss below three types of formulas as found in the math topic of coordinate geometry.

The three formulas related to ‘Distance between’ in coordinate geometry are as follows:

- Distance between two points
- Distance between two straight lines and
- Distance between a point and a straight line.

1. Distance between two points:

Consider two points A and B in the rectangular coordinate system formed by the x-axis and the y-axis.

Let the coordinates of the point:

A be (x_{1}, y_{1}) and those of point B be (x_{2}, y_{2})

The formula for finding distance between two points

A (x_{1}, y_{1}) and B(x_{2}, y_{2}) is

Example:

What is the distance between the two points A (2, 3) and B (4, 5)

**Solution: **

From the above formula, the distance between the two points

A (2, 3) and B (4, 5) is

**2. Distance between two straight lines**

Consider two straight lines L and M in the Cartesian coordinate plane, which are parallel to each other.

Let the two straight lines L and M, which are parallel to each other be such as

Equation of line L is: ax + by + c = 0, and

Equation of line M is:ax + by + d = 0.

Then the formula for

Distance between the two parallel lines L and M is

In the equations of the two parallel lines L and M:

ax + by + c = 0 and ax + by + d = 0

difference of constant terms of the two equations is **c – d**, and

coefficient of x = **a**, and coefficient of y = **b**.

Now, let us solve a question on distance between two straight lines.

**Example: **

**Find the distance between the two straight lines L and M, which are parallel to each other, such that the equation of **

**L is 3x + 4y + 5 = 0 and that of M is 3x + 4y + 6 = 0**

**Solution: **

In the equations of the two parallel lines L and M,

Difference of the constant terms = 6 – 5 = 1,

And in both of the equations,

Coefficient of x, i.e. a = 3, and coefficient of y, i.e. b = 4.

So, a^{2} + b^{2} = 3^{2} + 4^{2} = 9 + 16 = 25

Therefore, distance between the two straight lines L and M is

1/ (√25) = 1/5 units.

**3. Distance between a point and a straight line **

Consider a straight line L whose equation is ax + by + c = 0

Let there be a point P with coordinates (x, y).

Now, the distance of a point P(x_{1}, y_{1}) from a straight line L is the length of the line segment drawn perpendicular from the point P to the straight line L.

And the formula to find the perpendicular distance between a straight line L and a point P (x_{1}, y_{1}) is

Comment Box is loading comments...