Distance between 2 parallel lines is the perpendicular distance from any point to one of the lines. In this article, you will learn the definition of parallel lines, and how to find the distance between them, along with solved examples.
The graph of the function, a pair of railroad tracks, or the opposite sides of a parallelogram or keys of a piano can be a few examples of parallel lines. A common property that can be found in the above examples is that the two railroad tracks never meet, the opposite sides of a parallelogram will never intersect, or the piano keys are parallel to each other. This article explains the method of finding the distance between two parallel lines with appropriate examples.
Parallel Lines Definition
Parallel lines are those lines that never meet each other. When the distance between a pair of lines is the same throughout, it can be called parallel lines. It is denoted by “||”. The main criterion for any two lines to be parallel is that they have to be drawn on the same plane. They are always equidistant from each other.
The lines can be extended till infinity. The slopes of two parallel lines are equal.
How to Find the Distance between Two Parallel Lines
The method for calculating the distance between two parallel lines is as follows:
- Ensure that the equations of the given parallel lines are in slope-intercept form (y=mx+c).
- The intercepts (c1 and c2) and slope values, which are common for both lines, have to be determined.
- After obtaining the above values, substitute them in the slope-intercept equation to find y.
- Finally, put all the above values in the distance formula to find the distance between two parallel lines.
The two parallel lines can be taken in the form,
y = mx + c1 …. (i)
and y = mx + c2 …. (ii)
Line (ii) will intersect the x-axis at point A (–c1/m, 0), as shown in the figure.
The length of the perpendicular from point A to line (i) is of the same length as the distance between two lines.
Therefore, the distance between lines (i) and (ii) is,
|(–m)(–c1/m) + (–c2)|/√(1 + m2) or d = |c1 – c2|/√(1 + m2).
Distance d between two parallel lines y = mx + c1 and y = mx + c2 is given by
d = |C1–C2|/√(A2 + B2 ) |
The distance between a point (x1, y1) and a line is d= |a1x1 + b1y1 + c1| / √(a12 + b12) ,
where a1 and b1 are the coefficients of variables x and y in the equation of the line.
The equation of a line is,
a1x + b1y + c1 = 0
Considering the following equations of 2 parallel lines, we can calculate the distance between these lines using the distance formula,
ax + by + c = 0
ax + by + c1 = 0
Using the above 2 equations, we can conclude that
Distance between 2 parallel lines, d = |c – c1| / √(a2 + b2).
Also read
Solved Examples
Example 1: Find the distance of the point (4, –6) from the line 2x – 7y – 24 = 0.
Solution:
Given line is 2x – 7y – 24 = 0. …… (1)
Comparing (1) with general equation of line Ax + By + C = 0, we get
A = 2, B = –7 and C = –24.
Given point is (x1, y1) = (4, –6).
The distance of the given point from given line is d = |Ax1 + By1 + C|/√(A2 + B2) = 26/7.2
= 3.6
Example 2: Estimate the distance between the two parallel lines y = 2x + 7 and y = 2x + 5.
Solution:
The distance between two parallel lines is given by |c1 – c2|/√(a2 + b2).
Here, the equations of parallel lines are y = 2x + 7 and y = 2x + 5.
Slopes are same m1 = m2 = 2 and c1 = 7 ,c2 = 5.
here a = 2, b = -1
So, the distance between two parallel lines is given by,
=> |c1 – c2| = |7 – 5|/√(22 + 12) = 2/√5
Example 3: Calculate the distance between the parallel lines 3x + 4y + 7 = 0 and 3x + 4y − 5 = 0.
Solution:
The distance between two parallel lines is given by d = |c1-c2|/√(a2+b2).
Here, c1 = 7, c2 = -5, a = 3, b = 4
so d = |7 – (-5)|/√(32 + 42)
= 12/5
Example 4: Find the distance from the line 6x – 4y + 36 = 0 to point (0, 0).
Solution:
Distance between a point (x1, y1) and a line a1x + b1y + c1 = 0 is
d = |a1x1 + b1y1 + c1| / √(a12 + b12)
Here a1 = 6, b1 = -4, c1 = 36, x1 = 0, y1 = 0
so d = 36/√(36 + 16)
= 36/√52
Example 5: Let PS be the median of the triangle with vertices P(2, 2), Q(6, -1) and R(7, 3). The equation of the line passing through (1, -1) and parallel to PS is
A) 2x − 9y − 7 = 0
B) 2x − 9y − 11 = 0
C) 2x + 9y − 11 = 0
D) 2x + 9y + 7 = 0
Solution:
S = midpoint of QR
Slope of PS
Equation of line passing through (x1, y1) having slope m is y – y1 = m(x – x1)
The required equation is
Hence, Option D is the answer.
Example 6: The graph of the function
A) A straight line passing through (0,−sin2 1) with slope 0
B) A straight line passing through (0, 0)
C) A parabola with a vertex of 75 degrees
D) A straight line passing through the point (π/ 2, −sin2 1) and parallel to the x-axis
Solution:
Here, slope = 0
Hence, option A is the answer.
Example 7: The line 3x + 2y = 24 meets the y-axis at A and the x-axis at B. The perpendicular bisector of AB meets the line through (0,−1) parallel to the x-axis at C. The area of the triangle ABC is
A) 182 sq.units
B) 91 sq.units
C) 48 sq.units
D) None of these
Solution:
The coordinates of A and B are (0, 12) and (8, 0), respectively.
Slope of given line 3x + 2y = 24 is m = -3/2
The slope of the perpendicular bisector = 2/3
Midpoint of AB = (4, 6)
The equation of the perpendicular bisector of AB is
The equation of a line passing through (0, 1) and parallel to the x-axis is y=−1.
(substitute y = -1 in 2x-3y+10=0)
This meets (i) at C.
Therefore, the coordinates of C are (-13/2, -1).
Hence, the area of the triangle ABC is
Hence, option B is the answer.
Example 8: The diagonals of a parallelogram PQRS are along the lines x + 3y = 4 and 6x − 2y = 7. Then, PQRS must be a
A) Rectangle
B) Square
C) Cyclic quadrilateral
D) Rhombus
Solution:
Given x + 3y = 4 ..(i)
6x − 2y = 7 ..(ii)
m1 = −1/3 and m2 = 3.
here m1m2 = -1
Hence, lines x + 3y = 4 and 6x − 2y = 7 are perpendicular to each other.
Therefore, the parallelogram is a rhombus.
Hence, option D is the answer.
Example 9:
Find the distance between the lines 4x +3y+6= 0 and 4x+3y-3= 0.
Solution:
Here, A = 4, B = 3, C1 = 6 and C2 = -3
So, the distance =| (C1 – C2) | / √(A2+B2)
=| 6 – (-3) | / √(16 + 9) = 9/√25 = 9/5
Frequently Asked Questions
How to identify parallel lines by their slope?
If the slopes are equal, then the lines are parallel.
Give the formula to find the distance between two parallel lines.
Distance between two parallel lines is given by the formula d = |c1-c2|/√(a2 + b2).
Give the formula to find the distance between a point (x1, y1) and a line a1x+b1y+c1 = 0.
Distance between a point (x1, y1) and a line a1x+b1y+c1 = 0 is d = |a1x1+b1y1+c1|/√(a12+b12).
Comments