# How do you integrate int x^2 csc ^2 x dx  using integration by parts?

Observe that $\int {\csc}^{2} x \mathrm{dx} = - \cot x + C$ (which is integrable by substitution) and $\frac{d}{\mathrm{dx}} \left({x}^{2}\right) = 2 x$, so Integrating by parts twice should work.