{
  "aliases": [
    "interior-extremum-theorem"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0194DY35BG"
    },
    {
      "field": "uses",
      "target": "0Q5A47J48D"
    }
  ],
  "body": "\n## Statement\n\nLet $I$ be an open interval, let $f \\colon I \\to \\mathbb{R}$, and let $a \\in I$.\nAssume that $f$ has a [[local maximum|00999TYPXB]] or a [[local minimum|0NS8BP96QX]] at $a$, and that $f$ is differentiable at $a$.\nThen $f'(a) = 0$.\n\n## Remarks\n\nAt a local maximum, the difference quotient $(f(a + h) - f(a))/h$ is $\\le 0$ for small $h \u003e 0$ and $\\ge 0$ for small $h \u003c 0$. So the limit is both $\\le 0$ and $\\ge 0$.\nThe point must be interior. On $[0, 1]$, the function $x$ has a maximum at $1$, where its derivative is $1$.\nMathlib states it as `IsLocalExtr.deriv_eq_zero`.\n\n## Explanations\n\n### L1 human\n\nAt the top of a smooth hill, the tangent line is horizontal.\nIf the slope were positive or negative, moving a little would give a higher value.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "aliases": [
      "interior-extremum-theorem"
    ],
    "kind": "statement",
    "msc": [
      "26A24"
    ],
    "name": "Fermat's theorem on stationary points",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q727102",
      "wikipedia": "Interior extremum theorem"
    },
    "sources": [
      {
        "locator": "Statement",
        "url": "https://en.wikipedia.org/wiki/Interior_extremum_theorem"
      }
    ],
    "tag": "0PCVBRV9VJ",
    "uses": [
      "00999TYPXB",
      "0NS8BP96QX",
      "0F1WR9C83K"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0PCVBRV9VJ/",
  "links": [
    {
      "field": "uses",
      "target": "00999TYPXB"
    },
    {
      "field": "uses",
      "target": "0NS8BP96QX"
    },
    {
      "field": "uses",
      "target": "0F1WR9C83K"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0PCVBRV9VJ.md",
  "msc": [
    "26A24"
  ],
  "name": "Fermat's theorem on stationary points",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0PC/0PCVBRV9VJ.md",
  "status": null,
  "tag": "0PCVBRV9VJ",
  "uri": "m2://0PCVBRV9VJ",
  "url": "https://math2.tamnd.com/wiki/fermats-theorem-on-stationary-points/",
  "writing": {
    "tag": "0PCVBRV9VJ",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
