I have a point (1, 1) and Line segment that goes from points (1, 2) to (2, 1)
My lecture says that to find the direction of the point to the Line we can create the following Matrix and if the determinant is negative the point is below the line or else it's above. Which works! But why?
Matrix3(
1, 1, 1, //Point
1, 2, 1, //Line start
2, 1, 1 //Line end
)
//determinant = -1
After some derivation exercises and videos I understand that the determinant of a Matrix gives us the area/volume of the transformation and a negative determinant means that the transformation flipped the vector in the opposite direction.
But why would the determinant also give us the direction of a Point to a Line in the above matrix?

zdirection is ignored. – user438454534 Jul 01 '21 at 13:17