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.

Asked by Abhisek | 1 year ago |  57

##### Solution :-

Points P (x1, y1) and Q(x2, y2)

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

So, the distance between P and Q is given by

$$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

$$\sqrt{ (y_2-y_1)^2}$$

= |y2 – y1|

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

So, the distance between P and Q is given by =

$$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}$$

$$\sqrt{ (x_2-x_1)^2}$$

= |x2 – x1|

Answered by Pragya Singh | 1 year ago

### Related Questions

#### Find the angle between the line joining the points (2, 0), (0, 3) and the line x + y = 1.

Find the angle between the line joining the points (2, 0), (0, 3) and the line x + y = 1.

#### Prove that the points (2, -1), (0, 2), (2, 3) and (4, 0) are the coordinates of the vertices

Prove that the points (2, -1), (0, 2), (2, 3) and (4, 0) are the coordinates of the vertices of a parallelogram and find the angle between its diagonals.

#### Find the acute angle between the lines 2x – y + 3 = 0 and x + y + 2 = 0.

Find the acute angle between the lines 2x – y + 3 = 0 and x + y + 2 = 0.