{
  "aliases": [
    "de-moivre-laplace-theorem",
    "normal-approximation-to-the-binomial"
  ],
  "backlinks": null,
  "body": "\n## Statement\n\nLet $p \\in (0, 1)$ and let $S_n \\sim \\operatorname{Bin}(n, p)$ for each $n \\ge 1$. Let $q = 1 - p$.\nThen $(S_n - np)/\\sqrt{npq}$ converges [[in distribution|0JDAQHWA9N]] to $\\mathcal{N}(0, 1)$. That is, for all reals $a \u003c b$,\n$$\\lim_{n \\to \\infty} P\\left(a \\le \\frac{S_n - np}{\\sqrt{npq}} \\le b\\right) = \\int_a^b \\frac{1}{\\sqrt{2\\pi}} e^{-x^2/2} \\, dx.$$\n\n## Remarks\n\nThis is the special case of the [[central limit theorem|0EPZC4Z1FC]] for Bernoulli variables.\nIndeed, $S_n$ has the law of a sum of $n$ independent Bernoulli($p$) variables.\nA local form also holds: $\\binom{n}{k} p^k q^{n-k} \\sim \\frac{1}{\\sqrt{2\\pi npq}} e^{-(k - np)^2/(2npq)}$ as $n \\to \\infty$, uniformly for $k$ with $|k - np| \\le C\\sqrt{n}$. The proof uses Stirling's formula.\nIn practice, one often adds a continuity correction of $1/2$ to the integer bounds.\n\n## History\n\nAbraham de Moivre proved the case $p = 1/2$. Pierre-Simon Laplace extended it to general $p$.\n\n## Explanations\n\n### L1 human\n\nFor many trials, the binomial distribution looks like a bell curve with mean $np$ and variance $np(1 - p)$.\nThis lets you approximate binomial probabilities, such as \"at least $520$ heads in $1000$ tosses\", with the normal distribution.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "aliases": [
      "de-moivre-laplace-theorem",
      "normal-approximation-to-the-binomial"
    ],
    "kind": "statement",
    "msc": [
      "60F05"
    ],
    "name": "De Moivre–Laplace theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q1855610",
      "wikipedia": "De Moivre–Laplace theorem"
    },
    "sources": [
      {
        "locator": "Theorem",
        "url": "https://en.wikipedia.org/wiki/De_Moivre–Laplace_theorem"
      }
    ],
    "tag": "065X9S8CM3",
    "uses": [
      "0VRWZDWW6B",
      "07RXBVTVZB",
      "0JDAQHWA9N",
      "0EPZC4Z1FC"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/065X9S8CM3/",
  "links": [
    {
      "field": "uses",
      "target": "0VRWZDWW6B"
    },
    {
      "field": "uses",
      "target": "07RXBVTVZB"
    },
    {
      "field": "uses",
      "target": "0JDAQHWA9N"
    },
    {
      "field": "uses",
      "target": "0EPZC4Z1FC"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/065X9S8CM3.md",
  "msc": [
    "60F05"
  ],
  "name": "De Moivre–Laplace theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/065/065X9S8CM3.md",
  "status": null,
  "tag": "065X9S8CM3",
  "uri": "m2://065X9S8CM3",
  "url": "https://math2.tamnd.com/wiki/de-moivre-laplace-theorem/",
  "writing": {
    "tag": "065X9S8CM3",
    "kind": "statement",
    "level": "W1",
    "next": [
      {
        "what": "edge about out",
        "note": "the concepts that the statement is about",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge proves in",
        "note": "at least one proof node",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of or illustrates in",
        "note": "one example that shows the statement at work",
        "have": 0,
        "want": 1
      },
      {
        "what": "explanation L2",
        "have": 0,
        "want": 1
      }
    ]
  }
}
