When the writer wishes to show a sum/integration that applies similarly to both pmfs and pdfs, they write it like this:
$\quad \int (whatever)\ dF_X(x) $
Such that this becomes either $\sum_x (whatever) \ f_X(x)$ or $\int (whatever)\ f_X(x)\ dx$ depending on whether $X$ is discrete or continuous.
What is the intuition behind $dF_X(x)$ here? (Integrating by the cdf? But how/why?) I know what it turns into, but I don't know why.