{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0NS0TDA4E2"
    }
  ],
  "body": "\n## Statement\n\nLet $\\mu \\in \\mathbb{R}$, let $\\sigma^2 \u003e 0$ and let $X \\sim \\mathcal{N}(\\mu, \\sigma^2)$. Then for each $t \\in \\mathbb{R}$,\n$$M_X(t) = E\\left[e^{tX}\\right] = \\exp\\left(\\mu t + \\tfrac{1}{2} \\sigma^2 t^2\\right).$$\n\n## Remarks\n\nProof for $Z \\sim \\mathcal{N}(0, 1)$: complete the square, $tz - z^2/2 = t^2/2 - (z - t)^2/2$. So $E[e^{tZ}] = e^{t^2/2} \\int \\varphi(z - t) \\, dz = e^{t^2/2}$.\nThe general case follows from $X = \\mu + \\sigma Z$ with $\\sigma = \\sqrt{\\sigma^2}$: $M_X(t) = e^{\\mu t} M_Z(\\sigma t)$.\nThe moment-generating function is finite for all $t$. Its derivatives at $0$ give $E[X] = \\mu$ and $E[X^2] = \\mu^2 + \\sigma^2$.\nThe logarithm $\\mu t + \\sigma^2 t^2 / 2$ is a polynomial of degree $2$. So all cumulants of order $3$ or more are $0$.\n\n## Explanations\n\n### L1 human\n\nThe moment-generating function of a normal variable has a simple closed form.\nWith the [[multiplication rule for sums|0WRZ170YEH]], it shows quickly that a sum of independent normal variables is again normal.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "60E10"
    ],
    "name": "Moment-generating function of the normal distribution",
    "role": "proposition",
    "sources": [
      {
        "locator": "Moment- and cumulant-generating functions",
        "url": "https://en.wikipedia.org/wiki/Normal_distribution"
      }
    ],
    "tag": "0B1G4E21G7",
    "uses": [
      "0NNRNGKMFM",
      "07RXBVTVZB",
      "027JF1FBB0"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0B1G4E21G7/",
  "links": [
    {
      "field": "uses",
      "target": "0NNRNGKMFM"
    },
    {
      "field": "uses",
      "target": "07RXBVTVZB"
    },
    {
      "field": "uses",
      "target": "027JF1FBB0"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0B1G4E21G7.md",
  "msc": [
    "60E10"
  ],
  "name": "Moment-generating function of the normal distribution",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0B1/0B1G4E21G7.md",
  "status": null,
  "tag": "0B1G4E21G7",
  "uri": "m2://0B1G4E21G7",
  "url": "https://math2.tamnd.com/wiki/moment-generating-function-of-the-normal-distribution/",
  "writing": {
    "tag": "0B1G4E21G7",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
