{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(X, \\Sigma, \\mu)$ be a [[measure space|P15VQS5DJ9]].\nLet $s = \\sum_{i=1}^{n} a_i \\mathbf{1}_{A_i}$ be a non-negative [[simple function|7WMBX7M4P6]], with $a_i \\in [0, \\infty)$ and pairwise disjoint $A_i \\in \\Sigma$.\nIts integral is\n$$\\int_X s \\, d\\mu = \\sum_{i=1}^{n} a_i \\, \\mu(A_i),$$\nwith the convention $0 \\cdot \\infty = 0$.\nLet $f \\colon X \\to [0, \\infty]$ be a [[measurable function|YYNCJSR0PJ]].\nIts *integral* is the [[supremum|0BTMQ04556]], in the [[extended real line|0GSZ7B0CGR]],\n$$\\int_X f \\, d\\mu = \\sup \\set{\\int_X s \\, d\\mu : s \\text{ simple}, \\ 0 \\le s \\le f}.$$\n\n## Remarks\n\nExample: let $X = \\N$ with the counting measure and $f(n) = 2^{-n}$ for $n \\ge 1$, $f(0) = 1$.\nThe simple functions $s_N = f \\cdot \\mathbf{1}_{\\set{0, \\dots, N}}$ lie below $f$, and their integrals $\\sum_{n=0}^{N} 2^{-n}$ increase to $2$.\nEvery simple $s \\le f$ has integral at most $\\sum_n f(n) = 2$, so $\\int f \\, d\\mu = 2$.\n\nNon-example: the formula does not apply to $g(x) = \\sin x$ on $\\R$, because $g$ takes negative values.\nSuch functions need the splitting $g = g^+ - g^-$ of the Lebesgue integral.\n\nThe value of $\\int_X s \\, d\\mu$ for a simple function does not depend on the way $s$ is written.\nFor $A \\in \\Sigma$ one writes $\\int_A f \\, d\\mu = \\int_X f \\mathbf{1}_A \\, d\\mu$.\nIf $f = g$ almost everywhere, then $\\int_X f \\, d\\mu = \\int_X g \\, d\\mu$.\n",
  "commit": "efe85cee8dbc57d85bedbacfb97b99d1b7bee843",
  "front": {
    "defines": "DG76G5Z6XW",
    "kind": "definition",
    "msc": [
      "28A25"
    ],
    "name": "Integral of a non-negative function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Lebesgue_integral"
      }
    ],
    "tag": "GEA8H3228S",
    "uses": [
      "P15VQS5DJ9",
      "YYNCJSR0PJ",
      "7WMBX7M4P6",
      "0BTMQ04556",
      "0GSZ7B0CGR"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/GEA8H3228S/",
  "links": [
    {
      "field": "defines",
      "target": "DG76G5Z6XW"
    },
    {
      "field": "uses",
      "target": "P15VQS5DJ9"
    },
    {
      "field": "uses",
      "target": "YYNCJSR0PJ"
    },
    {
      "field": "uses",
      "target": "7WMBX7M4P6"
    },
    {
      "field": "uses",
      "target": "0BTMQ04556"
    },
    {
      "field": "uses",
      "target": "0GSZ7B0CGR"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/GEA8H3228S.md",
  "msc": [
    "28A25"
  ],
  "name": "Integral of a non-negative function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/GEA/GEA8H3228S.md",
  "status": null,
  "tag": "GEA8H3228S",
  "uri": "m2://GEA8H3228S",
  "url": "https://math2.tamnd.com/wiki/integral-of-a-non-negative-function-definition/",
  "writing": {
    "tag": "GEA8H3228S",
    "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
      }
    ]
  }
}
