Another example
Here's another example but where neither line passes through the origin. The lines are and .
Again, we can use any line perpendicular to these. Such a line has slope . We'll use the one passing through the point , since we already know it is on one of the parallel lines (namely, ). An equation for this perpendicular line is . (Another good choice would be .)
We now find the point of intersection with the other line by solving the system
You can check that the solution is the point . The distance between the lines is therefore the distance between the points and , which is
= | ||
= | ||
= |
Incidentally, you can perform a geometric-numerical check of your answer. If you are using graph paper and have a compass, draw a circle centered at the point whose radius is the distance between the lines. Using a calculator, you can see that . You should be able to see that this corresponds to what you see in the resulting picture. (Do you see any obvious lengths that agree with a value of about ?)
Created by Mathematica (December 3, 2004)