Definition

The expected value of a discrete r.v. whose distinct possible valances are is defined by

If the support is finite, then this is replaced by a finite sum, and we can also write

The expectation is undefined is diverges.

Tip

If and are discrete r.v.s with the same distribution (need not to be independent from each other), then

Another way to calculate expectation for a non-negative r.v. is

where is the Survival Function of

Linearity of Expectation

For any r.v.s and any constant ,

Intuitive Proof

Recall is a function which assigns a real number to every outcome in the sample space. The r.v. may assign the same value to multiple sample outcomes. When this happens, out definition of expectation groups all these outcomes together, and whose weight, , is the total weight of the constituent outcomes. If is the value that assigns to outcome , we can take the weighted average

where is the weight of outcome . So we have

Expectation of the Product of Independent Random Variables

For independent r.v.s , we have

Expectation of Functions of Random Variables

See Law of the Unconscious Statistician (LOTUS)

Conditional Expectation

See Conditional Expectation