Find the distance between P (x1, y1) and Q (x2, y2) when: (i) PQ is parallel to the y-axis, (ii) PQ is parallel to the x-axis.

Here the given points are P( x1, y1) and Q(x2, y2)


(i) When PQ is to y axis then x1 = x2


The distance between P and Q is




(ii) when PQ is parallel to the x-axis then y1 = y2


The distance between P and Q is =


=


=


9