{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\n1. By the [[definition of cosine|0WB57D9488]], $\\cos x = \\sum_{m=0}^{\\infty} d_m x^m$, where $d_{2n} = \\frac{(-1)^n}{(2n)!}$ and $d_{2n+1} = 0$ for $n \\ge 0$. Here $k!$ is the [[factorial|0WFCGVMRRC]].\n2. Let $r \u003e 0$, and let $t_n = \\frac{r^{2n}}{(2n)!} \u003e 0$. Then $\\frac{t_{n+1}}{t_n} = \\frac{r^2}{(2n+1)(2n+2)} \\to 0$.\n3. By the [[ratio test|0QNY6ZBXPN]], $\\sum_n t_n$ converges. The series $\\sum_m \\abs{d_m} r^m$ is this series with zero terms inserted, so it converges too.\n4. By the [[term test|0VVY4H92G2]], $\\abs{d_m} r^m \\to 0$. So the sequence $(\\abs{d_m} r^m)$ is [[bounded|0S4JF619V7]].\n5. This holds for every $r \u003e 0$. By the [[definition of the radius of convergence|0660QX1VPR]], the radius of convergence of the cosine series is $\\infty$.\n6. By [[term-by-term differentiation|002X7EK91H]], $\\cos$ is differentiable on $\\mathbb{R}$, and $\\cos'(x) = \\sum_{m=1}^{\\infty} m d_m x^{m-1}$.\n7. The terms with odd $m$ vanish. For $m = 2n$ with $n \\ge 1$, the term is $2n \\frac{(-1)^n}{(2n)!} x^{2n-1} = \\frac{(-1)^n x^{2n-1}}{(2n-1)!}$.\n8. Put $k = n - 1 \\ge 0$. The term becomes $-\\frac{(-1)^k x^{2k+1}}{(2k+1)!}$.\n9. Removing the zero terms does not change the sum. So $\\cos'(x) = -\\sum_{k=0}^{\\infty} \\frac{(-1)^k x^{2k+1}}{(2k+1)!}$.\n10. By the definition of sine, this is $-\\sin x$. So $\\cos'(x) = -\\sin x$ for every real $x$.\n\n## Idea\n\nCosine is defined by a power series that converges everywhere, so it can be differentiated term by term. The constant term disappears, and each later term $\\frac{(-1)^n x^{2n}}{(2n)!}$ turns into a term of the sine series with the opposite sign.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "33B10",
      "26A24"
    ],
    "name": "Proof of the derivative of cosine by term-by-term differentiation",
    "proves": "0V2DV29EGT",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Derivative_of_Cosine_Function"
      }
    ],
    "tag": "1X2HXGF2QJ",
    "uses": [
      "0WB57D9488",
      "0QNY6ZBXPN",
      "0VVY4H92G2",
      "0S4JF619V7",
      "0660QX1VPR",
      "002X7EK91H",
      "0WFCGVMRRC"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/1X2HXGF2QJ/",
  "links": [
    {
      "field": "proves",
      "target": "0V2DV29EGT"
    },
    {
      "field": "uses",
      "target": "0WB57D9488"
    },
    {
      "field": "uses",
      "target": "0QNY6ZBXPN"
    },
    {
      "field": "uses",
      "target": "0VVY4H92G2"
    },
    {
      "field": "uses",
      "target": "0S4JF619V7"
    },
    {
      "field": "uses",
      "target": "0660QX1VPR"
    },
    {
      "field": "uses",
      "target": "002X7EK91H"
    },
    {
      "field": "uses",
      "target": "0WFCGVMRRC"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/1X2HXGF2QJ.md",
  "msc": [
    "33B10",
    "26A24"
  ],
  "name": "Proof of the derivative of cosine by term-by-term differentiation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/1X2/1X2HXGF2QJ.md",
  "status": null,
  "tag": "1X2HXGF2QJ",
  "uri": "m2://1X2HXGF2QJ",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-derivative-of-cosine-by-term-by-term-differentiation/",
  "writing": {
    "tag": "1X2HXGF2QJ",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
