1

I´m struggling with a random variable exercise of a book I´m reading. Anyone has an idea of how to approach this problem?

enter image description here

Thanks in advance :)

  • 1
    Compute $\int_0^1 x f(x) dx$. Just try it. You don't have to solve the integral directly, just use some properties of the gamma function. – copper.hat Jul 09 '14 at 02:22

2 Answers2

1

$$E(X)=\int^{1}_{0}\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}x(x^{a-1}(1-x)^{b-1})=\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}\int^{1}_{0}x^{a}(1-x)^{b-1}=\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}\left(\frac{\Gamma(a+1)\Gamma(b)}{\Gamma((a+b)+1)}\right)\int_{0}^{1}\left(\frac{\Gamma((a+b)+1)}{\Gamma(a+1)\Gamma(b)}\right)x^{(a+1)-1}(1-x)^{b-1}=\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}\left(\frac{\Gamma(a+1)\Gamma(b)}{\Gamma((a+b)+1)}\right)=\frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}\left(\frac{a\Gamma(a)\Gamma(b)}{(a+b)\Gamma(a+b)}\right)=\frac{a}{a+b}$$

Kamster
  • 1,970
  • 16
  • 18
0

More directly: $EX = {B(a+1,b) \over B(a,b)}= { \Gamma(a+1) \Gamma(b) \over \Gamma(a+b+1)} { \Gamma(a+b) \over \Gamma(a) \Gamma(b) } = { a\over a+b } $ (using the fact that $\Gamma$ satisfies the functional equation $\Gamma(x+1) = x \Gamma(x)$).

copper.hat
  • 172,524