# Evaluate $\int\frac{dx}{\sin(x+a)\sin(x+b)}$ [duplicate]

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 HoppeApr 23 '17 at 17:40

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

The given integral can write:

$$\int\frac{dx}{\sin(x+a)\sin(x+b)}=\int\frac{\sin(x+a)}{\sin(x+b)}\cdot\frac{dx}{\sin^2(x+a)}$$

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

By the substition of the above have:

$$\frac{dx}{\sin^2(x+a)}=\frac{dt}{\sin(a-b)}$$

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$$

• This is supposed to be a homework question, so I presume you should leave the proposer with some room to do it himself... – 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))$