document.write( "Question 650919: Determine whether the three points are collinear.
\n" ); document.write( "(5,-1), (-3,6), (4,-2)
\n" ); document.write( "

Algebra.Com's Answer #407481 by MathLover1(20850)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Three or more points \"P1\", \"P2\", \"P3\" are said to be \"collinear\" \"if\" they \"lie\" on a \"single\"\"+straight\"\"+line\"\"+L\".\r
\n" ); document.write( "\n" ); document.write( "let's check it:\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: To determine if 3 points lie in a line
The 3 points lie on a same plane. For all points to lie on a line they should satisfy the equation of a line. Hence any two points taken on a line should calculate to the same slope of a line.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " In order to prove the 3 points to lie on a line, as there exists a unique line containing three points and every line has a unique slope.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Hence it will be sufficient to prove that the slope calculated taking 2 points at a time should be equal.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Slope of line taking points (X1,Y1) and (X2,Y2) is
\n" ); document.write( "
\n" ); document.write( " \"slope+=+%28Y2-Y1%29%2F%28X2-X1%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"slope+=+%28%286--1%29%2F%28-3-5%29%29+=+-0.875\" ........................(1)
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Slope of line taking points (X3,Y3) and (X1,Y1) is
\n" ); document.write( "
\n" ); document.write( " \"slope+=+%28Y3-Y1%29%2F%28X3-X1%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"slope+=+%28%28-2--1%29%2F%284-5%29%29+=+1\" ........................(2)
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " From conditions (1) and (2)
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " The 3 points do not a same line.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " For all points to lie on a line they should satisfy the equation of a line. Hence any two points taken on a line should calculate to the same slope of a line.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Here the slopes are unequal hence the points do not lie on same line.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " To read more on equations of a line refer to articles on wikipedia
\n" ); document.write( "
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since your points do NOT \"lie\" on a \"single\"\"+straight\"\"+line\", they are NOT \"collinear\"
\n" ); document.write( "
\n" );