Green's Identities
Green's identities are what integration by parts becomes in three dimensions. In one dimension, trades a derivative on for a derivative on plus a boundary term. Green's first identity does exactly this for the Laplacian over a volume, the boundary term becoming a surface flux of the normal derivative; Green's second identity is the antisymmetric form that makes self-adjoint, the structural fact on which spectral theory, uniqueness, and the machinery of Green's functions rest. Everything here descends from one geometric input — the divergence (Gauss) theorem — applied to and expanded with the product rule; the rest is algebra and clever choices of the two scalars. The physical payoff is reconstruction. Substitute the free-space kernel for one scalar and Green's second identity turns into the integral representation of potential theory: the value of a field at any interior point is fixed by its sources inside plus its behaviour on the boundary — Huygens' principle wearing a mathematician's clothes, the starting point for boundary-element methods, image charges, and the multipole expansion. And the same identities, taken with the two scalars equal, prove that a Laplace or Poisson boundary-value problem has exactly one solution: a potential is determined by its sources and boundary data and nothing else. Green's identities are therefore not a computational trick but the backbone of elliptic partial-differential-equation theory in physics.
- Green's first identity, , is the divergence theorem applied to the vector field .
- Green's second identity, , is the first identity antisymmetrised in , and it encodes the self-adjointness of the Laplacian.
- Choosing turns the second identity into an integral representation of any solution of Poisson's equation in terms of interior sources and boundary data (Green's third identity).
- Setting in the first identity gives the Dirichlet energy , which proves uniqueness for the Dirichlet and Neumann problems and the mean-value property of harmonic functions.
- Validity needs and a piecewise-smooth, outward-oriented closed surface ; a singularity must be excised with a small sphere and handled as a limit.
- Key idea: apply the divergence theorem to ; the product rule splits it into a symmetric gradient term and a boundary flux, and antisymmetrising in the two scalars kills the gradient term and exposes the self-adjointness of the Laplacian.
Apply the divergence theorem to ; the product rule splits the result into a symmetric gradient term and a boundary flux. Antisymmetrising in the two scalars eliminates the gradient term and exposes the self-adjointness of the Laplacian.
Where this lives today
Green's identities are still the working core of numerical field solvers. The boundary element method (BEM) is Green's third identity turned into an algorithm: because equation (5) recasts a three-dimensional partial differential equation as an integral equation over the two-dimensional boundary alone, engineers discretise only the surface, slashing the dimensionality of the problem. This is the method of choice for exterior radiation and scattering — antenna design, underwater acoustics, ship hydrodynamics (panel methods), and the electrostatics of proteins in solution, where the domain is unbounded and volume meshing is hopeless. And the self-adjointness that Green's second identity certifies guarantees that the Laplacian's eigenvalues are real and its eigenfunctions orthogonal — the license for every normal-mode expansion, from the vibrations of a drumhead to the spherical-harmonic multipoles of the cosmic microwave background. Two hundred years on, a miller's pamphlet is still the reason these computations are well posed.
The physical picture
Green's first identity is bookkeeping about where second derivatives go. The Laplacian is a "total curvature" density; the identity moves one derivative off onto , producing the symmetric gradient product , and dumps the leftover onto the boundary as a flux . Integrate over a region and the accounting is exact: the interior curvature-plus-gradient content equals the net normal gradient escaping through the closed surface, weighted by . The first figure makes that balance one picture.
The second identity is what makes the Laplacian behave like a symmetric matrix. For a symmetric matrix, ; here the analogue is whenever the boundary terms cancel — precisely the condition that is self-adjoint, and hence has real eigenvalues and orthogonal eigenfunctions. The deepest consequence is reconstruction: a harmonic function's value at the centre of any ball equals the average over the surrounding sphere, and more generally the interior field is recovered from sources plus boundary data. The second figure shows this mean-value property with real numbers.
The core equations
The first identity is the divergence theorem applied to and expanded with the product rule. It is the master relation; every other equation on this page is a special case or a re-labelling of it.
where: — twice-differentiable scalar fields on ; — bounded volume in with piecewise-smooth boundary; — closed boundary surface, outward oriented; — outward normal derivative; — Laplacian. Read it as: interior curvature plus gradient overlap equals boundary flux. Antisymmetrising equation (1) — writing it again with and interchanged and subtracting — cancels the symmetric cross term and leaves the identity that carries the self-adjointness of the Laplacian.
where: — both scalar fields on ; — outward-oriented boundary of . When the boundary integral vanishes, the volume integrals of and are equal — the statement that is symmetric. Both identities rest on a single line of vector calculus, the product rule for the divergence of a scalar times a gradient — every sign and cross term traces back to it.
where: — inner product of the two gradients, the symmetric "energy density" that survives in Green I and cancels in Green II; setting makes it the non-negative . Putting in the first identity, with harmonic, gives the Dirichlet energy identity — the workhorse behind every uniqueness proof, because its left side is a non-negative integrand.
where: — squared gradient magnitude, an energy density that vanishes pointwise only if is constant. If the right side is zero (homogeneous Dirichlet or Neumann data), then . Feeding the free-space kernel into the second identity and excising its singularity produces Green's third identity — the integral representation that reconstructs the field from sources and boundary data.
where: — interior field point where is evaluated; — integration variable over and ; — free-space Green's function kernel (satisfying ). With the volume term is the Coulomb potential of the sources. Taking harmonic and the surface a sphere of radius centred at the field point collapses equation (5) to the mean-value property: a harmonic function equals its own spherical average.
where: — centre of a ball lying in the harmonic region; — sphere radius; — the sphere's area, so the right side is a genuine average. This implies the maximum principle: a non-constant harmonic function has no interior extremum. Applied instead to two harmonic functions, the second identity gives Green's reciprocity, .
The goal is to manufacture both identities from a single geometric fact — the divergence theorem — by making one shrewd choice of vector field and one product-rule expansion, then obtaining the second identity for free by exploiting the symmetry of the cross term. Nothing beyond Gauss's theorem and the ordinary product rule enters, which is why the identities are so robust across coordinate systems and domain shapes.
Step 1. Choose the vector field , a scalar times the gradient of a second scalar. Why: this is the combination whose divergence contains the Laplacian alongside a symmetric gradient product — the field that converts a volume Laplacian into a surface flux.
Step 2. Apply the divergence theorem verbatim: , and use so the right side becomes . Why: Gauss's theorem trades the volume integral for a surface one, and the outward normal turns into the scalar normal derivative.
Step 3. Expand the integrand with the product rule and substitute, giving Green's first identity, equation (1). Why: the product rule splits the divergence into the interior curvature term and the symmetric gradient term — the "one derivative shifted from ψ to φ" structure that is the identity's whole content.
Step 4. Write equation (1) again with and interchanged, then subtract. The cross term is symmetric, , so it cancels, leaving , Green's second identity, equation (2). Why: antisymmetrising annihilates the symmetric energy term, leaving the combination that expresses the Laplacian's self-adjointness. *Verified: reproduces Green I and II as in Arfken-Weber §3.9 and Riley-Hobson-Bence §11.5; the product rule is checked componentwise.*
Go deeper · Derivation B · 1 minThe integral representation and the excised singularity
The aim is to turn the second identity into a formula that recovers at an interior point from its sources and boundary data by choosing with . The obstacle is that this kernel is not at : its Laplacian is the singular distribution , so the divergence theorem cannot be applied naively. The fix is to excise a tiny sphere of radius around and take .
Step 1. Set and apply the second identity on , whose boundary is the outer surface plus the inner sphere . Inside there is no singularity, so and the left side reduces to . Why: removing the source point makes the kernel harmonic in the working region, collapsing the volume term to the single piece involving .
Step 2. On the outward normal of points toward , i.e. along , so , and . Why: the growth of the kernel's normal derivative exactly cancels the area shrinkage, leaving a finite residue that samples at the excised point — this is where the field value is born.
Step 3. The companion small-sphere term is negligible: . Why: the kernel grows only as against an area, so the term vanishes.
Step 4. Collect the pieces and let , so : . Solving for gives equation (5). Why: rearranging isolates the interior value as a boundary integral plus a source integral — the reconstruction theorem, and with precisely the electrostatic potential. *Verified: reproduces Jackson Eq. (1.36); consistent with and the small-sphere residue .*
Go deeper · Derivation C · 1 minUniqueness of the Dirichlet problem
The goal is to prove that a solution of Poisson's equation with prescribed boundary values is unique, using nothing but the first identity with the two scalars set equal. The strategy is standard and powerful: assume two solutions, form their difference, show the difference solves the homogeneous problem, and let the non-negativity of the Dirichlet energy force it to vanish. The same skeleton handles the Neumann problem, where uniqueness holds up to an additive constant.
Step 1. Suppose and both satisfy in with on , and set . Then in and on . Why: subtracting two solutions cancels the source and boundary data, leaving a clean homogeneous problem for .
Step 2. Apply the first identity with : . Why: equating the scalars turns the cross term into the non-negative , the quantity we can control.
Step 3. The term vanishes because is harmonic, and the surface integral vanishes because on , leaving . Why: harmonicity kills the volume source and on kills the boundary flux, leaving one non-negative integral set to zero.
Step 4. A non-negative integrand with zero integral must vanish pointwise, so , hence is constant; the condition on fixes that constant to zero, giving . Why: this is the whole uniqueness statement. For Neumann data the surface term also vanishes, but no boundary value pins the constant, so Neumann uniqueness holds only up to an additive constant. *Verified: standard result matching Jackson §1.9 and Riley-Hobson-Bence §11.5; the Neumann corollary (uniqueness up to a constant) follows identically.*
Limiting cases
Special choices of , , or the domain collapse the identities into familiar theorems, which is a good way to check that the general statement is right.
| Case | Result | Meaning |
|---|---|---|
| Harmonic , | The net normal-gradient flux of a harmonic function through any closed surface vanishes — Gauss's law with no enclosed source. | |
| Both harmonic (second identity) | Green's reciprocity: a symmetric relation between two source-free potentials and their boundary data. | |
| (first identity) | Dirichlet energy identity; with harmonic and homogeneous data it forces , proving uniqueness. | |
| (free-space Green's function) | The kernel sifts out the field value at ; the second identity becomes the integral representation (5). |
Worked examples
1 · The mean-value property, checked on two harmonic functions (confidence builder)
Verify equation (6) directly for (a) the affine field and (b) the quadratic field , each averaged over a sphere of radius .
Step 1. Confirm both are harmonic. For the affine field every second derivative is zero, so . For the quadratic field and , so . Both are harmonic, so the mean-value property must hold.
Step 2. Affine field about . The centre value is . On the sphere of radius , antipodal pairs average to the centre because a linear function's deviations are odd: top/bottom and give and , mean ; left/right and give and , mean . The whole-surface average is the same, so .
Step 3. Quadratic field about the origin. By symmetry and their sum is , so each equals . Then , matching . The centre value 0 equals the spherical average 0. In both cases the interior value is reproduced exactly by the boundary average, and since this holds for every sphere in the region, a non-constant harmonic function can have no interior maximum — the maximum principle.
2 · The Dirichlet energy identity on a spherical shell (fully worked)
Take , which is harmonic away from the origin, on the shell between spheres and . Verify equation (4): .
Step 1. Compute the volume integral. With , so . Using the shell volume element ,
Step 2. Compute the boundary integral on the outer sphere . Here the outward normal is , so , and . The contribution is .
Step 3. Compute the boundary integral on the inner sphere . The shell's outward normal here points toward the origin, i.e. , so , and . The contribution is .
Step 4. Add the two faces: , which equals the volume integral from Step 1. Both sides equal , confirming the identity — and it worked only because the inner face used the correct inward-pointing outward normal; using there would have given and a spurious mismatch, exactly the sign discipline the warning box is about.
Physics of the portrait
Green's identities carry the name of a self-taught English miller who published them in a pamphlet almost nobody read — yet they now underlie potential theory, electrostatics, and the modern theory of partial differential equations.
Origins · 1 minGeorge Green and how this was discovered
George Green was born in Nottingham, the son of a baker who built a windmill; Green worked the mill and had barely a year of formal schooling. Teaching himself higher mathematics from library books, he published in 1828, at his own expense, "An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism." In it he introduced the term "potential" for the function whose gradient is the force, proved the identities that bear his name, and constructed what he called a function (now the Green's function) for solving boundary-value problems. The Essay attracted only fifty-one subscribers and sank almost without trace. Green entered Cambridge as an undergraduate in 1833 at the age of forty, graduated fourth in his class, and died in 1841. It was William Thomson (Lord Kelvin) who, in 1845, stumbled on the forgotten Essay, grasped its depth, and had it reprinted — after which Green's identities, functions, and theorem became foundational to electromagnetism and mathematical physics. Green never knew his work would organize an entire field; the mill he worked still stands in Nottingham.
Going further
Texts. Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., §3.9 (Green's theorem and identities) · Hassani, Mathematical Physics, 2nd ed., Ch. 21 (Green's functions in one dimension) and Ch. 22 · Stone & Goldbart, Mathematics for Physics, §10–11 (Green functions and PDEs) · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. 7 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., §11.5 · Jackson, Classical Electrodynamics, 3rd ed., §1.8–1.10.
Provenance. Every equation is a standard textbook result grounded in the divergence theorem. A verifier should confirm: (1) the product rule and the divergence-theorem step yielding Green I, then the subtraction yielding Green II (Arfken-Weber §3.9, Riley-Hobson-Bence §11.5); (2) the integral representation (5) and the small-sphere residue against Jackson Eq. (1.36), using ; (3) the Dirichlet-energy shell example, equalling the boundary sum for , , ; (4) the mean-value checks, for the affine field and for , using . Only geometric constants (, the sphere area ) appear as numbers.
Prerequisites. The Divergence (Gauss) Theorem · The Laplacian Operator · The Gradient Operator · The Del Operator and Vector Differential Identities · Surface Integrals and Flux. Leads to. Green's Functions · Uniqueness Theorems for Laplace's Equation · Boundary Element Methods · Self-Adjointness of the Laplacian.
Ask the tutor: Ask me to walk through the small-sphere excision that turns Green's second identity into the integral representation, or to prove uniqueness for the Neumann problem step by step.
Are Green's identities just integration by parts in three dimensions?
Essentially yes, and it is the most useful way to remember them. One-dimensional integration by parts, , moves a derivative from onto and leaves a boundary term. Green's first identity does the identical trade for the Laplacian over a volume: becomes plus a boundary flux . The endpoint evaluation becomes a surface integral over , and the derivative that gets shifted is one of the two in the Laplacian. The second identity is the antisymmetric version, the analogue of doing the parts twice and subtracting to expose a symmetric operator.
What does it mean that Green's second identity shows the Laplacian is self-adjoint?
Self-adjoint means that for functions obeying suitable homogeneous boundary conditions, — the operator can be moved from one factor to the other, just as a symmetric matrix satisfies . Green's second identity says the difference of those two integrals equals a pure boundary term, so whenever that term vanishes (Dirichlet, Neumann, or periodic conditions) the operator is symmetric. This is not a technicality: it guarantees real eigenvalues and orthogonal eigenfunctions, which is why separation of variables, normal-mode analysis, and spherical-harmonic expansions all work.
Why must the singular point be excised when using ψ = 1/r?
Because the divergence theorem, and hence Green's identities, require the fields to be twice continuously differentiable throughout the region. The kernel fails this badly at : its Laplacian there is not an ordinary function but the Dirac distribution, . If you ignore this and set everywhere, you throw away exactly the term that produces the field value. The rigorous route removes a small sphere around the singular point, applies the identity in the smooth punctured region, and takes . The flux through that shrinking sphere does not vanish — it tends to — and that finite residue is the reconstructed value.
How do Green's identities prove a potential is unique?
Suppose two potentials solve the same Poisson equation with the same boundary data. Their difference solves the homogeneous problem: inside and on the boundary. Put in the first identity. The volume term dies because is harmonic, and the surface term dies because on the boundary, leaving . A non-negative integrand that integrates to zero must be zero everywhere, so and is constant; the boundary condition fixes that constant to zero. Hence the two potentials coincide. For Neumann data the argument gives , so uniqueness holds only up to an additive constant.
What is Green's reciprocity, and where does it show up in physics?
Green's reciprocity is the second identity for two harmonic functions: . In electrostatics it is about swapping sources and observers: if a unit charge at produces potential at , and a unit charge at produces at , then . This underlies the symmetry of capacitance matrices, the Rayleigh–Carson reciprocity of antennas (transmit and receive patterns coincide), and reciprocity theorems in acoustics and seismology — the reason "source here, detector there" and the reverse give identical readings in linear, source-free media.
How does the mean-value property lead to the maximum principle?
The mean-value property says a harmonic function equals the average of its values over any sphere centred at the point. Suppose it attained a strict maximum at an interior point: its value there would exceed the average over a small surrounding sphere — but the mean-value property says the two are equal, a contradiction. So a non-constant harmonic function has no interior maximum (or, applying the argument to its negative, minimum); its extrema live only on the boundary. This maximum principle is why a steady-state temperature has no hot or cold spots away from the walls, and it gives an immediate second proof of Dirichlet uniqueness.