Question:
If x is a positive integer such that the distance between points P (x, 2) and Q (3, −6) is 10 units, then x =
(a) 3
(b) −3
(c) 9
(d) −9
Solution:
It is given that distance between $P(x, 2)$ and $Q(3,-6)$ is 10 .
In general, the distance between $\mathrm{A}\left(x_{1}, y_{1}\right)$ and $\mathrm{B}\left(x_{2}, y_{2}\right)$ is given by,
$\mathrm{AB}^{2}=\left(x_{2}-x_{1}\right)^{2}+\left(y_{2}-y_{1}\right)^{2}$
So,
$10^{2}=(x-3)^{2}+(2+6)^{2}$
On further simplification,
$(x-3)^{2}=36$
$x=3 \pm 6$
$=9,-3$
We will neglect the negative value. So,
$x=9$
So the answer is (c)