Sometimes we may be interested in finding the expected value of a function of a random variable. These functions are usually in the form Y=X^2 and Y=a+bX. The value of E(Y) can be computed in two ways. We can find the probability mass function of Y and apply Definition 2.3-1, or we can use the probability mass function of X and apply Theorem 2.3-1 found below:
.
Theorem 2.3-1:
If Y is a function of random variable X, where, say Y=Q(x), then