krishna mohan said:
hi...
We generally use the Pythagoras formula for distance between two points in 2D, when the Cartesian co-ordinates are given...
One directly extends it to 3D..having the distance going as \sqrt{x^{2}+y^{2}+z^{2}}...
For a curved co-ordinate system, we have distances measured by something like
ds^{2}=g^{\mu\nu}dx_{\mu}dx_{\nu}...
I was wondering why it is all about squares and square roots..and not, say cubes and cube roots or fourth roots or something...
There is general theory: theory of metric spaces, where You may assume that metric, that is the mathematical form used for measuring distances is general, function of Your choice.
Function may be treated as metric if has following properties:
<br />
\rho(A,B)>0<br />
<br />
\rho(A,B) = 0 \iff A =B<br />
<br />
\rho(A,B) = \rho(B,A)<br />
<br />
\rho(A,B) \leq \rho(A,C) + \rho(C,B)<br />
A,B,C are points of space. Points may mean whatever You like! For example it may be points in Euclidean space, functions, vectors, or even geometrical shapes, or colors, as long as You provide valid \rho You will end with space with metric measuring some kind of distances.
For typical, Euclidean space, there are non standard examples of metric ( You provided us with standard one):
<br />
\sum \left|x_i -y_i\right|<br />
where this sum is over space dimension indexes. This is so called taxi metric. Other examples You may find in wikipedia
http://en.wikipedia.org/wiki/Metric_(mathematics)
Important types of metric are defined in spaces of functions ( general in vector spaces) where this structure provides us an ability to perform for example analysis in general functional operators etc. This are Banach and Hilbert spaces with metric which is given by the so called norm.
So in fact there are norms for which You use squares etc in physical and mathematical practice in functional spaces. For example norm (\left\| f \right\| = \rho(0,f)) for function f may be given by:
\left\| f \right\|_p = ( \int \left| f(x) \right| ^p dx) ^\frac{1}{p}
It is called L^p norm and space of functions for which it is well defined is called L^p space. For p =2 You will find important case 2-norm, which is used in Quantum mechanic Hilbert spaces called L^2 .