Is it possible to express in a closed form the integral $$\int_{0}^{\pi/2}\frac{\sin \left ( ax \right )}{\sin x+\cos x}\, {\rm d}x,\,\,\, a\in \mathbb{N}\quad?$$
Well, I find it very difficult. Well, I know how to express the integral $$\int_{0}^{\pi/2}\frac{\sin x}{\sin x+\cos x}\,{\rm d}x \;=\; \int_{0}^{\pi/2}\frac{\cos x}{\sin x+\cos x}\, {\rm d}x\;=\;\frac{\pi}{4}$$ by applying the substitution $u=\frac{\pi}{2}-x$, but in general I don't have a clue.
If someone could help me, that would be nice!
If you are really interested in a closed form formula then let's consider the integral
where your integral equals to the imaginary part of $I$. $I$ can have the closed form in terms of the Lerch zeta function
Note:
2) The real part of $I$ evaluates the integral