{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $L \\colon \\R \\times \\R \\times \\R \\to \\R$, written $L(x, z, p)$, be of class $C^2$, with [[partial derivative|09EGC6F8PT]] $L_p$ in $p$.\nLet $\\psi \\colon \\R \\to \\R$ be of class $C^1$, and fix $a, A \\in \\R$.\nConsider pairs $(y, b)$ with $b \u003e a$, $y \\in C^2([a, b])$, $y(a) = A$ and $y(b) = \\psi(b)$, and set $J(y, b) = \\int_a^b L(x, y, y') \\, dx$.\nSuppose that $(y_0, b_0)$ minimises $J$ among all such pairs.\nThen:\n\n1. $y_0$ solves the [[Euler–Lagrange equation|PS0VV149ET]] $\\frac{d}{dx} L_p(x, y_0, y_0') = L_z(x, y_0, y_0')$ on $[a, b_0]$;\n2. at the free end, the *transversality condition*\n$$\\Big[ L(x, y_0, y_0') + \\big(\\psi'(x) - y_0'(x)\\big) L_p(x, y_0, y_0') \\Big]_{x = b_0} = 0$$\nholds.\n\n## Remarks\n\nThe proof computes the [[first variation|5B8NFYB2XQ]] of $J$ along a family $(y_t, b_t)$ of competitors with $y_t(b_t) = \\psi(b_t)$.\nVariations that fix both ends give the Euler–Lagrange equation.\nMoving the end along the curve $y = \\psi(x)$ gives a boundary term, $L \\, \\delta b + L_p (\\delta y - y' \\delta b)$ at $b_0$, with $\\delta y = \\psi' \\delta b$; it must vanish, which is the transversality condition.\n\nSpecial cases.\nIf instead $b$ is fixed and $y(b)$ is free, the end moves on the vertical line $x = b$, and the same computation gives the [[natural boundary condition|QTRPNFDFJ8]] $L_p = 0$ at $b$.\nIf $L(x, z, p) = f(x, z) \\sqrt{1 + p^2}$ with $f(b_0, y_0(b_0)) \\ne 0$, the condition simplifies to $\\psi'(b_0) \\, y_0'(b_0) = -1$: the extremal meets the curve $y = \\psi(x)$ at a right angle.\n\nExample: for $f = 1$, $J$ is arc length, and the condition says that the shortest segment from the point $(a, A)$ to a curve meets the curve orthogonally.\n\n## Explanations\n\n### L1 human\n\nWhen the end of a curve may slide along a given line or curve, the best curve must meet that curve in a special way.\nFor the shortest path from a point to a curve, the special way is a right angle.\nFor other functionals, the angle is fixed by a formula involving the integrand.\n\n### L2 human\n\nThe transversality condition replaces the missing boundary value.\nThe Euler–Lagrange equation has order two and one end is fixed, so one more condition fixes the extremal; then $y(b_0) = \\psi(b_0)$ fixes the unknown $b_0$.\nIn optimal control, the [[Pontryagin maximum principle|7RPV2T29CF]] has transversality conditions of the same kind on the costate at a free final state or final time.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "PS0VV149ET",
      "QTRPNFDFJ8"
    ],
    "kind": "statement",
    "msc": [
      "49K05"
    ],
    "name": "Transversality conditions for variable endpoints",
    "role": "theorem",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Calculus_of_variations"
      }
    ],
    "tag": "DAEHVRJVSD",
    "uses": [
      "JRQZ803Q5Y",
      "PS0VV149ET",
      "5B8NFYB2XQ",
      "QTRPNFDFJ8",
      "09EGC6F8PT"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/DAEHVRJVSD/",
  "links": [
    {
      "field": "about",
      "target": "PS0VV149ET"
    },
    {
      "field": "about",
      "target": "QTRPNFDFJ8"
    },
    {
      "field": "uses",
      "target": "JRQZ803Q5Y"
    },
    {
      "field": "uses",
      "target": "PS0VV149ET"
    },
    {
      "field": "uses",
      "target": "5B8NFYB2XQ"
    },
    {
      "field": "uses",
      "target": "QTRPNFDFJ8"
    },
    {
      "field": "uses",
      "target": "09EGC6F8PT"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/DAEHVRJVSD.md",
  "msc": [
    "49K05"
  ],
  "name": "Transversality conditions for variable endpoints",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/DAE/DAEHVRJVSD.md",
  "status": null,
  "tag": "DAEHVRJVSD",
  "uri": "m2://DAEHVRJVSD",
  "url": "https://tamnd.github.io/math2/wiki/transversality-conditions-for-variable-endpoints/",
  "writing": {
    "tag": "DAEHVRJVSD",
    "kind": "statement",
    "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
      }
    ]
  }
}
