{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "04A2XEX4D4"
    }
  ],
  "body": "\n## Statement\n\nLet $U \\subseteq \\mathbb{R}^n$ be open, let $f \\colon U \\to \\mathbb{R}$, and let $c \\in \\mathbb{R}$.\nLet $I \\subseteq \\mathbb{R}$ be an open interval and let $\\gamma \\colon I \\to U$ be a curve that lies in the [[level set|0Y5Q8Q9WJ7]] $L_c(f)$, so that $f(\\gamma(t)) = c$ for each $t \\in I$.\nLet $t_0 \\in I$, and suppose that $\\gamma$ is differentiable at $t_0$ and $f$ is differentiable at $\\gamma(t_0)$.\nThen $\\nabla f(\\gamma(t_0)) \\cdot \\gamma'(t_0) = 0$.\n\n## Remarks\n\nThe proof is one step: $f \\circ \\gamma$ is constant, so its derivative is $0$, and by the [[chain rule for a curve|0A8TJ0VHC7]] that derivative is $\\nabla f(\\gamma(t_0)) \\cdot \\gamma'(t_0)$.\nSo the [[gradient|0NS2QYVC4Y]] is orthogonal to each tangent vector of the level set at the point. Let $\\nabla f \\ne 0$ and let $f$ be of class $C^1$. Then the level set near the point is a smooth hypersurface, and $\\nabla f$ is a normal vector to it.\nFor $f(x, y, z) = x^2 + y^2 + z^2$, the level set at $c = 1$ is the unit sphere, and $\\nabla f(p) = 2p$ is normal to the sphere at $p$.\n\n## Explanations\n\n### L1 human\n\nAlong a contour line the height does not change, so the slope along the line is $0$.\nThe gradient gives the slope in each direction by a dot product, so it must be at right angles to the contour line.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "26B12"
    ],
    "name": "Gradient is orthogonal to level sets",
    "role": "proposition",
    "sources": [
      {
        "locator": "Level sets",
        "url": "https://en.wikipedia.org/wiki/Gradient"
      },
      {
        "locator": "Level sets versus the gradient",
        "url": "https://en.wikipedia.org/wiki/Level_set"
      }
    ],
    "tag": "0VXYV3NQQ1",
    "uses": [
      "0NS2QYVC4Y",
      "0Y5Q8Q9WJ7",
      "0A8TJ0VHC7"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0VXYV3NQQ1/",
  "links": [
    {
      "field": "uses",
      "target": "0NS2QYVC4Y"
    },
    {
      "field": "uses",
      "target": "0Y5Q8Q9WJ7"
    },
    {
      "field": "uses",
      "target": "0A8TJ0VHC7"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0VXYV3NQQ1.md",
  "msc": [
    "26B12"
  ],
  "name": "Gradient is orthogonal to level sets",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0VX/0VXYV3NQQ1.md",
  "status": null,
  "tag": "0VXYV3NQQ1",
  "uri": "m2://0VXYV3NQQ1",
  "url": "https://math2.tamnd.com/wiki/gradient-is-orthogonal-to-level-sets/",
  "writing": {
    "tag": "0VXYV3NQQ1",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
