I am trying to evaluate the following integral using integration by parts:
$$\int\frac{x}{1+e^x}dx$$
However, using $u = x$, $du = 1$, $dv = \frac{1}{1+e^x}$, $v = x-\log(e^x+1)$, I keep getting that the integral is $-\text{Li}_2(-e^x)+\frac{x^2}{2}-x\log(1+e^x)$, but Wolfram Alpha says that the integral is $\text{Li}_2(-e^{-x})-x\log(e^{-x}+1)$.
Can anyone tell me what I'm doing wrong here?