I've been trying to integrate this equation:
$$\int^{\infty}_0 \frac{p}{T} \frac{1}{e^{p/T}+1} dp \tag{1} $$
and attempted to do it by parts following : $u=p^3$ and $dv=\frac{1}{e^{p/T}+1}$ where therefore $du= 3p^2$ and $v= -T\ln(1+e^{p/T})+p$
But when I try integrating the $\int v du$ by parts I'm unable to integrate $dv$.
On Wolframalpha it simply says that the integral gives : $$\int -T\ln(1+e^{p/T})+p dp =\frac{x^2}{2} - T^2 \text{Li}_2(-e^{p/T}) \tag{2}$$ but this doesn't look like the way in which I should write it.
How do integrate $(1)$?
Forgetting about the limits, an approach I would use would be to first do a $w$-substitution $w=e^{p/T}+1$. Where $$I=\int \frac{p}{T}\frac{1}{e^{p/T}+1}\,dp,$$ I believe this gives $$I=T\int \ln(w-1)\cdot \frac{1}{w(w-1)}\,dw.$$
Do partial fractions on $\frac{1}{w(w-1)}$ to get: $$I=T\int \left(\frac{\ln(w-1)}{w-1}-\frac{\ln(w-1)}{w}\right)\,dw.$$ The first terms should yield easily to $u=w-1$ but the second probably needs some special functions.
I see no use for parts here.