Monday, 18 November 2019

calculus - Prove that E(X)=intinfty0P(X>x),dx=intinfty0(1FX(x)),dx.




Let X be a continuous non-negative random variable (i.e. Rx has only non-negative values). Prove that E(X)=0P(X>x)dx=0(1FX(x))dx where FX(x) is the CDF for X. Using this result, find E(X) for an exponential (λ) random variable.





I know that by definition, FX(x)=P(Xx) and so 1FX(x)=P(X>x)



The solution is:
0xf(y)dydx=0y0f(y)dydx=0yf(y)dy.



I'm really confused as to where the double integral came from. I'm also rusty on multivariate calc, so I'm confused about the swapping of x and to 0 and y.




Any help would be greatly appreciated!


Answer



Observe that for a continuous random variable, (well absolutely continuous to be rigorous):



P(X>x)=xfX(y)dy



Then taking the definite integral (if we can):



0P(X>x)dx=0xfX(y)dydx




To swap the order of integration we use Tonelli's Theorem, since a probability density is strictly non-negative.



Observe that we are integrating over the domain where 0<x< and x<y<, which is to say $0

0P(X>x)dx= 0<x<y<fX(y)d(x,y)= 0y0fX(y)dxdy



Then since y0fX(y)dx=fX(y)y01dx=y fX(y) we have:



0P(X>x)dx= 0y fX(y)dy= E(XX0) P(X0)= E(X)when X is strictly positive




QED


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...