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