{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\n1. Let $n \\ge 1$, and let $\\omega_k = e^{2 \\pi i k / n}$ for $0 \\le k \u003c n$.\nBy [[the description of the nth roots of unity|057BH3JC9S]], the $n$th [[roots of unity|0S61N75H45]] are exactly the numbers $\\omega_0, \\dots, \\omega_{n-1}$.\n2. It remains to show that these $n$ numbers are distinct.\n3. Let $\\zeta = e^{2 \\pi i / n}$. By [[Euler's formula|04R3CY41VJ]] at real arguments, where the series are the real [[sine and cosine|0WB57D9488]], $\\zeta = \\cos \\frac{2 \\pi}{n} + i \\sin \\frac{2 \\pi}{n}$.\n4. By [[de Moivre's formula|03MTBVG3VE]] and Euler's formula again, $\\zeta^k = \\cos \\frac{2 \\pi k}{n} + i \\sin \\frac{2 \\pi k}{n} = \\omega_k$ for $0 \\le k \u003c n$.\n5. By [[exp(2 pi i/n) is a primitive root of unity|0CF0XGYHNJ]], $\\zeta$ is a [[primitive|0J817RTVG6]] $n$th root of unity.\nSo $\\zeta^n = 1$ and $\\zeta^j \\neq 1$ for $1 \\le j \u003c n$.\n6. Suppose that $\\omega_k = \\omega_l$ with $0 \\le l \u003c k \u003c n$. By step 4, $\\zeta^l \\zeta^{k - l} = \\zeta^l$, that is, $\\zeta^l (\\zeta^{k - l} - 1) = 0$.\n7. Since $\\zeta^n = 1$ and $0^n = 0$, we have $\\zeta \\neq 0$. So $\\zeta^l \\neq 0$, because [[$\\C$ is a field|0FRSR10DWF]] and a field has no zero divisors.\nIndeed, multiplying by the inverse of $\\zeta^l$ cancels it.\n8. So $\\zeta^{k - l} = 1$ with $1 \\le k - l \u003c n$. This contradicts step 5.\n9. Hence $\\omega_0, \\dots, \\omega_{n-1}$ are $n$ distinct numbers, and by step 1 there are exactly $n$ complex $n$th roots of unity.\n\n## Idea\n\nEvery $n$th root of unity is a power $\\zeta^k$ of $\\zeta = e^{2 \\pi i / n}$ with $0 \\le k \u003c n$.\nIf two of these powers were equal, a smaller positive power of $\\zeta$ would equal $1$, which primitivity forbids.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "11R18"
    ],
    "name": "Proof that there are exactly n nth roots of unity",
    "proves": "0E021GF2B8",
    "sources": [
      {
        "locator": "Elementary properties",
        "url": "https://en.wikipedia.org/wiki/Root_of_unity"
      }
    ],
    "tag": "C7AFZ9WXAC",
    "uses": [
      "057BH3JC9S",
      "0CF0XGYHNJ",
      "0J817RTVG6",
      "0S61N75H45",
      "03MTBVG3VE",
      "04R3CY41VJ",
      "0WB57D9488",
      "0FRSR10DWF"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/C7AFZ9WXAC/",
  "links": [
    {
      "field": "proves",
      "target": "0E021GF2B8"
    },
    {
      "field": "uses",
      "target": "057BH3JC9S"
    },
    {
      "field": "uses",
      "target": "0CF0XGYHNJ"
    },
    {
      "field": "uses",
      "target": "0J817RTVG6"
    },
    {
      "field": "uses",
      "target": "0S61N75H45"
    },
    {
      "field": "uses",
      "target": "03MTBVG3VE"
    },
    {
      "field": "uses",
      "target": "04R3CY41VJ"
    },
    {
      "field": "uses",
      "target": "0WB57D9488"
    },
    {
      "field": "uses",
      "target": "0FRSR10DWF"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/C7AFZ9WXAC.md",
  "msc": [
    "11R18"
  ],
  "name": "Proof that there are exactly n nth roots of unity",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/C7A/C7AFZ9WXAC.md",
  "status": null,
  "tag": "C7AFZ9WXAC",
  "uri": "m2://C7AFZ9WXAC",
  "url": "https://math2.tamnd.com/wiki/proof-that-there-are-exactly-n-nth-roots-of-unity/",
  "writing": {
    "tag": "C7AFZ9WXAC",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
