{
  "id": "riemannian-manifold",
  "title": "Riemannian Manifold",
  "lang": "en",
  "source_lang": "en",
  "summary": "A Riemannian manifold is a smooth manifold equipped with smoothly varying inner products that define lengths, angles, distances, curvature, and geometric differential operators.",
  "category": "mathematics",
  "subcategory": "geometry",
  "type": "concept",
  "aliases": [
    "Riemannian space"
  ],
  "generated_at": "2026-11-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/riemannian-manifold/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/riemannian-manifold/",
      "json": "https://aiwiki.page/zh/riemannian-manifold.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "A Riemannian manifold is a smooth manifold equipped with a positive-definite inner product on each of its tangent spaces, varying smoothly from point to point. This additional structure, called a Riemannian metric, makes it possible to measure the lengths of curves and the angles between tangent directions. It also determines an intrinsic distance, a notion of straightest possible motion, and curvature. Unlike a surface described only as a subset of three-dimensional space, a Riemannian manifold can be studied without reference to any surrounding space and can have any finite dimension.\n\nRiemannian manifolds are the basic objects of Riemannian geometry, a central branch of differential geometry. They connect local measurements with global shape: curvature can constrain a space’s topology, while completeness determines whether geodesics can continue indefinitely. Their metric structure also supports integration, differential equations, and geometric optimization. The subject developed from the intrinsic geometry of surfaces and Bernhard Riemann’s nineteenth-century generalization of geometry, and now provides a common framework for substantial parts of geometry, analysis, mathematical physics, and statistics."
    },
    {
      "heading": "Smooth structure and the Riemannian metric",
      "text": "An \\(n\\)-dimensional Riemannian manifold is a pair \\((M,g)\\), where \\(M\\) is a smooth \\(n\\)-dimensional manifold and \\(g\\) assigns to each point \\(p\\in M\\) an inner product\n\n\\[g_p:T_pM\\times T_pM\\longrightarrow\\mathbb R\\]\n\non the tangent space \\(T_pM\\). The usual definition assumes that \\(M\\) is Hausdorff and second countable; unless stated otherwise, it has no boundary. Smoothness of \\(g\\) means that its coefficients in every smooth coordinate chart are smooth functions. Its positive definiteness means \\(g_p(v,v)>0\\) for every nonzero tangent vector \\(v\\).\n\nIn local coordinates \\(x^1,\\ldots,x^n\\), the metric tensor has the form\n\n\\[g=g_{ij}\\,dx^i\\otimes dx^j, \\qquad g_{ij}=g\\!\\left(\\frac{\\partial}{\\partial x^i}, \\frac{\\partial}{\\partial x^j}\\right).\\]\n\nRepeated upper and lower indices are summed, following the Einstein summation convention. At each point the coefficient array \\((g_{ij})\\) is a symmetric positive-definite matrix. For tangent vectors \\(v=v^i\\partial_i\\) and \\(w=w^j\\partial_j\\), their inner product is \\(g_{ij}v^iw^j\\). The norm is \\(\\lVert v\\rVert_g=\\sqrt{g(v,v)}\\), and the angle between nonzero vectors is defined by the usual cosine formula.\n\nMetric coefficients depend on coordinates, but the geometric measurement does not. Under a change from coordinates \\(x\\) to coordinates \\(y\\),\n\n\\[\\widetilde g_{ab} = \\frac{\\partial x^i}{\\partial y^a} \\frac{\\partial x^j}{\\partial y^b}g_{ij}.\\]\n\nThis transformation law distinguishes a metric tensor from an arbitrary collection of functions. The expression \\(ds^2=g_{ij}\\,dx^i dx^j\\) is traditional shorthand for the resulting infinitesimal squared-length rule, rather than an ordinary finite distance formula.\n\nEvery smooth manifold satisfying the standard countability assumptions admits a Riemannian metric. One constructs local Euclidean metrics in coordinate charts and combines them using a smooth partition of unity. Positive definiteness survives this weighted combination. A manifold therefore does not need to possess special topology in order to admit some Riemannian metric, although requirements on its curvature can impose strong restrictions.\n\nThe metric is additional structure, not something determined by the smooth manifold. Two metrics on the same manifold may have very different distances, volumes, and curvature. A diffeomorphism \\(F:(M,g)\\to(N,h)\\) is an isometry when \\(F^*h=g\\); this preserves the full Riemannian geometry. By contrast, a homeomorphism preserves only topology, while a diffeomorphism preserves smooth structure without necessarily preserving lengths."
    },
    {
      "heading": "Model spaces and geometric constructions",
      "text": "The simplest example is Euclidean space \\(\\mathbb R^n\\), with\n\n\\[g=(dx^1)^2+\\cdots+(dx^n)^2.\\]\n\nIts metric coefficients are constant in Cartesian coordinates, its geodesics are straight lines, and its curvature vanishes. Nonconstant coefficients do not necessarily indicate curvature: the Euclidean plane in polar coordinates has metric \\(dr^2+r^2d\\theta^2\\). The apparent complication comes from coordinates, and the polar chart itself breaks down at the origin.\n\nAn embedded smooth submanifold of Euclidean space inherits a metric by restricting the ambient inner product to each tangent space. For a local parametrization \\(F:U\\subset\\mathbb R^n\\to\\mathbb R^N\\), the induced metric is\n\n\\[g_{ij}=\\left\\langle\\frac{\\partial F}{\\partial x^i}, \\frac{\\partial F}{\\partial x^j}\\right\\rangle.\\]\n\nThe round sphere of radius \\(r\\) is a principal example. In dimension two its metric in spherical coordinates is\n\n\\[g=r^2\\bigl(d\\theta^2+\\sin^2\\theta\\,d\\phi^2\\bigr),\\]\n\nand its Gaussian curvature is \\(1/r^2\\). The coordinate singularities at the poles are not singularities of the sphere’s metric.\n\nHyperbolic space supplies the complete, simply connected model of constant negative curvature. In the upper half-space description,\n\n\\[\\mathbb H^n=\\{(x^1,\\ldots,x^{n-1},y):y>0\\}, \\qquad g=\\frac{(dx^1)^2+\\cdots+(dx^{n-1})^2+dy^2}{y^2}.\\]\n\nThis normalization gives sectional curvature \\(-1\\). Although the boundary \\(y=0\\) lies at finite Euclidean coordinate distance, it is infinitely far away in the hyperbolic metric. Together with Euclidean space and round spheres, hyperbolic space provides the basic constant-curvature models underlying non-Euclidean geometry.\n\nNew examples arise through products and quotients. For manifolds \\((M,g)\\) and \\((N,h)\\), the product metric on \\(M\\times N\\) measures tangent vectors by\n\n\\[(g\\oplus h)((v,w),(v,w))=g(v,v)+h(w,w).\\]\n\nQuotienting Euclidean space by a lattice of translations produces a flat torus. Its topology differs from Euclidean space, even though every point has a neighborhood with Euclidean geometry. A freely and properly discontinuously acting group of isometries similarly produces a smooth Riemannian quotient.\n\nAnother important construction is a conformal change,\n\n\\[\\widetilde g=e^{2f}g,\\]\n\nwhere \\(f\\) is smooth. This preserves angles but generally changes lengths, geodesics, and curvature. Submanifold metrics, product metrics, quotient metrics, and conformal changes show how the same underlying geometric principles produce very different spaces. They also distinguish intrinsic geometry from embedding: a flat torus is not the same metric surface as the familiar curved doughnut-shaped torus embedded in \\(\\mathbb R^3\\)."
    },
    {
      "heading": "Length, distance, geodesics, and completeness",
      "text": "For a piecewise smooth curve \\(\\gamma:[a,b]\\to M\\), its Riemannian length is\n\n\\[L_g(\\gamma)=\\int_a^b \\sqrt{g_{\\gamma(t)}(\\dot\\gamma(t),\\dot\\gamma(t))}\\,dt.\\]\n\nOn a connected manifold, the distance \\(d_g(p,q)\\) is the infimum of these lengths over curves joining \\(p\\) to \\(q\\). Connected smooth manifolds are connected by piecewise smooth paths, so this infimum is finite. It defines a metric space structure whose topology is exactly the original manifold topology. On a disconnected manifold, this construction is normally applied separately to each connected component.\n\nA geodesic is a curve with zero covariant acceleration. Equivalently, with a suitable affine parameter, it is a stationary point of the energy\n\n\\[E(\\gamma)=\\frac12\\int_a^b g(\\dot\\gamma,\\dot\\gamma)\\,dt\\]\n\nunder variations with fixed endpoints. The calculus of variations leads to the coordinate equation\n\n\\[\\ddot x^k+\\Gamma^k_{ij}\\dot x^i\\dot x^j=0.\\]\n\nGeodesics have constant speed and locally minimize length, but need not minimize globally. A great-circle arc on a round sphere ceases to be minimizing after passing the antipodal point, although its continuation remains a geodesic.\n\nFor \\(v\\in T_pM\\), let \\(\\gamma_v\\) be the geodesic with initial position \\(p\\) and initial velocity \\(v\\). The exponential map is\n\n\\[\\exp_p(v)=\\gamma_v(1),\\]\n\nwhere this geodesic exists up to time \\(1\\). Near the zero vector it is a diffeomorphism and defines normal coordinates. Radial geodesics in a sufficiently small normal neighborhood minimize distance from the center. The cut locus records where this minimizing behavior first fails. On a round sphere, the cut locus of a point is its antipode, where many minimizing geodesics meet.\n\nMetric completeness means completeness of \\((M,d_g)\\): every Cauchy sequence converges. Geodesic completeness means every maximal geodesic is defined for all real parameter values. The Hopf–Rinow theorem equates these properties for a connected finite-dimensional Riemannian manifold. It also implies that any two points of such a complete manifold are joined by a minimizing geodesic, and that closed bounded subsets are compact.\n\nCompleteness is stronger than the mere availability of local geodesics. The punctured Euclidean plane is incomplete because a straight line can reach the omitted origin in finite time. Every compact Riemannian manifold without boundary is complete. Completeness need not imply compactness: both Euclidean and hyperbolic spaces are complete and noncompact. On a manifold with boundary, the unqualified equivalences require modification because geodesics may reach the boundary."
    },
    {
      "heading": "Covariant differentiation and parallel transport",
      "text": "Tangent vectors at different points belong to different vector spaces, so ordinary subtraction does not intrinsically compare them. A connection supplies a rule for differentiation of vector fields. For Riemannian geometry, the distinguished rule is the Levi-Civita connection, characterized uniquely by metric compatibility and zero torsion. Metric compatibility requires\n\n\\[X\\bigl(g(Y,Z)\\bigr) = g(\\nabla_XY,Z)+g(Y,\\nabla_XZ),\\]\n\nwhile zero torsion means\n\n\\[\\nabla_XY-\\nabla_YX=[X,Y].\\]\n\nHere \\([X,Y]\\) is the Lie bracket of vector fields.\n\nIn coordinates, the connection is represented by Christoffel symbols:\n\n\\[\\nabla_{\\partial_i}\\partial_j = \\Gamma^k_{ij}\\partial_k, \\qquad \\Gamma^k_{ij} = \\frac12g^{k\\ell} \\left( \\partial_i g_{j\\ell} +\\partial_j g_{i\\ell} -\\partial_\\ell g_{ij} \\right),\\]\n\nwhere \\((g^{k\\ell})\\) is the inverse metric matrix. Thus the metric determines the connection through its first derivatives. The symbols themselves are not tensor components; they acquire extra terms under a coordinate change. At any chosen point, normal coordinates make all Christoffel symbols vanish there, but this does not generally make them vanish throughout a neighborhood.\n\nThe connection extends to a covariant derivative of tensor fields and to differentiation along curves. A vector field \\(V(t)\\) along \\(\\gamma\\) is parallel when\n\n\\[\\frac{DV}{dt}=0.\\]\n\nParallel transport preserves lengths and inner products. It supplies a linear isometry between the tangent spaces at the endpoints of a curve, but the result can depend on the path. For example, transporting a vector around a suitable closed triangle on a sphere rotates it relative to its initial direction. This path dependence is a manifestation of curvature.\n\nThe transformations obtained by parallel transport around loops based at a point form the holonomy group. Its structure can reveal geometric features not apparent in a coordinate formula. Certain reductions of holonomy correspond to parallel complex structures, special differential forms, or product decompositions. The de Rham decomposition theorem makes one such relation precise: for complete simply connected Riemannian manifolds, reducibility of the holonomy representation leads to an isometric product decomposition.\n\nThe connection also separates intrinsic and extrinsic descriptions. For a submanifold of Euclidean space, the Levi-Civita derivative is the tangent component of the ordinary ambient derivative. The normal component is encoded by the second fundamental form. This decomposition explains why a curve may have zero intrinsic acceleration while bending in the ambient space. A great circle is a geodesic of a sphere even though, viewed in \\(\\mathbb R^3\\), it is an accelerated circular trajectory."
    },
    {
      "heading": "Curvature and the behavior of nearby geodesics",
      "text": "The Riemann curvature tensor measures the failure of covariant derivatives to commute. With one standard sign convention,\n\n\\[R(X,Y)Z = \\nabla_X\\nabla_YZ-\\nabla_Y\\nabla_XZ-\\nabla_{[X,Y]}Z.\\]\n\nFor linearly independent tangent vectors \\(u,v\\), the sectional curvature of their spanned plane is\n\n\\[K(u,v)= \\frac{g(R(u,v)v,u)} {g(u,u)g(v,v)-g(u,v)^2}.\\]\n\nUnder these conventions round spheres have positive curvature. Some references use the opposite sign for the curvature tensor, requiring corresponding changes in formulas.\n\nSectional curvature describes curvature in individual two-dimensional tangent directions. In dimension two there is only one tangent plane at each point, and sectional curvature is the Gaussian curvature. In higher dimensions it can vary with the plane. Tracing the curvature tensor gives the Ricci tensor,\n\n\\[\\operatorname{Ric}(u,v) = \\sum_{a=1}^n g(R(e_a,u)v,e_a),\\]\n\nfor an orthonormal basis \\(e_1,\\ldots,e_n\\). Tracing again gives scalar curvature,\n\n\\[\\operatorname{Scal}=\\sum_{a=1}^n\\operatorname{Ric}(e_a,e_a).\\]\n\nConstant sectional curvature \\(K\\) implies \\(\\operatorname{Ric}=(n-1)Kg\\) and \\(\\operatorname{Scal}=n(n-1)K\\).\n\nThese contractions retain different amounts of information. In dimension two, the scalar curvature is twice the Gaussian curvature. In dimension three, the Ricci tensor determines the full Riemann tensor. In dimensions four and higher, an additional component, the Weyl tensor, can remain nonzero even when Ricci curvature vanishes. Thus “Ricci-flat” does not generally mean flat. A metric is locally Euclidean precisely when its entire Riemann curvature tensor vanishes.\n\nCurvature governs the separation of neighboring geodesics. A variation through geodesics produces a Jacobi field \\(J\\), satisfying\n\n\\[\\frac{D^2J}{dt^2}+R(J,\\dot\\gamma)\\dot\\gamma=0.\\]\n\nPositive sectional curvature tends to focus nearby geodesics, whereas negative curvature tends to separate them, with precise statements expressed through comparison theorems. A nonzero Jacobi field vanishing at two points makes those points conjugate along the geodesic. Beyond the first conjugate point, that geodesic cannot remain minimizing.\n\nCurvature also appears in small-scale volume measurements. In normal coordinates centered at \\(p\\),\n\n\\[\\sqrt{\\det(g_{ij}(x))} = 1-\\frac16\\operatorname{Ric}_{ij}(p)x^ix^j +O(|x|^3).\\]\n\nConsequently, in dimensions at least two, the volume of a small geodesic ball satisfies\n\n\\[\\operatorname{Vol}(B_r(p)) = \\omega_n r^n \\left( 1-\\frac{\\operatorname{Scal}(p)}{6(n+2)}r^2 +O(r^4) \\right),\\]\n\nwhere \\(\\omega_n\\) is the volume of the Euclidean unit ball. Scalar curvature therefore measures the leading averaged departure of small-ball volume from its Euclidean value."
    },
    {
      "heading": "Global restrictions from curvature and topology",
      "text": "One of the defining achievements of Riemannian geometry is the derivation of global conclusions from local curvature conditions. The Gauss–Bonnet theorem provides a fundamental example. For a compact oriented surface without boundary,\n\n\\[\\int_M K\\,dA=2\\pi\\chi(M),\\]\n\nwhere \\(\\chi(M)\\) is the Euler characteristic. For an orientable surface of genus \\(h\\), this equals \\(2-2h\\). A sphere therefore has total curvature \\(4\\pi\\), a torus has total curvature zero, and a surface of genus greater than one has negative total curvature.\n\nThe theorem constrains which curvature signs can occur everywhere on a given surface. A torus cannot carry a metric of strictly positive Gaussian curvature everywhere, even though it can carry metrics whose curvature changes sign or vanishes identically. In higher even dimensions, the Chern–Gauss–Bonnet theorem expresses the Euler characteristic as the integral of a polynomial in the curvature tensor. The integrand is more elaborate than scalar curvature alone.\n\nThe Cartan–Hadamard theorem states that a complete simply connected Riemannian manifold of nonpositive sectional curvature has an exponential map at every point that is a global diffeomorphism. It is therefore diffeomorphic to \\(\\mathbb R^n\\), and any two points are joined by a unique geodesic. Without simple connectedness, uniqueness can fail: a flat torus has many geodesics between suitable pairs of points. Its universal cover, rather than the torus itself, has the global Euclidean-type structure described by the theorem.\n\nPositive Ricci curvature gives a contrasting restriction. The Bonnet–Myers theorem states that a complete connected \\(n\\)-dimensional manifold, \\(n\\geq2\\), satisfying\n\n\\[\\operatorname{Ric}\\geq(n-1)k\\,g,\\qquad k>0,\\]\n\nhas diameter at most \\(\\pi/\\sqrt{k}\\). It follows that the manifold is compact and its fundamental group is finite. The uniform positive lower bound is essential; pointwise positivity without such a bound does not yield the same conclusion on a noncompact manifold.\n\nComparison geometry refines these relationships quantitatively. The Bishop–Gromov theorem compares volumes of geodesic balls under Ricci curvature lower bounds. In the nonnegative-Ricci case,\n\n\\[r\\longmapsto \\frac{\\operatorname{Vol}(B_r(p))}{r^n}\\]\n\nis nonincreasing. Toponogov’s theorem compares geodesic triangles under sectional curvature lower bounds with triangles in constant-curvature model spaces. Such results do not merely attach a sign to curvature: they control distances, angles, volume growth, and the possible large-scale shapes of complete manifolds."
    },
    {
      "heading": "Integration, differential operators, and spectral geometry",
      "text": "A Riemannian metric determines a canonical volume density. In local coordinates it is\n\n\\[d\\operatorname{vol}_g = \\sqrt{\\det(g_{ij})}\\, |dx^1\\cdots dx^n|.\\]\n\nThis permits integration even on nonorientable manifolds. On an oriented manifold it becomes the Riemannian volume form, with the absolute-value notation replaced by the oriented wedge product. The density transformation law ensures that integration is independent of coordinates. Surface area and ordinary Euclidean volume are special cases of this construction.\n\nThe metric converts differentials into vector fields. For a smooth function \\(f\\), its gradient is characterized by\n\n\\[g(\\operatorname{grad}f,X)=df(X)\\]\n\nfor every vector field \\(X\\). In coordinates,\n\n\\[(\\operatorname{grad}f)^i=g^{ij}\\partial_jf.\\]\n\nThe divergence of a vector field describes its infinitesimal volume expansion. Combining divergence and gradient gives the Laplace–Beltrami operator, the manifold version of the Laplacian:\n\n\\[\\Delta_g f = \\frac{1}{\\sqrt{\\det g}}\\, \\partial_i\\!\\left( \\sqrt{\\det g}\\,g^{ij}\\partial_j f \\right).\\]\n\nWith this convention, \\(\\Delta_g\\) has nonpositive eigenvalues on compact manifolds without boundary; many authors instead define the nonnegative operator \\(-\\Delta_g\\). The heat equation\n\n\\[\\partial_tu=\\Delta_g u\\]\n\ndescribes diffusion governed by the metric. Integration by parts relates this operator to the energy of a function:\n\n\\[-\\int_M f\\Delta_g f\\,d\\operatorname{vol}_g = \\int_M|\\operatorname{grad}f|_g^2\\,d\\operatorname{vol}_g,\\]\n\nfor compact manifolds without boundary, or under appropriate support and boundary conditions.\n\nOn a compact connected manifold, the spectrum of \\(-\\Delta_g\\) is a discrete sequence\n\n\\[0=\\lambda_0<\\lambda_1\\leq\\lambda_2\\leq\\cdots,\\]\n\nwith multiplicities included, and its eigenfunctions give an orthonormal basis of the space of square-integrable functions. Weyl’s law states that the eigenvalue counting function satisfies\n\n\\[N(\\lambda)\\sim \\frac{\\omega_n}{(2\\pi)^n} \\operatorname{Vol}_g(M)\\lambda^{n/2}.\\]\n\nThe spectrum therefore determines dimension and volume. It does not generally determine the manifold up to isometry: distinct compact Riemannian manifolds can be isospectral.\n\nThe metric also defines adjoints of differential operators on forms. Hodge theory identifies harmonic forms on a compact oriented Riemannian manifold with de Rham cohomology classes. Each class has a unique harmonic representative, even though that representative depends on the chosen metric. This is a precise link between analysis and topology: solutions of elliptic differential equations encode invariants that do not depend on the metric. Related methods extend to manifolds with boundary, where suitable boundary conditions become part of the problem."
    },
    {
      "heading": "Historical development and geometric evolution equations",
      "text": "The immediate background of Riemannian manifolds lies in the geometry of surfaces. In 1827, Carl Friedrich Gauss published the Theorema Egregium, establishing that Gaussian curvature is determined by the surface’s first fundamental form. Curvature could therefore be intrinsic: bending a surface without stretching it need not change its Gaussian curvature. A cylinder is locally isometric to the plane despite having a different appearance in three-dimensional space.\n\nBernhard Riemann extended this viewpoint in his 1854 habilitation lecture, On the Hypotheses Which Lie at the Foundations of Geometry, published posthumously in 1868. He considered spaces of arbitrary dimension and local squared-length expressions with coefficients varying from point to point. This replaced the assumption of a single fixed background geometry with the study of metrics themselves. Elwin Bruno Christoffel’s work in 1869 and the subsequent tensor calculus of Gregorio Ricci-Curbastro and Tullio Levi-Civita provided tools for coordinate-independent computation.\n\nDuring the twentieth century, local differential geometry became increasingly connected to global topology and analysis. The Hopf–Rinow theorem of 1931 clarified completeness. Developments in comparison geometry, Morse theory, and Hodge theory related geodesics and differential operators to global structure. John Nash’s smooth isometric embedding theorem of 1956 established that abstract smooth Riemannian manifolds can be realized isometrically in a Euclidean space of sufficiently high dimension. This validates an extrinsic realization without making that realization necessary for the intrinsic definition.\n\nA major later development was Ricci flow, introduced by Richard Hamilton in 1982:\n\n\\[\\frac{\\partial g}{\\partial t}=-2\\operatorname{Ric}(g).\\]\n\nHere the metric evolves according to its own curvature. Subject to gauge-fixing, the equation has a parabolic character and often smooths geometric irregularities, but singularities can form. A round sphere, for example, shrinks under the unnormalized flow. Techniques for understanding and continuing through singular behavior became central to applications in three-dimensional topology.\n\nGrigori Perelman’s work of 2002–2003 supplied decisive tools for the Ricci-flow approach to three-dimensional geometrization, including monotonicity formulas and noncollapsing results. Together with the broader program developed by Hamilton, these advances led to proofs of the Poincaré and geometrization conjectures. The geometric object in this approach is not a single fixed metric but a time-dependent family on an underlying manifold, with controlled surgery used in the treatment of singularities. This perspective has made metric evolution an important method for investigating topological questions."
    },
    {
      "heading": "Relations to physics, statistics, and computation",
      "text": "Riemannian geometry provides useful language for physics, but the distinction between positive-definite and indefinite metrics is essential. Spacetime in general relativity is modeled by a Lorentzian pseudo-Riemannian manifold, not a Riemannian manifold: nonzero vectors can have positive, negative, or zero squared norm. Many constructions, including covariant differentiation and curvature, have analogues in both settings, but Riemannian distance and completeness theorems do not transfer unchanged. Riemannian metrics nevertheless occur on spacelike hypersurfaces and in Euclidean formulations of field theories.\n\nIn classical mechanics, configuration spaces often carry Riemannian metrics through kinetic energy. If generalized coordinates are \\(q^1,\\ldots,q^n\\), an expression\n\n\\[T=\\frac12g_{ij}(q)\\dot q^i\\dot q^j\\]\n\ndefines a metric when the quadratic form is positive definite. Free motion with this kinetic energy follows geodesics. Constraints can make the configuration space curved even when the constituent particles move in ordinary Euclidean space. Potential energy introduces additional forces, so motion is not generally geodesic for the original kinetic metric.\n\nIn statistics, a regular identifiable family of probability densities \\(p(x;\\theta)\\) may carry the Fisher information metric:\n\n\\[g_{ij}(\\theta) = \\mathbb E_\\theta \\left[ \\partial_i\\log p(X;\\theta)\\, \\partial_j\\log p(X;\\theta) \\right].\\]\n\nPositive definiteness requires suitable nondegeneracy assumptions. This metric measures local statistical distinguishability. Under standard regularity conditions, the Kullback–Leibler divergence has the local expansion\n\n\\[D_{\\mathrm{KL}}(p_\\theta\\Vert p_{\\theta+d\\theta}) = \\frac12g_{ij}(\\theta)\\,d\\theta^i d\\theta^j +o(\\|d\\theta\\|^2).\\]\n\nThe divergence is not itself a symmetric distance, but its quadratic term yields Riemannian geometry.\n\nRiemannian optimization treats constraints by regarding the feasible set as a manifold. Examples include fixed-length vectors on spheres, orthonormal frames, and symmetric positive-definite matrices. A metric determines the gradient direction, while geodesics or computationally cheaper retractions move an iterate along the manifold. Different metrics can give different algorithms on the same feasible set. With the Fisher metric, the resulting steepest-descent direction is the natural gradient, which accounts for the statistical geometry of the parameterization.\n\nNumerical geometry also approximates lengths, curvature, diffusion, and eigenfunctions from meshes or sampled data. These computations require more than an abstract topology: they depend on a chosen metric and on how faithfully the discretization represents it. Finally, Riemannian metrics form only one class of length structures. A Finsler metric permits tangent-vector norms that need not arise from inner products, while sub-Riemannian geometry allows motion only in selected tangent directions. Their different distance and geodesic behavior marks the limits of the Riemannian framework."
    }
  ],
  "links": [
    "manifold",
    "inner-product",
    "differential-geometry",
    "tangent-space",
    "metric-tensor",
    "einstein-summation-convention",
    "positive-definite-matrix",
    "isometry",
    "homeomorphism",
    "euclidean-space",
    "polar-coordinates",
    "non-euclidean-geometry",
    "metric-space",
    "geodesic",
    "calculus-of-variations",
    "vector-field",
    "levi-civita-connection",
    "covariant-derivative",
    "riemann-curvature-tensor",
    "gauss-bonnet-theorem",
    "euler-characteristic",
    "fundamental-group",
    "differential-form",
    "gradient",
    "laplace-operator",
    "heat-equation",
    "carl-friedrich-gauss",
    "bernhard-riemann",
    "pseudo-riemannian-manifold",
    "classical-mechanics",
    "fisher-information",
    "kullback-leibler-divergence",
    "mathematical-optimization"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}