- #1
EngWiPy
- 1,368
- 61
Hello all,
I have the random variable ##X## with CDF and PDF of ##F_X(x)## and ##f_X(x)##, respectively. Now I have a function in terms of the random variable ##X##, which is ##e^{-X}##, and I want to find the mean of this function. Basically this can be found as
[tex]\int_0^{\infty}e^{-x}f_X(x)\,dx[/tex]
where the range of the random variable ##X## is between ##0## and ##\infty##. However, ##X## is a very complicated random variable (it's a function of a number of other independent random variables), and thus although the CDF is easy to find relatively, the PDF is not that nice expression after taking the derivative of the CDF function. So someone here pointed out to me that by using integration by parts, the above mean expression can by written as
[tex]\int_0^{\infty}e^{-x}f_X(x)\,dx=\left. -e^{-x}F_X(x)\right|_0^{\infty}+\int_0^{\infty}e^{-x}F_X(x)\,dx=\int_0^{\infty}e^{-x}F_X(x)\,dx[/tex]
I just wanted to make sure: Is this mathematically correct?
Thanks
I have the random variable ##X## with CDF and PDF of ##F_X(x)## and ##f_X(x)##, respectively. Now I have a function in terms of the random variable ##X##, which is ##e^{-X}##, and I want to find the mean of this function. Basically this can be found as
[tex]\int_0^{\infty}e^{-x}f_X(x)\,dx[/tex]
where the range of the random variable ##X## is between ##0## and ##\infty##. However, ##X## is a very complicated random variable (it's a function of a number of other independent random variables), and thus although the CDF is easy to find relatively, the PDF is not that nice expression after taking the derivative of the CDF function. So someone here pointed out to me that by using integration by parts, the above mean expression can by written as
[tex]\int_0^{\infty}e^{-x}f_X(x)\,dx=\left. -e^{-x}F_X(x)\right|_0^{\infty}+\int_0^{\infty}e^{-x}F_X(x)\,dx=\int_0^{\infty}e^{-x}F_X(x)\,dx[/tex]
I just wanted to make sure: Is this mathematically correct?
Thanks