On interval $[-\pi,\pi]$, $|f|\leq B$ for $B\geq 0$, and $f$ is assumed to be monotonically increasing.
We want to prove that $\hat f(n)=O(1/|n|)$ for $|n|$ large enough, that is for all large $|n|$, $|\hat f(n)|\leq C/|n|$ for some $C>0$.
My thought:
$f$ is Riemann integrable, so once we proved the Riemann sum of $2\pi g(\phi)=(f(\phi)e^{-in\phi})$ on $[-\pi,\pi]$ is bounded by $C/|n|$ for $|n|$ large, we are done.
My problem:
I failed to bounded the Riemann sum of $f(\phi)e^{-in\phi}$ with some constant divided by $|n|$. Hence, I can only prove that $\hat f(n)$ is bounded.
The typical argument ends up reproving the integration-by-parts formula in some limited form. For the Riemann-Stieljes integral, $\int_{a}^{b}f\,dg$ exists iff $\int_{a}^{b}g\,df$ exists, and, in that case, $$ \left.\int_{a}^{b}f\,dg = fg\right|_{a}^{b}-\int_{a}^{b}g\,df. $$ These integrals exist if $f$ is monotone and $g$ is continuous on $[a,b]$, which applies to this case. Hence, $$ \begin{align} \int_{-\pi}^{\pi}e^{-inx}f(x)\,dx & = \int_{-\pi}^{\pi}f(x)\frac{d}{dx}\frac{e^{-inx}}{-in}\,dx \\ & = \frac{1}{-in}\int_{-\pi}^{\pi}f(x)d(e^{-inx})\\ & = \left.\frac{e^{-inx}}{-in}f(x)\right|_{x=-\pi}^{\pi}-\int_{-\pi}^{\pi}\frac{e^{-inx}}{-in}df(x) \\ & = -\frac{f(\pi)-f(-\pi)}{in}+\frac{1}{in}\int_{-\pi}^{\pi}e^{-inx}df(x). \end{align} $$ Because $f$ is non-decreasing, '$df$' is non-negative and $|e^{-inx}|=1$ gives $$ |\hat{f}(n)| \le \frac{f(\pi)-f(-\pi)}{n}+\frac{1}{n}\int_{-\pi}^{\pi}df(x) \\ = \frac{2(f(\pi)-f(-\pi))}{n}. $$