2.5 Expected Value

A generic candlestick chart.

2.5: Expected Value

Learning Objectives

Upon completion of this section, you should be able to

  • Compute expected values

Expected Value

Expected value is perhaps the most useful probability concept we will cover in this chapter. It provides a method to calculate the average outcome of an uncertain event if it were to be repeated many times. 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.

Example 1

Roulette wheel 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.

After the wheel is spun just one of those 38 numbers is going to win, so you are paid $36 on that wining number. While you won on that one number, overall you’ve lost $2 total as bet an initial $38. On a per-space basis, you have “won” $2$38$0.053.

In other words, on average you lose 5.3 cents per space you bet on.

Video Solution Example 1 (2 mins and 13 seconds – CC) Another example starts after 2:42 mark on the video.

In the above example 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 138. The complement, the probability of losing, is 3738.

Summarizing these along with the values, we get this table:

Outcome Probability of outcome
$35 138
-$1 3738

Notice that if we multiply each outcome by its corresponding probability we get $35138=0.9211 and $13738=0.9737, and if we add these numbers we get 0.9211+(0.9737)0.053 , which is the expected value we computed above.

The video below summarizes the results from above.
Introduction to Expected Values (10 mins 23 secs)

Expected Value

Expected Value is the average gain or loss of an event if the procedure is repeated many times. It is often referred to as the “long-term” average or mean for a probability experiment.

We can compute the expected value by multiplying each outcome in the sample space by the probability of that outcome, then adding up those products.

If S={x1,x2,xk}, then

Expected Value=x1P(x1)+x2P(x2)+xkP(xk)

Example 2

Bob wants to know if you would play his game. It costs $2 to play and you do not get the $2 back if you win or lose. The game consists of selecting a “winning” colored marble from the bag.

–There is 1 green marble and if you select one you win $30.

–There are 4 red marbles and if you select one you win $3.

–There are 8 white marbles and if you select one you win $1.

–There are 7 black marbles and if you select one you win $0.

Is it in your favor to play this game? Answer the question using the idea of Expected Value (calculate the expected value and decide for yourself).


Solution

Start with looking at the outcomes of the game overall (the net profit). There are four things that can happen and each will have thir own net profit and probabilities associated with them. Create a table showing the net profits and probability.

If we draw a green marble it states we win $30, but the actual net profit is $30$2=$28. We can do that for each of the other three outcomes of the experiment and put that in a table (Selecting red has a net profit of $1, white has a net profit of $-1, and black has a net profit of $-2)

Marble Color Selected Green Red White Black
Net Profit (Outcomes) 28 1 -1 -2
Probability

Next let us add in the probability for each of those outcomes. We will assume each marble is equal likely to be selected. The probability will be the number of marbles of the given color over the total number of marbles. Enter these values into the table.

Net Profit (Outcomes) 28 1 -1 -2
Probability 120 420 820 720

To find the expected value we need to multiply each outcome times their respective probability, so add one more row on the table that shows the producs. We will then add all those products on the last row to calculate the expected value.

Net Profit (Outcomes) 28 1 -1 -2
Probability 120 420 820 720
Outcome·Probabilty 28120 1420 1820 2720

Now add the products together to get the expected value

Expected Value=x1P(x1)+x2P(x2)+xkP(xk)Expected Value=(28)120+(1)420+(1)820+(2)720Expected Value=2820+4208201420Expected Value=28+481420Expected Value=1020Expected Value=$0.50

The expected value or long run average is $0.50 for the game. This means if you were play this game from Bob many many times and average your winnings and losses that you expect to earn $0.50 per game played. It is definitely in your favor to play.

Video Solution for Example 2 (1 min and 44 seconds – CC)

Try it Now 1

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.

Hint 1 (click to Show/Hide)

In order to find the expected value we need all of the outcomes and associated probabilities. Think of the outcomes as either the ticket holder wins $3995 (the prize minus the cost of the ticket) or the ticket holder loses $5. What is the probability of each of those outcomes? Once we have these outcomes and probabilities use the definition of expected value.

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.

Answer (click to Show/Hide)

Start by looking for the probability of winning $3995 and losing $5. Then calculate the expected value where the outcomes were $3995 and -$5.

P(win$3995)=12000P(lose$5)=19992000

($3,995)12000+($5)19992000$3.00

The conclusion is that on average a player expects to lose $3 for each raffle ticket they purchase (or that on average $3 is being donated to charity for each raffle ticket that is purchased).

Example 3

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:

  • Probability for matching all 6 numbers,
    Pmatching 6=6C648C6=122715120.0000000815
  • Probability for matching 5 numbers,
    Pmatching 5=6C542C148C6=25222715120.0000205
  • Probability for not matching 5 or 6 numbers can be found using the complement rule,

    PNot matching 5 or 6=1Pmatching 5 or 6

    Now since matching 5 or matching 6 are mutually exclusive we can add their probabilities together to find the probability of matching 5 or 6.

    PNot matching 5 or 6=1Pmatching 5+Pmatching 6PNot matching 5 or 6=112271512+2522271512PNot matching 5 or 6=12532271512PNot matching 5 or 6=122712592271512

Our probabilities and outcome values are:

Outcome Probability of outcome
$999,999 112271512
$999 25212271512
-$1 125312271512=1227125912271512

The expected value, then is:

($999,999)112271512+($999)25212271512+($1)1227125912271512$0.898

On average, one can expect to lose about 90 cents on a lottery ticket. Of course, most players will lose $1.

Video Solution Example 3 (2 mins and 15 seconds – CC)

Example 4

The pick 5 lottery works by selecting 5 numbers from 1 to 35 (no repetition). It costs $1.

–Pick all 5 win Jackpot (estimated at $50000)

–Pick 4 win $500

–Pick 3 win $5

What is the expected winnings of a ticket?


Solution

Start by listing the outomes for the lottery in terms of the net profit.

Outcome Probability of outcome
$49,999
$499
$4
-$1

To find the probability of each we will need to use both the combination formulas and the multiplication principle for the numerator term where we find the number of ways to select how many numbers match the winning numbers of interest times the number of ways for the remaining non winning numbers.

Outcome Probability of outcome
$49,999 5C535C5=1324,632
$499 5C430C135C5=150324,632
$4 5C330C235C5=4350324,632
-$1 1(1324,632+150324,632+4350324,632)=320131324,632

The expected value will be the sum of each outcomes times their probability:

EV=(49999)(1324,632)+(499)(150324,632)+(4)(4350324,632)+(1)(320131324,632)EV=1778823246320.55

The result shows the player should expect that on average over a large number of trials of buying the lottery ticket to lose approximately $0.55 per ticket.

Video Solution Example 4 (14 mins and 58 seconds – CC)

In general, if the expected value of a game is negative, it is not a good idea to play, 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.

Try it Now 2

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?

Hint 1 (click to Show/Hide)

The outcomes for the experiment is lose $1 or win $2. To find the expected value you will need to find the probability associated with each outcome. If we roll three dice there are 6*6*6=216 different outcomes of the three dice rolls according to the fundamental counting principle. Which probability is easier to find? If we find that probability can we find the probability of the other outcome with a simple formula?

Hint 2 (click to Show/Hide)

Try finding the probability that none are the same and use the complement rule to find the probability that at least two are equal.

Answer (click to Show/Hide)

To find the probability that none are the same we take the number of ways no dice outcome in three rolls is the same over the total number of ways we can have three dice roll outcomes. We already saw the second portion that the number of ways to roll three dice is to have a total of 216 different outcomes in Hint 1.

We can treat the question of getting three different dice outcomes as a permutation problem or a fundamental counting problem. Think of the first dice outcome as having six choices, then the second dice outcome if not being equal to the first will only have five choices, and the third outcome not equaling with the first or second will only have four choices. This gives us:

n(all three dice outcome different)=654=120

Now find the probability of each outcome.

P(Lose $1: All different)=n(all three different)n(roll three dice)P(Lose $1: All different)=120216=59

If we do not win then the only other outcome is lose in this situation – these two events are complements of each other, so to find the probability of winning we use the complement rule.

P(Win $2: at least two the same)=1PLose $1: All differentP(Win $2: at least two the same)=159P(Win $2: at least two the same)=49

Now we have all the information needed to find the expected value.

Expected value is:

($2)P(Win $2)+($1)P(Lose $1)=(2)(49)+(1)(59)=39$0.33

This positive value tell us that it is in your favor (not your friends) to play this game. On average you would win approximately $0.33 per play.

Expected value also has applications outside of gambling. Expected value is very common in making insurance decisions.

Example 5

An insurance company determined that a 40-year-old man in the U.S. has a 0.242% risk of dying during the next year. The insurance company charges $275 for a 1 year life-insurance policy that pays $100,000 death benefit. What is the expected value for the person buying the insurance?


Solution

The outcomes in this situation is the net profit for the person buying the life insurance. One outcome is that the person is still alive (and probably greatful for that), but is out the $275 used to purchase the life insurance. The other outcome means the person didn’t survive, but the death benefit is paid out to the beneficiary of the policy. This payout net profit would be $100,000$275=$99,725. Below in the table we have the outcomes and the associated probabilities.

Outcome Probability of outcome
$99,725 0.00242
-$275 10.00242=0.99758

The expected value is ($99,725)(0.00242)+($275)(0.99758)=$33.

The person buying the insurance expects to lose overall $33 for each such policy when we look at a long run average. The flip side is more important to why insurance companies can stay in business. They expect to see many of these policies over the year. Each policy give an averge return of $33 for them.

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.

Video Solution Example 5 (3 mins and 27 seconds – CC)

Exercises


  1. A bag contains 3 gold marbles, 6 silver marbles, and 28 black marbles. Someone offers to play this game: You randomly select on marble from the bag. If it is gold, you win $3. If it is silver, you win $2. If it is black, you lose $1. What is your expected value if you play this game?
  2. A friend devises a game that is played by rolling a single six-sided die once. If you roll a 6, he pays you $3; if you roll a 5, he pays you nothing; if you roll a number less than 5, you pay him $1. Compute the expected value for this game.  Should you play this game?
  3. In a lottery game, a player picks six numbers from 1 to 23. If the player matches all six numbers, they win 30,000 dollars. Otherwise, they lose $1. Find the expected value of this game.
  4. A game is played by picking two cards from a deck. If they are the same value, then you win $5, otherwise you lose $1. What is the expected value of this game?
  5. A company estimates that 0.7% of their products will fail after the original warranty period but within 2 years of the purchase, with a replacement cost of $350. If they offer a 2 year extended warranty for $48, what is the company’s expected value of each warranty sold?
  6. An insurance company estimates the probability of an earthquake in the next year to be 0.0013. The average damage done by an earthquake it estimates to be $60,000. If the company offers earthquake insurance for $100, what is their expected value of the policy?
  7. You roll two dice. If the sum of the faces is eight or more, you win $7. If the sum is 7 you win $1 and if the sum is less than 7 you lose $8. Is this a fair game? Justify your answer using expected values.
  8. You pay $10 to play a game of chance. There are twenty balls in a bag. Seven of them are red, five are green, and the rest are yellow. You are to draw one ball from the bag. You will win $14 if you draw a yellow ball, you will win $12 if you draw a red ball, and you win $1 if you draw a green ball. How much do you expect to win or lose after you have played one hundred games? Use the word “win” or “lose” in your answer.
  9. In a gambling game a person is paid $3 if they draw a Jack or a Queen and $5 if they draw a King or an Ace from an ordinary deck of 52 playing cards. If they draw any other card, they lose. How much should they pay to play if the game is to be fair.

Attributions

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Topics in Mathematics Copyright © by Robert Foth is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book