2
6*atan(x) 6*x*atan (x)
2*cos(x) - x*sin(x) - --------- + ------------
2 2
/ 2\ / 2\
\1 + x / \1 + x /
$$- x \sin{\left(x \right)} + \frac{6 x \operatorname{atan}^{2}{\left(x \right)}}{\left(x^{2} + 1\right)^{2}} + 2 \cos{\left(x \right)} - \frac{6 \operatorname{atan}{\left(x \right)}}{\left(x^{2} + 1\right)^{2}}$$
2 2 2
6 6*atan (x) 24*x *atan (x) 36*x*atan(x)
- --------- - 3*sin(x) - x*cos(x) + ---------- - -------------- + ------------
3 2 3 3
/ 2\ / 2\ / 2\ / 2\
\1 + x / \1 + x / \1 + x / \1 + x /
$$- \frac{24 x^{2} \operatorname{atan}^{2}{\left(x \right)}}{\left(x^{2} + 1\right)^{3}} - x \cos{\left(x \right)} + \frac{36 x \operatorname{atan}{\left(x \right)}}{\left(x^{2} + 1\right)^{3}} - 3 \sin{\left(x \right)} + \frac{6 \operatorname{atan}^{2}{\left(x \right)}}{\left(x^{2} + 1\right)^{2}} - \frac{6}{\left(x^{2} + 1\right)^{3}}$$