I am having trouble with an integral that won't evaluate. The expression involves many terms, but, essentially, the problem boils down to having Mathematica evaluate the integral $$ \int_a^b xf'(x)dx $$
I know from this answer that
Block[{f}, SetAttributes[f, {NumericFunction}]; Integrate[D[f[x],x], {x, a, b}]]
seems to work for that integrand, but not in my case. How can I add the assumption that my $f'(x)$ is integrable?
(Or, if such assumptions cannot be made, how to force Mathematica to make appropriate substitutions? I'd rather not do this step by hand since the original integrand is a bit tedious to work with.)