document.write( "Question 206576This question is from textbook Longman mathematics for IGCSE Book1
\n" ); document.write( ": The line joining (-2,1) to (6,4), is parallel to the line joining (-q,5) to (4,q). Find the value of q.\r
\n" ); document.write( "\n" ); document.write( "It would certainly be a great pleasure for me if you solve my question.
\n" ); document.write( "Thank you very much indeed.
\n" ); document.write( "

Algebra.Com's Answer #156126 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
if the lines are parallel then their slopes have to be equal.
\n" ); document.write( "-----
\n" ); document.write( "your slope is given by the equation (y2-y1)/(x2-x1)
\n" ); document.write( "-----
\n" ); document.write( "your first line joins (-2,1) to (6,4)
\n" ); document.write( "y2 - y1 = 4 - 1 = 3
\n" ); document.write( "x2 - x1 = 6 - (-2) = 8
\n" ); document.write( "-----
\n" ); document.write( "the slope of your first line is 3/8
\n" ); document.write( "-----
\n" ); document.write( "your second line joins (-q,5) to (4,q)
\n" ); document.write( "for the slopes to be equal, y2-y1 / x2-x1 must equal 3/8
\n" ); document.write( "-----
\n" ); document.write( "y2-y1 = q-5
\n" ); document.write( "x2-x1 = 4-(-q) = q + 4
\n" ); document.write( "-----
\n" ); document.write( "(q-5)/(q+4) must equal 3/8
\n" ); document.write( "-----
\n" ); document.write( "if we multiply both sides of this equation by 8 we get:
\n" ); document.write( "(8q-40)/(q+4) = 3
\n" ); document.write( "-----
\n" ); document.write( "if we multiply both sides of this equation by (q+4) we get:
\n" ); document.write( "8q-40 = 3q + 12
\n" ); document.write( "-----
\n" ); document.write( "if we subtract 3q from both sides of this equation and we add 40 to both sides of this equation we get:
\n" ); document.write( "5q = 52
\n" ); document.write( "-----
\n" ); document.write( "if we divide both sides of this equation by 5 we get:
\n" ); document.write( "q = (52/5)
\n" ); document.write( "this is equivalent to 10.4
\n" ); document.write( "-----
\n" ); document.write( "our first line passes through the points (-2,1) and (6,4)
\n" ); document.write( "our second line passes through the points (-10.4,5) and (4,10.4)
\n" ); document.write( "-----
\n" ); document.write( "if both lines have the same slope, then the slope of the second line should equal (3/8)
\n" ); document.write( "-----
\n" ); document.write( "the slope of the second line is y2-y1/x2-x1 = (10.4 - 5)/(4 - (-10.4))
\n" ); document.write( "this comes out to be 5.4/14.4
\n" ); document.write( "-----
\n" ); document.write( "5.4/14.4 is the same ratio as 3/8 so the slopes are the same.
\n" ); document.write( "-----
\n" ); document.write( "our answer is q = 10.4
\n" ); document.write( "----
\n" ); document.write( "to graph these equations, we need to get them into the standard form of y = mx + b
\n" ); document.write( "-----
\n" ); document.write( "m is the slope = 3/8
\n" ); document.write( "b is the y intercept which is the value of y when x = 0
\n" ); document.write( "-----
\n" ); document.write( "to find b, we substitute one of the points in the equation and solve for b.
\n" ); document.write( "-----
\n" ); document.write( "for the first equation, we will use the point (6,4)
\n" ); document.write( "y = mx + b becomes 4 = 6*(3/8) + b
\n" ); document.write( "this makes b = 1.75
\n" ); document.write( "-----
\n" ); document.write( "standard form of our first equation is y = (3/8)*x + 1.75
\n" ); document.write( "-----
\n" ); document.write( "for the second equation, we will use the point (4,10.4)
\n" ); document.write( "y = mx + b becomes 10.4 = 4*(3/8) + b
\n" ); document.write( "this makes b = 8.9
\n" ); document.write( "-----
\n" ); document.write( "standard form of our second equation is y = (3/8)*x + 8.9
\n" ); document.write( "-----
\n" ); document.write( "graph of both equations looks like the following:
\n" ); document.write( "
\n" ); document.write( "-----
\n" ); document.write( "
\n" ); document.write( "
\n" );