{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $V$ be a real [[vector space|000AYPA9AJ]], let $A \\subseteq V$, and let $J \\colon A \\to \\R$ be a [[functional|1EQM0DJ4NC]].\nLet $y \\in A$ and $\\eta \\in V$, and suppose that $y + t\\eta \\in A$ for all real $t$ with $\\abs{t}$ small enough.\nThe *first variation* of $J$ at $y$ in the direction $\\eta$ is\n$$\\delta J(y; \\eta) = \\frac{d}{dt} J(y + t\\eta) \\Big|_{t = 0} = \\lim_{t \\to 0} \\frac{J(y + t\\eta) - J(y)}{t},$$\nwhen this limit exists.\n\n## Remarks\n\nIt is also called the Gâteaux variation; it is a [[directional derivative|06KWGHDN2J]] of $J$.\nWhen the [[Gateaux derivative|EAZF9NJW12]] of $J$ at $y$ exists, $\\delta J(y; \\eta)$ is its value at $\\eta$.\nIf $V$ is normed and $J$ is Fréchet differentiable at $y$, then $\\delta J(y; \\eta) = DJ(y)\\eta$ for all $\\eta$.\n\nExample: on $V = C([0, 1])$ let $J(y) = \\int_0^1 y^2 \\, dx$.\nThen $J(y + t\\eta) = J(y) + 2t \\int_0^1 y\\eta \\, dx + t^2 \\int_0^1 \\eta^2 \\, dx$, so $\\delta J(y; \\eta) = 2 \\int_0^1 y \\eta \\, dx$.\n\nNon-example: for $J(y) = \\int_0^1 \\abs{y} \\, dx$, $y = 0$ and $\\eta = 1$, the quotient $(J(t\\eta) - J(0))/t = \\abs{t}/t$ has no limit as $t \\to 0$, so the first variation does not exist.\n\nFor an [[integral functional|JRQZ803Q5Y]] $J(y) = \\int_a^b L(x, y, y') \\, dx$ with $L$ of class $C^1$, and $y, \\eta \\in C^1([a, b])$, differentiation under the integral sign gives\n$$\\delta J(y; \\eta) = \\int_a^b \\big( L_z(x, y, y') \\, \\eta + L_p(x, y, y') \\, \\eta' \\big) \\, dx,$$\nwhere $L_z$ and $L_p$ are the partial derivatives of $L(x, z, p)$.\nIf $y$ is a local minimum of $J$ along the line $t \\mapsto y + t\\eta$ and $\\delta J(y; \\eta)$ exists, then $\\delta J(y; \\eta) = 0$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "5B8NFYB2XQ",
    "kind": "definition",
    "msc": [
      "49K05",
      "49J50",
      "46G05"
    ],
    "name": "First variation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/First_variation"
      }
    ],
    "tag": "7EY98D6MG0",
    "uses": [
      "1EQM0DJ4NC",
      "000AYPA9AJ",
      "06KWGHDN2J",
      "EAZF9NJW12"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/7EY98D6MG0/",
  "links": [
    {
      "field": "defines",
      "target": "5B8NFYB2XQ"
    },
    {
      "field": "uses",
      "target": "1EQM0DJ4NC"
    },
    {
      "field": "uses",
      "target": "000AYPA9AJ"
    },
    {
      "field": "uses",
      "target": "06KWGHDN2J"
    },
    {
      "field": "uses",
      "target": "EAZF9NJW12"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/7EY98D6MG0.md",
  "msc": [
    "49K05",
    "49J50",
    "46G05"
  ],
  "name": "First variation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/7EY/7EY98D6MG0.md",
  "status": null,
  "tag": "7EY98D6MG0",
  "uri": "m2://7EY98D6MG0",
  "url": "https://tamnd.github.io/math2/wiki/first-variation-definition/",
  "writing": {
    "tag": "7EY98D6MG0",
    "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
      }
    ]
  }
}
