Recently, I stumbled upon this:
$$\int_a^b (x-a)^3(x-b)^4dx$$
I did this in many ways - using IBP multiple times and by even expanding both terms like a madman.
The result was: $$\frac{(a-b)^8}{280}$$ I was astonished by this cute little result. So I started wondering about evaluating the following:
$$\int_a^b(x-a)^m(x-b)^ndx$$
I wanted to use reduction to obtain a result similar to Wallis' formula for sine and cosine
Any other method is always welcome
Start using IBP:
$$I_{(m,n)}=\int_a^b(x-a)^m(x-b)^ndx=0-\int_a^b m(x-a)^{m-1}\frac{(x-b)^{n+1}}{n+1}dx=-\frac{m}{n+1}I_{(m-1,n+1)}$$
Applying IBP multiple times, we obtain $$I_{(m,n)}=(-1)^{m+1}\frac{m!.n!}{(n+m)!}I_{(0,n+m)}$$
$$\boxed{I_{(m,n)}=(-1)^{m+1}\frac{m!.n!}{(n+m+1)!}(a-b)^{n+m+1}}$$