{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe show that $f'$ is increasing and then use the derivative test for convexity.\n\n1. Since $f$ is twice differentiable on $I$, the function $f' \\colon I \\to \\R$ is differentiable on $I$. Its derivative is the [[second derivative|0Y9D2FJRQ4]] $f''$.\n2. A differentiable function is [[continuous|07ZMX4ANJS]], so $f'$ is continuous on $I$.\n3. Every point of the open interval $I$ is an interior point of $I$, and $(f')'(x) = f''(x) \\ge 0$ there.\n4. By the [[nonnegative derivative test|026BJBQNGJ]] applied to $f'$, the function $f'$ is increasing on $I$.\n5. The function $f$ is differentiable on $I$ and $f'$ is increasing. By the [[derivative test for convexity|005JT76HCK]], $f$ is [[convex|0VV0HSW1ZS]] on $I$.\n\n## Idea\n\nA nonnegative second derivative means the first derivative never decreases. So the slope of $f$ only grows from left to right, and a function whose slope grows is convex.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "26A51"
    ],
    "name": "Proof that a function with nonnegative second derivative is convex",
    "proves": "0Z41C17TGP",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Real_Function_is_Convex_iff_Derivative_is_Increasing"
      }
    ],
    "tag": "1GZH50HV78",
    "uses": [
      "026BJBQNGJ",
      "005JT76HCK",
      "0Y9D2FJRQ4",
      "07ZMX4ANJS",
      "0VV0HSW1ZS"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/1GZH50HV78/",
  "links": [
    {
      "field": "proves",
      "target": "0Z41C17TGP"
    },
    {
      "field": "uses",
      "target": "026BJBQNGJ"
    },
    {
      "field": "uses",
      "target": "005JT76HCK"
    },
    {
      "field": "uses",
      "target": "0Y9D2FJRQ4"
    },
    {
      "field": "uses",
      "target": "07ZMX4ANJS"
    },
    {
      "field": "uses",
      "target": "0VV0HSW1ZS"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/1GZH50HV78.md",
  "msc": [
    "26A51"
  ],
  "name": "Proof that a function with nonnegative second derivative is convex",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/1GZ/1GZH50HV78.md",
  "status": null,
  "tag": "1GZH50HV78",
  "uri": "m2://1GZH50HV78",
  "url": "https://math2.tamnd.com/wiki/proof-that-a-function-with-nonnegative-second-derivative-is-convex/",
  "writing": {
    "tag": "1GZH50HV78",
    "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
      }
    ]
  }
}
