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