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