Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem calculating the following integral:

$$\int \cfrac{\text dx}{(\sin x+ \cos x)^3}$$

Can somebody help me, please? Thank you in advance!

share|cite|improve this question

Note that $\sin(x)+\cos(x) = \sqrt{2} \sin(x+\pi/4)$, this reduces the problem to the problem of integrating $1/(\sin x)^3$, now let $u=cos x$ we find that the integral reduces to the integral of $1/(1-u^2)^2$.

share|cite|improve this answer
Hint: sin(A+B) = sinAcosB + cosAsinB – Adam Rubinson Nov 7 '12 at 16:56
I don't understand how do you find the reduction that gives you $\frac{u}{1-u^2}$ – Carpediem Nov 7 '12 at 17:04
Yes I noticed, I will fix it now – Amr Nov 7 '12 at 18:39
@Amr: I completed my answer before I saw your answer. I hope that's okay. – robjohn Nov 7 '12 at 20:37

$$\sin x+\cos x=\sqrt2(\frac{\sqrt2}2\sin x+\frac{\sqrt2}2\cos x)=\sqrt2\sin(x+\frac\pi4)$$


Integration by parts should take care of it from there.

share|cite|improve this answer
I think the above method is easier.. – Carpediem Nov 7 '12 at 17:11
Next, look at this: – Michael Hardy Nov 7 '12 at 17:44

As mentioned, $\sin(x)+\cos(x)=\sqrt{2}\sin(x+\pi/4)$. Therefore, $$ \begin{align} \int\frac{\mathrm{d}x}{(\sin(x)+\cos(x))^3} &=\frac1{2\sqrt{2}}\int\frac{\mathrm{d}x}{\sin^3(x+\pi/4)}\\ &=-\frac1{2\sqrt{2}}\int\frac{\mathrm{d}\cos(x+\pi/4)}{\sin^4(x+\pi/4)}\\ &=-\frac1{2\sqrt{2}}\int\frac{\mathrm{d}u}{(1-u^2)^2}\\ &=-\frac1{8\sqrt{2}}\int\left(\frac1{1-u}+\frac1{1+u}+\frac1{(1-u)^2}+\frac1{(1+u)^2}\right)\mathrm{d}u\\ &=\frac1{8\sqrt{2}}\left(\log\left(\frac{1-u}{1+u}\right)+\frac1{1+u}-\frac1{1-u}\right)+C\\ &=\frac1{8\sqrt{2}}\left(\log\left(\frac{1-u^2}{(1+u)^2}\right)-\frac{2u}{1-u^2}\right)+C\\ &=\frac1{4\sqrt{2}}\left(\log\left(\tan(x/2+\pi/8)\right)-\cot(x+\pi/4)\csc(x+\pi/4)\right)+C \end{align} $$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.