[Math] How do we write the derivation of distance formula of two points from two different quadrants in a cartesian plane

analytic geometry

I learnt the derivation of the distance formula of two points in first quadrant I.e., $d = \sqrt{(x_2 – x_1)^2 + (y_2 – y_1)^2}$ where it is easy to find the legs of the hypotenuse (distance between two points) since the first has no negative coordinates and only two axes ($x$ coordinate and $y$ coordinate). while finding the distance between two points from two different quadrants of a Cartesian plane where four axes exist ($x$,$x_1$,$y$, $y_1$ coordinates), the same formula applies for this problem also. But, the derivation of the formula is based only on the distance between two points in first quadrant alone. Can you please explain the DERIVATION of the formula for more than two quadrants? Please

Best Answer

All you have to realize is that 'crossing' an axis does not change the distance. Try first to just realize this in one dimension, i.e the distance between two points on the real line:

$d(x_1,x_2)=|x_1-x_2|=\sqrt{(x_1-x_2)^2}$.

Take one point $x_1$, on the negative side, and another $x_2$, on the positive and calculate the distance between them, e.g

$x_1=-3, x_2=5$: $d(-3,5)=|-3-5|=\sqrt{((-3)-5)^2}=\sqrt{(-8)^2}=\sqrt{64}=8$.

The squaring takes care of the sign, and the square root, in a way, transforms it back again. The same applies, of course, to the components of the $y$-axis. With this in mind, read the derivation of the two dimensional case, that you've already read, again.

Can you then perhaps see why it makes no difference in what quadrants the points are?