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