The supplied positive free-space kernel satisfies , so use the same sign convention for the Dirichlet Green function. For an interior source , require
Away from , the function is harmonic, and is regular near . The method of images reflects the source in each coordinate plane, reversing its sign on each reflection. Therefore
On either face, the terms cancel in pairs. Only the original source lies in the domain, so the other three terms are harmonic there; the required singularity and decay also follow. This is the Dirichlet Green function for a three-dimensional quarter-space. Using instead would change the sign of the kernel and the representation formula together, as in sign conventions for a Dirichlet Green function.
Choose the Green function convention , with decay at infinity and no extra singularities. For sufficiently decaying source data,
Away from its source, this fundamental solution of the Laplace equation is harmonic. Its radial derivative is , so the flux of its gradient through a small source-centred sphere is one. The divergence theorem therefore supplies exactly the unit Dirac delta function required by the equation. Decay at infinity excludes an added globally regular harmonic term.
For the half-space, reflect the source to . The method of images gives the zero-boundary Dirichlet Green function
The two distances coincide at , and also cancel if the source lies on the plane. The image singularity lies outside the physical domain.
The sign conventions for a Dirichlet Green function require care here. With , Green's second identity gives . At this wall the outward normal is , so . Direct differentiation gives , where . Thus the printed intermediate formula with needs a minus sign for its stated Green convention. The final Poisson kernel for the upper half-space is positive:
Its boundary integral is one for constant data, providing an independent sign check.