{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $a \u003c b$, let $G \\subseteq \\R \\times \\R^n$ be open, and let $L \\colon G \\times \\R^n \\to \\R$ be continuous, written $L(t, x, v)$.\nFor a $C^1$ curve $y \\colon [a, b] \\to \\R^n$ with graph in $G$, let $J(y) = \\int_a^b L(t, y(t), y'(t)) \\, dt$, a functional of the [[calculus of variations|PQ25NHV0KS]].\nLet $\\bar x$ be a $C^1$ curve with graph in $G$.\n*Carathéodory's royal road* is the following method to show that $\\bar x$ minimises $J$ among such curves with the same endpoints.\nOne looks for a $C^1$ function $S \\colon G \\to \\R$ and a continuous map $\\psi \\colon G \\to \\R^n$ such that:\n\n1. $L(t, x, v) - S_t(t, x) - \\nabla_x S(t, x) \\cdot v \\ge 0$ for all $(t, x) \\in G$ and $v \\in \\R^n$;\n2. $L(t, x, \\psi(t, x)) - S_t(t, x) - \\nabla_x S(t, x) \\cdot \\psi(t, x) = 0$ for all $(t, x) \\in G$;\n3. $\\bar x'(t) = \\psi(t, \\bar x(t))$ for all $t \\in [a, b]$.\n\nThe function $L^*(t, x, v) = L(t, x, v) - S_t(t, x) - \\nabla_x S(t, x) \\cdot v$ is the *equivalent Lagrangian* of $L$ with respect to $S$.\n\n## Remarks\n\nThe method works because of this identity, valid for every admissible curve $y$:\n$$J(y) = \\int_a^b L^*(t, y(t), y'(t)) \\, dt + S(b, y(b)) - S(a, y(a)).$$\nThe boundary terms depend only on the endpoints.\nBy clauses 1 to 3, the integral of $L^*$ is $\\ge 0$ for every $y$ and $= 0$ for $\\bar x$, so $J(y) \\ge J(\\bar x)$.\n\nClauses 1 and 2 say that $\\min_v L^*(t, x, v) = 0$, with the minimum at $v = \\psi(t, x)$.\nWith $H(t, x, p) = \\sup_v (p \\cdot v - L(t, x, v))$, this means $S_t + H(t, x, \\nabla_x S) = 0$, the [[Hamilton–Jacobi equation|5TRXQKP7DY]].\n\nExample: $n = 1$, $G = \\R^2$, $L = \\frac{1}{2} v^2$, and $\\bar x(t) = t$ on $[0, 1]$.\nTake $S(t, x) = x - t/2$ and $\\psi = 1$.\nThen $L^* = \\frac{1}{2} v^2 + \\frac{1}{2} - v = \\frac{1}{2} (v - 1)^2$, which is $\\ge 0$ and vanishes at $v = 1$, and $\\bar x' = 1$.\nSo $\\bar x(t) = t$ minimises $\\int_0^1 \\frac{1}{2} y'^2 \\, dt$ among $C^1$ curves from $(0, 0)$ to $(1, 1)$.\n\nNon-example: in the same problem, $S = 0$ with $\\psi = 1$ fails clause 2, since $L(t, x, 1) = \\frac{1}{2} \\ne 0$.\n\n## Explanations\n\n### L1 human\n\nThe method changes the integrand by a total derivative, which changes the integral only by endpoint terms.\nIf the new integrand is never negative and is zero along the candidate curve, the candidate wins.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "148S3XETT3",
    "kind": "definition",
    "msc": [
      "49K05",
      "49L12"
    ],
    "name": "Carathéodory's royal road",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Calculus_of_variations"
      }
    ],
    "tag": "ZPC2A2JMD8",
    "uses": [
      "PQ25NHV0KS",
      "5TRXQKP7DY"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/ZPC2A2JMD8/",
  "links": [
    {
      "field": "defines",
      "target": "148S3XETT3"
    },
    {
      "field": "uses",
      "target": "PQ25NHV0KS"
    },
    {
      "field": "uses",
      "target": "5TRXQKP7DY"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/ZPC2A2JMD8.md",
  "msc": [
    "49K05",
    "49L12"
  ],
  "name": "Carathéodory's royal road",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ZPC/ZPC2A2JMD8.md",
  "status": null,
  "tag": "ZPC2A2JMD8",
  "uri": "m2://ZPC2A2JMD8",
  "url": "https://tamnd.github.io/math2/wiki/caratheodorys-royal-road-definition/",
  "writing": {
    "tag": "ZPC2A2JMD8",
    "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
      }
    ]
  }
}
