The Total solution for NCERT class 6-12
Given:
Points P (x1,y1) and Q(x2, y2)
(i) WhenPQ is parallel to y axis then x1 = x2
So, the distance between P and Q is given by
= |y2 –y1|
(ii) WhenPQ is parallel to the x-axis then y1 = y2
= |x2 –x1|