{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe identify the derivative of a [[curve|0G7WM8DX4P]] with a linear map on $\\mathbb{R}$, and we apply the chain rule.\n\n1. Let $I$, $U$, $\\gamma$, $f$ and $t_0$ be as in the statement. The interval $I$ is an open subset of $\\mathbb{R} = \\mathbb{R}^1$.\n2. Let $\\sigma \\colon I \\to \\mathbb{R}^p$ be any map, let $t \\in I$, and let $c \\in \\mathbb{R}^p$. For real $s \\ne 0$ with $t + s \\in I$,\n$$\\frac{\\|\\sigma(t + s) - \\sigma(t) - s c\\|}{|s|} = \\left\\| \\frac{\\sigma(t + s) - \\sigma(t)}{s} - c \\right\\|.$$\n3. By step 2, $\\sigma'(t)$ exists and equals $c$ if and only if $\\sigma$ is [[differentiable|0135XZZQ8M]] at $t$ with $D\\sigma(t)(s) = s c$ for $s \\in \\mathbb{R}$. The maps $s \\mapsto s c$ are exactly the linear maps $\\mathbb{R} \\to \\mathbb{R}^p$.\n4. By step 3 with $\\sigma = \\gamma$, the curve $\\gamma$ is differentiable at $t_0$ with $D\\gamma(t_0)(s) = s \\, \\gamma'(t_0)$.\n5. The map $\\gamma$ goes from the open set $I \\subseteq \\mathbb{R}$ into $U$, and $f$ is differentiable at $\\gamma(t_0)$. By the [[chain rule in several variables|0EAAS2EHDR]] with $n = 1$, $f \\circ \\gamma$ is differentiable at $t_0$.\n6. The chain rule also gives, for $s \\in \\mathbb{R}$, $D(f \\circ \\gamma)(t_0)(s) = Df(\\gamma(t_0))\\big(s \\, \\gamma'(t_0)\\big) = s \\, Df(\\gamma(t_0))\\big(\\gamma'(t_0)\\big)$. The last equality holds since $Df(\\gamma(t_0))$ is linear.\n7. By step 3 with $\\sigma = f \\circ \\gamma$ and $c = Df(\\gamma(t_0))(\\gamma'(t_0))$, the derivative $(f \\circ \\gamma)'(t_0)$ exists and equals $Df(\\gamma(t_0))\\big(\\gamma'(t_0)\\big)$.\n\n## Idea\n\nA curve has a velocity vector $\\gamma'(t_0)$, and this is the same as a linear map $s \\mapsto s \\gamma'(t_0)$ from $\\mathbb{R}$. With this dictionary, the result is the general chain rule with one input variable. Feeding the velocity into $Df$ gives the rate of change of $f$ along the curve.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "26B05"
    ],
    "name": "Proof of the chain rule for a composition with a curve",
    "proves": "0A8TJ0VHC7",
    "sources": [
      {
        "locator": "Section 8.3.3",
        "url": "https://www.jirka.org/ra/realanal2.pdf"
      }
    ],
    "tag": "EE55ZCANP6",
    "uses": [
      "0EAAS2EHDR",
      "0135XZZQ8M",
      "0G7WM8DX4P"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/EE55ZCANP6/",
  "links": [
    {
      "field": "proves",
      "target": "0A8TJ0VHC7"
    },
    {
      "field": "uses",
      "target": "0EAAS2EHDR"
    },
    {
      "field": "uses",
      "target": "0135XZZQ8M"
    },
    {
      "field": "uses",
      "target": "0G7WM8DX4P"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/EE55ZCANP6.md",
  "msc": [
    "26B05"
  ],
  "name": "Proof of the chain rule for a composition with a curve",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/EE5/EE55ZCANP6.md",
  "status": null,
  "tag": "EE55ZCANP6",
  "uri": "m2://EE55ZCANP6",
  "url": "https://math2.tamnd.com/wiki/proof-of-the-chain-rule-for-a-composition-with-a-curve/",
  "writing": {
    "tag": "EE55ZCANP6",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
