If three points (x1,y1),(x2,y2),(x3,y3) lie on the same line, prove that y2−y3x2x3+y3−y1x3x1+y1−y2x1x2=0.
If the three points are collinear, then the area of triangle formed by them is zero.
Since, the sides of triangle are (x1,y1),(x2,y2),(x3,y3)
then, Area of triangle = 12[(x1(y2−y3))+(x2(y3−y1))+(x3(y1−y2))]
⇒ [(x1(y2−y3))+(x2(y3−y1))+(x3(y1−y2))]=0
Now, divide both sides with (x1x2x3)
We get,
⇒ y2−y3x2x3+y3−y1x3x1+y1−y2x1x2=0.