- #1
gsingh2011
- 115
- 1
The formula for the expected value of a continuous random variable is [itex]E(x) = \int_{-\infty}^{\infty} x\cdot f(x)[/itex]. This leads me to believe that the expected value of a function g(x) is [itex]E(x) = \int_{-\infty}^{\infty} g(x)\cdot f(g(x))[/itex]. However, the correct formula is [itex]E(x) = \int_{-\infty}^{\infty} g(x)\cdot f(x)[/itex]. Why is this?