Skip to main content
Mathematics LibreTexts

6.5: Expectation Involving Chance

  • Page ID
    237528
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\ket}[1]{\left| #1 \right>}\)
    \(\newcommand{\bra}[1]{\left< #1 \right|}\)
    \(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
    \(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
    \(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
    \(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
    \(\newcommand{\expect}[1]{\langle #1 \rangle}\)
    \(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Find the expected value in an applied scenario.
    • Interpret measures of expectation.

    Introduction

    In this section, we explore the idea of expectation -- a numerical description of what we anticipate when a chance process is repeated many times. Although the outcome of any single trial of a random experiment is unpredictable, the long‑run behavior of the experiment follows a stable, predictable pattern. Expected value provides a mathematical way to describe that long‑run average.

    The key measure that captures this behavior is the mean of the possible outcomes in a probability model. We denote this mean by expected value, using the symbol \(\mu\), the same notation used for the mean in the normal model. In probability, \(\mu\) represents the value we expect on average over many repetitions of the experiment.

    Expected value is one of the most useful concepts in probability. It appears in everyday contexts such as insurance, financial decision‑making, and evaluating risks. It also plays a central role in the design of casino games and lotteries - an idea those industries hope most people never fully understand.

    Expected Value

    To build intuition for the idea of expected value, consider a simple game played by Ro and Larson.

    Ro rolls a standard six‑sided die.

    • If the die shows an even number, Ro receives $1 from Larson.
    • If it shows an odd number, he gives $1 to Larson.

    Either player could win $1 on any roll. The question is: Who would come out ahead if they played this game many times?

    Because a fair die has three even faces and three odd faces, we expect Ro to win half the time and lose half the time. Over the long run, he should break even. We can confirm this by calculating his average gain or loss:

    \(\begin{aligned} & \text{ Ro's expected gain or loss} \\[6pt] &= \left({\text{amount Ro wins} \times P(\text{Ro wins})}\right) + \left(({\text{amount Ro loses} \times P(\text{Ro loses})}\right) \\[6pt] &= \left($1 \times \dfrac{1}{2}\right) +\left(-$1 \times \dfrac{1}{2}\right) \\[6pt] &= $0.50 + \left(-$0.50\right) \\[6pt] &= $0 \end{aligned}\)

    This value, $0, is Ro’s expected value. It tells us that if they play the game many times, Ro should neither gain nor lose money overall. A positive expected value would indicate a long‑term gain; a negative expected value would indicate a long‑term loss. Importantly, expected value does not predict the outcome of any single roll -- it describes only the long‑run average behavior of the game.

    This example illustrates the general idea behind expected value: we multiply each possible gain or loss by the probability of that outcome, and then add the products.

    \[\mu = \sum_{i=1}^{n} x_i \cdot P(x_i) \nonumber\]

    This theoretical definition captures the same long‑run average behavior we observed in Ro and Larson’s game and will guide our work with expected value throughout this section.

    Expected Value

    Expected Value \((\mu)\) is the mean outcome if an experiment or procedure with a numerical outcome is repeated many times.

    \begin{align*} \mu &= \sum_{i=1}^{n} x_i \cdot P(x_i) \\[10pt] &= x_{1} \cdot P(x_1) + x_{2} \cdot P(x_2) + x_{3} \cdot P(x_3)+\ldots+x_{n} \cdot P(x_n) \end{align*}

    where each \(x\) is the net amount gained or lost on each outcome of the experiment and \(P(x)\) is the probability of that outcome.

    Example \(\PageIndex{1}\)

    Based on attendance records, Ms. Carter has determined the probabilities for the number of students absent from homeroom each day, denoted by \(x\). Find the expected value of \(x\) and interpret it.

    \[ \begin{array}{|l|c|c|c|c|c|} \hline x & 0 & 1 & 2 & 3 & 4 \\ \hline P(x) & 0.22 & 0.34 & 0.20 & 0.18 & 0.06 \\ \hline \end{array} \nonumber \]

    Solution

    The expected value is the the long‑run mean outcome. We cannot simply compute \(\frac{0+1+2+3+4}{5}=2\) because each value of \(x\) does not occur with equal probability. For instance, having \(x=1\) student absent happens far more often than having \(x=4\) students absent. Each outcome must be weighted by its probability.

    \(\begin{align*} \mu &= \sum_{i=1}^{n} x_i \cdot P(x_i) \\[6pt] &= (0 \cdot 0.22)+ (1 \cdot 0.34)+(2 \cdot 0.20) + (3 \cdot 0.18)+ (4 \cdot 0.06) \\[6pt] &= 0+ 0.34+0.40 + 0.54+ 0.24 \\[6pt]&=1.52 \end{align*}\)

    On average, Ms. Carter can expect 1.52 students to be absent from homeroom each day. Of course, there will never be exactly 1.52 students absent, but over many days the average number of absences should be close to 1.52.

    You Try It \(\PageIndex{A}\)

    The table shows the probabilities that a customer orders \(x\) toppings when purchasing a hot dog from a street vendor:

    \[ \begin{array}{|l|c|c|c|c|} \hline x & 0 & 1 & 2 & 3 \\ \hline P(x) & 0.20 & 0.40 & 0.25 & 0.15 \\ \hline \end{array} \nonumber \]

    What is the expected number of toppings sold per hot dog?

    Answer

    1.35 toppings

    Example \(\PageIndex{3}\)

    A university medical research center finds that a certain treatment has a significant success rate in treating a certain type of skin cancer. Suppose five patients receive this treatment. The table shows the probabilities that 1, 2, 3, 4, or all 5 patients are cured.

    \[ \begin{array}{|l|c|c|c|c|c|c|} \hline \text{Number of patients cured, } x & 0 & 1 & 2 & 3 & 4 & 5 \\ \hline P(X=x) & ? & 0.029 & 0.132 & 0.309 & 0.360 & 0.168 \\ \hline \end{array} \nonumber \]

    a. What is the probability that none of the 5 patients are cured?

    Solution

    Use the fact that the probabilities of all possible outcomes must sum to 1.

    \begin{align*} P(x=0) + 0.029 + 0.132 + 0.309 + 0.360 + 0.168 &= 1 \\[6pt] P(x=0) + 0.998 &= 1 \\[6pt] P(x=0) &= 1 - 0.998 \\[6pt] P(x=0) &= 0.002 \end{align*}

    So, the probability that none of the five patients are cured is 0.002.

    b. When 5 patients are treated, how many patients can you expect to be cured?

    Solution

    Compute the expected value using expected value.

    \(\begin{align*} \mu &= \sum_{i=1}^{n} x_i \cdot P(x_i) \\[6pt] &= (0 \cdot 0.002)+ (1 \cdot 0.029)+(2 \cdot 0.132) + (3 \cdot 0.309)+ (4 \cdot 0.360) + (5 \cdot 0.168) \\[6pt] &= 0+ 0.029+0.264 + 0.927+ 1.44 + 0.84 \\[6pt]&=3.5 \end{align*}\)

    On average, 3.5 patients out of 5 will be cured.

    c. What is the mode number of patients who will be cured?

    Solution

    The mode is the value with the highest probability. Here, \(x=4\) has the greatest probability (0.360), so the mode is 4 patients.

    d. What is the median number of patients who will be cured?

    Solution

    The median is the 50th percentile. Add probabilities until reaching at least 0.50. The cumulative probability exceeds 0.50 when reaching \(x = 4\), so the median is 4 patients.

    Calculation of the expected value can sometimes be tedious, so it is helpful to use technology. Here are the steps for finding the expected value on the calculator for the scenario in Example 6.5.3:

    Computing Expected Value on the TI-83/84 Calculator

    Enter the values of outcomes x into L1 and the corresponding probabilities into L2.

    Press [STAT] and use the right arrow to move to the CALC menu. Choose 1:1-Var Stats.

    Type L1,L2 to indicate you are calculating based on a probability distribution. If you have STAT WIZARD on the newer version of the TI calculator, choose L2 for the FreqList.

    Example \(\PageIndex{4}\)

    A company plans to invest in a particular construction project. There is a 35% chance that it will lose \$30,000, a 40% chance that it will break even, and a 25% chance that it will make a profit of \$55,000.

    How much can the company expect to make or lose on this project?

    Solution

    It is helpful to make a table that summarizes all the information before finding the expected value. Represent the the loss outcome with a negative number, the break even outcome with 0, and the profit outcome with a positive number.

    \[ \begin{array}{|l|c|c|c|} \hline \text{Outcome (Amount of Profit or Loss)} & \text{-\$30,000} & \text{\$0} & \text{\$55,000} \\ \hline \text{Probability} & \text{0.35} & \text{0.40} & \text{0.25} \\ \hline \end{array} \nonumber \]

    Now use the formula for the expected value:

    \(\begin{align*} \mu &= \sum_{i=1}^{n} x_i \cdot P(x_i) \\[6pt] &= (-30000 \cdot 0.35)+ (0 \cdot 0.40) + (55000 \cdot 0.25) \\[6pt] &= -10500+ 0+13750 \\[6pt]&=3250 \end{align*}\)

    The company has an expectation, or average expected gain, of \$3,250. If this company makes investments in projects like this one with these particular probabilities and amounts, in the long run it would make an average profit of \$3,250 per project. However, on any individual project, the company many gain money, lose money, or break even.

    You Try It \(\PageIndex{B}\)

    The organizers at a balloon festival know that if it’s windy in town, only 9,000 people will show up for the festival. But if it’s not windy, 30,000 people will show up. The probability of wind is 45%.

    What is the expectation for the number of people who attend?

    Answer

    20,550 people

    Example \(\PageIndex{5}\)

    You toss two fair coins simultaneously and record the number of heads. Then you repeat the experiment again and again.

    What should be the average number of heads once this experiment has been performed many, many times?

    Solution

    To answer this, we compute the expected value of the number of heads. Since each coin can land heads or tails, there are four equally likely outcomes in the sample space: \(S=\{HH,HT,TH,TT\}\).

    We let \(x\) be the number of heads in each possible outcome in the sample space.

    • For HH, \(x=2\) heads.
    • For HT, \(x=1\) head.
    • For TH, \(x=1\) head.
    • For TT, \(x=0\) heads.

    The four outcomes of tossing the coins are equally likely, each with a probability \(\frac{1}{4}\). We can make a table showing the possible outcomes for the number of heads observed \(x=0\), \(1\), and \(2\) along with their associated probabilities.

    \[ \begin{array}{|l|c|c|c|} \hline x & 0 & 1 & 2 \\ \hline P(x) & \frac{1}{4} & \frac{1}{4} + \frac{1}{4} = \frac{2}{4} & \frac{1}{4} \\ \hline \end{array} \nonumber \]

    Now multiply each value of \(x\) by its probability and add the products:

    \(\begin{align*} \mu &= \sum_{i=1}^{n} x_i \cdot P(x_i) \\[6pt] &= \left(0 \cdot \frac{1}{4}\right)+ \left(1 \cdot \frac{2}{4}\right)+\left(2 \cdot \frac{1}{4}\right) \\[6pt] &= 0 + \frac{2}{4} + \frac{2}{4} \\[6pt] &= 1 \end{align*}\)

    If this experiment is performed many, many times, we expect an average of 1 head per toss.

    Example \(\PageIndex{6}\)

    A dart is equally likely to land anywhere on the dartboard. A player earns 40 points for landing on gray, 20 points for landing on yellow, and 0 points for landing on black.

    Dartboard with 5 yellow squares, 5 gray squares, and 6 black squares.

    On average, how many points will a player earn per throw?

    Solution

    Notice that the chance of landing on black is different than the chances of landing on yellow and gray. Of the 16 squares, 5 are gray, 5 are yellow, and 6 are black. We can make a table showing the number of points earned and probabilities for each outcome.

    \[ \begin{array}{|l|c|c|c|} \hline \text{Color} & \text{gray} & \text{yellow} & \text{black} \\ \hline x & 40 & 20 & 0 \\ \hline P(x) & \frac{5}{16} & \frac{5}{16} & \frac{6}{16} \\ \hline \end{array} \nonumber \]

    Now multiply each value of \(x\) by its probability and add the products:

    \(\begin{align*} \mu &= \sum_{i=1}^{n} x_i \cdot P(x_i) \\[6pt] &= \left(40 \cdot \frac{5}{16}\right)+ \left(20 \cdot \frac{5}{16}\right)+\left(0 \cdot \frac{6}{16}\right) \\[6pt] &= \frac{200}{16} + \frac{100}{16} + 0 \\[6pt] &= \frac{300}{16} \\[6pt] &= 18.75 \end{align*}\)

    A player earns an average of 18.75 points per throw over the long run. It is important to understand that a player never earns exactly 18.75 points. If the player throws the dart many times, keeps track of the scores, and averages all the scores together, it should be close to 18.75 points.

    You Try It \(\PageIndex{C}\)

    In a carnival game, a player tosses a bean sack toward three concentric circles on a target board. The bean sack is not equally likely to land in each circle. Based on past records, the probabilities are:

    • Landing in the blue circle: 50%
    • Landing in the red circle: 30%
    • Landing in the green circle: 20%

    A player earns 15 points for landing in the blue circle, 5 points for landing in the red circle, and 0 points for landing in the green circle.

    Find the expected number of points a player earns per toss.

    Answer

    9 points

    Positive, Negative, and Zero Expected Value

    Expected value plays a crucial role in gaming and gambling. In general, if the expected value of your winnings in a money‑based game is negative, the game is unfavorable -- you should expect to lose money on average. A game with a positive expected value would be advantageous, though such games are extremely rare outside of carefully designed strategies.

    It is important to remember that even when a game has a positive expected value, most players might still lose money while a single fortunate player wins a large amount. Expected value describes the long‑run average, not the outcome of any individual play.

    When the expected value of a game is 0, the game is considered fair, meaning neither player has a mathematical advantage.

    Example \(\PageIndex{7}\)

    A carnival game consists of drawing one ball from a box containing two yellow balls, five red balls, and eight white balls. If the ball is yellow, you win \$5. If the ball is red, you win \$2. If the ball is white, you lose \$3.

    Is this a fair game? If you play the game many times, how much would you expect to gain or lose per game?

    Solution

    It is helpful to make a table that summarizes all the information before finding the expected value.

    \[ \begin{array}{|l|c|c|c|} \hline \text{Outcome (amount won or lost)} & \text{Yellow (\$5)}& \text{Red (\$2)}& \text{White (-\$3)} \\ \hline \text{Probability} & \frac{2}{15} & \frac{5}{15} & \frac{8}{15} \\ \hline \end{array} \nonumber \]

    Now use the formula for the expected value:

    \(\mu =\$5\left(\dfrac{2}{15}\right)+ \$2\left(\dfrac{5}{15}\right)+ -$3\left(\dfrac{8}{15}\right) \approx -$0.27\)

    Since the expected value is not zero this is not a fair game. The expected value is negative which indicates that a player can expect to lose about 27 cents per game on average when playing this game many times. That means that the carnival will make an average of $0.27 for every game played.

    Picking a ball from the bag is a random experiment so we cannot predict what will happen if we play the game once. We can predict what will happen only if we play the game many times.

    You Try It \(\PageIndex{D}\)

    A game consists of rolling a colored die with three green sides, two red sides, and one blue side. If you roll green, you earn 2 points. A roll of a red earns you 1 point. If you roll blue, you lose 8 points.

    Is this a fair game? If not, how many points can you expect to earn or lose per game?

    Answer

    This is a fair game because the expected value is 0 points.

    Example \(\PageIndex{8}\)

    You purchase a raffle ticket for a charity fundraiser. Each ticket costs $5, and the charity sells 2,000 tickets. One ticket will be drawn, and the winner receives a prize worth $4,000. Compute the expected value of your gain or loss when participating in this raffle.

    Solution

    We want the long‑run average amount a player gains or loses. If you buy one ticket, there are two possible outcomes:

    • You win the raffle with probability \(\frac{1}{2000}\).
    • You lose with probability \(\frac{1999}{2000}\).

    Remember that you pay $5 whether you win or lose.

    • If you win, your net gain is \($4000−$5=$3995\).
    • If you lose, your net gain is \(−$5\).

    \[ \begin{array}{|l|c|c|} \hline \text{Outcome} & \text{You Win} & \text{You Lose} \\ \hline \text{Amount you gain or lose, } x & \$4000 - \$5 = \$3995 & -\$5 \\ \hline P(x) & \dfrac{1}{2000} & \dfrac{1999}{2000} \\ \hline \end{array} \nonumber \]

    Now multiply each outcome by its probability and add the products:

    \(\begin{align*} \mu &= \sum_{i=1}^{n} x_i \cdot P(x_i) \\[6pt] &= \left(3995 \cdot \frac{1}{2000}\right)+ \left(-5 \cdot \frac{1999}{2000}\right) \\[6pt] &= 1.9975+ -4.9975\\[6pt]&=-3 \end{align*}\)

    The expected value of a ticket in this raffle is –$3.00. On average, participants lose $3 by entering. No one will ever lose exactly $3, but this represents the long‑term average loss across all players. Most people will lose their $5 entry fee, while one lucky person will win the prize. In this case, the loss may be acceptable since the money supports a charity.

    Example \(\PageIndex{9}\)

    A friend offers you a chance to play a game in which you pay $2 to roll two standard dice. If the dice show different values, you lose your money. If the dice match (that is, you roll doubles), you receive $5 back. Is this a fair game?

    Solution

    To determine whether the game is fair, we compute the expected value of your winnings.

    There are \(6 \times 6=36\) possible outcomes when rolling two dice.

    • Six of these outcomes are doubles: (1,1), (2,2), ..., (6,6). In these cases, your net winnings are \($5 - $2=$3\). (You win $5 but you paid $2 to play.)
    • The remaining 30 outcomes are not doubles. In these cases, you lose your $2, or \(-$2\).

    \[ \begin{array}{|l|c|c|} \hline \text{Outcome} & \text{Dice Match and You Win} & \text{Dice Don't Match and You Lose} \\ \hline \text{Amount you win, } x & +\$2 & -\$1 \\ \hline P(X=x) & \frac{6}{36} & \frac{30}{36} \\ \hline \end{array} \nonumber\]

    Now multiply each possible gain or loss by its probability and add the results:

    Now use the formula for the expected value:

    \(\mu =($3 \cdot \frac{6}{36})+ (-$2 \cdot \frac{30}{36}) = -$0.50\)

    Your expected value for this game is –$0.50. If you play many, many times, your average loss will be 50 cents per game. You will sometimes win $5 and sometimes lose $2, but over the long run the average settles to a loss of $0.50.

    Not surprisingly, the expected value for casino games is always negative for the player and therefore positive for the casino. The casino’s expected value must be positive, or it would go out of business. Players just need to keep in mind that when they play a game repeatedly, their expected value is negative. That is fine so long as you enjoy playing the game and think it is worth the cost. But it would be wrong to expect to come out ahead. If you are ever ahead, you might want to consider walking away from the game.

    Likewise, an insurance company makes sure its expected return on policies sold will be positive. That means, you can expect to have a negative return when you buy a policy.

    Example \(\PageIndex{10}\)

    The cost of a \$50,000 life insurance policy is \$150 per year for a person who is 21 years old. Assume the probability that a person will die at age 21 is 0.001.

    What is the insurance company’s expected return on selling this type of policy?

    Solution

    There are two possible outcomes:

    • The person lives during the year (probability 0.999).
    • The person dies during the year (probability 0.001).

    From the company’s perspective:

    • If the person lives, the company keeps the $150 premium as profit.
    • If the person dies, the company must pay the $50,000 benefit. Its net gain is \($150−$50,000=−$49,850\).

    \[ \begin{array}{|l|c|c|} \hline \text{Outcome (insurance company's net profit or loss)} & \text{Person Lives (\$150)} & \text{Person Dies (-\$49,850)} \\ \hline \text{Probability} & 0.999 & 0.001 \\ \hline \end{array} \nonumber \]

    The expected value for one policy is

    \(\mu = (150 \cdot 0.999)+(-$49,850 \cdot 0.001)=$100\).

    When the company sells a very large number of these policies, it will average a profit of $100 on each one. Most customers will live, generating a profit of $100, while a small number will die, resulting in a large payout.

    You Try It \(\PageIndex{E}\)

    You take out a fire insurance policy on your home. The yearly premium is \$250. In case of fire, the insurance company will pay you \$200,000. The probability of a house fire in your area is 0.003%. What is the insurance company's expected value for selling one of these policy?

    Answer

    \$244

    Section Summary

    Expected value describes the long‑term average numerical outcome of a chance process. This expected value (or mean) is denoted by \(\mu\) and is computed using the formula

    \[\mu = \sum_{i=1}^{n} x_i \cdot P(x_i). \nonumber\]

    This value represents what you would expect on average if the experiment were repeated many, many times. You may never observe the expected value in a single trial, but it reflects the mean of all possible outcomes weighted by their probabilities.

    Expected value is a powerful tool for interpreting and evaluating real‑world situations involving chance. It allows us to determine whether a game is fair, whether one player has an advantage, and whether a business model -- such as an insurance policy or a gambling operation -- is profitable over the long run. In every case, the expected value provides a clear numerical measure of the long‑term behavior of a random process.

    Section 6.5 Review Questions

    1. Consider the outcomes \(x\) and their corresponding probabilities shown in the table. Find the expected value of \(x\).

    \[ \begin{array}{|c|c|c|c|c|} \hline 0 & 1 & 2 & 3 & 4 \\ \hline 0.1 & 0.4 & 0.3 & 0.1 & 0.1 \\ \hline \end{array} \nonumber \]

    1. Consider the outcomes \(x\) and their corresponding probabilities shown in the bar graph. Find the expected value of \(x\).

    A bar graph shows x and P(X) paired values: (1, 0.1), (2, 0.3), (3, 0.4), and (4, 0.2).

    1. A friend offers you the opportunity to win money by playing her card game. Find the expected amount you win or lose per game. The rules are
    • You must pay her $2 to play.
    • If you pick a spade from a shuffled pack, you win $9.
    • If you pick any other card, you lose your money.
    1. An insurance company will sell a $10,000 one-year term life insurance policy to an individual in a particular risk group for a premium of $368. Find the expected profit to the company of a single policy if a person in this risk group has a 98% chance of surviving one year.
    1. For a certain tutor the probabilities for various numbers of student no-shows per day are shown in the following table. What is the expected value for the number of no-shows per day?

    \[ \begin{array}{|l|c|c|c|c|c|} \hline \text{Number of No Shows, } x & 0 & 1 & 2 & 3 & 4 \\ \hline P(x) & 0.40 & 0.25 & 0.20 & 0.10 & 0.05 \\ \hline \end{array} \nonumber \]

    1. At the carnival, you pay $2 to spin the wheel below. The vendor pays you the amount you spin. Assume the sectors on the wheel are equally likely.

    Spinner with 4 sections labeled $0, 8 sections labeled $1, 3 sections of $2, and 1 section of $5.

    1. What is the expected value of your gain or loss when playing the game?
    2. What is the expected value of the amount you spin when playing the game?
    3. Why are the answers to parts (a) and (b) different?
    1. A company estimates that 4% of their products will fail within 2 years of the purchase. It costs $500 to replace the product. The company decides to sell a 2-year service plan for $48 that will replace the product for free. On average, how much can the company expect to earn or lose per service plan sold?
    1. Marina is playing a game in which she needs to throw a ball into a bucket. If she throws the ball into the bucket, she wins $100. If not, she wins nothing. The odds against Maria throwing the ball into the bucket is 3 to 2. What is the expected value of Marina's winnings?
    1. An insurance company insures a house worth $250,000 for an annual premium of $500. If the probability of the house being destroyed is .0015 and assuming either total loss or no loss, what is the insurance company’s expected annual profit or loss for the policy?
    1. A game consists of rolling a colored die with three green sides, two red sides, and one blue side. A roll of green pays you $2. A roll of a red loses your money. A roll of blue pays you $6. What is a "fair" price to pay to play?

    This page titled 6.5: Expectation Involving Chance was last modified on Thu, 06 Aug 2026 02:02:28 GMT and is shared under a multiple 3.0 license and was authored, remixed, and/or curated by Andy Jones.

    • Was this article helpful?