Find the following integral:
$$\int \frac{\sin (x)}{\sin (5x) \sin (3x)}\,\mathrm dx.$$
I don't know how to deal with the $\sin (x)$ in the numerator. If it had been $\sin (2x)$ then we could have used $\sin (2x)= \sin (5x-3x)$. How to deal given integral? Could someone help me with this?
$$\int\frac{\sin x}{\sin(5x)\sin(3x)}\,dx = \int\frac{2\sin x}{\cos(2x)-\cos(8x)}\,dx = \int\frac{2\sin(x)\,dx}{T_2(\cos x)-T_8(\cos x)}$$ hence it is enough to find a primitive for $$ \frac{1}{T_2(x)-T_8(x)}=\frac{1}{-2+34 x^2-160 x^4+256 x^6-128 x^8}$$ that can be found by partial fraction decomposition, since the roots of $T_2(x)-T_8(x)$ belong to: $$\left\{\pm 1,\pm\frac{1}{2},\frac{\pm 1\pm\sqrt{5}}{4}\right\}. $$