I have to find the value of the integral $$\int_{0}^{\frac{\pi}{2}} \frac{\sin^2(x)}{\sin(x)+\cos(x)}$$ I was able to can write it as $$\frac{1}{\sqrt{2}}\int_0^\frac{\pi}{2}\frac{\sin^2(x)}{\sin(x+\frac{\pi}{4}) }$$

But I cannot go any further.

Edit: Also I am looking for a short method

  • $\begingroup$ Following Lab's answer below (which is a quick approach), you can find the anti derivative of $\frac{1}{sinx+cosx}$ through tangent half angle substitution OR use a standard anti derivative for $cscx$ where the $x$ is read as $x+\pi/4$ $\endgroup$
    – imranfat
    Commented Mar 16, 2016 at 16:43

1 Answer 1



Using $\int_a^bf(x)\ dx=\int_a^bf(a+b-x)\ dx,$


Hope you can take it from here?

  • 3
    $\begingroup$ I think your speed of typing is faster than my speed of thinking...:) $\endgroup$
    – imranfat
    Commented Mar 16, 2016 at 16:44
  • $\begingroup$ Yes. Got it. Thanks $\endgroup$ Commented Mar 16, 2016 at 16:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .