{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe add the exponential series of $iz$ and $-iz$.\n\n1. Fix $z \\in \\C$. The series $\\sum_{m \\ge 0} \\abs{z}^m / m!$ converges, since the series of the [[complex exponential|054VXHMCA3]] converges absolutely at $z$.\n2. The partial sums of $\\sum_{n \\ge 0} \\abs{z}^{2n}/(2n)!$ are at most $\\sum_{m \\ge 0} \\abs{z}^m / m!$, because they only omit nonnegative terms. A [[series of nonnegative terms with bounded partial sums converges|0MX1HZBBXJ]]. So $\\sum_{n \\ge 0} (-1)^n z^{2n}/(2n)!$ converges absolutely.\n3. By definition, $e^{iz} = \\sum_{m \\ge 0} (iz)^m/m!$ and $e^{-iz} = \\sum_{m \\ge 0} (-iz)^m/m!$. Both series converge.\n4. The sum of two convergent series converges to the sum of their sums. So $e^{iz} + e^{-iz} = \\sum_{m \\ge 0} c_m z^m / m!$ with $c_m = i^m + (-i)^m$.\n5. Since $(-i)^m = (-1)^m i^m$, we have $c_m = i^m (1 + (-1)^m)$. So $c_m = 0$ for odd $m$. For $m = 2n$, $c_m = 2 i^{2n} = 2(-1)^n$.\n6. Let $S_M$ be the partial sum of the series in step 4 up to $m = M$. By step 5, $S_{2N+1} = \\sum_{n=0}^{N} 2 (-1)^n z^{2n}/(2n)!$.\n7. The sequence $(S_M)$ converges to $e^{iz} + e^{-iz}$, so its subsequence $(S_{2N+1})$ has the same limit. Hence $\\sum_{n=0}^{\\infty} 2(-1)^n z^{2n}/(2n)! = e^{iz} + e^{-iz}$.\n8. Dividing by $2$ and using the definition of the [[complex cosine|0A7YDKRNR6]], $\\cos z = \\sum_{n=0}^{\\infty} (-1)^n z^{2n}/(2n)!$.\n\n## Idea\n\nIn $e^{iz} + e^{-iz}$ the odd powers of $z$ come with $i^m$ and $-i^m$, so they cancel. The even powers double, and $i^{2n} = (-1)^n$ gives the alternating signs.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "33B10"
    ],
    "name": "Proof of the power series of the complex cosine",
    "proves": "0Z1G2F8DGY",
    "sources": [
      {
        "locator": "Series and polynomials",
        "url": "https://en.wikipedia.org/wiki/Sine_and_cosine"
      }
    ],
    "tag": "FSRQ7E4TAF",
    "uses": [
      "0A7YDKRNR6",
      "054VXHMCA3",
      "0MX1HZBBXJ"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/FSRQ7E4TAF/",
  "links": [
    {
      "field": "proves",
      "target": "0Z1G2F8DGY"
    },
    {
      "field": "uses",
      "target": "0A7YDKRNR6"
    },
    {
      "field": "uses",
      "target": "054VXHMCA3"
    },
    {
      "field": "uses",
      "target": "0MX1HZBBXJ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/FSRQ7E4TAF.md",
  "msc": [
    "33B10"
  ],
  "name": "Proof of the power series of the complex cosine",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/FSR/FSRQ7E4TAF.md",
  "status": null,
  "tag": "FSRQ7E4TAF",
  "uri": "m2://FSRQ7E4TAF",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-power-series-of-the-complex-cosine/",
  "writing": {
    "tag": "FSRQ7E4TAF",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
