many thanks for thr neat proof.
The fact that this function is no Lebesgue integrable but is it Riemann integrable in the improper sense is the most puzzling to me.
Can you please maybe attempt an heuristic explanation too?
Wikipedia says that "from the point of view of meausre theory the integral is like infty - infty", which I do not understand at all.
sinx/x is integrable only in the sense that you can integrate it from 0 to X and then let X become infinite. The integral from 0 to X exists in both Riemann and Lebesgue definitions.