document.write( "Question 1203418: solve by addition of line segments show whether the points a(-3,0), b(-1,-1) and c(5,-4) lie on a straight line.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #838957 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
your 3 points are:
\n" ); document.write( "a = (-3,0)
\n" ); document.write( "b = (-1,-1)
\n" ); document.write( "c = (5,-4)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if they are on the same straight line, then they should be able to form an equation with the same slope and same y-interept.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "straight line formula is y = mx + b
\n" ); document.write( "m is the slope
\n" ); document.write( "b is the y-intercept.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you can find the straight line equation from any two of the ponts.
\n" ); document.write( "then you can determine if the third point is on the same line by using the equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i chose points (-3,0) and (5,-4)
\n" ); document.write( "slope is (y2-y1) / (x2-x1)
\n" ); document.write( "assigned (-3,0) to (x1,y1)
\n" ); document.write( "assigned (5,-4) to (x2,y2)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(y2-y1)/(x2-x1) = (-4-0) / (5--3) = -4/8 = -1/2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = mx + b becomes y = -1/2 * x + b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to find the y-intercept, replace x and y with values from one of the points.
\n" ); document.write( "i chose (5,-4).
\n" ); document.write( "at that point, x = 5 and y = -4
\n" ); document.write( "y = -1/2 * x + b becomes -4 = -1/2 * 5 + b
\n" ); document.write( "solve for b to get b = -4 + 1/2 * 5 = -4 + 2.5 = -1.5
\n" ); document.write( "y-intercept is -1.5 and equation becomes y = -1/2 * x - .5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your third point should be (-1,-1).
\n" ); document.write( "to prove that is on the line, replace x in the equation with -1 and solve for y.
\n" ); document.write( "you get y = -1/2 * -1 - 1.5 which is equal to 1/2 - 1.5 which is equal to -1.
\n" ); document.write( "this means the point (-1,-1) is also on the same line.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here is a graph of the equation y = -1/2 * x - 1.5.
\n" ); document.write( "it shows that all 3 points are on the same line.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );