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
- Shortest Distance between Two Parallel Lines – Formula and Proof
- Shortest Distance between Skew Lines
- Solved Problems
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:
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:
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.
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)
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
Then,
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 Formula:
The distance between two lines of the form,
is
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
Solution:
Using formula,
Here,
= |4i + 6j – 7k|
= √101
And
Therefore, d = √101/3
Frequently Asked Questions
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)|.
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.
What is the shortest distance between two intersecting lines?
The shortest distance between two intersecting lines is equal to 0.
Comments