Solution: All three points are collinear if the total of the lengths of any two line segments equals the length of the third line segment.
Consider the following values, A = (1, 5) B = (2, 3) and C = (-2, -11)
Calculate the distance between three points, say AB, BC, and CA.
AB
BC
CA
As we know, AB + BC ≠ CA
As a result, the points given (1, 5), (2, 3), and ( – 2, – 11) are not collinear.