As promised, here is a proof that the squared distance function dsq
q (notation as above) on a manifold M is smooth
in some neighborhood of the point q:
The exponential map in differential geometry:
expq: TqM → M
taking any vector v in some neighborhood U of the origin in the tangent space T
qM at the point q, to the manifold M, via
expq(v) := γv(1),
where γ
v denotes the unique distance-minimizing constant-speed geodesic curve with γ
v(0) = q, whose velocity γ
'v(0) at time equals v.* (For an arbitrarily large neighborhood, there is usually no unique distance minimizing curve.)
It is a standard fact in differential geometry that this exponential map is a diffeomorphism from the open neighborhood of the origin U of T
qM, onto its image γ
v(U), which we call W. W will be an open set of M. For simpler notation, let's call this diffeomorphism h:
h: U → W
Every diffeomorphism has an inverse diffeomorphism and h is no exception:
hinv: W → U.
Also, the map
lensq: U → ℝ
via
lensq(v) := ||v||2
is easily shown to be smooth. Finally, the composition
lensq ⚬ hinv: W → ℝ
gives the distance of any point in the neighborhood W (of q in M) to the point q, and since it is the composition of two smooth maps, must be smooth itself.
__________________
* If all geodesics can be extended indefinitely in M, then M is called a complete Riemannian manifold. In this case, the exponential map is then defined for all real multiples of v via
expq(tv) := γv(t)
for any t in
ℝ, where γ
v is the same uniquely defined geodesic curve as above. In this case, the exponential map exp
q will be onto the manifold M, but in most cases will
not be a diffeomorphism T
qM → M.