Events and outcomes
Coin flipping
Coin flipping
Flip a fair coin two times and record both results.
Outcomes: sequences, like or .
Sample space: all possible sequences, i.e. the set .
Events: for example:
With this setup, we may combine events in various ways to generate other events:
Complex events: for example: , or in words:
Notice that the last one is a complete description, namely the outcome .
Link to original
, or in words:
Coin flipping: counting subsets
Coin flipping: counting subsets
Flip a fair coin five times and record the results.
How many elements are in the sample space? (How big is ?)
How many events are there? (How big is ?)Link to originalSolution
There are possible sequences, so .
To count the number of possible subsets, consider that we have 32 distinct items, and a subset is uniquely determined by the binary information – for each item – of whether it is in or out. Thus there are possibilities. So .
iPhones and iPads
iPhones and iPads
At Mr. Jefferson’s University, 25% of students have an iPhone, 30% have an iPad, and 60% have neither.
What is the probability that a randomly chosen student has some iProduct? (Q1)
What about both? (Q2)
Solution
(1) Set up the probability model:
A student is chosen at random:
Outcomes are chosen students.
The sample space is the set of all students. Events are subsets of .
Write and (regarding the chosen student).
All students are equally likely to be chosen. Therefore for any event . Therefore and .
Furthermore, . This states that 60% have “not iPhone AND not iPad”.
(2) Define the desired event:
Q1:
Q2:
(3) Compute the probabilities:
We do not know that and are exclusive.
We could try inclusion-exclusion:
We know and . So this formula, with given data, RELATES Q1 and Q2. It does not solve either one by itself.
We have not yet used the information that .
To use this, simplify it with De Morgan’s Laws:
Therefore:
We have answered Q1. Recall that inclusion-exclusion relates Q1 and Q2 and solve to answer Q2:
Link to original
Conditional probability
Coin flipping: at least 2 heads
Coin flipping: at least 2 heads
Flip a fair coin 4 times and record the outcomes as sequences, like HHTH.
Let be the event that there are at least two heads, and the event that there is at least one heads.
First let’s calculate .
Define , the event that there were exactly 2 heads, and , the event of exactly 3, and the event of exactly 4. These events are exclusive, so:
Each term on the right can be calculated by counting:
Therefore, .
Now suppose we find out that “at least one heads definitely came up”. (Meaning that we know .) For example, our friend is running the experiment and tells us this fact about the outcome.
Now what is our estimate of likelihood of ?
The formula for conditioning gives:
Now . (Any outcome with at least two heads automatically has at least one heads.) We already found that . To compute we simply add the probability , which is , to get .
Therefore:
Link to original
Multiplication: flip a coin, then roll dice
Multiplication: flip a coin, then roll dice
Flip a coin. If the outcome is heads, roll two dice and add the numbers. If the outcome is tails, roll a single die and take that number. What is the probability of getting a tails AND a number at least 3?
Solution
(1) This “two-stage” experiment lends itself to a solution using the multiplication rule for conditional probability.
Label the events of interest.
Let and be the events that the coin showed heads and tails, respectively.
Let be the events that the final number is , respectively.
The value we seek is .
(2) Observe known (conditional) probabilities.
We know that and .
We know that , for example, or that .
(3) Apply multiplication rule:
We know and can see by counting that .
Therefore .
Link to original
Multiplication: draw two cards
Multiplication: draw two cards
Two cards are drawn from a standard deck (without replacement).
What is the probability that the first is a 3, and the second is a 4?
Solution
This “two-stage” experiment lends itself to a solution using the multiplication rule for conditional probability.
(1) Label events:
- Write for the event that the first card is a 3.
- Write for the event that the second card is a 4.
We seek . We will use the multiplication rule:
(2) Compute probabilities:
We know . (Does not depend on the second draw.)
For the conditional probability, note that if the first is a 3, then there are four remaining 4s and 51 remaining cards. Therefore:
(3) Apply multiplication rule:
Link to original
Marble transferred, marble drawn
Marble transferred, marble drawn
Setup:
- Bin 1 holds five red and four green marbles.
- Bin 2 holds four red and five green marbles.
Experiment:
- You take a random marble from Bin 1 and put it in Bin 2 and shake Bin 2.
- Then you draw a random marble from Bin 2 and look at it.
What is the probability that the marble you look at is red?
Link to originalSolution
(1) Label events:
- Event : a red marble is transferred.
- Event : a green marble is transferred.
- Event : a red marble is drawn from Bin 2.
- Event : a green marble is drawn from Bin 2.
Answer will be .
(2) Apply Division into Cases:
General formula:
Insert our labels, and and . Obtain:
(3) Plug in data and compute:
- Know .
- Know .
- Know .
- Know .
Therefore: