{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe compare any two values of $f$ with the mean value theorem.\n\n1. Let $x, y \\in I$ with $x \u003c y$.\n2. Since $I$ is an [[interval|0TK8Y3J5RW]], every $z$ with $x \\le z \\le y$ lies in $I$. So $[x, y] \\subseteq I$.\n3. The function $f$ is differentiable at each point of $I$. So it is [[continuous|07ZMX4ANJS]] at each point of $I$, and in particular on $[x, y]$.\n4. The open interval $(x, y)$ lies in $I$, so $f$ is differentiable on $(x, y)$, with derivative $0$ there.\n5. By the [[mean value theorem|0BARQY52N5]], there is $c \\in (x, y)$ with $f(y) - f(x) = f'(c)(y - x)$.\n6. Since $f'(c) = 0$, we get $f(y) = f(x)$.\n7. So $f$ takes the same value at any two points of $I$. Fix $x_0 \\in I$. Then $f(x) = f(x_0)$ for all $x \\in I$, so $f$ is constant on $I$.\n\n## Idea\n\nThe mean value theorem writes the change $f(y) - f(x)$ as a derivative times $y - x$. If the derivative is zero everywhere, every such change is zero. The interval hypothesis puts the whole segment $[x, y]$ inside the domain.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "26A24"
    ],
    "name": "Proof that a function with zero derivative on an open interval is constant",
    "proves": "003QDZ4T16",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Mean_value_theorem"
      }
    ],
    "tag": "VZ4VK2YVF8",
    "uses": [
      "0BARQY52N5",
      "07ZMX4ANJS",
      "0TK8Y3J5RW"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/VZ4VK2YVF8/",
  "links": [
    {
      "field": "proves",
      "target": "003QDZ4T16"
    },
    {
      "field": "uses",
      "target": "0BARQY52N5"
    },
    {
      "field": "uses",
      "target": "07ZMX4ANJS"
    },
    {
      "field": "uses",
      "target": "0TK8Y3J5RW"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/VZ4VK2YVF8.md",
  "msc": [
    "26A24"
  ],
  "name": "Proof that a function with zero derivative on an open interval is constant",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/VZ4/VZ4VK2YVF8.md",
  "status": null,
  "tag": "VZ4VK2YVF8",
  "uri": "m2://VZ4VK2YVF8",
  "url": "https://math2.tamnd.com/wiki/proof-that-a-function-with-zero-derivative-on-an-open-interval-is-constant/",
  "writing": {
    "tag": "VZ4VK2YVF8",
    "kind": "proof",
    "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
      }
    ]
  }
}
