The integral :-
$$\int x^m \ln(a+x) \,dx.$$
(Also what is $m$ is not an integer, just an arbitrary real number?) I have found the integral in the book gradshteyn and ryzhik of which this is a special case. I tried integral by parts for $a=0$ it follows trivially but for the other case please help to find the integral?
Use integration by parts and note that $$\frac{x^{m+1}}{a+x}=\sum_{k=0}^m(-a)^kx^{m-k}+\frac{(-a)^{m+1}}{a+x}$$