document.write( "Question 1179087: Find the distance between two parallel lines
\n" ); document.write( "Y=2x-1, y=2x+9
\n" ); document.write( "I tried graphing it and finding the perpendicular intercept but my numbers are not coming out right.
\n" ); document.write( "

Algebra.Com's Answer #808578 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The video referenced by the other tutor shows a perfectly good way of solving the problem:
\n" ); document.write( "(1) Using the slopes of the given lines and y-intercept of the first line, find the equation of the line perpendicular to that first line containing that y-intercept;
\n" ); document.write( "(2) use the equation of that perpendicular line and the equation of the second given line to find the point of intersection; and
\n" ); document.write( "(3) use the distance formula with that point of intersection and the y-intercept of the first line to get the distance between the two lines.

\n" ); document.write( "There is a lot of good math in that solution process; you should understand it and know how to use it.

\n" ); document.write( "But there are much easier and faster ways to answer the problem. Below are two of them.

\n" ); document.write( "First alternative: Make a sketch with a right triangle

\n" ); document.write( "Sketch a graph of the two lines with slope 2 and y-intercepts -1 and +9;
\n" ); document.write( "Draw the perpendicular segment from (0,9) to the other line;
\n" ); document.write( "Look at the right triangle whose sides are that perpendicular segment, part of the second line, and part of the y-axis. Since the slopes of the two lines are 2, we can call the lengths of the two legs of that right triangle x and 2x; and the hypotenuse is 10. Then from the Pythagorean Theorem,

\n" ); document.write( "\"x%5E2%2B%282x%29%5E2=10%5E2\"
\n" ); document.write( "\"x%5E2%2B4x%5E2=100\"
\n" ); document.write( "\"5x%5E2=100\"
\n" ); document.write( "\"x%5E2=20\"
\n" ); document.write( "\"x+=+2%2Asqrt%285%29\"

\n" ); document.write( "ANSWER: The distance between the two lines (the length of the perpendicular segment between the two lines) is x = 2*sqrt(5)

\n" ); document.write( "Second alternative: Use the point-to-line distance formula

\n" ); document.write( "A very useful formula to know is for finding the distance from a given point to a given line:

\n" ); document.write( "Given the equation of a line in the form Ax+By+C=0 and a point (p,q), the distance from the point to the line is

\n" ); document.write( "\"abs%28%28Ap%2BBq%2BC%29%2F%28sqrt%28A%5E2%2BB%5E2%29%29%29\"

\n" ); document.write( "Use the equation of the first line in the required form (2x-y-1=0) and the y-intercept of the second line (0,9) as the fixed point and plug the numbers into the formula:

\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );