Collinear

Three points are collinear when:

$$(x_1y_2 - x_1y_3 +x_2y_3 - x_3 y_2 + x_3 y_1 - x_2 y_1) = 0$$