An easy way to find the distance between parallel lines, as we did in class...

Here are two parallel lines. They have common slope (as they must).

[Graphics:../HTMLFiles/index_1.gif]

The distance is understood to be a perpendicular one, so we consider moving between the parallel lines along a perpendicular line. Any such line will do, but we may choose a convenient one.

[Graphics:../HTMLFiles/index_2.gif]

If we can find the points at which the lines intersect, we can use the distance formula.  We know how to solve systems of equations to find the intersections. If we chose the perpendicular line wisely, then we aleady know one point without solving anything.)

In the example above, the two lines are given by  y = 2x  and  y = 2x + 3,  which both have slope 2. Therefore any perpendicular line will have slope  -1/2. For convenience we choose the line y = -1/2x, which clearly intersects the line y = 2x at the origin (0, 0).  To find the other point, we solve the system  

y = 2x + 3  y = -1/2x

The solution is easy to find, and is the point  (x, y) = (-6/5, 3/5).  The distance between the lines is therefore the distance from this point to the other one, (0, 0).  So, the distance d is found with the distance formula.

((-6/5 - 0)^2 + (3/5 - 0)^2)^(1/2) = ((6/5)^2 + (3/5)^2)^(1/2)
= ((3/5)^2 (2^2 + 1))^(1/2)
= 3/55^(1/2)

(There is a little trick in the simplification of the radical, where I factored out (3/5)^2, using the fact that                                                               6 FormBox[RowBox[{RowBox[{RowBox ...  = 2^2 (3/5)^2}], TraditionalForm]                                                               5. Feel free to ignore it and use a method you are comfortable with.)


Created by Mathematica  (December 3, 2004)