-- On a graph, those equations produce two lines.Ā
-- The lines are parallel because they have the same slope ( -1 ).Ā
-- The y-intercept of one line is zero, so it goes through the origin.
-- The y-intercept of the other line is -4 , so it crosses the y-axis at 4Ā units
below the origin.
-- The two lines cross the y-axis at two points that areĀ 4Ā units apart vertically,
so the two lines areĀ 4 vertical units apart everywhere.
-- If you go through the same kind of argument, you discover that they're
alsoĀ 4Ā horizontal units apart everywhere.Ā I think this happens because
their slopes are ' 1 ', (alright, ' -1 '), and you would find that their x-intercepts
are also ' 1 ' and ' -1 '.
-- But if you want to get technical about it . . .
You simply asked for 'the distance'.Ā I gave you the horizontal and vertical
distances between two sloping parallel lines. A good math teacher would throw
this out.Ā The 'distance' between parallel lines is defined as the perpendicular
distance ... the length of a line that's perpendicular to both of them.
The first method that pops into my mind goes like this:
-- The slope of these two parallel lines isĀ -1 , so the slope of a line that's
perpendicular to them isĀ +1 .
-- Let's look at the line that's perpendicular to them and passes through
the origin.Ā Its equation isĀ Y = X , and it hits one of the parallel lines there
at the origin.
-- Where does it hit the other parallel line ?Ā Well, that line isĀ y = -x-4 ,
and we want the point whereĀ y=xĀ intersects it.Ā SoĀ x = -x - 4 .
Add 'x' to each side:Ā 2x = -4 .Ā Divide each side by 2:Ā x = -2 .
The point isĀ (-2, -2) .
-- What's the length of the line between the two parallel lines that's
perpendicular to them ?Ā We know 2 points on it . . . (0, 0) and (-2,-2) .
The distance between those points is . . .
Ā Ā Ā ā [ (-2-0)Ā² + (-2-0)Ā² ] = ā(4+4) = ā8Ā =Ā ( ā4 ) ( ā2 ) =Ā 2 ā2 .
That's aboutĀ 2.8284... , and that's the real distance between those
two parallel lines.
Ā