Skip to content
Is the Normal Distribution Curved?Chapter 2 Riemannian Metrics on Parameter Spaces

Chapter 2 Riemannian Metrics on Parameter Spaces

The Gaussian family is described by the open set ℝd×Symd+ in which the parameter (m,Σ) varies (Definition 1.1). In this chapter we introduce the tool for measuring lengths and distances on such an open set, namely a Riemannian metric. The Fisher metric of Chapter 3 and the Wasserstein metric of Chapter 5 are both Riemannian metrics in the sense of this chapter. The chapter covers the following.

  • •

    Riemannian metrics, lengths of curves, distance, isometries and changes of coordinates (Section 2.1).

  • •

    Gradients and gradient flows (Section 2.2).

  • •

    Christoffel symbols, geodesics and the first variation of energy (Section 2.3).

  • •

    The curvature of an orthogonal metric in dimension 2, and constant multiples of a metric (Section 2.4).

  • •

    The Euclidean plane and the Poincaré upper half-plane (Section 2.5).

We assume only open subsets of finite-dimensional real vector spaces, smooth maps on them and the calculus of several variables, and the existence and uniqueness of solutions of ordinary differential equations. We do not use manifolds. Every space in this book is an open subset of a vector space, so this suffices. For the differential geometry of surfaces in ℝ3, see Kobayashi’s book [KOB95] (in Japanese). The hyperbolic geometry of the upper half-plane is treated in detail in Surfaces of Curvature −1 [KEI26a], in the same series.

2.1 Riemannian Metrics and Distance

Throughout this chapter, V is an n-dimensional real vector space and U⊆V is an open set. Typical examples are V=ℝn and V=ℝd×Symd, where Symd is the space of real symmetric d×d matrices. In the latter case ℝd×Symd+ is an open subset of V, and n=d+d⁢(d+1)/2. Fixing a basis identifies V with ℝn, and in proofs we do so without comment. For a point x∈U, a vector w∈V and f:U→ℝ, we write the derivative of f at x in the direction w as

d⁢fx⁢(w)=dd⁢s|s=0⁢f⁢(x+s⁢w).

In coordinates d⁢fx⁢(w)=∇f⁢(x)⋅w, where ∇f=(∂1f,…,∂nf) is the vector of partial derivatives.

Definition 2.1 (Riemannian metric).

Consider an assignment of an inner product gx on V to each point x of U. If, for a basis e1,…,en of V, the components gi⁢j⁢(x)=gx⁢(ei,ej) are all C∞ functions of x, we call g=(gx)x∈U a Riemannian metric on U. We call the pair (U,g) an open set with a Riemannian metric. We write the length of w∈V as |w|x=gx⁢(w,w).

A change of basis changes the components linearly, so this condition does not depend on the choice of basis. In coordinates, g is a symmetric matrix (gi⁢j⁢(x)) that is positive definite at each point, and gx⁢(w,w′)=w⊤⁢g⁢(x)⁢w′. We sometimes write the metric as

g=∑i,j=1ngi⁢j⁢d⁢xi⁢d⁢xj.

This is shorthand for gx⁢(w,w)=∑i,jgi⁢j⁢(x)⁢wi⁢wj. For example, (d⁢u2+d⁢v2)/v2 on the upper half-plane {(u,v):v>0} denotes the metric with g11=g22=1/v2 and g12=0. The metric on V=ℝn with gi⁢j=δi⁢j is called the Euclidean metric. For it, |w|x is the usual length |w|.

Definition 2.2 (Length of a curve).

Let c:[t0,t1]→U be a piecewise C1 curve. Its length is

L⁢(c)=∫t0t1|c˙⁢(t)|c⁢(t)⁢𝑑t.

Here c˙ is the derivative of c, defined except at finitely many points. When we need to specify the metric we write Lg⁢(c).

Length does not depend on the parametrisation. That is, if τ:[s0,s1]→[t0,t1] is a monotone C1 surjection, then L⁢(c∘τ)=L⁢(c). This follows by substitution, since (c∘τ)⋅⁢(s)=τ′⁢(s)⁢c˙⁢(τ⁢(s)).

Definition 2.3 (Distance and completeness).

Let U be connected. For x,y∈U we take the infimum of lengths over all piecewise C1 curves from x to y:

d⁢(x,y)=inf{L⁢(c):c⁢ is a piecewise ⁢C1⁢ curve from ⁢x⁢ to ⁢y}.

When we need to specify the metric we write dg. We say that (U,g) is complete if every Cauchy sequence for d converges, with respect to d, to a point of U.

Any two points of a connected open set can be joined by a polygonal path, so d⁢(x,y) is finite. In fact d is a metric. The next proposition shows this, and also compares d locally with the Euclidean distance |x−y|.

Proposition 2.4 (Metric axioms and local comparison).

Let U be connected and let g be a Riemannian metric on U.

  1. 1.

    d is a metric on U. That is, d⁢(x,y)=d⁢(y,x), d⁢(x,z)≤d⁢(x,y)+d⁢(y,z), and d⁢(x,y)=0 if and only if x=y.

  2. 2.

    Take x∈U and r>0 such that the closed ball B¯⁢(x,r)={y:|y−x|≤r} is contained in U. Take 0<λ≤Λ such that λ⁢|w|2≤|w|z2≤Λ⁢|w|2 for every point z of B¯⁢(x,r) and every w∈V. Then d⁢(x,y)≥λ⁢min⁡{r,|y−x|} for all y∈U. Moreover, if |y−x|≤r then d⁢(x,y)≤Λ⁢|y−x|.

  3. 3.

    For a sequence (yk) in U and x∈U, d⁢(yk,x)→0 if and only if |yk−x|→0.

The constants λ, Λ in (2) exist. Indeed, the smallest and largest eigenvalues of the matrix g⁢(z) are positive continuous functions of z, so they attain positive minimum and maximum values on the compact set B¯⁢(x,r).

Proof.

We prove (2) first. Put s=min⁡{r,|y−x|} and let c:[t0,t1]→U be a piecewise C1 curve from x to y. Since |c⁢(t1)−x|=|y−x|≥s, the number τ=inf{t:|c⁢(t)−x|≥s} is defined. By continuity |c⁢(τ)−x|=s, and c⁢(t)∈B¯⁢(x,s)⊆B¯⁢(x,r) on [t0,τ]. Therefore

L⁢(c)≥∫t0τλ⁢|c˙⁢(t)|⁢𝑑t≥λ⁢|∫t0τc˙⁢(t)⁢𝑑t|=λ⁢|c⁢(τ)−x|=λ⁢s.

Taking the infimum over c gives the lower bound. If |y−x|≤r, the segment c⁢(t)=x+t⁢(y−x) (0≤t≤1) lies in B¯⁢(x,r). Its length is at most Λ⁢|y−x|, which gives the upper bound.

(1) Traversing a curve from x to y backwards gives a curve from y to x of the same length, so d⁢(x,y)=d⁢(y,x). Concatenating a curve from x to y with one from y to z gives a curve from x to z whose length is the sum; taking infima gives the triangle inequality. A constant curve has length 0, so d⁢(x,x)=0. If x≠y, the right-hand side of the lower bound in (2) is positive, so d⁢(x,y)>0.

(3) This follows at once from the two bounds in (2). ∎

Definition 2.5 (Isometry).

Let (U,g) and (U′,g′) be open sets with Riemannian metrics (U′⊆V′, dimV′=n). A map Φ:U→U′ is an isometry if the following two conditions hold.

  1. 1.

    Φ is a C∞ bijection whose inverse is also C∞. Such a map is called a diffeomorphism.

  2. 2.

    For each point x∈U and all w,w′∈V, gΦ⁢(x)′⁢(D⁢Φx⁢w,D⁢Φx⁢w′)=gx⁢(w,w′).

Here D⁢Φx is the derivative of Φ at x (in coordinates, the Jacobian matrix).

In coordinates, condition (2) says that the Jacobian matrix J=D⁢Φx satisfies J⊤⁢g′⁢(Φ⁢(x))⁢J=g⁢(x). Conversely, given a diffeomorphism Φ:U→U′ and a metric g′ on U′, the left-hand side of this equation defines a metric on U. This is the change-of-coordinates formula.

Proposition 2.6 (Change of coordinates).

Let Φ:U→U′ be a diffeomorphism and let g′ be a Riemannian metric on U′. For x∈U put

(Φ∗⁢g′)x⁢(w,w′)=gΦ⁢(x)′⁢(D⁢Φx⁢w,D⁢Φx⁢w′).

In coordinates Φ∗⁢g′⁢(x)=J⊤⁢g′⁢(Φ⁢(x))⁢J.

  1. 1.

    Φ∗⁢g′ is a Riemannian metric on U, and Φ is an isometry from (U,Φ∗⁢g′) to (U′,g′).

  2. 2.

    For an isometry Φ:(U,g)→(U′,g′) and a piecewise C1 curve c in U, Lg′⁢(Φ∘c)=Lg⁢(c). If U is connected, then dg′⁢(Φ⁢(x),Φ⁢(y))=dg⁢(x,y) for all x,y∈U.

Proof.

(1) Since J is invertible, w≠0 implies D⁢Φx⁢w≠0, and so (Φ∗⁢g′)x⁢(w,w)>0. The components J⊤⁢g′⁢(Φ⁢(x))⁢J are C∞ functions of x. That Φ is an isometry is the definition itself.

(2) By the chain rule (Φ∘c)⋅⁢(t)=D⁢Φc⁢(t)⁢c˙⁢(t). By the definition of an isometry, |(Φ∘c)⋅⁢(t)|Φ⁢(c⁢(t))=|c˙⁢(t)|c⁢(t); integrating, the lengths are equal. If U is connected, so is its image U′. The map c↦Φ∘c is a bijection between piecewise C1 curves from x to y and piecewise C1 curves from Φ⁢(x) to Φ⁢(y) (its inverse is composition with Φ−1). Since lengths are equal, so are the infima. ∎

Hence expressing the same metric in other coordinates changes neither lengths nor distances. In Chapter 3 we show that the Fisher metric transforms under a change of coordinates by this formula.

2.2 Gradients and Gradient Flows

In this section f:U→ℝ is C2.

Definition 2.7 (Gradient).

The gradient grad⁡f⁢(x)∈V of f at x∈U is the vector satisfying

gx⁢(grad⁡f⁢(x),w)=d⁢fx⁢(w)

for all w∈V. When we need to specify the metric we write gradg⁡f.

In coordinates the condition is that grad⁡f⁢(x)⊤⁢g⁢(x)⁢w=∇f⁢(x)⋅w for all w. Since g⁢(x) is an invertible symmetric matrix, there is exactly one such vector, namely

grad⁡f⁢(x)=g⁢(x)−1⁢∇f⁢(x), (2.1)

where ∇f⁢(x) is regarded as a column vector. For the Euclidean metric grad⁡f=∇f. For the same f, a different metric gives a different gradient.

Proposition 2.8 (Properties of the gradient).

Let x∈U.

  1. 1.

    |grad⁡f⁢(x)|x2=∇f⁢(x)⊤⁢g⁢(x)−1⁢∇f⁢(x).

  2. 2.

    For w∈V with |w|x=1, d⁢fx⁢(w)≥−|grad⁡f⁢(x)|x.

  3. 3.

    If grad⁡f⁢(x)≠0, then equality holds in (2) only for w=−grad⁡f⁢(x)/|grad⁡f⁢(x)|x.

Items (2) and (3) say that, among the directions of length 1 measured by the metric g, the direction in which f decreases fastest is −grad⁡f. If grad⁡f⁢(x)=0, then d⁢fx=0 and d⁢fx⁢(w)=0 in every direction.

Proof.

(1) By (2.1), grad⁡f⊤⁢g⁢grad⁡f=∇f⊤⁢g−1⁢g⁢g−1⁢∇f=∇f⊤⁢g−1⁢∇f.

(2) By the definition of the gradient and the Cauchy–Schwarz inequality for the inner product gx,

d⁢fx⁢(w)=gx⁢(grad⁡f⁢(x),w)≥−|grad⁡f⁢(x)|x⁢|w|x=−|grad⁡f⁢(x)|x.

(3) Equality in the Cauchy–Schwarz inequality holds only when w is a non-positive real multiple of grad⁡f⁢(x). Together with |w|x=1, this gives w=−grad⁡f⁢(x)/|grad⁡f⁢(x)|x. ∎

Definition 2.9 (Gradient flow).

If a C1 curve x:[0,T)→U (0<T≤∞) satisfies

x˙⁢(t)=−grad⁡f⁢(x⁢(t))(0≤t<T),

we call x a gradient flow of f (with respect to the metric g).

Since f is C2, (2.1) shows that grad⁡f is a C1 vector field. So the existence and uniqueness theorem for ordinary differential equations gives the following. For each x0∈U, a gradient flow with x⁢(0)=x0 exists for some T>0. Two gradient flows with the same x⁢(0) agree on their common domain. In this book time runs only in the direction t≥0.

Proposition 2.10 (Decrease along a gradient flow).

Let x:[0,T)→U be a gradient flow of f. Then

dd⁢t⁢f⁢(x⁢(t))=−|grad⁡f⁢(x⁢(t))|x⁢(t)2≤0.

In particular f⁢(x⁢(t)) is non-increasing in t.

Proof.

By the chain rule and the definition of the gradient,

dd⁢t⁢f⁢(x⁢(t)) =d⁢fx⁢(t)⁢(x˙⁢(t))=gx⁢(t)⁢(grad⁡f⁢(x⁢(t)),−grad⁡f⁢(x⁢(t)))
=−|grad⁡f⁢(x⁢(t))|x⁢(t)2.

∎

Gradients and gradient flows are compatible with changes of coordinates: computing in other coordinates gives the same curve.

Proposition 2.11 (Gradient flows under a change of coordinates).

Let Φ:U→U′ be a diffeomorphism, g′ a Riemannian metric on U′, and f:U′→ℝ a C2 function.

  1. 1.

    For x∈U, gradΦ∗⁢g′⁡(f∘Φ)⁢(x)=(D⁢Φx)−1⁢gradg′⁡f⁢(Φ⁢(x)).

  2. 2.

    A curve x:[0,T)→U is a gradient flow of f∘Φ with respect to Φ∗⁢g′ if and only if Φ∘x is a gradient flow of f with respect to g′.

Proof.

(1) Put J=D⁢Φx. By the chain rule ∇(f∘Φ)⁡(x)=J⊤⁢∇f⁢(Φ⁢(x)). By (2.1),

gradΦ∗⁢g′⁡(f∘Φ)⁢(x) =(J⊤⁢g′⁢(Φ⁢(x))⁢J)−1⁢J⊤⁢∇f⁢(Φ⁢(x))
=J−1⁢g′⁢(Φ⁢(x))−1⁢∇f⁢(Φ⁢(x))=J−1⁢gradg′⁡f⁢(Φ⁢(x)).

(2) We have (Φ∘x)⋅=D⁢Φx⁢x˙, and D⁢Φx is invertible. So by (1), x˙=−gradΦ∗⁢g′⁡(f∘Φ)⁢(x) is equivalent to (Φ∘x)⋅=−gradg′⁡f⁢(Φ⁢(x)). ∎

Remark 2.12 (Gradient flows depend on the metric).

For the same function, different metrics give different gradient flows. For example, consider f⁢(u,v)=12⁢(u2+v2) on U=ℝ2. With respect to the Euclidean metric d⁢u2+d⁢v2 the gradient is (u,v). The gradient flow is (u,v)=e−t⁢(u0,v0), and its trajectory is a segment heading to the origin. With respect to the metric d⁢u2+4⁢d⁢v2, on the other hand, the gradient is (u,v/4) by (2.1). The gradient flow is u=e−t⁢u0, v=e−t/4⁢v0. If u0⁢v0≠0, its trajectory is part of the curve v/v0=(u/u0)1/4, which is not a segment. Note that multiplying a metric by a positive function does not change the direction of the gradient, only the speed. The subject of Chapter 6 is the two gradient flows of the same function F on the Gaussian family, with respect to the Fisher metric and to the Wasserstein metric. They differ not merely in speed: in general they have different trajectories.

2.3 Geodesics

In this section we use coordinates x=(x1,…,xn), and (gk⁢l) denotes the entries of the inverse matrix g−1. We write ∂i for the partial derivative ∂/∂xi.

Definition 2.13 (Christoffel symbols).

The Christoffel symbols of a Riemannian metric g are

Γi⁢jk=12∑l=1ngk⁢l(∂igl⁢j+∂jgl⁢i−∂lgi⁢j)(i,j,k=1,…,n).

They satisfy Γi⁢jk=Γj⁢ik. For vectors w,w′ we write Γx⁢(w,w′) for the vector whose kth component is ∑i,jΓi⁢jk⁢(x)⁢wi⁢w′⁣j.

When n=2 with coordinates (u,v) and the metric has the orthogonal form E⁢d⁢u2+G⁢d⁢v2 (E,G>0),

Γ111=Eu2⁢E,Γ112=−Ev2⁢G,Γ121=Ev2⁢E, (2.2)
Γ122=Gu2⁢G,Γ221=−Gu2⁢E,Γ222=Gv2⁢G,

where the subscripts u,v denote partial derivatives.

Definition 2.14 (Geodesic).

A C2 curve c:I→U on an interval I is a geodesic if

c¨⁢(t)+Γc⁢(t)⁢(c˙⁢(t),c˙⁢(t))=0(t∈I).

In components, c¨k+∑i,jΓi⁢jk⁢(c)⁢c˙i⁢c˙j=0 (k=1,…,n). This equation is called the geodesic equation.

The geodesic equation is a first-order system of ordinary differential equations in (c,c˙) with C∞ coefficients. So the existence and uniqueness theorem for ordinary differential equations gives the following. For each x∈U and w∈V, a geodesic with c⁢(0)=x and c˙⁢(0)=w exists on some open interval containing 0. Two geodesics with the same initial conditions agree on their common domain. Moreover, the equation is quadratic in c˙. Hence if c is a geodesic, so is t↦c⁢(α⁢t+β) for constants α,β. For the Euclidean metric Γ=0, and the geodesics are the straight lines c⁢(t)=x+t⁢w traversed at constant speed.

Lemma 2.15 (Geodesics have constant speed).

For a C2 curve c,

dd⁢t⁢|c˙|c2=2⁢gc⁢(c˙,c¨+Γc⁢(c˙,c˙)).

In particular, the speed |c˙⁢(t)|c⁢(t) of a geodesic does not depend on t.

Proof.

Differentiating |c˙|c2=∑i,jgi⁢j⁢(c)⁢c˙i⁢c˙j gives

dd⁢t⁢|c˙|c2=2⁢∑l,kgl⁢k⁢c˙l⁢c¨k+∑i,j,l∂lgi⁢j⁢c˙l⁢c˙i⁢c˙j.

On the other hand, by the definition of the Christoffel symbols,

2⁢∑i,j,k,lgl⁢k⁢c˙l⁢Γi⁢jk⁢c˙i⁢c˙j=∑i,j,l(∂igl⁢j+∂jgl⁢i−∂lgi⁢j)⁢c˙i⁢c˙j⁢c˙l=∑i,j,l∂lgi⁢j⁢c˙l⁢c˙i⁢c˙j.

The last equality holds because, after summation, the three terms in the brackets all give the same value. Comparing the two expressions gives the claim. ∎

Geodesics arise as curves that locally minimise length. To show this, we define the energy of a C2 curve c:[t0,t1]→U as

ℰ⁢(c)=∫t0t1|c˙⁢(t)|c⁢(t)2⁢𝑑t.

By the Cauchy–Schwarz inequality,

L⁢(c)2=(∫t0t1|c˙|c⁢𝑑t)2≤(t1−t0)⁢ℰ⁢(c), (2.3)

with equality only when the speed |c˙|c is constant. A C2 map (t,ε)↦cε⁢(t)∈U (t∈[t0,t1], |ε|<ε0) with c0=c, cε⁢(t0)=c⁢(t0) and cε⁢(t1)=c⁢(t1) is called a variation of c with fixed endpoints. For example, if ζ:[t0,t1]→V is C2 with ζ⁢(t0)=ζ⁢(t1)=0, then cε=c+ε⁢ζ is a variation with fixed endpoints. Here c⁢([t0,t1]) is compact, so cε lies in U once ε0 is small enough.

Proposition 2.16 (First variation of energy).

Let c:[t0,t1]→U be a C2 curve.

  1. 1.

    Let cε be a variation of c with fixed endpoints, and put ζ⁢(t)=∂εcε⁢(t)|ε=0. Then ε↦ℰ⁢(cε) is differentiable, and

    dd⁢ε|ε=0⁢ℰ⁢(cε)=−2⁢∫t0t1gc⁢(t)⁢(ζ⁢(t),c¨⁢(t)+Γc⁢(t)⁢(c˙⁢(t),c˙⁢(t)))⁢𝑑t.
  2. 2.

    c is a geodesic on [t0,t1] if and only if the value in (1) is 0 for every variation of c with fixed endpoints.

  3. 3.

    Suppose that c has constant speed. Suppose moreover that for each variation cε of c with fixed endpoints there is ε1>0 such that L⁢(c)≤L⁢(cε) whenever |ε|<ε1. Then c is a geodesic.

Proof.

(1) The integrand |∂tcε|cε2 is C1 in (t,ε), so we may differentiate under the integral sign. Since cε is C2, ∂ε∂tcε=∂t∂εcε, which equals ζ˙ at ε=0. Therefore

dd⁢ε|ε=0⁢ℰ⁢(cε)=∫t0t1(2⁢∑l,jgl⁢j⁢(c)⁢ζ˙l⁢c˙j+∑i,j,l∂lgi⁢j⁢(c)⁢ζl⁢c˙i⁢c˙j)⁢𝑑t.

We integrate the first term by parts. The endpoints are fixed, so ζ⁢(t0)=ζ⁢(t1)=0 and the boundary terms vanish. Hence the first term equals

−2⁢∫t0t1∑lζl⁢dd⁢t⁢(∑jgl⁢j⁢(c)⁢c˙j)⁢d⁢t=−2⁢∫t0t1∑lζl⁢(∑jgl⁢j⁢c¨j+∑i,j∂igl⁢j⁢c˙i⁢c˙j)⁢d⁢t.

Rewrite ∑i,j∂igl⁢j⁢c˙i⁢c˙j=12⁢∑i,j(∂igl⁢j+∂jgl⁢i)⁢c˙i⁢c˙j and combine with the second term. Then the coefficient of ζl becomes

−2⁢(∑jgl⁢j⁢c¨j+12⁢∑i,j(∂igl⁢j+∂jgl⁢i−∂lgi⁢j)⁢c˙i⁢c˙j)=−2⁢∑kgl⁢k⁢(c¨k+∑i,jΓi⁢jk⁢c˙i⁢c˙j),

where the last equality is the definition of the Christoffel symbols. This is the claimed formula.

(2) If c is a geodesic, the integrand in (1) is 0. For the converse, put h⁢(t)=g⁢(c⁢(t))⁢(c¨⁢(t)+Γc⁢(t)⁢(c˙⁢(t),c˙⁢(t))); this is a continuous ℝn-valued function on [t0,t1]. Suppose that hl⁢(t∗)≠0 for some t∗∈(t0,t1) and some l. Changing sign, we may assume hl⁢(t∗)>0. By continuity hl>0 on some open interval J⊆(t0,t1) containing t∗. Take a C2 function ρ that vanishes outside J and is positive on J, and put ζ=ρ⁢el (el is the lth unit vector). For the variation c+ε⁢ζ, the value in (1) is −2⁢∫Jρ⁢hl⁢𝑑t<0, contradicting the assumption. Hence h=0 on (t0,t1), and by continuity on [t0,t1]. Since g⁢(c⁢(t)) is invertible, c satisfies the geodesic equation.

(3) Take a variation cε with fixed endpoints. By (2.3) and the assumption, for |ε|<ε1,

ℰ⁢(cε)≥L⁢(cε)2t1−t0≥L⁢(c)2t1−t0=ℰ⁢(c).

The last equality holds by the equality case of (2.3), since c has constant speed. So ε↦ℰ⁢(cε) attains its minimum at ε=0, and the value in (1) is 0. Since the variation was arbitrary, c is a geodesic by (2). ∎

Conversely, geodesics minimise length over short intervals. Precisely: for each t in the domain of a geodesic c there is an interval containing t such that the restriction of c to that interval has the least length among nearby curves joining its endpoints. This is not proved in this book (for surfaces in ℝ3, see Kobayashi’s book [KOB95]). Whenever we compute a distance in this book, we prove the bounds we need directly, on the spot.

Proposition 2.17 (Isometries preserve geodesics).

Let Φ:(U,g)→(U′,g′) be an isometry and c:I→U a C2 curve. Then c is a geodesic of g if and only if Φ∘c is a geodesic of g′.

Proof.

The geodesic equation is an identity at each time, so it suffices to check it on each closed interval [t0,t1] contained in I. If cε is a variation of c with fixed endpoints, then Φ∘cε is a variation of Φ∘c with fixed endpoints. Composing with Φ−1 goes back, so this is a bijection between the variations of the two curves. As in the proof of Proposition 2.6, the definition of an isometry gives |(Φ∘cε)⋅|Φ⁢(cε)=|∂tcε|cε. Hence ℰg′⁢(Φ∘cε)=ℰg⁢(cε). Therefore the condition of Proposition 2.16 (2) holds for c if and only if it holds for Φ∘c. ∎

2.4 Curvature

We define curvature only in dimension 2. The only curvatures computed in this book are those of orthogonal metrics in dimension 2.

Definition 2.18 (Curvature).

Let U⊆ℝ2 be an open set with coordinates (u,v). Let E,G be positive C∞ functions on U, and consider the orthogonal metric g=E⁢d⁢u2+G⁢d⁢v2. Its curvature (Gaussian curvature) is

K=−12⁢E⁢G⁢[∂∂v⁢(EvE⁢G)+∂∂u⁢(GuE⁢G)], (2.4)

where the subscripts u,v denote partial derivatives.

If E and G are constant, then K=0. Metrics that are not orthogonal also have a curvature formula in terms of gi⁢j and their partial derivatives up to order 2, but this book does not use it.

Remark 2.19 (Gauss’s Theorema Egregium).

Let 𝒙:U→ℝ3 be a C∞ map whose partial derivatives 𝒙u,𝒙v are nonzero and orthogonal to each other at each point. Put E=𝒙u⋅𝒙u and G=𝒙v⋅𝒙v. Then the K of (2.4) equals the Gaussian curvature of the surface 𝒙 (Gauss’s Theorema Egregium). In particular, the Gaussian curvature of a surface is determined by its first fundamental form E⁢d⁢u2+G⁢d⁢v2 alone. This is not proved in this book (see Kobayashi’s book [KOB95]). It is the reason for the name curvature. In this book we always compute curvature in specific coordinates by (2.4), so the theorem is not used in any proof. For metrics in dimension 3 or more, curvature becomes a family of quantities called sectional curvatures. We do not define sectional curvature; we only use the name in Chapter 5 when quoting results.

Multiplying a metric by a constant changes lengths, gradients and curvature in a simple way. In Chapter 3 we use this to reduce the Fisher metric to a constant multiple of the metric of the Poincaré upper half-plane.

Proposition 2.20 (Constant multiples of a metric).

Let g be a Riemannian metric on U and a>0 a constant.

  1. 1.

    La2⁢g⁢(c)=a⁢Lg⁢(c). If U is connected, then da2⁢g=a⁢dg, and (U,a2⁢g) is complete if and only if (U,g) is complete.

  2. 2.

    For a C2 function f, grada2⁢g⁡f=a−2⁢gradg⁡f.

  3. 3.

    The Christoffel symbols of a2⁢g equal those of g. In particular, a2⁢g and g have the same geodesics.

  4. 4.

    If n=2 and g=E⁢d⁢u2+G⁢d⁢v2, the curvature of a2⁢g is a−2⁢K.

Proof.

(1) The length of each vector is multiplied by a, so the length of each curve is too. Taking infima gives da2⁢g=a⁢dg. Cauchy sequences and convergence are unchanged when a metric is multiplied by a positive constant.

(2) In (2.1), g−1 becomes a−2⁢g−1.

(3) In the definition of the Christoffel symbols, gk⁢l is multiplied by a−2, and ∂igl⁢j and the other derivatives by a2.

(4) Replacing E,G by a2⁢E,a2⁢G multiplies E⁢G by a2 and leaves Ev/E⁢G and Gu/E⁢G unchanged. So only the leading factor in (2.4) is multiplied by a−2. ∎

2.5 Two Examples

Example 2.21 (The Euclidean plane).

Let U⊆ℝn be a convex open set with the Euclidean metric. The Christoffel symbols are 0, and the geodesics are straight lines traversed at constant speed. If n=2, then E=G=1, so K=0 by (2.4). The distance is d⁢(x,y)=|x−y|. Indeed, for any piecewise C1 curve c from x to y,

L⁢(c)=∫t0t1|c˙⁢(t)|⁢𝑑t≥|∫t0t1c˙⁢(t)⁢𝑑t|=|y−x|.

Moreover, since U is convex, the segment joining x and y lies in U, and its length is |y−x|. In particular, the upper half-plane {(u,v):v>0} with the Euclidean metric d⁢u2+d⁢v2 has the Euclidean distance. This metric appears on the one-dimensional Gaussian family in Chapter 5.

Example 2.22 (The Poincaré upper half-plane).

Consider the upper half-plane {(u,v)∈ℝ2:v>0}. This is ℍ of Definition 1.1 with the coordinates renamed from (m,σ) to (u,v). The metric

d⁢u2+d⁢v2v2

on it is called the Poincaré metric, and the upper half-plane with this metric is called the Poincaré upper half-plane.

  1. 1.

    Curvature. We have E=G=1/v2, E⁢G=1/v2, Ev=−2/v3 and Gu=0. Hence Ev/E⁢G=−2/v, and by (2.4)

    K=−v22⋅∂∂v⁢(−2v)=−v22⋅2v2=−1.
  2. 2.

    The geodesic equation. By (2.2), Γ121=−1/v, Γ112=1/v, Γ222=−1/v, and the others are 0. So the geodesic equation for a curve c⁢(t)=(u⁢(t),v⁢(t)) is

    u¨−2⁢u˙⁢v˙v=0,v¨+u˙2−v˙2v=0. (2.5)
  3. 3.

    Examples of geodesics. For u0∈ℝ, the curve c⁢(t)=(u0,et) (t∈ℝ) on a vertical line is a geodesic. Indeed, u˙=0, v¨=et and (u˙2−v˙2)/v=−et. For u1∈ℝ and R>0, the curve

    c⁢(t)=(u1+R⁢tanh⁡t,Rcosh⁡t)(t∈ℝ)

    on the semicircle with centre (u1,0) and radius R is also a geodesic. Indeed, u˙=R/cosh2⁡t and v˙=−R⁢sinh⁡t/cosh2⁡t, so u˙2+v˙2=R2/cosh2⁡t=v2. The first equation follows from u¨=−2⁢R⁢sinh⁡t/cosh3⁡t and 2⁢u˙⁢v˙/v=−2⁢R⁢sinh⁡t/cosh3⁡t. The second follows from v¨=R⁢(sinh2⁡t−1)/cosh3⁡t and (u˙2−v˙2)/v=R⁢(1−sinh2⁡t)/cosh3⁡t. Both curves have speed 1. Also, u=u1+R⁢tanh⁡t and v=R/cosh⁡t satisfy (u−u1)2+v2=R2.

  4. 4.

    There are no other geodesics. Let c be a non-constant geodesic. Then there are α≠0, β∈ℝ and a curve c0 from (3) such that c⁢(t)=c0⁢(α⁢t+β) on the domain of c. Hence the image of a geodesic is contained in a vertical line or in a semicircle centred on v=0 (Figure 2.1). We prove this. We may assume that the domain of c contains 0; put c⁢(0)=(p,q) and c˙⁢(0)=(a,b)≠0. The curve t↦c0⁢(α⁢t+β) is also a geodesic. So by uniqueness of solutions it suffices to find c0, α, β with c0⁢(β)=(p,q) and α⁢c˙0⁢(β)=(a,b). If a=0, take c0⁢(t)=(p,et), β=log⁡q and α=b/q. If a≠0, put u1=p+b⁢q/a and R=(p−u1)2+q2. The point (p,q) lies on the semicircle with centre (u1,0) and radius R. Since a⁢(p−u1)+b⁢q=0, the vector (a,b) points along the tangent to this circle at (p,q). Let c0 be the curve from (3) on this semicircle and define β by tanh⁡β=(p−u1)/R; then c0⁢(β)=(p,q) (note that |p−u1|<R since q>0). Since c˙0⁢(β) is also a nonzero vector along the same tangent, α⁢c˙0⁢(β)=(a,b) for some α≠0.

  5. 5.

    Distance. The distance between two points (u1,v1) and (u2,v2) is

    d⁢((u1,v1),(u2,v2))=arcosh⁡(1+(u1−u2)2+(v1−v2)22⁢v1⁢v2) (2.6)

    (not proved in this book; see Surfaces of Curvature −1 [KEI26a]). The following lower bound, however, can be shown directly. If c⁢(t)=(u⁢(t),v⁢(t)) is a piecewise C1 curve joining the two points, then |c˙|c=u˙2+v˙2/v≥|v˙|/v. Hence

    L⁢(c)≥∫t0t1|v˙|v⁢𝑑t≥|∫t0t1dd⁢t⁢log⁡v⁢d⁢t|=|log⁡v2v1|,

    and so d⁢((u1,v1),(u2,v2))≥|log⁡(v2/v1)|. If u1=u2, the vertical segment has length exactly |log⁡(v2/v1)|, so equality holds.

Figure 2.1: Images of geodesics of the Poincaré upper half-plane: the semicircles with centre (0,0) and radii 1 and 2, the semicircle with centre (2.5,0) and radius 1.2, and the vertical lines u=−3 and u=4.5.

In the Poincaré upper half-plane, points with v→0 are infinitely far away. Indeed, the lower bound |log⁡(v2/v1)| of Example 2.22 (5) diverges as v2→0. For the Euclidean metric of Example 2.21, on the other hand, the boundary v=0 is at finite distance. As we shall see in Chapters 3 and 5, these two metrics are the models of the two geometries on the Gaussian family.

Problems

  1. 1.

    The map Φ⁢(r,θ)=(r⁢cos⁡θ,r⁢sin⁡θ) is a diffeomorphism from (0,∞)×(−π,π) to ℝ2∖{(u,0):u≤0}. Show that, for the Euclidean metric, Φ∗⁢(d⁢u2+d⁢v2)=d⁢r2+r2⁢d⁢θ2. Also check by (2.4) that its curvature is 0.

    Hint: The Jacobian matrix J satisfies J⊤⁢J=diag⁢(1,r2). Since E=1 and G=r2, we have Gr/E⁢G=2.

  2. 2.

    For an open interval I and a positive C∞ function h, show that the metric d⁢r2+h⁢(r)2⁢d⁢θ2 on I×ℝ has curvature K=−h′′/h.

    Hint: Putting E=1, G=h2 and (u,v)=(r,θ) in (2.4), we have Gr/E⁢G=2⁢h′.

  3. 3.

    Check by (2.4) that the metric 4⁢(d⁢u2+d⁢v2)/(1+u2+v2)2 on ℝ2 has curvature 1.

    Hint: When E=G=λ2, (2.4) becomes K=−(∂u2+∂v2)⁢log⁡λ/λ2.

  4. 4.

    Check that the right-hand side of (2.6) equals |log⁡(v2/v1)| when u1=u2. This agrees with the value shown directly in Example 2.22 (5).

    Hint: With r=v2/v1, cosh⁡log⁡r=(r+r−1)/2=1+(r−1)2/(2⁢r).

  5. 5.

    Consider the function f⁢(u,v)=v on the upper half-plane. Show that the gradient flow (u0,v0−t) with respect to the Euclidean metric reaches the boundary v=0 at time t=v0. Also show that the gradient flow with respect to the Poincaré metric is (u0,v0/(1+v0⁢t)), defined for all t≥0.

    Hint: By (2.1), the gradient with respect to the Poincaré metric is (0,v2). Solve v˙=−v2.