Question: Show that if a random variable X is defined on a sample space S (you may assume X has values x1, x2, ... xk as above) then the expected value of X is given by

(In words, we take each member of the sample space, compute its probability, multiply the probability by the value of the random variable and add the results.)