{
  "id": "greens-identities",
  "title": "Green's Identities",
  "lang": "en",
  "source_lang": "en",
  "summary": "Green's identities relate integrals of functions and their derivatives over a region to integrals over its boundary, underpinning potential theory and boundary-value methods.",
  "category": "mathematics",
  "subcategory": "analysis",
  "type": "concept",
  "aliases": [
    "Green identities",
    "Green's formulas"
  ],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/greens-identities/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/greens-identities/",
      "json": "https://aiwiki.page/zh/greens-identities.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "Green's identities are formulas in mathematical analysis that relate integrals involving scalar functions and their derivatives over a region to integrals over its boundary. They are multidimensional forms of integration by parts, obtained from the divergence theorem. The first and second identities are fundamental tools for studying the Laplace operator, while the third gives an integral representation of a function using a fundamental solution of that operator. Together, they underpin many results concerning boundary-value problems, potential theory, and partial differential equations."
    },
    {
      "heading": "Setting and notation",
      "text": "Let \\(\\Omega\\) be a bounded region in Euclidean space \\(\\mathbb{R}^n\\), with a sufficiently smooth boundary \\(\\partial\\Omega\\). Write \\(\\mathbf n\\) for the unit normal pointing outward from \\(\\Omega\\). For scalar functions \\(u\\) and \\(v\\), use the notation\n\n\\[\\nabla u = \\left( \\frac{\\partial u}{\\partial x_1},\\ldots, \\frac{\\partial u}{\\partial x_n} \\right), \\qquad \\Delta u = \\sum_{j=1}^{n}\\frac{\\partial^2u}{\\partial x_j^2},\\]\n\nwhere \\(\\nabla u\\) is the gradient and \\(\\Delta u\\) is the Laplacian. The outward normal derivative is\n\n\\[\\frac{\\partial u}{\\partial n} = \\nabla u\\cdot\\mathbf n.\\]\n\nVolume integration is denoted by \\(dx\\), and integration over the boundary by \\(dS\\). In three dimensions, the latter is a surface integral; in two dimensions, it is integration with respect to arc length.\n\nA convenient sufficient hypothesis for the classical formulas is that \\(\\partial\\Omega\\) is \\(C^1\\) and \\(u,v\\) extend to twice continuously differentiable functions on a neighborhood of \\(\\overline{\\Omega}\\). These assumptions are stronger than necessary: the identities also hold under suitable piecewise-smooth or weak regularity hypotheses."
    },
    {
      "heading": "Green's first identity",
      "text": "The first identity states that\n\n\\[\\boxed{ \\int_\\Omega \\left( \\nabla u\\cdot\\nabla v+u\\Delta v \\right)\\,dx = \\int_{\\partial\\Omega} u\\frac{\\partial v}{\\partial n}\\,dS. }\\]\n\nEquivalently,\n\n\\[\\int_\\Omega u\\Delta v\\,dx = -\\int_\\Omega \\nabla u\\cdot\\nabla v\\,dx + \\int_{\\partial\\Omega} u\\frac{\\partial v}{\\partial n}\\,dS.\\]\n\nThus, two derivatives acting on \\(v\\) can be replaced by one derivative on each function, together with a boundary term. This is the higher-dimensional counterpart of the one-variable formula\n\n\\[\\int_a^b u\\,v''\\,dx = [uv']_a^b-\\int_a^b u'v'\\,dx.\\]\n\nDerivation\n\nApply the divergence theorem to the vector field \\(u\\nabla v\\). The product rule gives\n\n\\[\\nabla\\cdot(u\\nabla v) = \\nabla u\\cdot\\nabla v+u\\Delta v.\\]\n\nConsequently,\n\n\\[\\int_\\Omega \\nabla\\cdot(u\\nabla v)\\,dx = \\int_{\\partial\\Omega} u\\nabla v\\cdot\\mathbf n\\,dS,\\]\n\nwhich is precisely the first identity.\n\nEnergy identity\n\nSetting \\(v=u\\) gives\n\n\\[\\int_\\Omega |\\nabla u|^2\\,dx = \\int_{\\partial\\Omega} u\\frac{\\partial u}{\\partial n}\\,dS - \\int_\\Omega u\\Delta u\\,dx.\\]\n\nThe nonnegative quantity\n\n\\[E[u]=\\frac12\\int_\\Omega |\\nabla u|^2\\,dx\\]\n\nis called the Dirichlet energy. Its importance comes partly from the fact that vanishing energy forces \\(\\nabla u=0\\); on a connected region, this makes \\(u\\) constant."
    },
    {
      "heading": "Green's second identity",
      "text": "Interchanging \\(u\\) and \\(v\\) in the first identity and subtracting cancels the gradient terms:\n\n\\[\\boxed{ \\int_\\Omega \\left(u\\Delta v-v\\Delta u\\right)\\,dx = \\int_{\\partial\\Omega} \\left( u\\frac{\\partial v}{\\partial n} - v\\frac{\\partial u}{\\partial n} \\right)\\,dS. }\\]\n\nThis is also obtained directly by applying the divergence theorem to\n\n\\[u\\nabla v-v\\nabla u.\\]\n\nThe second identity expresses the symmetry of the Laplacian up to a boundary contribution. If both functions vanish on the boundary, or if both have zero normal derivative there, the boundary contribution vanishes:\n\n\\[\\int_\\Omega u\\Delta v\\,dx = \\int_\\Omega v\\Delta u\\,dx.\\]\n\nThis relation is central to the treatment of the Laplacian as a self-adjoint operator. Establishing self-adjointness requires specifying an operator domain as well as boundary conditions; the formal integral identity alone is not sufficient.\n\nFor complex-valued functions, the form appropriate to the usual complex inner product is\n\n\\[\\int_\\Omega \\left( \\overline u\\,\\Delta v-v\\Delta\\overline u \\right)\\,dx = \\int_{\\partial\\Omega} \\left( \\overline u\\,\\frac{\\partial v}{\\partial n} - v\\frac{\\partial\\overline u}{\\partial n} \\right)\\,dS.\\]"
    },
    {
      "heading": "Green's third identity",
      "text": "The third identity represents a function by its Laplacian in the interior and its values and normal derivatives on the boundary.\n\nFor \\(n\\geq 2\\), let \\(\\Gamma\\) be a fundamental solution of the negative Laplacian, so that\n\n\\[-\\Delta\\Gamma=\\delta_0\\]\n\nin the sense of distributions. A standard choice is\n\n\\[\\Gamma(z)= \\begin{cases} -\\dfrac{1}{2\\pi}\\log|z|, & n=2,\\\\[6pt] \\dfrac{1}{(n-2)\\sigma_{n-1}}|z|^{2-n}, & n\\geq 3, \\end{cases}\\]\n\nwhere \\(\\sigma_{n-1}\\) is the surface area of the unit sphere in \\(\\mathbb R^n\\). In particular, in three dimensions,\n\n\\[\\Gamma(z)=\\frac{1}{4\\pi|z|}.\\]\n\nFor \\(x\\in\\Omega\\), Green's third identity is\n\n\\[\\boxed{ \\begin{aligned} u(x) ={}& -\\int_\\Omega \\Gamma(x-y)\\Delta u(y)\\,dy\\\\ &+ \\int_{\\partial\\Omega} \\left[ \\Gamma(x-y)\\frac{\\partial u}{\\partial n_y}(y) - u(y)\\frac{\\partial\\Gamma(x-y)}{\\partial n_y} \\right]\\,dS_y. \\end{aligned} }\\]\n\nThe subscript \\(y\\) indicates that differentiation is with respect to the integration variable, using the outward normal at \\(y\\).\n\nIf \\(u\\) is a harmonic function, meaning \\(\\Delta u=0\\), the volume term disappears:\n\n\\[u(x)= \\int_{\\partial\\Omega} \\left[ \\Gamma(x-y)\\frac{\\partial u}{\\partial n_y}(y) - u(y)\\frac{\\partial\\Gamma(x-y)}{\\partial n_y} \\right]\\,dS_y.\\]\n\nThus, a harmonic function in the interior has a representation entirely in terms of boundary data.\n\nThe singularity and sign convention\n\nBecause \\(\\Gamma(x-y)\\) is singular at \\(y=x\\), it cannot simply be substituted into the classical second identity on all of \\(\\Omega\\). A standard derivation removes a small ball around \\(x\\), applies the second identity on the remaining region, and lets the ball's radius tend to zero. The inner boundary contribution produces \\(u(x)\\).\n\nSome texts instead choose a fundamental solution satisfying \\(\\Delta\\Phi=\\delta_0\\). Then \\(\\Phi=-\\Gamma\\), and the representation formula has correspondingly different signs. The operator convention and normal orientation must therefore be checked when comparing formulas."
    },
    {
      "heading": "Boundary-value problems and consequences",
      "text": "Uniqueness for the Dirichlet problem\n\nSuppose \\(u_1\\) and \\(u_2\\) solve Laplace's equation in a bounded region and have the same boundary values. Their difference \\(w=u_1-u_2\\) satisfies\n\n\\[\\Delta w=0, \\qquad w|_{\\partial\\Omega}=0.\\]\n\nThe first identity gives\n\n\\[\\int_\\Omega|\\nabla w|^2\\,dx=0.\\]\n\nHence \\(w\\) is constant on each connected component, and the boundary condition forces it to vanish. The same argument proves uniqueness for Poisson's equation when the source term and boundary values are prescribed.\n\nThe Neumann problem\n\nFor a connected region, two harmonic functions with the same prescribed normal derivative differ by a constant. Their difference again has zero Dirichlet energy, but the normal-derivative condition does not fix its additive constant.\n\nMoreover, if\n\n\\[-\\Delta u=f \\quad\\text{in }\\Omega, \\qquad \\frac{\\partial u}{\\partial n}=g \\quad\\text{on }\\partial\\Omega,\\]\n\nthe divergence theorem requires the compatibility condition\n\n\\[\\int_\\Omega f\\,dx + \\int_{\\partial\\Omega}g\\,dS=0.\\]\n\nThis expresses the balance between the interior source and the boundary flux.\n\nOrthogonality of eigenfunctions\n\nSuppose\n\n\\[-\\Delta u=\\lambda u, \\qquad -\\Delta v=\\mu v,\\]\n\nwith homogeneous boundary conditions that make the boundary term in the second identity vanish. For real-valued functions,\n\n\\[(\\lambda-\\mu)\\int_\\Omega uv\\,dx=0.\\]\n\nThus, eigenfunctions corresponding to distinct eigenvalues are orthogonal in the \\(L^2\\) inner product. This is a basic ingredient in eigenfunction expansions for equations such as the heat equation."
    },
    {
      "heading": "Green's functions and boundary representations",
      "text": "A domain-specific Green's function modifies the free-space fundamental solution to incorporate a boundary condition. For example, a Dirichlet Green's function satisfies\n\n\\[-\\Delta_yG(x,y)=\\delta_x(y), \\qquad G(x,y)=0 \\quad\\text{for }y\\in\\partial\\Omega.\\]\n\nFor a solution of \\(-\\Delta u=f\\), the representation becomes\n\n\\[u(x) = \\int_\\Omega G(x,y)f(y)\\,dy - \\int_{\\partial\\Omega} u(y)\\frac{\\partial G}{\\partial n_y}(x,y)\\,dS_y.\\]\n\nUnlike the free-space representation, this formula requires only the prescribed boundary values, rather than both boundary values and normal derivatives.\n\nThe boundary terms in the third identity also lead to single-layer and double-layer potentials. Taking limits toward the boundary yields integral equations used in boundary-element methods. Such limits require care: the interior representation cannot generally be evaluated at a boundary point by direct substitution, because layer potentials have specific jump relations."
    },
    {
      "heading": "Weak formulations and numerical methods",
      "text": "Green's first identity provides a natural route from a differential equation to a weak formulation. For example, multiplying\n\n\\[-\\Delta u=f\\]\n\nby a test function \\(v\\) that vanishes on the boundary gives\n\n\\[\\int_\\Omega\\nabla u\\cdot\\nabla v\\,dx = \\int_\\Omega fv\\,dx.\\]\n\nOnly first derivatives appear in this formulation. It therefore remains meaningful for functions in an appropriate Sobolev space, even when classical second derivatives do not exist. This is the foundation of many applications of the finite element method.\n\nOn a bounded Lipschitz domain, if \\(u\\in H^1(\\Omega)\\) and \\(\\Delta u\\in L^2(\\Omega)\\), the normal derivative can be defined weakly through Green's formula. Boundary integration is then interpreted as a duality pairing between a generalized normal derivative and the trace of a test function, rather than necessarily as an ordinary integral."
    },
    {
      "heading": "Historical context and related formulas",
      "text": "The identities are named after George Green, whose 1828 work An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism developed integral methods for potential problems.\n\nThey should be distinguished from Green's theorem in the plane, which relates a line integral around a closed curve to a double integral over the enclosed region. Both belong to the broader family of relations connecting interior derivatives with boundary integrals, but Green's identities specifically concern scalar functions, their gradients, and the Laplacian."
    }
  ],
  "links": [
    "mathematical-analysis",
    "integration-by-parts",
    "divergence-theorem",
    "laplace-operator",
    "boundary-value-problem",
    "partial-differential-equation",
    "euclidean-space",
    "gradient",
    "vector-field",
    "self-adjoint-operator",
    "inner-product",
    "harmonic-function",
    "laplace-equation",
    "poisson-equation",
    "eigenvalues-and-eigenvectors",
    "heat-equation",
    "greens-function",
    "weak-solution",
    "sobolev-space",
    "finite-element-method",
    "greens-theorem"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}