{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(P, \\le_P)$ and $(Q, \\le_Q)$ be [[preorders|0RXS8R6K37]] and let $f \\colon P \\to Q$ be a [[function|0XHDTE5YMZ]].\nThe function $f$ is monotone when, for all $a, b \\in P$, $a \\le_P b$ implies $f(a) \\le_Q f(b)$.\n\n## Remarks\n\nOther names are order-preserving and, for real functions, monotonically increasing or non-decreasing.\nThe function $f$ is antitone when $a \\le b$ implies $f(b) \\le f(a)$.\nThe map $S \\mapsto f(S)$ on [[power sets|0BC7KX51Z8]] is monotone for $\\subseteq$.\n\n## Explanations\n\n### L1 human\n\nA monotone function never reverses the order of two inputs.\nOn $\\mathbb{R}$, $x \\mapsto x^3$ is monotone, and $x \\mapsto x^2$ is not, because $-2 \\le 1$ but $4 \u003e 1$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0A7KV2WB7A",
    "kind": "definition",
    "msc": [
      "06A06"
    ],
    "name": "Monotone function",
    "sources": [
      {
        "locator": "In order theory",
        "url": "https://en.wikipedia.org/wiki/Monotonic_function"
      }
    ],
    "tag": "0WFF6AZPBP",
    "uses": [
      "0RXS8R6K37",
      "0XHDTE5YMZ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0WFF6AZPBP/",
  "links": [
    {
      "field": "defines",
      "target": "0A7KV2WB7A"
    },
    {
      "field": "uses",
      "target": "0RXS8R6K37"
    },
    {
      "field": "uses",
      "target": "0XHDTE5YMZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0WFF6AZPBP.md",
  "msc": [
    "06A06"
  ],
  "name": "Monotone function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0WF/0WFF6AZPBP.md",
  "status": null,
  "tag": "0WFF6AZPBP",
  "uri": "m2://0WFF6AZPBP",
  "url": "https://math2.tamnd.com/wiki/monotone-function-definition/",
  "writing": {
    "tag": "0WFF6AZPBP",
    "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
      }
    ]
  }
}
