document.write( "Question 924464: Do (1,1), (2,2), and (3,4) lie on a straight line? And explain \n" ); document.write( "
Algebra.Com's Answer #560855 by Cromlix(4381)\"\" \"About 
You can put this solution on YOUR website!
Gradient = y2 - y1/x2 - x1
\n" ); document.write( "Gradient of the line connecting (1,1) and (2,2)
\n" ); document.write( " = 2 - 1/2 - 1 = 1
\n" ); document.write( "Gradient of the line connecting (2,2) and (3,4)
\n" ); document.write( " = 4 - 2/3 - 2 = 2
\n" ); document.write( "Different gradients, therefore not on the same straight line.\r
\n" ); document.write( "\n" ); document.write( "Hope this helps.
\n" ); document.write( ":-)
\n" ); document.write( "
\n" );