9.8: Expected Value
- Page ID
- 62029
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \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{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#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}\)Expected value is perhaps the most useful probability concept we will discuss. It has many applications, from insurance policies to making financial decisions, and it's one thing that the casinos and government agencies that run gambling operations and lotteries hope most people never learn about.
In the casino game roulette, a wheel with 38 spaces (18 red, 18 black, and 2 green) is spun. In one possible bet, the player bets $1 on a single number. If that number is spun on the wheel, then they receive $36 (their original $1 + $35). Otherwise, they lose their $1. On average, how much money should a player expect to win or lose if they play this game repeatedly?
Solution
Suppose you bet $1 on each of the 38 spaces on the wheel, for a total of $38 bet. When the winning number is spun, you are paid $36 on that number. While you won on that one number, overall you’ve lost $2. On a per-space basis, you have “won” \(-\$ 2 / \$ 38 \approx-\$ 0.053\). In other words, on average you lose 5.3 cents per space you bet on.
We call this average gain or loss the expected value of playing roulette. Notice that no one ever loses exactly 5.3 cents: most people (in fact, about 37 out of every 38) lose $1 and a very few people (about 1 person out of every 38) gain $35 (the $36 they win minus the $1 they spent to play the game).
There is another way to compute expected value without imagining what would happen if we play every possible space. There are 38 possible outcomes when the wheel spins, so the probability of winning is \(\frac{1}{38}\). The complement, the probability of losing, is \(\frac{37}{38}\).
Summarizing these along with the values, we get this table:
\(\begin{array}{|l|l|}
\hline \text { Outcome } & \text { Probability of outcome } \\
\hline \$ 35 & \frac{1}{38} \\
\hline-\$ 1 & \frac{37}{38} \\
\hline
\end{array}\)
Notice that if we multiply each outcome by its corresponding probability we get \(\$ 35 \cdot \frac{1}{38}=0.9211\) and \(-\$ 1 \cdot \frac{37}{38}=-0.9737\), and if we add these numbers we get \(0.9211+(-0.9737) \approx-0.053\), which is the expected value we computed above.
Expected Value is the average gain or loss of an event if the procedure is repeated many times.
We can compute the expected value by multiplying each outcome by the probability of that outcome, then adding up the products.
You purchase a raffle ticket to help out a charity. The raffle ticket costs $5. The charity is selling 2000 tickets. One of them will be drawn and the person holding the ticket will be given a prize worth $4000. Compute the expected value for this raffle.
- Answer
-
\((\$ 3,995) \cdot \dfrac{1}{2000}+(-\$ 5) \cdot \dfrac{1999}{2000} \approx-\$ 3.00\)
In a certain state's lottery, 48 balls numbered 1 through 48 are placed in a machine and six of them are drawn at random. If the six numbers drawn match the numbers that a player had chosen, the player wins $1,000,000. If they match 5 numbers, then win $1,000. It costs $1 to buy a ticket. Find the expected value.
Solution
Earlier, we calculated the probability of matching all 6 numbers and the probability of matching 5 numbers:
\(\frac{_6 C_{6}}{_{48} C_{6}}=\frac{1}{12271512} \approx 0.0000000815\) for all 6 numbers,
\(\frac{\left(_{6} C_{5}\right)\left(_{42} C_{1}\right)}{_{48} C_{6}}=\frac{252}{12271512} \approx 0.0000205\) for 5 numbers.
Our probabilities and outcome values are:
\(\begin{array}{|l|l|}
\hline \text { Outcome } & \text { Probability of outcome } \\
\hline \$ 999,999 & \frac{1}{12271512} \\
\hline \$ 999 & \frac{252}{12271512} \\
\hline-\$ 1 & 1-\frac{253}{12271512}=\frac{12271259}{12271512} \\
\hline
\end{array}\)
The expected value, then is:
\((\$ 999,999) \cdot \frac{1}{12271512}+(\$ 999) \cdot \frac{252}{12271512}+(-\$ 1) \cdot \frac{12271259}{12271512} \approx-\$ 0.898\)
On average, one can expect to lose about 90 cents on a lottery ticket. Of course, most players will lose $1.
In general, if the expected value of a game is negative, it is not a good idea to play the game, since on average you will lose money. It would be better to play a game with a positive expected value (good luck trying to find one!), although keep in mind that even if the average winnings are positive it could be the case that most people lose money and one very fortunate individual wins a great deal of money. If the expected value of a game is 0, we call it a fair game, since neither side has an advantage.
Not surprisingly, the expected value for casino games is negative for the player, which is positive for the casino. It must be positive or they 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.
A friend offers to play a game, in which you roll 3 standard 6-sided dice. If all the dice roll different values, you give him $1. If any two dice match values, you get $2. What is the expected value of this game? Would you play?
- Answer
-
Suppose you roll the first die. The probability the second will be different is \(\dfrac{5}{6}\). The probability that the third roll is different than the previous two is \(\dfrac{4}{6}\), so the probability that the three dice are different is \(\dfrac{5}{6} \cdot \dfrac{4}{6}=\dfrac{20}{36}\). The probability that two dice will match is the complement, \(1-\dfrac{20}{36}=\dfrac{16}{36}\).
The expected value is: \((\$ 2) \cdot \dfrac{16}{36}+(-\$ 1) \cdot \dfrac{20}{36}=\dfrac{12}{36} \approx \$ 0.33\). Yes, it is in your advantage to play. On average, you’d win $0.33 per play.
Expected value also has applications outside of gambling. Expected value is very common in making insurance decisions.
A 40-year-old man in the U.S. has a 0.242% risk of dying during the next year[2]. An insurance company charges $275 for a life-insurance policy that pays a $100,000 death benefit. What is the expected value for the person buying the insurance?
Solution
The probabilities and outcomes are
\(\begin{array}{|l|l|}
\hline \text { Outcome } & \text { Probability of outcome } \\
\hline \$ 100,000-\$ 275=\$ 99,725 & 0.00242 \\
\hline-\$ 275 & 1-0.00242=0.99758 \\
\hline
\end{array}\)
The expected value is \((\$ 99,725)(0.00242)+(-\$ 275)(0.99758)=-\$ 33\).
Not surprisingly, the expected value is negative; the insurance company can only afford to offer policies if they, on average, make money on each policy. They can afford to pay out the occasional benefit because they offer enough policies that those benefit payouts are balanced by the rest of the insured people.
For people buying the insurance, there is a negative expected value, but there is a security that comes from insurance that is worth that cost.
[1] Photo CC-BY-SA http://www.flickr.com/photos/stoneflower/
[2] According to the estimator at www.numericalexample.com/inde...=article&id=91