// / 2 (2 + 2*x)*log(1 + x)\ \
||-x*|- - + --------------------| |
|| | x 2 | |
|| \ x / |
||-------------------------------- for |x| <= 1|
|| 2 |
|| |
|| oo |
-x*|< ____ |
|| \ ` |
|| \ n n |
|| \ (-1) *x |
|| ) -------- otherwise |
|| / 2 |
|| / n + n |
|| /___, |
\\ n = 1 /
$$- x \left(\begin{cases} - \frac{x \left(- \frac{2}{x} + \frac{\left(2 x + 2\right) \log{\left(x + 1 \right)}}{x^{2}}\right)}{2} & \text{for}\: \left|{x}\right| \leq 1 \\\sum_{n=1}^{\infty} \frac{\left(-1\right)^{n} x^{n}}{n^{2} + n} & \text{otherwise} \end{cases}\right)$$
-x*Piecewise((-x*(-2/x + (2 + 2*x)*log(1 + x)/x^2)/2, |x| <= 1), (Sum((-1)^n*x^n/(n + n^2), (n, 1, oo)), True))