Let $M$ be a compact smooth manifold subset of some $\Bbb R^n$ and $f:M\times M\to\Bbb R$ a $C^\infty$ function.
I need to check wether $\bar f(p)=\int_M f(p,q)dq$ is smooth, but I have no clue where to start, or to come up with a contradiction. Thanks.