Prove that$$ \int_0^1 \binom{n}{k} p^{k}( 1-p ) ^{n-k}dp=\frac{1}{n+1}. $$
I met this question in "The Art and Craft of Problem Solving". The whole question is from Bay Area Math Meet 2000, and by using an alternative method to interpret that question, we can get the result.
The book then asked us to use 2 different methods to solve it,
- repeat integration by part. This is easy, I solve it.
- Using manipulation of the binomial series. I can not solve the question using this method. How can I use the binomial series to solve it?
Using this, the left-hand side is $$\binom{n}{k}\operatorname{B}(k+1,\,n-k+1)=\frac{\Gamma(n+1)}{\color{blue}{\Gamma(k+1)}\color{green}{\Gamma(n-k+1)}}\frac{\color{blue}{\Gamma(k+1)}\color{green}{\Gamma(n-k+1)}}{\Gamma(n+2)}=\frac{1}{n+1},$$where the blue factors cancel, as do the green ones.
I'm not sure how we can "use the binomial series", if by that you mean expanding $(1-p)^{n-k}$. (Edit: @MarkusScheuer showed how.) But there's another way to use it. Summing over $k$ from $0$ to $n$ inclusive, these integrals give $\int_0^1(p+1-p)^ndp=\int_0^1dp=1$, so we only need show why the integrals are $k$-independent. Indeed, they are values, averaged over a $U(0,\,1)$ distribution of $p$, for the probabilities of a $B(n,\,p)$-distributed variable taking each possible value of $k$. We can argue they are equiprobable when we are that ignorant of the distribution of $p$.