{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $R$ be a commutative ring, let $x, y \\in R$, and let $n$ be a natural number.\nThen\n$$(x + y)^n = \\sum_{k=0}^{n} \\binom{n}{k} x^k y^{n-k}.$$\nHere $\\binom{n}{k}$ is the [[binomial coefficient|092GEF38YD]], and the integer $\\binom{n}{k}$ acts on $R$ by repeated addition.\n\n## Remarks\n\nFor $n = 2$ it gives $(x + y)^2 = x^2 + 2xy + y^2$. For $n = 3$ it gives $x^3 + 3x^2 y + 3x y^2 + y^3$.\nThe formula stays true in a noncommutative ring when $xy = yx$.\nWith $x = y = 1$ it gives the [[sum of binomial coefficients|0KAMF19NV8]]. With $x = -1$ and $y = 1$ it gives the [[alternating sum|0PQQGFAWSH]].\nThe [[multinomial theorem|0XFC1VQYEK]] extends it to sums of more than two terms.\n\n## Explanations\n\n### L1 human\n\nWhen you expand $(x + y)^n$, each term comes from choosing $x$ or $y$ in each of the $n$ factors.\nThe term $x^k y^{n-k}$ appears once for each choice of the $k$ factors that give $x$, so its coefficient is $\\binom{n}{k}$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "05A10"
    ],
    "name": "Binomial theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q26708",
      "wikipedia": "Binomial theorem"
    },
    "sources": [
      {
        "locator": "Statement",
        "url": "https://en.wikipedia.org/wiki/Binomial_theorem"
      }
    ],
    "tag": "0EHWPWGHB2",
    "uses": [
      "092GEF38YD"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0EHWPWGHB2/",
  "links": [
    {
      "field": "uses",
      "target": "092GEF38YD"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0EHWPWGHB2.md",
  "msc": [
    "05A10"
  ],
  "name": "Binomial theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0EH/0EHWPWGHB2.md",
  "status": null,
  "tag": "0EHWPWGHB2",
  "uri": "m2://0EHWPWGHB2",
  "url": "https://math2.tamnd.com/wiki/binomial-theorem/",
  "writing": {
    "tag": "0EHWPWGHB2",
    "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
      }
    ]
  }
}
