JEE Main 2024 Question Paper Solution Discussion Live JEE Main 2024 Question Paper Solution Discussion Live

Shortest Distance between Two Lines

The distance between two parallel lines is used to determine how far apart the lines are. This can be done by measuring the perpendicular distance between them. We may derive a formula using this approach and use this formula directly to find the shortest distance between two parallel lines. For two non-intersecting lines lying in the same plane, the shortest distance is the distance that is shortest of all the distances between two points lying on both lines. In this article, we will study the shortest distance between two lines in detail.

Download Complete Chapter Notes of Straight Line
Download Now

Table of Contents

Distance between two Straight Lines

The distance between two straight lines in a plane is the minimum distance between any two points lying on the lines. In geometry, we often deal with different sets of lines, such as parallel lines, intersecting lines or skew lines.

Distance between Two Parallel Lines The distance is the perpendicular distance from any point on one line to the other line.
Distance between Two Intersecting Lines The shortest distance between such lines is eventually zero.
Distance between Two Skew Lines The distance is equal to the length of the perpendicular distance between the lines.

Related Articles:

Straight Lines

3D Geometry

Distance Formula

Shortest Distance between Two Parallel Lines

Formula to find the distance between two parallel lines:

Consider two parallel lines that are represented in the following form:

y = mx + c1 …(i)

y = mx + c2 ….(ii)

Where m = slope of the line

Then, the formula for the shortest distance can be written as under:

\(\begin{array}{l}d = \frac{|c_2 – c_1|}{\sqrt{1+m^2}}\end{array} \)

If the equations of two parallel lines are expressed in the following way,

ax + by + d1 = 0

ax + by + d2 = 0

Then, there is a small change in the formula.

\(\begin{array}{l}d=\frac{\left | d_{2} -d_{1}\right |}{\sqrt{a^{2}+b^{2}}}\end{array} \)

 

Remark: The perpendicular distance between parallel lines is always a constant, so we can pick any point to measure the distance.

Proof

Consider two parallel lines given by

y = mx + c1 ..(i)

y = mx + c2 ..(ii)

Shortest Distance between Two Lines

Here, line (i) intersects the x-axis at A. So, y = 0 at that point.

We can write (i) as 0 = mx + c1

So, mx = -c1

x = -c1/m

Point A will be (-c1/m, 0). 

The perpendicular distance from A to line (ii) is the distance between lines (i) and (ii).

The equation of line (ii) can be written as mx – y + c2 = 0

Comparing with general equation Ax+ By + C = 0

We get A = m, B = -1, C = c2

Here, (x1, y1) = (-c1/m, 0)

The distance d = |(Ax1 + By1+C)/√(A2 + B2)|

= |(m(-c1/m) + -1(0) + c2)/√(m2 + 1)|

= |(-c1 + 0 + c2)/√(m2 + 1)|

= |(c2-c1)/√(1 + m2)|

In Vector Form:

If

\(\begin{array}{l}\text{If}\ \vec{r}=\vec{a_1} + \lambda \vec{b}\ \text{and}\ \vec{r}=\vec{a_2} + \mu \vec{b}\end{array} \)

Then,

\(\begin{array}{l}d = |\frac{\vec{b} \times (\vec{a_2}-\vec{a_1})}{|\vec{b}|}|\end{array} \)

Shortest Distance between Skew Lines

A set of lines that do not intersect each other at any point and are not parallel are called skew lines (also known as agonic lines). Such a set of lines mostly exist in three or more dimensions.

For example, in the below diagram, RY and PS are skew lines among the given pairs.

Distance between Skew Lines

 

Distance Formula:

The distance between two lines of the form,

\(\begin{array}{l}\vec{l_{1}}= \vec{a_{1}}+t\vec{b_{1}}\end{array} \)
and 
\(\begin{array}{l}\vec{l_{2}}= \vec{a_{2}}+t\vec{b_{2}}\end{array} \)

is

\(\begin{array}{l}d=\frac{(\vec{b_{1}}\times \vec{b_{2}}).(\vec{a_{2}}-\vec{a_{1}})}{\left | \vec{b_{1}} \times \vec{b_{2}}\right |}\end{array} \)

 

Solved Examples

Example 1: Find the distance between two parallel lines y = x + 6 and y = x – 2.

Solution: Given equations are of the form, y = mx + c

Here, m = 1, c1 = 6, c2 = -2

Formula: d = |c1 – c2|/√(1 + m2)

Therefore, d = 8/√2 or 5.65 Units.

Example 2: Find the shortest distance between lines

\(\begin{array}{l}\vec{r} = \hat{i} + 2\hat{j} + \hat{k} + \lambda ( 2\hat{i} + \hat{j} + 2\hat{k})\end{array} \)
and
\(\begin{array}{l}\vec{r} = 2\hat{i} – \hat{j} – \hat{k} + \mu ( 2\hat{i} + \hat{j} + 2\hat{k})\end{array} \)

Solution:

Using formula,

\(\begin{array}{l}d = |\frac{\vec{b} \times (\vec{a_2}-\vec{a_1})}{|\vec{b}|}|\end{array} \)

Here,

\(\begin{array}{l}|\vec{b} \times (\vec{a_2}-\vec{a_1})| = \begin{vmatrix} i & j & k\\ 2 & 1 &2 \\ 1 & -3 &-2 \end{vmatrix}\end{array} \)

= |4i + 6j – 7k|

= √101

And

\(\begin{array}{l}|\vec{b}|= 3\end{array} \)

Therefore, d = √101/3

Frequently Asked Questions

Q1

How to find the distance between two parallel lines?

Let two parallel lines be represented by y = mx+c1 and y = mx+c2. The distance between the lines is given by d = |(c2-c1)/√(1 + m2)|.

Q2

What do you mean by skew lines?

Lines that do not intersect each other at any point and are not parallel are called skew lines. These lines exist in three dimensions.

Q3

What is the shortest distance between two intersecting lines?

The shortest distance between two intersecting lines is equal to 0.

Test your Knowledge on Shortest distance between two lines

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*