{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $M$ be a smooth manifold with [[tangent bundle|WY6K3P4YCG]] $TM$.\nA *Riemannian metric* on $M$ is a family $g = (g_p)_{p \\in M}$ such that:\n\n1. for each $p \\in M$, $g_p$ is an [[inner product|0NB0AWGJBW]] on $T_pM$, that is, a symmetric positive definite bilinear form;\n2. for all smooth vector fields $X, Y$ on $M$, the function $p \\mapsto g_p(X_p, Y_p)$ is smooth.\n\n## Remarks\n\nEquivalently, $g$ is a smooth symmetric [[tensor field|WX302T93TW]] of type $(0, 2)$ that is positive definite at every point.\nIn a chart, $g = \\sum_{i,j} g_{ij} \\, dx^i \\otimes dx^j$ where $(g_{ij}(p))$ is a symmetric positive definite matrix depending smoothly on $p$; one often writes $ds^2 = g_{ij} \\, dx^i dx^j$.\nExample: on the upper half-plane $\\set{(x, y) : y \u003e 0}$, $g = (dx^2 + dy^2)/y^2$ is a Riemannian metric; its matrix $y^{-2} I$ is symmetric and positive definite because $y \u003e 0$, and its entries are smooth.\nNon-example: on $\\R^2$, $g = x^2 (dx^2 + dy^2)$ fails clause 1 on the line $x = 0$, where $g_p = 0$ is not positive definite.\nThe length of a piecewise smooth curve $\\gamma : [a, b] \\to M$ is $\\int_a^b \\sqrt{g(\\gamma'(t), \\gamma'(t))} \\, dt$.\nEvery smooth manifold (Hausdorff and second countable) has a Riemannian metric: glue Euclidean metrics of charts with a [[partition of unity|NH739XXVXK]]; positive definiteness survives convex combinations.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "Q61VFHCH2J",
    "kind": "definition",
    "msc": [
      "53B20",
      "53C20"
    ],
    "name": "Riemannian metric",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Metric_tensor"
      }
    ],
    "tag": "1R7ANBHDSN",
    "uses": [
      "F45VQ47GPV",
      "WY6K3P4YCG",
      "0NB0AWGJBW",
      "WX302T93TW",
      "NH739XXVXK"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/1R7ANBHDSN/",
  "links": [
    {
      "field": "defines",
      "target": "Q61VFHCH2J"
    },
    {
      "field": "uses",
      "target": "F45VQ47GPV"
    },
    {
      "field": "uses",
      "target": "WY6K3P4YCG"
    },
    {
      "field": "uses",
      "target": "0NB0AWGJBW"
    },
    {
      "field": "uses",
      "target": "WX302T93TW"
    },
    {
      "field": "uses",
      "target": "NH739XXVXK"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/1R7ANBHDSN.md",
  "msc": [
    "53B20",
    "53C20"
  ],
  "name": "Riemannian metric",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/1R7/1R7ANBHDSN.md",
  "status": null,
  "tag": "1R7ANBHDSN",
  "uri": "m2://1R7ANBHDSN",
  "url": "https://math2.tamnd.com/wiki/riemannian-metric-definition/",
  "writing": {
    "tag": "1R7ANBHDSN",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
