diff --git a/chapter_preliminaries/probability.md b/chapter_preliminaries/probability.md index 4820f9899..45b9a9dd3 100644 --- a/chapter_preliminaries/probability.md +++ b/chapter_preliminaries/probability.md @@ -892,7 +892,7 @@ of the random variable $X$ is defined as $$E[X] = E_{x \sim P}[x] = \sum_{x} x P(X = x).$$ -Likewise, for densities we obtain $E[X] = \int x \;dp(x)$. +Likewise, for densities we obtain $E[X] = \int x p(x) \; dx$. Sometimes we are interested in the expected value of some function of $x$. We can calculate these expectations as