songoku
- 2,508
- 402
E(X) of probability density function f(x) is \int x f(x) dx
E(X2) of probability density function f(x) is \int x^2 f(x) dx
Can I generalize it to E(g(x)) of probability density function f(x) = \int g(x). f(x) dx ?
I tried to find E(5 + 10X) from pdf. I did two ways:
1. I found E(X) then using linear combination of random variable, E (5 + 10X) = 5 + 10 E(X)
2. Using integration, \int (5 + 10x) f(x) dx
I got two different answers. Which one is correct and why?
Thanks
E(X2) of probability density function f(x) is \int x^2 f(x) dx
Can I generalize it to E(g(x)) of probability density function f(x) = \int g(x). f(x) dx ?
I tried to find E(5 + 10X) from pdf. I did two ways:
1. I found E(X) then using linear combination of random variable, E (5 + 10X) = 5 + 10 E(X)
2. Using integration, \int (5 + 10x) f(x) dx
I got two different answers. Which one is correct and why?
Thanks
