{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0Q2QC81VTW"
    }
  ],
  "body": "\n## Statement\n\nLet $X$ be a real random variable, and let $h \u003e 0$ with $M_X(t) = E[e^{tX}] \u003c \\infty$ for all $t \\in (-h, h)$.\nThen $X$ has finite [[moments|0PH0VHTQS0]] of all orders, the [[moment-generating function|0NNRNGKMFM]] $M_X$ is infinitely differentiable on $(-h, h)$, and for each integer $k \\ge 0$,\n$$M_X^{(k)}(0) = E\\left[X^k\\right].$$\nMoreover, $M_X(t) = \\sum_{k=0}^{\\infty} E[X^k] \\, t^k / k!$ for $|t| \u003c h$.\n\n## Remarks\n\nThe proof differentiates under the expectation sign. The bound $|x|^k e^{t x} \\le C(e^{a x} + e^{-a x})$ for $|t| \u003c a \u003c h$ justifies this by dominated convergence.\nExample: for $X \\sim \\operatorname{Exp}(\\lambda)$, $M_X(t) = \\lambda/(\\lambda - t)$, so $M_X'(0) = 1/\\lambda$ and $M_X''(0) = 2/\\lambda^2$. So $\\operatorname{Var}(X) = 1/\\lambda^2$.\n\n## Explanations\n\n### L1 human\n\nThis result is the reason for the name: the function \"generates\" the moments.\nTo find $E[X^k]$, you take the $k$-th derivative of $M_X$ and put $t = 0$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "60E10"
    ],
    "name": "Moments are derivatives of the moment-generating function at zero",
    "role": "theorem",
    "sources": [
      {
        "locator": "Calculations of moments",
        "url": "https://en.wikipedia.org/wiki/Moment_generating_function"
      }
    ],
    "tag": "0STK8KEY9G",
    "uses": [
      "0NNRNGKMFM",
      "0PH0VHTQS0"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0STK8KEY9G/",
  "links": [
    {
      "field": "uses",
      "target": "0NNRNGKMFM"
    },
    {
      "field": "uses",
      "target": "0PH0VHTQS0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0STK8KEY9G.md",
  "msc": [
    "60E10"
  ],
  "name": "Moments are derivatives of the moment-generating function at zero",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0ST/0STK8KEY9G.md",
  "status": null,
  "tag": "0STK8KEY9G",
  "uri": "m2://0STK8KEY9G",
  "url": "https://math2.tamnd.com/wiki/moments-are-derivatives-of-the-moment-generating-function-at-zero/",
  "writing": {
    "tag": "0STK8KEY9G",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
