{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0E44JMG6NV"
    }
  ],
  "body": "\n## Statement\n\nLet $(\\Omega, \\mathcal{F}, P)$ be a probability space and let $A, B \\in \\mathcal{F}$ with $0 \u003c P(B) \u003c 1$. Let $B^c = \\Omega \\setminus B$.\nThen\n$$P(A) = P(A \\mid B) \\, P(B) + P(A \\mid B^c) \\, (1 - P(B)).$$\n\n## Remarks\n\nThis is the [[law of total probability|0E5G5FMT2R]] for the partition $\\{B, B^c\\}$, together with $P(B^c) = 1 - P(B)$.\nThe formula is the denominator of [[Bayes' theorem|0NM6E9VW04]] in the case of two hypotheses.\n\n## Explanations\n\n### L1 human\n\nEither $B$ happens or it does not.\nSo the chance of $A$ is its chance when $B$ happens times $P(B)$, plus its chance when $B$ does not happen times $1 - P(B)$.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "60A05"
    ],
    "name": "Law of total probability for an event and its complement",
    "role": "corollary",
    "sources": [
      {
        "locator": "Statement",
        "url": "https://en.wikipedia.org/wiki/Law_of_total_probability"
      }
    ],
    "tag": "0W62TKMW7V",
    "uses": [
      "0E5G5FMT2R",
      "0PQEBTYDZM"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0W62TKMW7V/",
  "links": [
    {
      "field": "uses",
      "target": "0E5G5FMT2R"
    },
    {
      "field": "uses",
      "target": "0PQEBTYDZM"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0W62TKMW7V.md",
  "msc": [
    "60A05"
  ],
  "name": "Law of total probability for an event and its complement",
  "prov": null,
  "role": "corollary",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0W6/0W62TKMW7V.md",
  "status": null,
  "tag": "0W62TKMW7V",
  "uri": "m2://0W62TKMW7V",
  "url": "https://math2.tamnd.com/wiki/law-of-total-probability-for-an-event-and-its-complement/",
  "writing": {
    "tag": "0W62TKMW7V",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
