{
  "aliases": [
    "fermat-theorem-several-variables",
    "interior-extremum-theorem-several-variables"
  ],
  "backlinks": null,
  "body": "\n## Statement\n\nLet $U \\subseteq \\mathbb{R}^n$ be open, let $f \\colon U \\to \\mathbb{R}$, and let $a \\in U$ be a [[local extremum|04CPG9K1C4]] of $f$.\nIf the [[partial derivative|05AXG3QRKR]] $\\partial f / \\partial x_i (a)$ exists for some $i$, then $\\partial f / \\partial x_i (a) = 0$.\nIn particular, if $f$ is [[differentiable|0135XZZQ8M]] at $a$, then $\\nabla f(a) = 0$ and the derivative $Df(a)$ is the zero linear map.\n\n## Remarks\n\nA point $a \\in U$ where $f$ is differentiable and $\\nabla f(a) = 0$ is a critical point, or stationary point, of $f$.\nThe proof applies the one-variable theorem to $t \\mapsto f(a + t e_i)$, where $e_i$ is the $i$-th standard basis vector. This function has a local extremum at $t = 0$.\nThe converse is false. For $f(x, y) = x^2 - y^2$, $\\nabla f(0, 0) = 0$, but $(0, 0)$ is a [[saddle point|00N3T18QNA]], not an extremum.\nThe hypothesis that $U$ is open matters. On $[0, 1]^2$, $f(x, y) = x + y$ has a maximum at $(1, 1)$, where $\\nabla f = (1, 1)$.\n\n## Explanations\n\n### L1 human\n\nAt the top of a smooth hill the ground is flat in every direction.\nSo all partial derivatives are zero there, and the tangent plane to the graph is horizontal.\nThis turns the search for extrema into the solution of the equations $\\nabla f = 0$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "fermat-theorem-several-variables",
      "interior-extremum-theorem-several-variables"
    ],
    "kind": "statement",
    "msc": [
      "26B05"
    ],
    "name": "Derivative vanishes at a local extremum",
    "role": "theorem",
    "sources": [
      {
        "locator": "Extension",
        "url": "https://en.wikipedia.org/wiki/Interior_extremum_theorem"
      }
    ],
    "tag": "0F405477F8",
    "uses": [
      "04CPG9K1C4",
      "05AXG3QRKR",
      "0NS2QYVC4Y",
      "0135XZZQ8M"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0F405477F8/",
  "links": [
    {
      "field": "uses",
      "target": "04CPG9K1C4"
    },
    {
      "field": "uses",
      "target": "05AXG3QRKR"
    },
    {
      "field": "uses",
      "target": "0NS2QYVC4Y"
    },
    {
      "field": "uses",
      "target": "0135XZZQ8M"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0F405477F8.md",
  "msc": [
    "26B05"
  ],
  "name": "Derivative vanishes at a local extremum",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0F4/0F405477F8.md",
  "status": null,
  "tag": "0F405477F8",
  "uri": "m2://0F405477F8",
  "url": "https://math2.tamnd.com/wiki/derivative-vanishes-at-a-local-extremum/",
  "writing": {
    "tag": "0F405477F8",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
