If $f:[1,2]\mapsto \Bbb R$ is a non-negative integrable function such that $\int_1^2\dfrac{f(x)}{\sqrt x}\operatorname{dx}=k\int _1^2f(x)\operatorname{dx}\neq 0$,then find $k$.
I was thinking to use integration by parts which is not working.Any hints will be helpful.
Please provide some hints only.
HINT:
Use the fact that $\int _a ^b f(x)g(x)=g(c)\int _a ^b f(x)$ where $c\in (a,b)$