In my professor's notes he has written this:
$\int_1^N \frac{\{t\} - \frac{1}{2}}{t}dt = \int_1^N\frac{1}{t}d \left(\int_1^t B(y)dy \right) = \int_1^t B(y)dy|_1^N + \int_1^N \frac{\int_1^t B(y)dy}{t^2}dt$
Where $\{x\}$ indicates the fractional part of $x$ and $B(x) = \{x\} - \frac{1}{2}$.
This is Abel summation with the Riemann-Stieltjes integral.
What I don't understand is I feel first that the lower bound of the $\displaystyle \int_1^t$ integrals should all be $\dfrac{1}{2}$ and not $1$, and second since this is integration by parts there should be a $\dfrac{1}{t}$ in front of the $\displaystyle \left. \int_1^t B(y)dy \right \vert_1^N$ term.
Am I missing something? Thanks.