Show that for any non negative real numbers $x_1,x_2,\cdots x_n,$ $$\frac{{x_1}^2+{x_2}^2+\cdots+{x_n}^2}{n}x_1x_2\cdots x_n\le\left(\frac{x_1+x_2+\cdots+x_n}{n}\right)^{n+2}$$
My work:
Let$$S(n)=\frac{{x_1}^2+{x_2}^2+\cdots+{x_n}^2}{n}x_1x_2\cdots x_n\le\left(\frac{x_1+x_2+\cdots+x_n}{n}\right)^{n+2}$$ By theorem of triviality, if any of $x_i$'s are $0$ the inequality is certainly true. So assume all numbers are $\gt0$
$S(1)$ says ${x_1}^3\le {x_1}^3$ which is certainly true.
$S(2)$ says $({x_1}^2+{x_2}^2)x_1x_2\le\frac18(x_1+x_2)^4$ which reduces to $0\le(x_1-x_2)^4$ which is certainly true.
Assume $S(k)$ is true. Now we just needs to prove that $S(k+1)$ is true. But I'm having a hard time in doing that.
Any help is greatly appreciated. Or is there any better method than induction$?$