{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $a \u003c b$, let $n \\ge 1$ and let $L \\colon [a, b] \\times \\R^n \\times \\R^n \\to \\R$, written $L(x, y, p)$, be of class $C^1$.\nWrite $L_p$ for the vector of [[partial derivatives|05AXG3QRKR]] of $L$ in the variables $p$.\nThe *Weierstrass excess function* of $L$ is the function $E \\colon [a, b] \\times \\R^n \\times \\R^n \\times \\R^n \\to \\R$ given by\n$$E(x, y, p, q) = L(x, y, q) - L(x, y, p) - (q - p) \\cdot L_p(x, y, p).$$\n\n## Remarks\n\nExample: for $L(x, y, p) = \\sqrt{1 + p^2}$ with $n = 1$, the function $q \\mapsto L(x, y, q)$ is convex.\nA convex $C^1$ function lies above each of its tangent lines, so $E \\ge 0$ everywhere.\n\nNon-example of nonnegativity: for $L = (p^2 - 1)^2$ with $n = 1$, at $p = 0$ one gets $E(x, y, 0, q) = (q^2 - 1)^2 - 1$.\nThis is negative for $0 \u003c \\abs{q} \u003c \\sqrt{2}$, since $L$ is not convex in $p$.\n\nThe Weierstrass necessary condition reads as follows.\nLet $y_0 \\in C^1([a, b]; \\R^n)$ be a strong local minimiser of $J(y) = \\int_a^b L(x, y, y') \\, dx$ with fixed end values, see [[weak and strong extremum|WMPCR723MJ]].\nThen $E(x, y_0(x), y_0'(x), q) \\ge 0$ for all $x \\in [a, b]$ and all $q \\in \\R^n$.\n\nFor $C^2$ functions $L$, Taylor's formula gives $E(x, y, p, q) = \\frac{1}{2} (q - p)^T L_{pp}(x, y, \\bar p) (q - p)$ for some $\\bar p$ on the segment from $p$ to $q$.\nSo the Weierstrass condition implies the Legendre condition $L_{pp}(x, y_0, y_0') \\ge 0$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "R8TWRPSPNV",
    "kind": "definition",
    "msc": [
      "49K05"
    ],
    "name": "Weierstrass excess function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Weierstrass%E2%80%93Erdmann_condition"
      }
    ],
    "tag": "8D455SA1D4",
    "uses": [
      "JRQZ803Q5Y",
      "WMPCR723MJ",
      "05AXG3QRKR"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/8D455SA1D4/",
  "links": [
    {
      "field": "defines",
      "target": "R8TWRPSPNV"
    },
    {
      "field": "uses",
      "target": "JRQZ803Q5Y"
    },
    {
      "field": "uses",
      "target": "WMPCR723MJ"
    },
    {
      "field": "uses",
      "target": "05AXG3QRKR"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/8D455SA1D4.md",
  "msc": [
    "49K05"
  ],
  "name": "Weierstrass excess function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/8D4/8D455SA1D4.md",
  "status": null,
  "tag": "8D455SA1D4",
  "uri": "m2://8D455SA1D4",
  "url": "https://tamnd.github.io/math2/wiki/weierstrass-excess-function-definition/",
  "writing": {
    "tag": "8D455SA1D4",
    "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
      }
    ]
  }
}
