- #1
songoku
- 2,294
- 325
E(X) of probability density function f(x) is [itex]\int x f(x) dx[/itex]
E(X2) of probability density function f(x) is [itex]\int x^2 f(x) dx[/itex]
Can I generalize it to E(g(x)) of probability density function f(x) = [itex]\int g(x). f(x) dx[/itex] ?
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, [itex]\int (5 + 10x) f(x) dx[/itex]
I got two different answers. Which one is correct and why?
Thanks
E(X2) of probability density function f(x) is [itex]\int x^2 f(x) dx[/itex]
Can I generalize it to E(g(x)) of probability density function f(x) = [itex]\int g(x). f(x) dx[/itex] ?
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, [itex]\int (5 + 10x) f(x) dx[/itex]
I got two different answers. Which one is correct and why?
Thanks