Let $D\subset \mathbb{R}^3$. Let $D$ be a connected subset of $\mathbb{R}^3$. Show that if there is a solution of the system of equations \begin{equation} \Delta u=f \text{ in } D, \frac{du}{dn}=g\text{ on boundary of } D, \end{equation} then $\int_D\ f \ dV=\int_{\text{boundary of} D} g \ ds$.
My partial answer:
Assume that $\int_D\ f \ dV\neq\int_{\text{boundary of} D} g \ dS$ and $u$ is the solution of the system of equation, then
\begin{equation} \int_D \ \Delta u \ dV= \int_D\ f \ dV\neq\int_{\text{boundary of} D} g \ dS= \int_{\text{boundary of} D} \frac{du}{dn} \ dS. \end{equation} This contradicts Green's first identity.
Please let me know that idea of my answer is correct. Is it possible to prove this question without using a contradiction.