{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $a \u003c b$ and let $f \\colon [a, b] \\to \\mathbb{R}$ be a function.\nThe function $f$ is a step function if it is constant on each open subinterval of some [[partition|069P20KYQT]] $(x_0, \\dots, x_n)$ of $[a, b]$.\nThat is, there are real numbers $c_1, \\dots, c_n$ with $f(x) = c_i$ for all $x \\in (x_{i-1}, x_i)$.\n\n## Remarks\n\nThe values of $f$ at the points $x_i$ are arbitrary.\nA step function is Riemann integrable, and $\\int_a^b f = \\sum_{i=1}^{n} c_i (x_i - x_{i-1})$.\nThe floor function $\\lfloor x \\rfloor$ restricted to $[a, b]$ is a step function.\n\n## Explanations\n\n### L1 human\n\nThe graph of a step function looks like a staircase.\nIt is flat on each piece of a partition, and it can jump at the cut points.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0AJXYH4DDQ",
    "kind": "definition",
    "msc": [
      "26A42"
    ],
    "name": "Step function",
    "sources": [
      {
        "locator": "Definition and first consequences",
        "url": "https://en.wikipedia.org/wiki/Step_function"
      }
    ],
    "tag": "0M9XEDF1HJ",
    "uses": [
      "069P20KYQT"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0M9XEDF1HJ/",
  "links": [
    {
      "field": "defines",
      "target": "0AJXYH4DDQ"
    },
    {
      "field": "uses",
      "target": "069P20KYQT"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0M9XEDF1HJ.md",
  "msc": [
    "26A42"
  ],
  "name": "Step function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0M9/0M9XEDF1HJ.md",
  "status": null,
  "tag": "0M9XEDF1HJ",
  "uri": "m2://0M9XEDF1HJ",
  "url": "https://math2.tamnd.com/wiki/step-function-definition/",
  "writing": {
    "tag": "0M9XEDF1HJ",
    "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
      }
    ]
  }
}
