{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $d \\ge 1$ and let $e_1, \\dots, e_d$ be the standard unit vectors of $\\Z^d$.\nThe *discrete Laplace operator* sends a [[function|0EPAT51DXQ]] $u \\colon \\Z^d \\to \\R$ to the function $\\Delta u \\colon \\Z^d \\to \\R$ given by\n$$(\\Delta u)(m) = \\sum_{i=1}^{d} \\big( u(m + e_i) - 2u(m) + u(m - e_i) \\big) = \\sum_{\\abs{m' - m} = 1} \\big( u(m') - u(m) \\big).$$\nMore generally, let a graph have vertex set $V$, and let every vertex have finitely many neighbours.\nThen the operator sends $u \\colon V \\to \\R$ to\n$$(\\Delta u)(v) = \\sum_{w \\sim v} \\big( u(w) - u(v) \\big), \\qquad v \\in V,$$\nwhere $w \\sim v$ means that $w$ and $v$ are joined by an edge.\n\n## Remarks\n\nExample: on $\\Z^2$, the function $u(m, n) = m^2 + n^2$ has $(\\Delta u)(m, n) = 2 + 2 = 4$ everywhere, matching $\\Delta(x^2 + y^2) = 4$ in the plane.\nThe function $u(m, n) = mn$ has $\\Delta u = 0$, so it is *discrete harmonic*.\n\nNon-example of a discrete harmonic function: $u(m) = 2^m$ on $\\Z$ has $(\\Delta u)(m) = 2^{m+1} - 2^{m+1} + 2^{m-1} = 2^{m-1} \\ne 0$.\n\nOn a grid of mesh $h \u003e 0$ one uses $h^{-2} \\Delta$, which tends to the Laplacian of $u$ as $h \\to 0$ when $u$ is a smooth function sampled on the grid.\nOn a finite graph with [[Laplacian matrix|TN6M6DVZRP]] $L = D - A$, one has $\\Delta u = -L u$ when $u$ is written as a column vector.\nSome authors use the opposite sign or divide by the degree.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "ZN30Y1ZDB6",
    "kind": "definition",
    "msc": [
      "39A12",
      "39A14",
      "05C50"
    ],
    "name": "Discrete Laplace operator",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Discrete_Laplace_operator"
      }
    ],
    "tag": "TC6Y42YGQF",
    "uses": [
      "0EPAT51DXQ",
      "TN6M6DVZRP"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/TC6Y42YGQF/",
  "links": [
    {
      "field": "defines",
      "target": "ZN30Y1ZDB6"
    },
    {
      "field": "uses",
      "target": "0EPAT51DXQ"
    },
    {
      "field": "uses",
      "target": "TN6M6DVZRP"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/TC6Y42YGQF.md",
  "msc": [
    "39A12",
    "39A14",
    "05C50"
  ],
  "name": "Discrete Laplace operator",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TC6/TC6Y42YGQF.md",
  "status": null,
  "tag": "TC6Y42YGQF",
  "uri": "m2://TC6Y42YGQF",
  "url": "https://tamnd.github.io/math2/wiki/discrete-laplace-operator-definition/",
  "writing": {
    "tag": "TC6Y42YGQF",
    "kind": "definition",
    "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
      }
    ]
  }
}
