If $a_1,\dots,a_n$ are all unequal positive quantities, then prove that:
$$\prod_{i=1}^n a_i^{a_i} > \left(\frac{\sum_{i=1}^n a_i}{n}\right)^{\sum_{i=1}^n a_i}$$
No other conditions are given.
I tried to solve it using logarithms, but I could not understand how can I prove $${a_1\log a_1}+{a_2 \log a_2}+\dots+{a_n\log a_n} > {(a_1+\dots +a_n)} \left(\log(a+\dots+a_n)-\log(n)\right)$$
And please tell me, is there any standard method to solve this kind of problems?
Let $n$ positive elements $a_1,\dots,a_n$ be the variables and $a_1,\dots,a_n$ are their respective frequencies. Then GM of this data is $$GM=\left(a_1^{a_1}a_2^{a_2}\cdots a_n^{a_n}\right)^{\left(\frac{1}{a_1+\dots+a_n}\right)}$$ and the corresponding $HM$ is $$HM=\frac{a_1+a_1+a_3+\dots+a_n}{\frac{a_1}{a_1}+\frac{a_2}{a_2}+\frac{a_3}{a_3}+\dots+\frac{a_n}{a_n}}=\frac{a_1+a_2+a_3+\dots+a_n}{n}.$$ The required result follows from the fact that wieghted GM $\ge$ weighted HM. $$\mbox{weighted HM}=\frac{f_1+f_2+f_3+\dots+f_n}{\frac{f_1}{x_1}+\frac{f_2}{x_2}+\frac{f_3}{x_3}+\dots+\frac{f_n}{x_n}}$$ and $$\mbox{weighted} ~ GM=\left({x_1}^{f_1} {x_2}^{f_2} {x_3}^{f_3}\cdots{x_n}^{f_n}\right)^{\frac{1}{f_1+f_2+f_3+\dots+f_n}}.$$