#### Question

Prove that the points (−2, 5), (0, 1) and (2, −3) are collinear.

#### Solution

The distance *d* between two points `(x_1,y_1)` and `(x_2, y_2)` is given by the formula

`d = sqrt((x_1 - x_2)^2 + (y_1 - y_2)^2`

For three points to be collinear the sum of distances between two pairs of points should be equal to the third pair of points.

The given points are *A *(*−*2*, *5), *B *(0*, *1) and *C *(2*, **−*3)

Let us find the distances between the possible pairs of points.

`AB = sqrt((-2 - 0)^2 + (5 - 1)^2)`

`= sqrt((-2)^2 + (4)^2)`

`= sqrt(4 + 16)`

`AB = 2sqrt5`

`AC = sqrt((-2-2)^2 + (5 + 3)^2)`

`= sqrt((-4)^2 + (8)^2)`

`= sqrt(16 + 64)`

`AC = 4sqrt5`

`BC = sqrt((0 - 2)^2 + (1 + 3)^2)`

`= sqrt((-2)^2 + (4))`

`= sqrt(4 + 16)`

`BC = 2sqrt5`

We see that AB + BC = AC

Since sum of distances between two pairs of points equals the distance between the third pair of points the three points must be collinear.

Hence we have proved that the three given points are collinear.