Answer:
Short answer: They are essentially the same thing.
The distance formula is derived from the Pythagorean Theorem
We have distance formula:
![D = √((x_1 - x_2)^2 + (y_1 - y_2)^2)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/3xi5ictvyikjx2aelmbe1njmrbej3rtay1.png)
Pythagorean Theorem:
![a^2+b^2=c^2 \Rightarrow c=√(a^2+b^2)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/v7heb4zvc9ek3wu21uqnvdimygqo5lxmcv.png)
The shortest distance between two points if a line. If you draw a line in the cartesian plane both points will have an x-coordinate and y-coordinate. Note that it forms a right triangle! Therefore, the distance between those points is the hypotenuse.
We can have a point
and point
But once
and
can be positive or negative:
![c = √(a^2+b^2)= D = √((\pm a)^2+(\pm b)^2)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/mvs3wh3ipvt2kyakfzcrkuyyawh1l8t5iq.png)