Where can I find it in Do Carmo's Differential Geometry of Curves and Surfaces?
You can't, I'm afraid. That book is only about curves and surfaces and I was talking about more general manifolds. You would need a book on theoretical mechanics (Arnold's
Mathematical Methods of Classical Mechanics is the classic, there are also several, quite advanced, books by Marsden) or a more advanced book on differential geometry (Spivak's, Choquet-Bruhat's, the list is endless). A very good book on differential geometry and applications in physics (a lot of applications) is Frankel's
The Geometry of Physics. Great book, doesn't assume any previous knowledge of differential geometry and is not as painstakingly abstract as others, but goes very far and touches many, many topics. I heartily recommend this to anyone with some mathematical and physical knowledge who wants to go further.
Of course not. They're not in the same vector spaces. I already explained this. For d(x,y) to make sense, x and y have to be from the same metric space. You can define d(x,y) where x and y are different points on a manifold, or you can define a different d(x,y) where x and y are both members of the tangent bundle of a particular point.
Yes. But the tangent space at each point is isomorphic to
R^n, so the distance between two vectors there is not very interesting. By the way, so there's no misunderstanding, the tangent bundle is the collection of pairs (p,v), where p is a point and v a vector on that point. In other words, the tangent bundle is roughly the collection of all tangent spaces. Vector fields live on the tangent bundle and 1-form fields live on the cotangent bundle. On a riemannian manifold, there is a diffeomorphism between the two bundles, the metric. But even if we don't have a metric, those spaces still exist (and are manifold of dimension 2n, if n is the dimension of the original manifold).
Is g defined if the two vectors are from different points?
No, in the sense that you cannot do g(u,v), if u and v are on different points, because g is a function of the point. But g is a tensor field, so it is defined everywhere. If u(x) and v(x) are also vector fields, then g(u(x),v(x)) is defined everywhere.
How do you define "geodesic"? What if there are no geodesic joining them? Or more than one?
This is not important for what I was saying. I just wanted to illustrate that the metric is a field, defined continously and differentiably on all the manifold. The distance is no such thing. Sometimes it is easy to talk about the distance between two points, as the arc length of a geodesic joining them.
For example, let's talk about surfaces. You know about that if you have read Do Carmo's. There are several (equivalent) definitions of geodesic on a surface. For instance, a curve is a geodesic if it can be parameterised with acceleration always perpendicular to the tangent plane at each point. Or we can say that a curve is a geodesic if the tangent plane to
M is always perpendicular to its osculating plane. Or a curve with extremal arc length (not always a local minimum, as you pointed out earlier). You can also talk about covariant derivatives, Christoffel symbols and geodesic curvature, though I don't remember if that book covered these things. Anyway you define it, if x is a point of M and v a vector on the tangent plane at x, there's always one (and only one) geodesic that passes through x with velocity v. So the concept is well defined.
To summarise, because we have hijacked this thread (sorry, davefoc). The fundamental notion of metric in differential geometry is g, the metric tensor, not the distance. If we want to define some kind of distance, chances are we will do it through g. The metric tensor g is 'useful' for many other things. It is a tensor field, provides a diffemorphism between the tangent and cotangent bundles (=it serves to raise and lower indices), determines the curvature, etc. Einstein's equations say G_mv = k T_mv (k is a unit-dependant constant). T is the amount of energy-momentum and G is a tensor defined through the Riemann tensor which is in turn a function only of the metric tensor. I probably should have been more careful when talking about 'metric', I didn't think it would give raise to misunderstandings. I will say always 'metric tensor' in the future.
We were talking about different things with our 'metric'. Can we give it a rest now? Of course, if you want to ask something about differential geometry, feel free to do it, but let's not keep on arguing about the difference between d <-> g.