This question already has an answer here:

Please help me evaluate: $$ \int\frac{dx}{\sin(x+a)\sin(x+b)} $$


marked as duplicate by Andrew D. Hwang, Laurent Duval, Juniven, Dragonemperor42, Michael Hoppe Apr 23 '17 at 17:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The given integral is: $$\int\frac{dx}{\sin(x+a)\sin(x+b)}$$

The given integral can write:


We substition $$\frac{\sin(x+a)}{\sin(x+b)}=t$$

By the substition of the above have:


Now have:

$$\int\frac{dx}{\sin(x+a)\sin(x+b)}=\int\frac{\sin(x+a)}{\sin(x+b)}\cdot\frac{dx}{\sin^2(x+a)}=\frac{1}{\sin(a-b)}\int\frac{dt}{t}=\frac{1}{\sin(a-b)}\ln |t|=\frac{1}{\sin(a-b)}\ln|\frac{\sin(x+a)}{\sin(x+b)}|+C$$

  • 4
    $\begingroup$ This is supposed to be a homework question, so I presume you should leave the proposer with some room to do it himself... $\endgroup$ – Rijul Saini Sep 4 '12 at 20:14

Hint: Multiply and divide by $\sin(b-a)$.

Further Hint:

Write $\sin(b-a) = \sin((x-a)-(x-b))$