Problem. Suppose $f$ is nonnegative, $\int_{\mathbb{R}^n} f = 1$, and $f(x) \leq 1$ for all $x \in \mathbb{R}^n$. Calculate the following Lebesgue integral
$$\inf \int_{\mathbb{R}^n}\|x\|_2^2f(x)dx,$$
with the infimum taken over all functions $f$.
My idea was to define $f_k(x) := x_k^2f(x)$ such that
$$\int_{\mathbb{R}^n}\|x\|_2^2f(x)dx = \int_{\mathbb{R}^n}(x_1^2 + \dots + x_n^2)f(x) dx= \int_{\mathbb{R}^n} \sum_{k=1}^n f_k.$$
But I don't see a way to use MCT or DCT since the series is finite, so I'm not sure if this is the right approach?
This is what is called The Bathtub Principle (Analysis, by Lieb and Loss). In case the link is not visible the theorem briefly says:
(The proof is left as an exercise and I can help you along the way if you need it. The strict monotonicity of $G(x) = |x|^2$ should make the proof much simpler in this case.)