Let $f : \mathbb{R} \to \mathbb{R}^{n}$ be a vector valued function, $f_i \ge 0$. Can we show that
$$\bigg \lvert \int f(x) \,dx \bigg \rvert \le \int \lvert f(x) \rvert \, dx$$
The assertion above is obvious right when $n=1$ . But is it right when $n \gt 1$? For $n=2$ , we need to show
$$\int f\,dx^2+\int g\,dx^2 \le \int \sqrt{f^2+g^2}\,dx^2$$
For each nonnegative function $f, g : \mathbb{R} \to \mathbb{R}$, it is obvious that
$$\int f \,dx^2 + \int g\,dx^2 \le 2 \int \sqrt{f^2+g^2}\,dx^2$$
I think the assertion above is wrong, but I can not find the example of it .