{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $R$ be a commutative ring, let $x_1, \\dots, x_m \\in R$, and let $n$ be a natural number.\nThen\n$$(x_1 + \\dots + x_m)^n = \\sum_{k_1 + \\dots + k_m = n} \\binom{n}{k_1, \\dots, k_m} x_1^{k_1} \\cdots x_m^{k_m}.$$\nThe sum runs over all $m$-tuples $(k_1, \\dots, k_m)$ of natural numbers with sum $n$, and the coefficients are [[multinomial coefficients|00K0RF9BFY]].\n\n## Remarks\n\nFor $m = 2$ it is the [[binomial theorem|0EHWPWGHB2]].\nExample: $(x + y + z)^2 = x^2 + y^2 + z^2 + 2xy + 2yz + 2xz$.\nWith all $x_i = 1$ it gives $\\sum \\binom{n}{k_1, \\dots, k_m} = m^n$.\n\n## Explanations\n\n### L1 human\n\nTo expand a power of a sum of $m$ terms, pick one term from each of the $n$ factors.\nThe monomial $x_1^{k_1} \\cdots x_m^{k_m}$ appears once for each way to decide which factors give which term.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "05A10"
    ],
    "name": "Multinomial theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q619985",
      "wikipedia": "Multinomial theorem"
    },
    "sources": [
      {
        "locator": "Theorem",
        "url": "https://en.wikipedia.org/wiki/Multinomial_theorem"
      }
    ],
    "tag": "0XFC1VQYEK",
    "uses": [
      "00K0RF9BFY"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0XFC1VQYEK/",
  "links": [
    {
      "field": "uses",
      "target": "00K0RF9BFY"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0XFC1VQYEK.md",
  "msc": [
    "05A10"
  ],
  "name": "Multinomial theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0XF/0XFC1VQYEK.md",
  "status": null,
  "tag": "0XFC1VQYEK",
  "uri": "m2://0XFC1VQYEK",
  "url": "https://math2.tamnd.com/wiki/multinomial-theorem/",
  "writing": {
    "tag": "0XFC1VQYEK",
    "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
      }
    ]
  }
}
