Random Variables and Expectation
≈ 20 minA random variable assigns a number to each outcome of an experiment — for instance, the number shown on a die, or your winnings in a game. Its probability distribution lists each value with its probability, and those probabilities sum to 1.
The expected value is the long-run average — each value weighted by its probability:
Worked example. For a fair die, . You will never roll a 3.5, but over thousands of rolls the average settles there.
The expected value of a random variable is best described as:
A fair six-sided die is rolled. What is the expected value of the number shown?
A random variable takes value 0 with probability 0.5, value 1 with probability 0.3, and value 2 with probability 0.2. Find .
A school raffle ticket costs R5. There is a 0.05 probability of winning the R50 prize and a 0.95 probability of winning nothing. What is the expected profit (in rand) from buying one ticket? (A loss is negative.)

