Emzini weCodeUmhlahlandlelaMathematics 16.8 · Statistics and Probability NoticesAll books

Chapter 16/16.8Accelerateabout 8 min

Combined events and expected value

Try this first

A coin is tossed and a die is rolled. What is the probability of a head and a six? Check by listing all the outcomes.

There are 2 × 6 = 12 equally likely outcomes and only H6 works, so the answer is 1/12 = 1/2 × 1/6.

Definition

independent events Two events are independent if the outcome of one does not change the probability of the other.

Key fact

The multiplication rule. If A and B are independent, P(A and B) = P(A) × P(B).

A tree diagram shows two or more stages. Multiply along the branches to find the probability of each path, and add the probabilities of the paths that make up an event.

Worked example 16.6
A bag holds 5 red and 3 blue beads. Two beads are taken out, one after the other. Find P(both red) and P(one of each colour)
  1. (a)if the first bead is put back
  2. (b)if it is not.
(a)
With replacement the draws are independent.
P(both red) = 5/8 × 5/8 = 25/64.
P(one of each) = 5/8 × 3/8 + 3/8 × 5/8 = 30/64 = 15/32.
(b)
Without replacement, after a red there are 4 red and 3 blue left.
P(both red) = 5/8 × 4/7 = 20/56 = 5/14.
P(one of each) = 5/8 × 3/7 + 3/8 × 5/7 = 30/56 = 15/28.

Now try one yourself

Two beads without replacement: 5 red, 3 blueMultiply along each path. The second branches depend on the first bead.left:4 red,3 blueleft:5 red,2 blue5847373857275 red, 3 bluefirst beadsecond beadprobabilityred, red58 × 47 = 2056red, blue58 × 37 = 1556blue, red38 × 57 = 1556blue, blue38 × 27 = 656One of each colour:  1556 + 1556 = 3056 = 1528
Figure 16.6 A tree diagram for Worked example 16.6(b). Probabilities on the second branches depend on the first bead.

Solving the problem of points. In 1654 the French gambler Antoine Gombaud asked Blaise Pascal how to share the stakes of an unfinished game. Pascal wrote to Pierre de Fermat, and in their letters that summer they founded the mathematics of probability. Their idea: share the prize according to each player's chance of winning had play continued. Rudo leads 2 to 1 in a race to 3. Tendai can win the match only by winning both of the next two games, with probability 1/2 × 1/2 = 1/4. So Rudo's chance is 3/4, and she should get 3/4 of $20 = $15, and Tendai $5.

Expected value. If you play a game many times, what do you win on average?

Definition

expected value The expected value of a game is the sum, over all outcomes, of (probability × amount won). It is the average result per game in the long run.

Worked example 16.7

It costs $1 to play. You roll a die and win $4 if it shows a six. Find the expected value of playing.

You always pay $1, so a six gains $3 and any other score loses $1.
Expected value = 1/6 × 3 + 5/6 × (−1) = 3/6 − 5/6 = −1/3 dollar.
On average you lose about 33 cents a game.
Over 600 games you should expect to lose about $200.

Now try one yourself

Why betting loses. Every lottery, slot machine and betting company is designed so that the expected value for the player is negative: that is how it pays its staff and makes its profit. In a lottery where you choose 5 numbers from 1 to 30, there are C(30, 5) = 142,506 equally likely choices (Chapter 15). If a $1 ticket can win a $50,000 prize, its expected value is 50,000/142,506 − 1, about −$0.65: on average you lose 65 cents of every dollar. Sports betting works in the same way. The odds offered are set so that the chances they imply add up to more than 1, a built in margin for the company. A bettor may win on some days, and wins are remembered more than losses, but over many bets the law of large numbers pulls the result towards the negative expected value. Sports betting is common among young people in Zimbabwe, and some lose money they need for school or food. A habit that is hard to stop is a reason to talk to a trusted adult.

Going further

The birthday surprise. How many people must be in a room for the chance that two share a birthday to be more than a half? Most people guess about 180. Ignoring 29 February, the probability that 23 people all have different birthdays is 365/365 × 364/365 × ... × 343/365, which is about 0.493. So with only 23 people the chance of a shared birthday is about 0.507, more than a half. With 40 people it is about 0.89. The number of pairs grows fast: 23 people make C(23, 2) = 253 pairs, each a chance for a match.

Check your understanding 16.8

  1. A die is rolled twice. Find P(two sixes) and P(no sixes).
    Show answerHide answer
    1/36 and 25/36.
  2. A box has 4 good and 2 faulty bulbs. Two are taken without replacement. Find P(both faulty) and P(at least one good).
    Show answerHide answer
    P(both faulty) = 2/6 × 1/5 = 1/15. P(at least one good) = 1 − 1/15 = 14/15.
  3. A game costs 50 cents. You toss two coins and win $1.50 if both are heads. Find the expected value. Is it fair?
    Show answerHide answer
    P(win) = 1/4. Expected value = 1/4 × 1.50 − 0.50 = −$0.125. Not fair: you lose 12.5 cents a game on average.