Given that $f(x)$ is a $p$-periodic function and $\int_0^p{f(x)}dx=0$. Show $\int_1^\infty\frac{f(x)}{x}dx$ converges.
I know this integral can be broken into $\int_1^\infty\frac{f(x)}{x}dx=\int_0^\infty\frac{f(x)}{x}dx-\int_0^1\frac{f(x)}{x}dx$ for easier dealing if needed
My first thought it so say that with $f(x)$ periodic, we can break the integral into parts such that: $\int_0^\infty\frac{f(x)}{x}dx=\int_0^p\frac{f(x)}{x}dx+\int_p^{2p}\frac{f(x)}{x}+...+\int_{(n-1)p}^{np}\frac{f(x)}{x}dx+...$ from here we can somehow use the given fact that $\int_0^pf(x)dx=0$ and that $\int_a^{a+np}f(x)dx=n\int_0^pf(x)dx$
We also can use that $\lim_{x->\infty}\frac{1}{x}=0$
But can somehow help me put these thoughts together in such a way that my mathematical proof is rigorous?
Define $$ F(x) = \int_{0}^x f(t) \, dt. $$ The $\int_0^p f = 0$ condition gives us that $F$ is also periodic, and we also have $$ \lvert F(x)\rvert \leqslant \int_0^x \lvert f(x)\rvert \, dx \leqslant \int_0^p \lvert f(x)\rvert \, dx = A, $$ say, for all $x$.
Now consider the limit used in the definition of the improper integral, and integrate by parts: $$ \int_1^R \frac{f(x)}{x} \, dx = \left[ \frac{F(x)}{x} \right]_1^R + \int_1^R \frac{F(x)}{x^2} \, dx = \frac{F(R)}{R}-F(1) + \int_1^R \frac{F(x)}{x^2} \, dx $$ The first term tends to zero since $\lvert F(R)\rvert $ is bounded by $A$, and for the last term, $$ \left\lvert\int_R^{\infty} \frac{F(x)}{x^2} \, dx\right\rvert \leqslant \int_R^{\infty} \frac{\lvert F(x)\rvert}{x^2} \, dx \leqslant A\int_R^{\infty} \frac{dx}{x^2} = \frac{A}{R} \to 0, $$ so this improper integral exists as a well-defined limit. Hence the original integral exists as an improper integral.