$$\int \:bx\left(x+a\right)^{n-1}dx$$
I tried using $(x+a-a)$ which gives the apparently correct $$\frac{b}{n+1}\left(x+a\right)^{n+1}-\frac{ba}{n}\left(x+a\right)^n+C$$
However, I tried using by parts as well, using the tabular/DI method. It needed two iterations but my answer is different! My main concern is no $a$ term out the front. By integrating $\left(x+a\right)^{n-1}$ and differentiating $x$, I get $$\frac{bx}{n}\left(x+a\right)^{n+1}-\frac{b}{n\left(n+1\right)}\left(x+a\right)^{n+1}+C$$
Why is this happening?