$$G(s)= \int_{0}^{\pi/2}x^s\cot x\arctan(\cot x)\,\mathrm dx$$
I am interested in evaluating $G(s)$ but I am unable to even make a start! Any help? Thank you
I have try a substitution of $u=\cot x$ but not right. I have try by parts but it is to complicate.
Thanks to Milan Ivanov in the comments, $$\int x^s\cot x\arctan(\cot x)\,\mathrm dx = \frac{\pi}{2}\int x^s\cot x\,\mathrm dx - \int x^{s+1}\cot x\,\mathrm dx$$
Let's do rough calculation on that common form:
$$\int x^n\cot x\,\mathrm dx \\= x^n\smallint \cot x\,\mathrm dx - \int\left(nx^{n-1}\cdot \smallint \cot x\,\mathrm dx\right)\mathrm dx \\= x^n\cdot\ln|\sin x\,| - n\int x^{n-1}\cdot \ln|\sin x\,|\,\mathrm dx$$
Mhh.. now, this $\int x^{n-1}\cdot \ln|\sin x\,|\,\mathrm dx$ is something you should try yourself.