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