{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(X, \\Sigma)$ be a [[measurable space|N4KDT83V3S]].\nA *simple function* on $X$ is a [[measurable function|YYNCJSR0PJ]] $s \\colon X \\to \\R$ whose image $s(X)$ is a finite set.\n\n## Remarks\n\nEquivalently, $s = \\sum_{k=1}^{n} a_k \\mathbf{1}_{A_k}$ for some $n \\ge 0$, real numbers $a_k$ and sets $A_k \\in \\Sigma$, where $\\mathbf{1}_{A_k}$ is the [[indicator function|0RCQZ36MME]] of $A_k$.\nThe sets $A_k$ can be chosen pairwise disjoint, with distinct values $a_k$.\nFor a measure $\\mu$ and $a_k \\ge 0$, the integral is $\\int s \\, d\\mu = \\sum_k a_k \\mu(A_k)$, with $0 \\cdot \\infty = 0$.\nExample: on $\\R$ with the Borel sets, $s = 3 \\cdot \\mathbf{1}_{[0, 1]} - \\mathbf{1}_{\\Q}$ is simple; its values are $-1$, $0$, $2$ and $3$.\nNon-example: $x \\mapsto x$ on $[0, 1]$ is measurable but has infinitely many values.\nEvery measurable $f \\colon X \\to [0, \\infty]$ is the pointwise limit of a non-decreasing sequence of nonnegative simple functions.\nSome authors drop the measurability condition, or allow complex values.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "7WMBX7M4P6",
    "kind": "definition",
    "msc": [
      "28A20"
    ],
    "name": "Simple function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Simple_function"
      }
    ],
    "tag": "QB6EZ3HP73",
    "uses": [
      "YYNCJSR0PJ",
      "N4KDT83V3S",
      "0RCQZ36MME"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/QB6EZ3HP73/",
  "links": [
    {
      "field": "defines",
      "target": "7WMBX7M4P6"
    },
    {
      "field": "uses",
      "target": "YYNCJSR0PJ"
    },
    {
      "field": "uses",
      "target": "N4KDT83V3S"
    },
    {
      "field": "uses",
      "target": "0RCQZ36MME"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/QB6EZ3HP73.md",
  "msc": [
    "28A20"
  ],
  "name": "Simple function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/QB6/QB6EZ3HP73.md",
  "status": null,
  "tag": "QB6EZ3HP73",
  "uri": "m2://QB6EZ3HP73",
  "url": "https://math2.tamnd.com/wiki/simple-function-definition/",
  "writing": {
    "tag": "QB6EZ3HP73",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
