Show that the improper integral $\int_0^1 \left(\left\lfloor\frac{\alpha}{x}\right\rfloor-\alpha\left\lfloor\frac{1}{x}\right\rfloor\right)\mathrm dx=\alpha \ln\alpha$, for $\alpha\in(0,1)$.
This is an integral of Riemann. My work:
- The set of discontinuities of the integral is
$$D=\left\{\frac1k:k\in\Bbb N\right\}\cup\left\{\frac{\alpha}{k}:k\in\Bbb N\right\}$$
- And when we have that $x>\alpha$ the integral can be simplified to
$$\int_0^1 \left(\left\lfloor\frac{\alpha}{x}\right\rfloor-\alpha\left\lfloor\frac{1}{x}\right\rfloor\right)\mathrm dx=\int_0^\alpha \left(\left\lfloor\frac{\alpha}{x}\right\rfloor-\alpha\left\lfloor\frac{1}{x}\right\rfloor\right)\mathrm dx-\alpha\int_{\alpha}^1 \left\lfloor\frac{1}{x}\right\rfloor\mathrm dx$$
I dont know how to continue from here, it is not clear how to handle the partition $D$ to simplify the integral. What I did here is just see what is the value of $\int_{\alpha}^1 \left\lfloor\frac{1}{x}\right\rfloor\mathrm dx$ to see if I get some clue.
If there is no weird mistake somewhere:
$$\int_{\alpha}^1 \left\lfloor\frac{1}{x}\right\rfloor\mathrm dx=\int_\alpha^{\frac1{\left\lfloor 1/\alpha\right\rfloor}}\frac{\mathbf 1_{\Bbb N}(1/\alpha)\mathrm dx}{\lfloor 1/\alpha\rfloor}+\sum_{k=1}^{\lfloor1/\alpha\rfloor}\int_{\frac1{k+1}}^{\frac1k}\frac{\mathrm dx}{k}=\\=\mathbf 1_{\Bbb N}(1/\alpha)\frac{1-\alpha\lfloor 1/\alpha\rfloor}{\lfloor 1/\alpha\rfloor^2}+\sum_{k=1}^{\lfloor1/\alpha\rfloor}\frac1{k^2(k+1)}$$
what is not useful at all. So I get stuck with this problem, can you help me to show this identity (not going deeper than a Riemann integral background)? Thank you in advance.