TITLE: Is there a mean-value theorem for volume integrals?
QUESTION [6 upvotes]: I have just been reading about the mean value theorems for integrals, surface integrals and line integrals. I did a Google search for a corresponding theorem of volume integrals, and couldn't find any evidence of one.
I would guess that, if $f(x,y,z)$ is a differentiable function defined in the region $\Omega$ in $\mathbb{R}^3$, then:
$\iiint_{\Omega}f(x,y,z)dxdydz=f(x_0,y_0,z_0)V(\Omega)$,
where $(x_0,y_0,z_0)$ is some point in $\Omega$ and $V(\Omega)$ is the volume of the region $\Omega$.
This holds for the trivial example $f(x,y,z)=c$, where $c$ is a constant in the domain of interest. Are there counter-examples, or does such a theorem exist?

REPLY [9 votes]: Since $f$ is differentiable, it is continuous. We assume first that $\Omega$ is a compact connected set (any such set is automatically Lebesgue-measurable).
We have $m=\inf f \leq f \leq \sup f=M$, and
$$m\mu(\Omega) \leq \int_{\Omega} f \leq M \mu(\Omega), $$
(note that $\mu(\Omega)<\infty$), from which
$$ m \leq \frac{\int_{\Omega} f}{\mu(\Omega)} \leq M,$$
and the result follows from the "intermediate value theorem" (or rather the fact that continuous maps preserve connected sets). (Note also that the case $\mu(\Omega)=0$ is trivial).
One can adapt the proof above to a more general case: that of $\Omega$ connected, Lebesgue-measurable and with finite measure, and $f$ continuous and integrable (which I think is the most general we can have, since dropping any of the hypotheses lead to counterexamples or simply the statement not making sense). Firstly, note that if $f$ is not bounded, the result is trivial. Now, note that we have in the same way as above:
$$m\mu(\Omega) \leq \int_{\Omega} f \leq M \mu(\Omega). $$
Now, if $m\mu(\Omega)=\int _{\Omega} f,$ we have $\int_{\Omega} f-m=0$, and it follows that $f=\inf f$ almost everywhere (since $f-m \geq 0$). In particular, $f$ assumes its infinum somewhere (we are assuming $\mu(\Omega) \neq 0$. If not, then the result is already trivial from the start). Analogously, we have that if $M \mu(\Omega)=\int_{\Omega}f$, then $f$ assumes its supremum somewhere.
This is just to say that, in any case, we have $\frac{\int_{\Omega} f}{\mu(\Omega)}$ belonging to the image of $f$.