I am trying to understand these two definitions, but I'm just not clear where they come from and how they relate to the old formulas that I was used to a week ago.
In one book variance is defined as: $\displaystyle Var(X) = \int (x-\mu)^2 f(x) dx $ and in the other variance is $E[(X-\mu)^2]$. How are these two the same? Can someone also explain this formula: $\displaystyle \mu = \int xf(x) dx$?