{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "01X8YSDTBW"
    },
    {
      "field": "uses",
      "target": "01ZWX875AT"
    },
    {
      "field": "uses",
      "target": "08QCA2F1NX"
    },
    {
      "field": "uses",
      "target": "0AXP2Z5N9H"
    },
    {
      "field": "uses",
      "target": "0QAR0XDZH4"
    },
    {
      "field": "uses",
      "target": "0T8BYAFEXX"
    }
  ],
  "body": "\n## Definition\n\nLet $(\\Omega, \\mathcal{F}, P)$ be a probability space, let $(E, \\mathcal{E})$ be a set with a σ-algebra, and let $X \\colon \\Omega \\to E$ be a [[random variable|0DKRR22AEQ]].\nThe law of $X$, also called the distribution of $X$, is the function $P_X \\colon \\mathcal{E} \\to [0, 1]$ with\n$$P_X(B) = P(X^{-1}(B)) = P(X \\in B) \\quad \\text{for } B \\in \\mathcal{E}.$$\n\n## Remarks\n\n$P_X$ is a [[probability distribution|0QB913WM5E]] on $(E, \\mathcal{E})$. It is the image measure, or pushforward, of $P$ under $X$, and one also writes $P \\circ X^{-1}$ or $X_* P$.\nNotation: $X \\sim \\mu$ means that the law of $X$ is $\\mu$.\nTwo random variables can have the same law but be different functions. For a fair coin toss, the indicator of heads and the indicator of tails both have the Bernoulli law with parameter $1/2$.\n\n## Explanations\n\n### L1 human\n\nThe law of $X$ forgets the sample space and keeps only the chances of the values of $X$.\nFor the sum of two dice, the law says that $7$ has probability $6/36$, $2$ has probability $1/36$, and so on.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "defines": "01EQPZ6RYZ",
    "kind": "definition",
    "msc": [
      "60E05"
    ],
    "name": "Law of a random variable",
    "sources": [
      {
        "locator": "General probability definition",
        "url": "https://en.wikipedia.org/wiki/Probability_distribution"
      }
    ],
    "tag": "0TST4MHA3A",
    "uses": [
      "0DKRR22AEQ",
      "0QB913WM5E"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0TST4MHA3A/",
  "links": [
    {
      "field": "defines",
      "target": "01EQPZ6RYZ"
    },
    {
      "field": "uses",
      "target": "0DKRR22AEQ"
    },
    {
      "field": "uses",
      "target": "0QB913WM5E"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0TST4MHA3A.md",
  "msc": [
    "60E05"
  ],
  "name": "Law of a random variable",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0TS/0TST4MHA3A.md",
  "status": null,
  "tag": "0TST4MHA3A",
  "uri": "m2://0TST4MHA3A",
  "url": "https://math2.tamnd.com/wiki/law-of-a-random-variable-definition/",
  "writing": {
    "tag": "0TST4MHA3A",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
