4. Statistics and Probability

Expected Value

Expected Value ๐ŸŽฏ

students, in daily life we often make choices without knowing exactly what will happen. A game may pay money, a bus may be late, or a store promotion may give a discount. Statistics and probability help us describe uncertainty, and one of the most useful ideas is expected value. Expected value tells us the long-run average result of a random process. It does not predict the next single outcome, but it does describe what we would expect after many repeated trials.

In this lesson, you will learn how to define expected value, calculate it from probability distributions, and use it to make sense of real-world decisions. By the end, you should be able to explain why expected value is important in IB Mathematics: Applications and Interpretation HL and how it connects to probability models, data analysis, and decision-making.

What Is Expected Value? ๐Ÿ“Š

Expected value is the average outcome of a random variable when an experiment is repeated many times under the same conditions. If a random variable is $X$ with possible values $x_1, x_2, \dots, x_n$ and probabilities $P(X=x_1), P(X=x_2), \dots, P(X=x_n)$, then the expected value is

$$E(X)=\sum_{i=1}^{n} x_iP(X=x_i).$$

This formula means each outcome is weighted by how likely it is. A value that happens often counts more in the average than a rare value.

A key idea is that expected value is not always an actual outcome. For example, if a lottery ticket has expected value of $-$1.50, that does not mean you will lose exactly $1.50$ on one ticket. It means that over many tickets, the average result is a loss of $1.50$ per ticket.

students, this is why expected value is useful in real life. Insurance companies, casinos, investors, and businesses use it to estimate long-term gain or loss. It is also used in scientific studies and public policy when outcomes involve uncertainty.

How to Calculate Expected Value โœ๏ธ

To calculate expected value, you need a probability distribution. A probability distribution lists the possible values of a random variable and the probability of each value.

Example 1: Simple discrete distribution

Suppose a small game works like this:

  • Win $10$ with probability $0.2$
  • Win $5$ with probability $0.3$
  • Win $0$ with probability $0.5$

Let $X$ be the amount won. Then

$$E(X)=(10)(0.2)+(5)(0.3)+(0)(0.5).$$

$$E(X)=2+1.5+0=3.5.$$

So the expected value is $3.5$. On average, a player would win $3.50$ per game in the long run.

This does not mean every player wins $3.50$ each time. One person might win $10$, another might win nothing. Expected value summarizes the overall average pattern.

Example 2: Losses and gains

Suppose a raffle ticket costs $4$. A student can win $20$ with probability $0.1$ and win nothing with probability $0.9$.

Let $X$ be the net gain after buying one ticket. Then the outcomes are:

  • $16$ with probability $0.1$ because $20-4=16$
  • $-4$ with probability $0.9$ because losing the ticket cost gives a net loss of $4$

Then

$$E(X)=(16)(0.1)+(-4)(0.9).$$

$$E(X)=1.6-3.6=-2.$$

The expected value is $-2$, so the average net result is a loss of $2$ per ticket. This is a strong signal that the raffle is not financially favorable to the buyer.

Expected Value in Probability Models ๐ŸŽฒ

Expected value fits naturally into probability models because it uses the probabilities of outcomes to produce a single summary number. In IB Mathematics: Applications and Interpretation HL, this is important when working with discrete random variables, binomial models, and real-world simulations.

If a random variable follows a binomial distribution, where $X\sim\text{Bin}(n,p)$, then the expected value is

$$E(X)=np.$$

This formula is very useful because it gives the long-run average number of successes in $n$ trials.

Example 3: Binomial context

A website finds that $15\%$ of visitors click an advertisement. If $40$ people visit the site, let $X$ be the number who click the ad. Then $X\sim\text{Bin}(40,0.15)$ and

$$E(X)=40(0.15)=6.$$

So in the long run, the site expects about $6$ clicks per group of $40$ visitors.

This is not a guarantee for any one group. A particular day might have $3$ clicks or $9$ clicks. But if the situation repeats many times, the average will tend toward $6$.

Expected value is closely related to the law of large numbers. As the number of trials increases, the sample mean tends to get closer to the expected value. This is one reason expected value is important in statistical reasoning: it connects probability with observed data.

Expected Value and Real-World Decisions ๐Ÿ’ก

Expected value helps people compare choices when outcomes are uncertain. To make a good decision, we often look at the average result of each option.

Example 4: Choosing between two offers

A store offers two promotions:

  • Offer A: Guaranteed discount of $5$
  • Offer B: A $20$ discount with probability $0.3$, otherwise no discount

The expected discount for Offer B is

$$E(X)=(20)(0.3)+(0)(0.7)=6.$$

So Offer B has an expected discount of $6$, which is larger than $5$.

However, students, expected value is not the only thing that matters. Offer B is less certain. Someone who wants guaranteed savings may still choose Offer A. This shows that expected value supports decisions, but the best choice may also depend on risk, comfort, and personal goals.

Example 5: Insurance and risk

Insurance works because many people pay premiums, but only some people make claims. Suppose an insurer estimates that a certain type of claim will happen with probability $0.02$ and cost $10,000$ if it occurs. The expected claim cost per policy is

$$E(X)=(10000)(0.02)+(0)(0.98)=200.$$

If the company charges more than $200$ per policy, it can cover expected claims and other costs such as administration and profit. This is one reason expected value is central in business and financial planning.

Interpreting Expected Value Carefully ๐Ÿง 

Expected value is powerful, but it must be interpreted correctly.

First, it is a long-run average, not a single outcome. If one person plays a game once, the expected value does not tell exactly what will happen.

Second, expected value can be affected by unusual outcomes. A rare but huge prize may make the expected value look high even though most people lose. For example, a game with a very small chance of winning a large amount may still have a positive expected value, but the typical player may never see that prize.

Third, if the probabilities are estimated from data, the expected value is also an estimate. In statistics, estimates may change as more data becomes available. This connects expected value to data analysis and inference.

Finally, expected value is especially meaningful when a process is repeated many times. That is why it is often used in gambling, quality control, and operations research.

Conclusion โœ…

Expected value is one of the most important ideas in statistics and probability because it combines outcomes with probabilities to describe a long-run average result. students, you can think of it as the โ€œfair averageโ€ of a random situation. It helps interpret games, business decisions, insurance, and survey-based predictions.

In IB Mathematics: Applications and Interpretation HL, expected value connects probability models to real-world decisions. It also supports broader statistical thinking by showing how randomness can still produce meaningful averages over many trials. When you understand expected value, you are better prepared to analyze uncertainty in a logical, mathematically accurate way.

Study Notes

  • Expected value is the long-run average of a random variable.
  • For a discrete random variable $X$, the formula is $$E(X)=\sum x_iP(X=x_i).$$
  • Expected value is found by multiplying each outcome by its probability and adding the results.
  • It may not be an actual possible outcome in a single trial.
  • For a binomial random variable $X\sim\text{Bin}(n,p)$, the expected value is $$E(X)=np.$$
  • Expected value helps compare uncertain options in real-world situations such as games, discounts, insurance, and business decisions.
  • A positive expected value suggests a long-run average gain, while a negative expected value suggests a long-run average loss.
  • Expected value is most meaningful when an experiment is repeated many times.
  • It is closely connected to statistical reasoning, probability models, and decision-making in IB Mathematics: Applications and Interpretation HL.

Practice Quiz

5 questions to test your understanding