Search 74,323 tutors
FIND TUTORS

How to find a distance between two parallel lines?-2

This is another way to find a distance between two parallel lines. This derivation was suggested to me by Andre and I highly recommend him and his answers to any student, who wants to learn math ans physics. This derivation requires the knowledge of trigonometry and some simple trigonometric identities, so this may be suitable for more advanced students.
 
Once again, we have two lines.
 
y=mx+b1  (1)--equation for the first line.

y=mx+b2  (2)--equation for the second line.
 
Now recall that the slope of the line is the tangent of an angle this line forms with the x-axis. Indeed, m=(y2-y1)/(x2-x1), where x1, x2, y1, yare the x- and y-coordinates of any two distinct points on the line. If one draws the picture, it will be immediately obvious that m is the tangent of the angle between the line and the x-axis.
 
The difference b2-b1 gives the relative displacement along the y-axis of two lines. Since b2 is the y-intercept of the second line and b1 is the y-intercept of the first line, the vertical displacement of one line with respect to another is given by |b2-b1|. The perpendicular line segment between two lines and this displacement form the same angle between each other as the lines and the x-axis have between each other. So its tangent is m. Now recall the identity:
 
tan2(x)+1=1/cos2(x) (3)
 
From (3) it follows that cos(x)=1/√(1+tan2(x))
 
In our case the cosine of the angle α between the vertical line, which length is |b2-b1|, and the perpendicular line, which length d we are trying to determine, is 1/√(1+m2). The distance d is them given by:
 

d=|b2-b1|cos(α)=|b2-b1|/√(1+m2)     (4)

This once again proves the formula derived earlier using coordinate approach.

Woodbridge geometry tutors