{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe expand the covariance and use the product rule for independent variables.\n\n1. Let $X$ and $Y$ be [[independent|0E9502NT92]] real random variables with $E[X^2] \u003c \\infty$ and $E[Y^2] \u003c \\infty$.\n2. For each real $x$, $\\abs{x} \\le (1 + x^2)/2$, because $(\\abs{x} - 1)^2 \\ge 0$. The integral of nonnegative functions is monotone.\n3. So $E[\\abs{X}] \\le (1 + E[X^2])/2 \u003c \\infty$. Thus $X$ is integrable, and in the same way $Y$ is integrable. Let $m = E[X]$ and $n = E[Y]$ be their [[expected values|0DCT0QZVQ1]].\n4. By the [[product rule for independent variables|05AW1G0WE1]], $XY$ is integrable and $E[XY] = mn$.\n5. Pointwise, $(X - m)(Y - n) = XY - nX - mY + mn$.\n6. Each term on the right is integrable. By [[linearity of expectation|0P7PTC8DDE]],\n$$E[(X - m)(Y - n)] = E[XY] - n E[X] - m E[Y] + mn = E[XY] - mn.$$\n7. By the definition of the [[covariance|0DJ8W3HP2D]] and steps 4 and 6, $\\operatorname{Cov}(X, Y) = mn - mn = 0$.\n8. So $X$ and $Y$ are uncorrelated.\n\n## Idea\n\nThe covariance equals $E[XY] - E[X] E[Y]$. Independence makes the mean of the product equal to the product of the means, so this difference is $0$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "60A05"
    ],
    "name": "Proof that independent random variables are uncorrelated",
    "proves": "077GN9HDR6",
    "sources": [
      {
        "locator": "Uncorrelatedness and independence",
        "url": "https://en.wikipedia.org/wiki/Covariance"
      }
    ],
    "tag": "NABYVABHTT",
    "uses": [
      "0E9502NT92",
      "05AW1G0WE1",
      "0DJ8W3HP2D",
      "0P7PTC8DDE",
      "0DCT0QZVQ1"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/NABYVABHTT/",
  "links": [
    {
      "field": "proves",
      "target": "077GN9HDR6"
    },
    {
      "field": "uses",
      "target": "0E9502NT92"
    },
    {
      "field": "uses",
      "target": "05AW1G0WE1"
    },
    {
      "field": "uses",
      "target": "0DJ8W3HP2D"
    },
    {
      "field": "uses",
      "target": "0P7PTC8DDE"
    },
    {
      "field": "uses",
      "target": "0DCT0QZVQ1"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/NABYVABHTT.md",
  "msc": [
    "60A05"
  ],
  "name": "Proof that independent random variables are uncorrelated",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/NAB/NABYVABHTT.md",
  "status": null,
  "tag": "NABYVABHTT",
  "uri": "m2://NABYVABHTT",
  "url": "https://math2.tamnd.com/wiki/proof-that-independent-random-variables-are-uncorrelated/",
  "writing": {
    "tag": "NABYVABHTT",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
