4

Let $k$ be a natural number. What are some good ways to integrate $\int_0^1 x^{k+1} (1-x)^k dx$ and $\int_0^1 x^{k+2} (1-x)^k dx$? I wanted to use some symbolic math software but I don't have one, so I have to learn a way to do it manually. Thanks!

Tim
  • 47,382

2 Answers2

8

Let $$I(a,b)=\int_0^1x^a(1-x)^bdx $$ $$I(0,b)=\frac{1}{b+1}\quad I(a,b)=\frac{a}{b+1}I(a-1,b+1)$$ The second identity is by integrating by parts. Solving,$$I(a,b)=\frac{a!}{(b+1)(b+2)...(b+a+1)}=\frac{a!b!}{(a+b+1)!}$$ which solves the problem.

  • 4
    A nice check is that the final answer has to be symmetric in $a$ and $b$ as you can define $u=1-x$ and get the same integral with $a$ and $b$ interchanged. – Ross Millikan Feb 26 '13 at 17:04
3

Hints: this is the Beta Function:

$$\int\limits_0^1 x^{k+1}(1-x)^k=B(k+2\,,\,k+1)=\frac{\Gamma(k+2)\Gamma(k+1)}{\Gamma(2k+3)}=\frac{(k+1)!k!}{(2k+2)!}$$

DonAntonio
  • 211,718
  • 17
  • 136
  • 287