a) Let $X \sim {\text {Beta}}(a,b)$, with density $f(x) = \frac{x^{a-1}(1-x)^{b-1}} {B (a,b)}$. Find the expectation of $X \ln X$ and $\frac{1}{X+1}.$
b) Let $Y \sim {\text {Gamma}}(\alpha,\beta)$, with density $g(y) = {\frac {\beta ^{\alpha }}{\Gamma (\alpha )}}y^{\alpha \,-\,1}e^{-\beta y}$. Find the expectation of $Y \ln Y$ and $\frac{1}{Y+1}.$
c) Assume $X,Y$ are independent. Find $\Bbb E [\frac{1}{XY+1}]$ and $\Bbb E [\frac{1}{Y-XY+1}]$.
I reduced my previous question to the above much simpler questions. Any help with this question will help the previous question as well. Any help with any of above expectation calculations will be very much appreciated.
Have you tried a computer algebra system?
Part (a): For $X \sim \text{Beta}(a,b)$ with pdf $f(x)$:
Then here is the output generated by mathStatica / Mathematica to the first problem:
... where
HarmonicNumber[n]denotes the $n^\text{th}$ harmonic number $H_n=\sum _{i=1}^n \frac{1}{i}$, andHypergeometric2F1Regularized[a,b,c,z]denotes ${_2}F{_1}(a,b;c;z) / \Gamma(c)$, andExpectis a mathStatica function (of which I am one of the authors).Part (b): For $Y \sim \text{Gamma}(\alpha,\beta)$ with pdf $g(y)$:
... you seek:
... where
EulerGammais Euler's constant (approx 0.577), and:where
ExpInteralE[$\alpha$, $\beta$]is the exponential integral function $\int _1^{\infty} \frac{1}{t^\alpha} e^{-\beta t} dt$Part (c): Find $\Bbb E [\frac{1}{XY+1}]$ and $\Bbb E [\frac{1}{Y-XY+1}]$.
These two questions are essentially the same. To see this, note that if $X \sim \text{Beta}(a,b)$, then $(1-X) \sim \text{Beta}(b,a)$, and that $\Bbb E [\frac{1}{Y-XY+1}] = \Bbb E [\frac{1}{(1-X)Y+1}]$ which is thus also of form $\Bbb E [\frac{1}{XY+1}]$ (just with the $X$ parameters swapped). So we only need to solve the first part.
Given independence, the joint pdf of $(X,Y)$, say $h(x,y) = f(x) g(y)$:
Then $\Bbb E [\frac{1}{XY+1}]$ is:
While this expression looks rather cumbersome, it appears to be correct, and works fine for non-integer parameter values. For instance, when ${a = 2.2, b = 3.3, \alpha = 4.1, \beta = 5.2}$, the above expression returns a value of 0.780101 for the expectation (which is consistent with Monte Carlo simulation).