Trick, or Indefinite Integration

definite integralsintegrationtrigonometric-integrals

Evaluate $$\int_{0}^{\pi/2}\dfrac{\sin^6 x}{\sin x + \cos x}\text{ d}x$$

Is there a nice, elegant way of solving the above integral?

Here's what I did –
Replaced $f(x)$ by $f(\pi/2-x)$, added and got rid of some common factors in numerator and denominator. This was followed by indefinite integration, and ultimately substituting the limits in the final expression.

The above method is kind of long, though – and I'm wondering if there's a quicker, shorter and rather elegant way of getting around this integral. Could someone post a solution, and share ideas?

Thanks a lot.

Best Answer

A standard way for dealing with trigonometric integrals is to exploit the substitution $x=2\arctan\frac{t}{2}$.
Here it leads to $$ \int_{0}^{\pi/2}\frac{\sin^6 x}{\sin x+\cos x}\,dx = 128\int_{0}^{1}\frac{t^6}{(2t+1-t^2)(t^2+1)^6}\,dt$$ and the last integral can be computed by partial fraction decomposition. It equals $$ \frac{1}{8}\left(2+\sqrt{2}\,\text{arctanh}\frac{1}{\sqrt{2}}\right)\approx\frac{28}{69}. $$ This also follows from $\sin x+\cos x=\sqrt{2}\cos\left(x-\frac{\pi}{4}\right)$ and $$ \int_{-\pi/4}^{\pi/4}\frac{\sin^6\left(x+\frac{\pi}{4}\right)}{\sqrt{2}\cos x}\,dx=\frac{1}{8\sqrt{2}}\sum_{k=0}^{6}\binom{6}{k}\int_{-\pi/4}^{\pi/4}\sin^k(x)\cos^{5-k}(x)\,dx $$ where the contribution provided by odd $k$s is zero and $$ 2\int_{0}^{\pi/4}\cos(x)^5\,dx =\frac{43}{30\sqrt{2}},\qquad 2\int_{0}^{\pi/4}\sin(x)^2\cos(x)^3\,dx =\frac{7}{30\sqrt{2}}$$ $$ 2\int_{0}^{\pi/4}\sin(x)^4\cos(x)^1\,dx =\frac{3}{30\sqrt{2}}$$ $$2\int_{0}^{\pi/4}\sin(x)^6\cos(x)^{-1}\,dx =-\frac{73}{30\sqrt{2}}+4\,\text{arctanh}\tan\frac{\pi}{8}.$$

Related Question