The expectation of a distribution can be seen as the weighted sum

Theorem