Prove that, for scalar fields $\phi(\mathbf{x})$ and $\psi(\mathbf{x})$ in a
three-dimensional domain $\mathcal{D}$ with boundary $\partial\mathcal{D}$,
\[\int_{\mathcal{D}}(\phi\nabla^2\psi - \psi\nabla^2\phi)\,dV
\equiv \int_{\partial\mathcal{D}}
\!\left(\phi\frac{\partial\psi}{\partial n} - \psi\frac{\partial\phi}{\partial n}\right)dS,\tag{1.1}\]
where $\mathbf{n}$ is the outward unit normal to $\partial\mathcal{D}$.
Let $\psi(\mathbf{x})$ satisfy
\[\nabla^2\psi = \delta(\mathbf{x}-\mathbf{x}_0) \quad \text{in } z>0,\tag{1.2}\]
with
\[\psi = 0 \text{ on } z=0, \qquad \psi\to 0 \text{ as } |\mathbf{x}|\to\infty,\tag{1.3}\]
in Cartesian coordinates $\mathbf{x}=(x,y,z)$. Use the method of images to
determine $\psi(x,y,z)$.
Now use the identity above to solve the equation
\[\nabla^2\phi = 0 \quad \text{in } z>0, \qquad \phi\to 0 \text{ as }
|\mathbf{x}|\to\infty,\tag{1.4}\]
with $\phi=1$ on $z=0$, $x^2+y^2<1$, while $\phi=0$ on $z=0$,
$x^2+y^2>1$, in terms of a surface integral. Find the closed-form
solution for $\phi(0,0,z)$.