{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $X$ be a [[topological space|0CNQXVBHCX]], let $f \\colon X \\to [-\\infty, \\infty]$ be a function to the [[extended real line|0GSZ7B0CGR]], and let $x_0 \\in X$.\n\n1. The function $f$ is *upper semicontinuous at* $x_0$ if for each real $y \u003e f(x_0)$ there is a [[neighbourhood|01T3TMGTTE]] $U$ of $x_0$ with $f(x) \u003c y$ for all $x \\in U$.\n2. The function $f$ is *lower semicontinuous at* $x_0$ if for each real $y \u003c f(x_0)$ there is a neighbourhood $U$ of $x_0$ with $f(x) \u003e y$ for all $x \\in U$.\n3. The function $f$ is *upper* (or *lower*) *semicontinuous* if it is upper (or lower) semicontinuous at each point of $X$.\n\n## Remarks\n\nFor $X \\subseteq \\R$, upper semicontinuity at $x_0$ means $\\limsup_{x \\to x_0} f(x) \\le f(x_0)$, and lower semicontinuity means $\\liminf_{x \\to x_0} f(x) \\ge f(x_0)$.\nThe function $f$ is upper semicontinuous if and only if the set $\\set{x \\in X : f(x) \u003c y}$ is open for each real $y$.\nIt is lower semicontinuous if and only if $\\set{x \\in X : f(x) \u003e y}$ is open for each real $y$.\nThe function $f$ is upper semicontinuous if and only if $-f$ is lower semicontinuous.\nA real function is [[continuous|0P27W9RW0G]] at $x_0$ if and only if it is both upper and lower semicontinuous at $x_0$.\n\nExample: the [[indicator function|0VSB0XF4G7]] $f = \\mathbf 1_{[0, 1]}$ on $\\R$ is upper semicontinuous.\nThe set $\\set{f \u003c y}$ is empty for $y \\le 0$, is $\\R \\setminus [0, 1]$ for $0 \u003c y \\le 1$, and is $\\R$ for $y \u003e 1$, and each of these is open.\n\nNon-example: the same function is not lower semicontinuous at $0$.\nTake $y = 1/2 \u003c 1 = f(0)$; each neighbourhood of $0$ contains a point $x \u003c 0$ with $f(x) = 0 \u003c y$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "95BSKT0S6M",
    "kind": "definition",
    "msc": [
      "26A15",
      "54C08"
    ],
    "name": "Semi-continuity",
    "sources": [
      {
        "locator": "Definitions",
        "url": "https://en.wikipedia.org/wiki/Semi-continuity"
      }
    ],
    "tag": "Y5V5CN8FGN",
    "uses": [
      "0CNQXVBHCX",
      "01T3TMGTTE",
      "0GSZ7B0CGR",
      "0P27W9RW0G",
      "0P8BA7T7S5",
      "0H4R3RESGV",
      "0VSB0XF4G7"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/Y5V5CN8FGN/",
  "links": [
    {
      "field": "defines",
      "target": "95BSKT0S6M"
    },
    {
      "field": "uses",
      "target": "0CNQXVBHCX"
    },
    {
      "field": "uses",
      "target": "01T3TMGTTE"
    },
    {
      "field": "uses",
      "target": "0GSZ7B0CGR"
    },
    {
      "field": "uses",
      "target": "0P27W9RW0G"
    },
    {
      "field": "uses",
      "target": "0P8BA7T7S5"
    },
    {
      "field": "uses",
      "target": "0H4R3RESGV"
    },
    {
      "field": "uses",
      "target": "0VSB0XF4G7"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/Y5V5CN8FGN.md",
  "msc": [
    "26A15",
    "54C08"
  ],
  "name": "Semi-continuity",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/Y5V/Y5V5CN8FGN.md",
  "status": null,
  "tag": "Y5V5CN8FGN",
  "uri": "m2://Y5V5CN8FGN",
  "url": "https://math2.tamnd.com/wiki/semi-continuity-definition/",
  "writing": {
    "tag": "Y5V5CN8FGN",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
