For a sufficiently regular homogeneous function of degree on a three-dimensional region, Euler theorem for homogeneous functions gives . Hence , and the divergence theorem gives the displayed reduction when . At degree only the zero-flux identity follows, so division by is unavailable. Singular functions additionally require an excision or limiting argument; the surface contribution at a removed singularity must not be silently dropped. On the sloping side of a cone with its apex at zero, is tangent to the side and , so only the cap contributes to this formula.
For a bounded regular region and a sufficiently smooth real harmonic function, apply the divergence theorem to . Its divergence is . The boundary term vanishes, hence the integral of the nonnegative gradient square is zero. The gradient vanishes and the boundary values fix each component's constant as zero. Taking the difference of two solutions gives uniqueness for the Poisson equation with Dirichlet boundary data. Unbounded regions require an additional condition at infinity.