This is my question, $$\int_{-\pi}^{\pi} {2x(1+\sin x)\over1+\cos^2x} \,\, \mathrm{d}x$$
(1) $\pi^2\over4$
(2) $\pi^2$
(3) zero
(4) $\pi\over2$
I first broke the function into parts: $\int_{-\pi}^{\pi} {2x\over1+\cos^2x}$+ $\int_{-\pi}^{\pi} {2x\sin x\over1+\cos^2x}$. Here $\int_{-\pi}^{\pi} {2x\over1+\cos^2x}$being an odd function becomes zero and$\int_{-\pi}^{\pi} {2x\sin x\over1+\cos^2x}$being an even function can be written as 4$\int_{0}^{\pi} {x\sin x\over1+\cos^2x}dx$ and now I used the property $\int_{0}^{a} {f(a-x)}dx$. Then,I'm stuck.
Please help me through this.
Please explain any steps that you give.
Thanks in advance.