Lobachevsky's integral formula: https://youtu.be/Bq5TB6cZNng Series expansions for the cotangent and cosecant functions: https://youtu.be/mL3ftmldMow The decomposition of the integral operator is becoming one of my favourite tools. It looks like it could work wonders with any integrand involving trigonometric functions and maybe this can be generalised to other periodic functions as well. Let me know what you think in the comments.