If the co-ordinate of A is x and that of B is y, find d(A, B).
x = 6, y = - 2
It is known that, distance between the two points is obtained by subtracting the smaller co-ordinate from larger co-ordinate.
The coordinates of A and B are x and y respectively. We have, x = 6 and y = −2. We know that 6 > −2.
∴ d(A, B) = x − y = 6 − (−2) = 6 + 2 = 8