I wanted to use the following inequality in my research, but I cannot prove whether it is correct or not.
$\frac{\sum_{k=1}^{M} A_{k}}{\sum_{k=1}^{M} B_{k}} \leq \frac{1}{M} \sum_{k=1}^{M} \frac{A_{k}}{B_{k}}$, where $A_{k}, B_{k} \geq 0$
I tested this inequality on random numbers generated by MATLAB and the inequality seemed to hold. Anyone has some ideas, how to prove or disprove it? Thank you guys in advance.
The edited version is false: take $M=2$ and let $A_1 \to 0$. The inequality becomes $\frac {A_2} {B_1+B_2} \leq \frac 1 2\frac {A_2} {B_2}$. But this is false if $B_1 <B_2$.
Answer for the old version: assuming that $A_k$'s and $B_k$'s are positive there is a stronger inequality: let $C$ be the maximum of the numbers $\frac {A_k} {B_k}$. Then $\sum A_k \leq C\sum b_k$ so $\frac {\sum A_k} {\sum B_k} \leq C \leq \sum \frac {A_k} {B_k}$.