Problem : Let $f:\mathbb{R} \to \mathbb{R}$ be measurable function. Suppose $\exists C > 0$ such that $\forall y \in [0,\infty),$ $$m\{x \in \mathbb{R}: |f(x)| \geq y \} \leq \frac{C}{y^2}.$$ Show that $\exists C' >0$ such that $$ \int_{E}|f(x)|dx \leq C' \sqrt{m(E)}. $$ for any measurable set $E$.
Usually, I questioned in this stackexchange with partial result of what I had. However, in this time, I tried many things, applying Egorov theorem with $1_{\{ x \in \mathbb{R}: |f(x)| \geq n\}}f,$ consider Dominated convergence theorem or Monotone Convergence theorem, etc. However, I didn't get any partial result.
If you give me a hint or clue to approach this problem, it will be greatly helpful for me.
\begin{align*} \int_{E}|f(x)|dx&=\int_{0}^{\infty}m(\{x\in E: |f(x)|\geq y\})dy\\ &=\int_{0}^{C^{1/2}/m(E)^{1/2}}m(\{x\in E: |f(x)|\geq y\})dy\\ &~~~~+\int_{C^{1/2}/m(E)^{1/2}}^{\infty}m(\{x\in E: |f(x)|\geq y\})dy\\ &\leq\int_{0}^{C^{1/2}/m(E)^{1/2}}m(E)dy+\int_{C^{1/2}/m(E)^{1/2}}^{\infty}\dfrac{C}{y^{2}}dy\\ &=C^{1/2}m(E)^{1/2}+C^{1/2}m(E)^{1/2}\\ &=C'm(E)^{1/2}, \end{align*} note that $m(\{x\in E: |f(x)|\geq y\})\leq\min\{m(E),C/y^{2}\}$.