/ 2 \
2*\1 + cot (x)/ x*cot(x) / 2 \
--------------- - ----------- + 2*\1 + cot (x)/*acos(x)*cot(x)
________ 3/2
/ 2 / 2\
\/ 1 - x \1 - x /
$$- \frac{x \cot{\left(x \right)}}{\left(1 - x^{2}\right)^{\frac{3}{2}}} + 2 \left(\cot^{2}{\left(x \right)} + 1\right) \cot{\left(x \right)} \operatorname{acos}{\left(x \right)} + \frac{2 \left(\cot^{2}{\left(x \right)} + 1\right)}{\sqrt{1 - x^{2}}}$$
/ 2 \
| 3*x |
|-1 + -------|*cot(x)
| 2| / 2 \ / 2 \
\ -1 + x / 6*\1 + cot (x)/*cot(x) / 2 \ / 2 \ 3*x*\1 + cot (x)/
--------------------- - ---------------------- - 2*\1 + cot (x)/*\1 + 3*cot (x)/*acos(x) + -----------------
3/2 ________ 3/2
/ 2\ / 2 / 2\
\1 - x / \/ 1 - x \1 - x /
$$\frac{3 x \left(\cot^{2}{\left(x \right)} + 1\right)}{\left(1 - x^{2}\right)^{\frac{3}{2}}} - 2 \left(\cot^{2}{\left(x \right)} + 1\right) \left(3 \cot^{2}{\left(x \right)} + 1\right) \operatorname{acos}{\left(x \right)} - \frac{6 \left(\cot^{2}{\left(x \right)} + 1\right) \cot{\left(x \right)}}{\sqrt{1 - x^{2}}} + \frac{\left(\frac{3 x^{2}}{x^{2} - 1} - 1\right) \cot{\left(x \right)}}{\left(1 - x^{2}\right)^{\frac{3}{2}}}$$