{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0EHYZFZ4PK"
    },
    {
      "field": "uses",
      "target": "0PP5ZAJPP7"
    }
  ],
  "body": "\n## Definition\n\nLet $a \u003c b$ be real numbers.\nThe continuous uniform distribution on the [[interval|0TK8Y3J5RW]] $[a, b]$ is the distribution on $\\mathbb{R}$ with the [[probability density function|04YG690N5V]]\n$$f(x) = \\begin{cases} \\dfrac{1}{b - a} \u0026 \\text{if } a \\le x \\le b, \\\\ 0 \u0026 \\text{otherwise.} \\end{cases}$$\nOne writes $X \\sim \\operatorname{U}(a, b)$.\n\n## Remarks\n\nFor $a \\le c \\le d \\le b$, $P(c \\le X \\le d) = (d - c)/(b - a)$.\nThe cumulative distribution function is $F(x) = (x - a)/(b - a)$ for $a \\le x \\le b$, with $F(x) = 0$ for $x \u003c a$ and $F(x) = 1$ for $x \u003e b$.\nThe mean is $(a + b)/2$ and the variance is $(b - a)^2 / 12$.\nIf $U \\sim \\operatorname{U}(0, 1)$ and $F$ is a cumulative distribution function with [[quantile function|0B3Q3XDM5X]] $Q$, then $Q(U)$ has the cumulative distribution function $F$.\n\n## Explanations\n\n### L1 human\n\nThe uniform distribution is \"a point chosen at random in an interval, with no preference\".\nFor $\\operatorname{U}(0, 10)$, the chance to land between $2$ and $5$ is $3/10$, the length of the piece over the length of the interval.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0AREFQ9Z65",
    "kind": "definition",
    "msc": [
      "60E05"
    ],
    "name": "Continuous uniform distribution",
    "sources": [
      {
        "locator": "Probability density function",
        "url": "https://en.wikipedia.org/wiki/Continuous_uniform_distribution"
      }
    ],
    "tag": "0WGDPYR30Q",
    "uses": [
      "04YG690N5V",
      "0TK8Y3J5RW"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0WGDPYR30Q/",
  "links": [
    {
      "field": "defines",
      "target": "0AREFQ9Z65"
    },
    {
      "field": "uses",
      "target": "04YG690N5V"
    },
    {
      "field": "uses",
      "target": "0TK8Y3J5RW"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0WGDPYR30Q.md",
  "msc": [
    "60E05"
  ],
  "name": "Continuous uniform distribution",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0WG/0WGDPYR30Q.md",
  "status": null,
  "tag": "0WGDPYR30Q",
  "uri": "m2://0WGDPYR30Q",
  "url": "https://math2.tamnd.com/wiki/continuous-uniform-distribution-definition/",
  "writing": {
    "tag": "0WGDPYR30Q",
    "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
      }
    ]
  }
}
