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