{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $I \\subseteq \\R$ be an [[interval|0Q1D85B8G6]].\nA [[function|0EPAT51DXQ]] $f \\colon I \\to \\R$ is *midpoint convex*, or *Jensen-convex*, if\n$$f\\left(\\frac{x + y}{2}\\right) \\le \\frac{f(x) + f(y)}{2} \\quad \\text{for all } x, y \\in I.$$\n\n## Remarks\n\nExample: $f(x) = x^2$ on $\\R$ is midpoint convex.\nCheck: $\\frac{x^2 + y^2}{2} - \\left(\\frac{x + y}{2}\\right)^2 = \\frac{(x - y)^2}{4} \\ge 0$.\n\nNon-example: $f(x) = -x^2$ on $\\R$ is not midpoint convex, since $f(0) = 0 \u003e -1 = \\frac{f(-1) + f(1)}{2}$.\n\nEvery [[convex function|07Q7CNM5WF]] is midpoint convex: take $t = 1/2$ in the definition of convexity.\nThe converse is false in general.\nA [[discontinuous additive function|FFTNS66XG6]] $a \\colon \\R \\to \\R$ satisfies $a\\big(\\frac{x+y}{2}\\big) = \\frac{a(x) + a(y)}{2}$, so it is midpoint convex.\nBut it is not convex, since convex functions on open intervals are continuous.\nA midpoint convex function that is continuous is convex.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "1TQ1JQXEWP",
    "kind": "definition",
    "msc": [
      "26A51",
      "39B62"
    ],
    "name": "Midpoint convex function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Convex_function"
      }
    ],
    "tag": "F0GBTYKN31",
    "uses": [
      "0Q1D85B8G6",
      "0EPAT51DXQ",
      "07Q7CNM5WF",
      "FFTNS66XG6"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/F0GBTYKN31/",
  "links": [
    {
      "field": "defines",
      "target": "1TQ1JQXEWP"
    },
    {
      "field": "uses",
      "target": "0Q1D85B8G6"
    },
    {
      "field": "uses",
      "target": "0EPAT51DXQ"
    },
    {
      "field": "uses",
      "target": "07Q7CNM5WF"
    },
    {
      "field": "uses",
      "target": "FFTNS66XG6"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/F0GBTYKN31.md",
  "msc": [
    "26A51",
    "39B62"
  ],
  "name": "Midpoint convex function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/F0G/F0GBTYKN31.md",
  "status": null,
  "tag": "F0GBTYKN31",
  "uri": "m2://F0GBTYKN31",
  "url": "https://tamnd.github.io/math2/wiki/midpoint-convex-function-definition/",
  "writing": {
    "tag": "F0GBTYKN31",
    "kind": "definition",
    "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
      }
    ]
  }
}
