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