Expected Value & Discrete Probability Distributions
A discrete random variable takes separate, countable values, such as the number of heads in three coin flips or the payout of a raffle ticket. A probability distribution is the table that pairs each of those values with the probability of getting it. Once you have that table, you can answer the question every game and every business decision comes down to: what happens on average if this is repeated many times?
That average is called expected value, written . You multiply each value by its probability, then add. The result is a weighted average, so outcomes that are more likely pull it harder, and it is perfectly normal for the answer to be a number the variable can never actually equal.
What makes a valid distribution
A discrete probability distribution is usually shown as two columns: the values on one side, the probabilities on the other. Two rules have to hold. Every probability is between and , so a negative entry is an immediate disqualification, and all the probabilities together add to exactly , because one of the outcomes has to happen.
That second rule is also a tool. If a distribution lists three of its four probabilities as , , and , the missing one is . Check the total before doing anything else, because an expected value computed from a table that does not add to is meaningless.
Expected value is a weighted average
To find , go row by row: multiply the value by its probability, then add the products. For a distribution with values , , and carrying probabilities , , and , the expected value is . Notice that is not the plain average of , , and , which would be . The probabilities do the weighting.
Expected value is a long run average, not a prediction of the next trial and not the most likely outcome. The expected number of heads in one flip is , and no flip has ever produced half a head. What it means is that over thousands of flips the running average settles near .
Fair games and comparing decisions
For a game with a cost, work out the expected winnings first, then subtract what you paid to get the expected net gain. A game is called fair when that net gain is , meaning that in the long run you break even. If the net gain is negative, the game loses money over time no matter how a single round turns out.
The same computation compares two options that are not games at all. Give each outcome its value, with losses written as negative numbers, multiply by the probabilities, and add. The plan with the larger expected value is the better long run choice, and it is often not the one with the flashiest single outcome.
Worked examples
Example 1: expected value from a table
A distribution has values , , , with probabilities , , , . Find .
Answer:
Example 2: finding a missing probability
Three of a distribution's four probabilities are , , and . What is the fourth?
Answer:
Example 3: is the game fair?
A game costs $3 to play. You win $10 with probability and nothing otherwise. Find the expected net gain.
Answer: An expected net gain of , so the game is not fair. It loses about $0.50 per play in the long run.
Example 4: comparing two plans
Plan A earns $500 with probability and loses $200 with probability . Plan B earns $1000 with probability and loses $100 with probability . Which has the better expected profit?
Answer: Plan B, with an expected profit of $230 against $220 for Plan A.
Try one yourself
Common questions
Can the expected value be a number the variable never takes?
Yes, and it usually is. The expected number of heads in one flip is , which no single flip can produce. Expected value describes the average over many repetitions, not any one result.
Why not just average the values?
A plain average treats every outcome as equally likely. Expected value weights each value by how often it actually happens, which is why , , with probabilities , , gives rather than .
What makes a game fair?
An expected net gain of . Find the expected winnings, subtract the cost to play, and if the result is the game breaks even over the long run. A negative result means it loses money over time.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.