{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "005JT76HCK"
    },
    {
      "field": "uses",
      "target": "06BA5JZKTQ"
    },
    {
      "field": "uses",
      "target": "0BY5FTHEEE"
    },
    {
      "field": "uses",
      "target": "0EF2VG8XKQ"
    },
    {
      "field": "uses",
      "target": "0RWMRTPC87"
    },
    {
      "field": "uses",
      "target": "0Y0WS5BCJ7"
    }
  ],
  "body": "\n## Definition\n\nLet $I$ be an interval and let $f \\colon I \\to \\mathbb{R}$ be a function.\nThe function $f$ is convex if\n$$f(t x + (1 - t) y) \\le t f(x) + (1 - t) f(y)$$\nfor all $x, y \\in I$ and all $t \\in [0, 1]$.\n\n## Remarks\n\nGeometrically, each chord of the graph lies on or above the graph.\nFor example, $x^2$, $|x|$, and $e^x$ are convex on $\\mathbb{R}$. Linear functions are convex.\nA twice differentiable function with [[$f'' \\ge 0$ is convex|0Z41C17TGP]].\nMathlib defines convexity on a set as `ConvexOn`.\n\n## Explanations\n\n### L1 human\n\nA convex function bends upward, like a bowl.\nThe straight segment between two points of the graph never goes below the graph.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "07Q7CNM5WF",
    "kind": "definition",
    "msc": [
      "26A51"
    ],
    "name": "Convex function",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Convex_function"
      }
    ],
    "tag": "0VV0HSW1ZS"
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0VV0HSW1ZS/",
  "links": [
    {
      "field": "defines",
      "target": "07Q7CNM5WF"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0VV0HSW1ZS.md",
  "msc": [
    "26A51"
  ],
  "name": "Convex function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0VV/0VV0HSW1ZS.md",
  "status": null,
  "tag": "0VV0HSW1ZS",
  "uri": "m2://0VV0HSW1ZS",
  "url": "https://math2.tamnd.com/wiki/convex-function-definition/",
  "writing": {
    "tag": "0VV0HSW1ZS",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
