{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe subtract a linear function from $f$ so that Rolle's theorem applies.\n\n1. Let $r = \\dfrac{f(b) - f(a)}{b - a}$. This is a real number because $b - a \u003e 0$.\n2. Define $g \\colon [a, b] \\to \\R$ by $g(x) = f(x) - r (x - a)$.\n3. The function $x \\mapsto r(x - a)$ is [[continuous|0P27W9RW0G]] on $[a, b]$, and it has [[derivative|0F1WR9C83K]] $r$ at every point.\n4. So $g$ is continuous on $[a, b]$, as a difference of continuous functions.\n5. By the sum and [[constant multiple rule|0Z9JB71BS0]], $g$ is differentiable on $(a, b)$ with $g'(x) = f'(x) - r$.\n6. We have $g(a) = f(a)$ and $g(b) = f(b) - (f(b) - f(a)) = f(a)$. So $g(a) = g(b)$.\n7. By [[Rolle's theorem|0194DY35BG]], there is $c \\in (a, b)$ with $g'(c) = 0$.\n8. By step 5, $f'(c) - r = 0$. Hence $f'(c) = \\dfrac{f(b) - f(a)}{b - a}$.\n\n## Idea\n\nThe line through $(a, f(a))$ and $(b, f(b))$ has slope $r$. Subtracting it from $f$ gives a function with equal values at the endpoints. Rolle's theorem gives a point where its derivative vanishes, and there $f'$ equals $r$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "26A24"
    ],
    "name": "Proof of the mean value theorem from Rolle's theorem",
    "proves": "0BARQY52N5",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Mean_value_theorem"
      }
    ],
    "tag": "YBRVDSFRE7",
    "uses": [
      "0194DY35BG",
      "0P27W9RW0G",
      "0F1WR9C83K",
      "0Z9JB71BS0"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/YBRVDSFRE7/",
  "links": [
    {
      "field": "proves",
      "target": "0BARQY52N5"
    },
    {
      "field": "uses",
      "target": "0194DY35BG"
    },
    {
      "field": "uses",
      "target": "0P27W9RW0G"
    },
    {
      "field": "uses",
      "target": "0F1WR9C83K"
    },
    {
      "field": "uses",
      "target": "0Z9JB71BS0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/YBRVDSFRE7.md",
  "msc": [
    "26A24"
  ],
  "name": "Proof of the mean value theorem from Rolle's theorem",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/YBR/YBRVDSFRE7.md",
  "status": null,
  "tag": "YBRVDSFRE7",
  "uri": "m2://YBRVDSFRE7",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-mean-value-theorem-from-rolles-theorem/",
  "writing": {
    "tag": "YBRVDSFRE7",
    "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
      }
    ]
  }
}
