# Evaluating $\int\frac{\sin x}{\sin (x-a)\cdot \sin (x-b)}\,\mathrm dx$

$$\int\frac{\sin x}{\sin (x-a)\cdot \sin (x-b)}\,\mathrm dx$$

My Try::

\begin{align} &\displaystyle \frac{1}{\sin (b-a)}\int\frac{\sin \{(x-a)-(x-b)\}}{\sin (x-a)\cdot \sin (x-b)}\cdot\sin x\,\mathrm dx\\ =& \frac{1}{\sin (b-a)}\int \left\{\cot (x-b)-\cot (x-a)\right\}\cdot \sin x \,\mathrm dx \end{align}

Now how can I proceed after that?

• Please do not use titles consisting only of math expressions; these are discouraged for technical reasons -- see meta. Sep 20, 2013 at 19:27
• Sorry Lord_Farin , next time i will take care of it. Sep 20, 2013 at 19:40
• @experimentX Please do not bump questions with such minuscule edits of disputable quality. Sep 20, 2013 at 20:32
• You may start from $\sin(x)=\sin(x-a+a).$ Sep 20, 2013 at 20:33
• Step 1: Open those $\sin(x-a)$ and $\sin(x-b)$ to write everything in terms of $\sin(x)$ and $\cos(x)$.
– Pp..
Feb 7, 2015 at 1:34