# Conditional Probability

## P(B|A) = P(A and B)/ P(A)

%
Progress

MEMORY METER
This indicates how strong in your memory this concept is
Progress
%
Intersection of Compound Events

There is a classic example of probability studies involving a coin flip. Everyone knows that the probability of getting heads on a single flip is 50%, which means that every time you flip it, there is also a 50% probability of getting tails. The question is, if you have flipped a coin 99 times and got heads every time, what is the probability of getting heads the next time?

Credit: Expert Infantry
Source: https://www.flickr.com/photos/expertinfantry/5458168907/

After this lesson on the intersection of compound events, we’ll return to this question and see how it does (and doesn’t!) fit with the concept.

### Intersection of Compound Events

It should make sense intuitively that the more specific or restricted you make the details of an event, the less probable it becomes for that event to occur. The concept of calculating the total probability of multiple events strung together is the same idea.

If I flip a coin once there are only two possible outcomes:

If I flip the coin twice, there are four possibilities:

We know there are a total of four possible outcomes from two coin flips: , , , and , and only one of them: , results in the outcome we want to calculate. Using the simple probability formula, we get:

#### Calculating Probability

1. What is the probability of flipping a coin four times and getting tails all four times?

Create a table listing all of the possible outcomes:

Now we can look at the bottom row and see that there are a total of 16 possibilities, only one of which is four tails in a row. The probability, therefore, is:

2. What is the probability of rolling two even numbers in a row on a standard six-sided die?

Create a table listing all possible outcomes:

Reducing to:

3. What is the probability of spinning two 2’s in a row OR two 4’s in a row on a spinner with the numbers 1-4?

Create a table listing all possible outcomes, and highlight the favorable ones:

Out of a total of 16 possible outcomes, only 2 fit our description, which gives us:

#### Earlier Problem Revisited

The question is, if you have flipped a coin 99 times and got heads every time, what is the probability of getting heads the next time?

This is a very common example of something called the gambler’s fallacy. It is not a good example of calculating the intersection of compound events because of the way it is worded.   The question as written is essentially asking about a single flip of the coin, which is always , because a coin has no memory.

From the standpoint of an example of what we have been studying in this chapter, the more useful, and dramatically more difficult question would be:

What is the probability of flipping a coin 100 times and getting heads every time?

If you want to know the probability of flipping 100 heads in a row, you could either draw a really long chart of all of the possibilities (like the one in Example A, but much longer), or you could use the multiplication rule that we will be learning in the next lesson. Check it out!

### Example 1

#### Example 1

What is the probability of pulling 1 red marble, replacing it, then pulling another red marble out of a bag containing 4 red and 2 white marbles?

Make a chart:

The four sets of four red “’s” represent the favorable outcomes out of the total of 36, therefore

#### Example 2

What is the probability of a spinner landing on “2” and then a “3”, or “6” if there are 6 equally spaced points on the spinner?

Make a chart:

The red numbers 3 and 6 represent the two favorable outcomes out of 36 total, therefore

#### Example 3

What is the probability of pulling a red and then a black card at random from a standard deck (replacing the first card after drawing)?

There are 26 black and 26 red cards in the deck, so the probability on the first pull is On the second pull, we again have a 50% chance of favorable outcome, but that 50% only applies to the half of the first pulls that were favorable. Therefore:

#### Example 4

What probability of picking a red and then a green marble from a bag with 5 red and 1 green marbles in it (replacing the first marble after the draw)?

Make a chart: Of the 36 possible outcomes, only 5 fit the description of red the first time, and green the second time (noted by the red “’s”. Therefore

#### Example 5

What is the probability of shaking the hand of a student wearing red and then a student wearing blue if you randomly shake the hands of two people in a row in a room containing 3 students in blue and 2 in red?

Make a chart:

So, out of the 25 possible handshake possibilities, 6 of them fit the requirements of red first, then blue:

### Review

Questions 1-6: Suppose you have an opaque bag filled with 4 red and 3 green balls. Assume that each time a ball is pulled from the bag, it is random, and the ball is replaced before another pull.

1. Create a chart of all possible outcomes of an experiment consisting of pulling one ball from the bag at random, noting the color and replacing it, then pulling another.

2. How many possible outcomes are there?

3. What is the probability of randomly pulling a red ball from the bag, returning it, and pulling agreen ball on your second pull?

4. What is the probability of randomly pulling a red ball both times?

5. What is the probability of pulling a green ball both times?

6. Is the probability of pulling a red followed by a green different than pulling a green followed by a red?

Questions 7 – 12: Suppose you have two standard dice, one red and one blue.

7. Construct a probability distribution table or diagram for an experiment consisting of one roll of the red die followed by one roll of the blue one.

8. How many possible outcomes are there?

9. Is there an apparent mathematical relationship between the number of sides on the dice and the number of possible outcomes?

10. What is the probability of rolling a 2 on the red die and a 1, 3, or 5 on the blue one?

11. What is the probability of rolling an even number on the red die and an odd on the blue one?

12. Do the probabilities of a particular outcome change based on which die is rolled first? Why or why not?

Questions 13 – 16: Suppose you have a spinner with 5 equally-spaced color sections: red, blue, green, yellow, and orange.

13. Construct a probability distribution detailing the possible outcomes of three consecutive spins. You may wish to use only the first letter, or a single color-coded hash mark, to represent each possibility, as there will be many of them.

14. How many possible outcomes are there?

15. Is there an apparent mathematical relationship between the number of sections on the spinner, the number of spins, and the number of possible outcomes? If so, what is the relationship?

16. What is the probability of spinning red, then green, and then orange?

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes

### Vocabulary Language: English

TermDefinition
conditional probability The probability of a particular dependent event  given the outcome of the event on which it occurs.
conditional probability formula The conditional probability formula is P(A/B) = P(AUB)/P(B)
Dependent Events In probability situations, dependent events are events where one outcome impacts the probability of the other.
Favorable Outcome A favorable outcome is the outcome that you are looking for in an experiment.
Independent Events Two events are independent if the occurrence of one event does not impact the probability of the other event.
Multiplication Rule States that for 2 events (A and B), the probability of A and B is given by: P(A and B) = P(A) x P(B).
Mutually Exclusive Events Mutually exclusive events have no common outcomes.
Sample Space In a probability experiment, the sample space is the set of all the possible outcomes of the experiment.