{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\n1. Let $x$ be real. Since $x$ is real, the power series of $\\cos x$ and $\\sin x$ are the real [[sine and cosine|0WB57D9488]].\nSo [[Euler's formula|04R3CY41VJ]] gives $e^{i x} = \\cos x + i \\sin x$ for every real $x$.\n2. In the series for the [[complex exponential|054VXHMCA3]] at $0$, every term with $k \\ge 1$ is $0$. So $e^0 = 1$.\n3. Claim: $(e^{i x})^n = e^{i n x}$ for each integer $n \\ge 0$ and each real $x$. We argue by induction on $n$.\n4. For $n = 0$, both sides equal $1$, by step 2.\n5. Assume the claim for $n$. By the [[product of exponentials|0WM7DJCM6G]], $(e^{i x})^{n+1} = e^{i n x} e^{i x} = e^{i (n + 1) x}$.\nThis proves the claim.\n6. By the product of exponentials and step 2, $e^{i x} e^{-i x} = e^0 = 1$. So $e^{i x} \\neq 0$ and $(e^{i x})^{-1} = e^{-i x}$.\nThus negative powers of $e^{i x}$ are defined.\n7. Let $n = -m$ with $m$ a positive integer. Then $(e^{i x})^n = \\bigl((e^{i x})^{-1}\\bigr)^m = (e^{-i x})^m$, by step 6.\n8. Step 3, applied to the real number $-x$, gives $(e^{-i x})^m = e^{-i m x} = e^{i n x}$.\nSo $(e^{i x})^n = e^{i n x}$ for every integer $n$.\n9. By step 1 for $x$ and for $n x$, $(\\cos x + i \\sin x)^n = (e^{i x})^n = e^{i n x} = \\cos(n x) + i \\sin(n x)$.\n\n## Idea\n\nEuler's formula turns $\\cos x + i \\sin x$ into $e^{i x}$.\nPowers of an exponential multiply the exponent, because exponentials turn sums into products.\nNegative powers work since $e^{-ix}$ is the inverse of $e^{ix}$.\n",
  "commit": "68a8c3dc73fd55004b2796431c607c30960d1a85",
  "front": {
    "kind": "proof",
    "msc": [
      "33B10"
    ],
    "name": "Proof of de Moivre's formula from Euler's formula",
    "proves": "03MTBVG3VE",
    "sources": [
      {
        "locator": "Relation to Euler's formula",
        "url": "https://en.wikipedia.org/wiki/De_Moivre%27s_formula"
      }
    ],
    "tag": "21PKVV5S4Y",
    "uses": [
      "04R3CY41VJ",
      "0WM7DJCM6G",
      "054VXHMCA3",
      "0WB57D9488"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/21PKVV5S4Y/",
  "links": [
    {
      "field": "proves",
      "target": "03MTBVG3VE"
    },
    {
      "field": "uses",
      "target": "04R3CY41VJ"
    },
    {
      "field": "uses",
      "target": "0WM7DJCM6G"
    },
    {
      "field": "uses",
      "target": "054VXHMCA3"
    },
    {
      "field": "uses",
      "target": "0WB57D9488"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/21PKVV5S4Y.md",
  "msc": [
    "33B10"
  ],
  "name": "Proof of de Moivre's formula from Euler's formula",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/21P/21PKVV5S4Y.md",
  "status": null,
  "tag": "21PKVV5S4Y",
  "uri": "m2://21PKVV5S4Y",
  "url": "https://math2.tamnd.com/wiki/proof-of-de-moivres-formula-from-eulers-formula/",
  "writing": {
    "tag": "21PKVV5S4Y",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
