{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $U \\subseteq \\R^n$ be open, and let\n$$L u = \\sum_{i,j=1}^{n} a_{ij}(x) \\, \\partial_i \\partial_j u + \\sum_{i=1}^{n} b_i(x) \\, \\partial_i u$$\nhave bounded coefficients on $U$, with $a_{ij} = a_{ji}$ and $\\sum_{i,j} a_{ij}(x) \\xi_i \\xi_j \\ge \\theta \\abs{\\xi}^2$ for some $\\theta \u003e 0$ and all $x \\in U$, $\\xi \\in \\R^n$.\nLet $x_0 \\in \\partial U$, and assume the interior ball condition at $x_0$: there is an open ball $B \\subseteq U$ with $x_0 \\in \\partial B$.\nLet $\\nu$ be the outer unit normal of $B$ at $x_0$.\nLet $u$ be twice continuously differentiable on $U$ and continuous at $x_0$ on $U \\cup \\set{x_0}$, with $L u \\ge 0$ in $U$ and $u(x) \u003c u(x_0)$ for all $x \\in U$.\nIf the one-sided derivative $\\frac{\\partial u}{\\partial \\nu}(x_0) = \\lim_{t \\to 0^+} \\frac{u(x_0) - u(x_0 - t \\nu)}{t}$ exists, then\n$$\\frac{\\partial u}{\\partial \\nu}(x_0) \u003e 0.$$\n\n## Remarks\n\nProof idea: let $B$ have centre $y$ and radius $R$, and set $v(x) = e^{-\\lambda \\abs{x - y}^2} - e^{-\\lambda R^2}$.\nFor $\\lambda$ large, $L v \u003e 0$ on the annulus $A = \\set{R/2 \u003c \\abs{x - y} \u003c R}$, and $v = 0$ on the outer sphere.\nFor small $\\varepsilon \u003e 0$, the function $u - u(x_0) + \\varepsilon v$ satisfies $L(\\cdot) \\ge 0$ in $A$ and is at most $0$ on $\\partial A$, so it is at most $0$ in $A$ by the weak [[maximum principle|D2JF19HF91]].\nAt $x_0$ this gives $\\frac{\\partial u}{\\partial \\nu}(x_0) \\ge -\\varepsilon \\frac{\\partial v}{\\partial \\nu}(x_0) = 2 \\varepsilon \\lambda R e^{-\\lambda R^2} \u003e 0$.\n\nThe interior ball condition is needed.\nLet $U$ be the part of the unit disc in the first quadrant, $x_0 = 0$ and $u(x, y) = -xy$.\nThen $\\Delta u = 0$ and $u \u003c 0 = u(x_0)$ in $U$, but $\\nabla u(0) = 0$, so every directional derivative at $0$ vanishes.\nAt the corner $0$ there is no ball inside $U$ touching $0$.\n\n## Explanations\n\n### L1 human\n\nAt a boundary point where a solution of an elliptic equation reaches a strict maximum, the solution cannot approach that value flatly.\nIt must rise towards the boundary with a strictly positive slope in the normal direction.\nFor a temperature in equilibrium, the hottest boundary point actually sends heat into the region.\n\n### L2 human\n\nThe Hopf lemma is the step that turns the weak maximum principle into the strong one.\nIf an interior maximum occurred, one would find a small ball touching the set where the maximum is attained.\nThe lemma would then give a nonzero gradient at a maximum point, which is impossible.\nIt also gives uniqueness up to constants for the Neumann problem, and it is a basic tool in the moving plane method for proving symmetry of solutions.\nThe smoothness of the boundary in the form of the interior ball condition holds, for example, for every bounded open set with $C^2$ boundary.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "XY8GEQSWPR"
    ],
    "kind": "statement",
    "msc": [
      "35B50",
      "35J15"
    ],
    "name": "Hopf lemma",
    "role": "lemma",
    "same_as": {
      "wikidata": "Q17027555",
      "wikipedia": "Hopf lemma"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hopf_lemma"
      }
    ],
    "tag": "FPWKGFZE6Q",
    "uses": [
      "D2JF19HF91",
      "XY8GEQSWPR"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/FPWKGFZE6Q/",
  "links": [
    {
      "field": "about",
      "target": "XY8GEQSWPR"
    },
    {
      "field": "uses",
      "target": "D2JF19HF91"
    },
    {
      "field": "uses",
      "target": "XY8GEQSWPR"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/FPWKGFZE6Q.md",
  "msc": [
    "35B50",
    "35J15"
  ],
  "name": "Hopf lemma",
  "prov": null,
  "role": "lemma",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/FPW/FPWKGFZE6Q.md",
  "status": null,
  "tag": "FPWKGFZE6Q",
  "uri": "m2://FPWKGFZE6Q",
  "url": "https://tamnd.github.io/math2/wiki/hopf-lemma/",
  "writing": {
    "tag": "FPWKGFZE6Q",
    "kind": "statement",
    "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
      }
    ]
  }
}
