I'm struggling to prove equations (1.1) and (1.2) in the course notes.
(1.1)
There are two proofs given on (1.1):
1. E[X] = Int(0,Inf)[x*dF(x)]
2. E[X] = Int(0,Inf)[S(x)dx]
I understand how 1. can be proved. However, for 2. I can't follow the course notes which suggest using Integration by Parts and substitution where u=S(x)=1- F(x) and dv/dx=1.
Could somebody please explain the above on (1.1) and proof behind (1.2)?
Thanks
(1.1)
There are two proofs given on (1.1):
1. E[X] = Int(0,Inf)[x*dF(x)]
2. E[X] = Int(0,Inf)[S(x)dx]
I understand how 1. can be proved. However, for 2. I can't follow the course notes which suggest using Integration by Parts and substitution where u=S(x)=1- F(x) and dv/dx=1.
Could somebody please explain the above on (1.1) and proof behind (1.2)?
Thanks