{{ option.icon }} {{ option.label }} arrow_right
{{ option.icon }} {{ option.label }} arrow_right
{{ option.icon }} {{ option.label }}
{{ option.icon }} {{ option.label }}

# The Relationship Between Independence and Conditional Probability

tune
{{ topic.label }}
{{tool}}
{{ result.displayTitle }}
{{ result.subject.displayTitle }}
navigate_next

### Direct messages

Sometimes, it is useful to identify the connection between different events by analyzing whether they are dependent or not. Another commonly used characteristic is a conditional probability. In this lesson, the conditional probability and its connection with independence will be discovered through the use of real-world examples.

### Catch-Up and Review

Here are a few recommended readings before getting started with this lesson.

## Analyzing Connections Between Events

Vincenzo is thinking about taking a trip overseas. He is having a tough time deciding between France and Antarctica. In France he can visit the Eiffel Tower — he studies structural engineering — but Antartica has penguins and Vincenzo really loves penguins!
Vincenzo pulls up a search engine and types "France vs. Antartica, I wanna see penguins." He finds an interesting survey that just so happens to contrast France and Antarctica. The survey even asks specifically about penguins!
• Of 190 people surveyed, 157 people prefer going to France over Antarctica.
• Of those 157, only five people saw penguins.
• Of the people who traveled to Antarctica, only three of them did not see penguins.

The remaining results from the survey are organized in the following table.

Consider the presented data to find the probabilities of the following scenarios.

a Vincenzo decides to travel to France. What is the probability that he will see a penguin? Round the probability to the nearest percent.
b Yesterday, Vincenzo saw a penguin! What is the probability that he was in France? Round the probability to the nearest percent.
c Vincenzo’s trip just ended. Sadly, he did not see a single penguin. What is the probability that he chose to go to Antarctica? Round the probability to the nearest percent.

## Relationship Between Dependent Events

Diego wants to pick two books at random from a pile of five books. Three of them are Geometry books, and the other two are History books. Below, the sample space of this situation is shown, where G1, G2, G3 represent the Geometry books, and H1 and H2 represent the History books.
Imagine standing next to Diego and calculating the probabilities in real time with him. Let H be the event that the first book chosen is a History book, and G be the event that the second book chosen is a Geometry book. Now, consider the following scenarios.
a Find P(H), P(G), and Express the probabilities as fractions in their simplest form.
b Find and Express the probabilities as fractions in their simplest form.
c If the first book Diego picked is a History book, what is the probability that the second book will be a Geometry book? Express the probability as a fraction in its simplest form.
d Diego chose both books before anyone else saw. If the second book Diego picked is a Geometry book, what is the probability that the first book he chose is a History book? Express the probability as a fraction in its simplest form.
e Is there any relationship between the probabilities found in Parts B, C, and D?

a Probabilities:
b and
c
d
• The probability that event G happens given that event H happened equals
• The probability that event H happens, given that event G happened equals

### Hint

a Every outcome that has a History book in the first position satisfies H. Similarly, every outcome that has a Geometry book in the second position satisfies G. Divide the number of favorable outcomes by the total number of outcomes.
b Divide the numbers found in Part A.
c The sample space of the given situation is not the original sample space. Start by finding the new sample space. Later, determine how many of the outcomes have a Geometry book in the second position.
d The sample space of the given situation is not the original sample space. Also, it is different from the one found in Part C. In this new sample space, count the outcomes that have a History book in the first position.
e Compare the probabilities found in Parts B, C, and D. Write a sentence stating the relationship found.

### Solution

a By definition, the probability of an event is found by dividing the number of favorable outcomes by the total number of outcomes in the sample space.
From the given diagram, the sample space contains 20 different outcomes. The required probabilities can be found one at a time.
• To find P(H), divide the number of outcomes in the sample space with a History book in the first position by 20.
• To find P(G), divide the number of outcomes in the sample space with a Geometry book in the second position by 20.
• To find divide the number of outcomes in the sample space with a History book in the first position and a Geometry book in the second position by 20.
The following diagram summarizes all the computations.
Notice that That relationship implies that the given events are dependent.
b In this part, the probabilities found in Part A will be used.
Start by finding the ratio of to P(H).
Substitute values and simplify
Next, find the ratio of to P(G).
Substitute values and simplify
c For this situation, it is known that the first book chosen is a History book. Knowing this fact reduces the number of possible outcomes because some of the outcomes are ignored in the new situation. Therefore, the new sample space contains fewer outcomes compared to the original one.
As seen, there are 8 outcomes in the new sample space and 6 of them have a Geometry book in the second position. Therefore, the probability that the second book is a Geometry book, given that the first book is a History book, can be found using the following process.
Consequently, if the first book chosen by Diego is a History book, the probability that the second book is a Geometry book is
d In this case, it is known that the second book chosen is a Geometry book. This reduces the number of possible outcomes from the original sample space. Therefore, the new sample space contains fewer outcomes and it is different from the one used in Part C.
As seen, there are 12 outcomes in the new sample space and 6 of them have a History book in the first position. Therefore, the probability that the first book is a History book, given that the second book is a Geometry book can be found as follows.
Consequently, if the second book chosen by Diego is a Geometry book, the probability that the first book is a History book is
e Start by writing the four probabilities found in Parts B, C, and D.
Comparing the four probabilities, it can be seen that the first probability found in part B equals the probability found in part C.
 The probability that the second book is a Geometry book given that the first book chosen is a History book equals

The previous statement can also be rewritten in terms of H and G as follows.

 The probability that event G happens given that event H happened equals

Similarly, the second probability found in part B equals the probability found in part D. This leads to write the following relation.

 The probability that the first book is a History book, given that the second book is a Geometry book equals

As before, the previous statement can be rewritten in terms of H and G.

 The probability that event H happens, given that event G happened equals

## Finding the Probability of Triggering an Alarm

At Troupial Airport, engineers are testing a prototype of a prohibited substance detector. If there is a forbidden item in a bag, an alarm is supposed to be triggered. To test the detector, 5000 bags will be checked and of them will randomly contain forbidden items.
If a bag contains a forbidden item, there is a chance that the alarm is triggered. On the other hand, if a bag does not have a forbidden item, there is a chance that it triggers the alarm. Calculate the probabilities of the events described below. Write the probabilities as a percent rounded to two decimal places, when necessary.
a Find the probability that a bag triggers the alarm.
b Find the probability that a bag triggers the alarm and contains a forbidden item. Also, find the probability that a bag does not trigger the alarm and contains a forbidden item.
c If Mark's bag triggered the alarm, what is the probability that his bag contains a forbidden item?
d If Izabella's bag did not trigger the alarm, what is the probability that her bag contains a forbidden item?
e Based on Parts C and D, what can be said about Mark and Izabella situations?

a
b and
c The probability that Mark's bag contains a forbidden item given that it triggered the alarm is about
d The probability that Izabella's bag contains a forbidden item given that it did not trigger the alarm is about
e Example Solution:
• There is a chance that Mark's bag contains a forbidden item. However, this probability is not big enough to ensure Mark has a forbidden item. Therefore, it is doubtful — but possible — that Mark contains a forbidden item in his bag.
• There is a chance that Izabella's bag contains a forbidden item. Since this probability is very small — less than — it is almost certain that Izabella does not have forbidden items in her bag — but still possible.

### Hint

a Make a tree diagram and write the number of bags corresponding to every node. The probability of triggering the alarm is the total number of bags that triggered the alarm divided by the total amount of bags checked.
b Determine how many bags contain a forbidden item and trigger the alarm. Divide this number by the total number of bags checked. Similar reasoning can be used for the case where the bags do not trigger the alarm.
c Considering the diagram drawn in Part A, what is the total number of bags that trigger the alarm? Of all these bags, how many actually had forbidden items?
d Of all the bags that did not trigger the alarm, how many had forbidden items? Divide this last number by the total number of bags that did not trigger the alarm.
e If the probability of an event is closer to than then it is doubtful that the event actually happened. If the probability of an event is close to it is almost certain that the event did not happen.

### Solution

a To find the probability that a bag triggers the alarm, a tree diagram will be drawn. To do so, first notice that the situation can be divided into three different stages.
All of the previous stages and events can be illustrated using a tree diagram.
Recall that there are 5000 bags, and of them contain forbidden items. The product of these numbers will give the number of the bags that contain forbidden items. The rest of the bags do not contain forbidden items.
• If a bag contains forbidden items, there is a chance that it triggers the alarm.
• If a bag does not have forbidden items, there is a chance that it triggers the alarm.

Considering these details, it can be concluded that of the bags containing forbidden items could trigger the alarm and of the bags that do not have forbidden items could not trigger the alarm.

Now, using the percentages in the branches, the number of bags for each event can be found.

Finally, all the information can be shown on the tree diagram.

To find the probability that a bag triggers the alarm, start by finding how many bags triggered the alarm. To do so, add the two corresponding numbers in the tree diagram.
The probability that a randomly picked bag triggers the alarm P(Alarm) is obtained dividing 529 by the total number of bags.
P(Alarm)=0.1058
b Pulling information from the tree diagram, it is seen that the number of bags that triggered the alarm and had forbidden items is 343 and the number of bags that contained forbidden items and did not trigger the alarm is 7.
Since the total number of bags is 5000, the ratio of the number of the favorable outcomes to the total number will give the desired probability.
Probabilities of the Events

Take note that the sum of the probabilities is equal to which is the percentage of the bags that contain forbidden items.

c To determine the probability that a bag contains forbidden items — given that it triggered the alarm — divide the total number of bags that both triggered the alarm and had forbidden items by the total number of bags that triggered the alarm.
As presented in the tree diagram, the number of bags that trigger the alarm is equal to the sum of the numbers under the word Alarm.
Therefore, there are 529 bags that trigger the alarm. Since Mark's bag triggered the alarm, his bag is one of those 529. Out of this group of bags, 343 had forbidden items.
Evaluate right-hand side
Therefore, there is about a chance that Mark's bag contains forbidden items given that his bag triggered the alarm.
d To determine the probability that a bag contains forbidden items given that it did not trigger the alarm, divide the total number of bags that did not trigger the alarm and had forbidden items by the total number of bags that did not trigger the alarm.
First, find the number of bags did not trigger the alarm.
Since Izabella's bag did not trigger the alarm, her bag is one of those 4471. Out of these bags, 7 had forbidden items.
Evaluate right-hand side
Therefore, there is about a chance that Izabella's bag contains forbidden items given that her bag did not trigger the alarm.
e If the probability of an event is closer to than then it is doubtful that the event would actually happen. With that in mind, consider the probability found in Part C.
 There is about a chance that Mark's bag contains a forbidden item.

This probability is not close enough to to ensure that Mark's bag contains a forbidden item. Therefore, it is doubtful — but possible — that Mark's bag contains a forbidden item. Next, recall the answer found in Part D.

 There is about a chance that Izabella's bag contains a forbidden item.

Since this probability is very small — less than — it is almost certain that Izabella does not have forbidden items in her bag — but still possible.

In this example, as well as in the previous one, dependent events and how the occurrence of one event affects the occurrence of the other event were analyzed through counting methods like tables and tree diagrams. Below, a formula for finding the probability of similar situations is shown.

## Conditional Probability

Conditional probability is the measure of the likelihood of an event B occurring, given that event A has occurred previously. The probability of B given A is written as P(BA). It can be calculated by dividing the probability of the intersection of A and B by the probability of A.

It is worth noting that usually P(BA) and P(AB) are not equal, meaning that conditional probability is not reversible. For example, let A be the event of a prime number and B be the event of an odd number. The probability that a prime number is odd is almost 1, but the reverse, an odd number being prime, is much smaller.

### Why

Intuition Behind the Formula

The intuition behind the formula can be visualized by using Venn Diagrams. Consider a sample space S and the events A and B such that P(A)0.

Assuming that event A has occurred, the sample space is reduced to A.

This means that the probability that event B can happen is reduced to the outcomes in the intersection of A and B, that is, to those outcomes in

The possible outcomes are given by P(A) and the favorable outcomes by Therefore, the conditional probability formula can be obtained using the probability formula.

Now that the formula for finding a conditional probability is known, it can be put to use to solve daily life situations.

## Probability of Getting the Correct Size and Color

Diego's generous father has finished doing laundry and put Diego's T-shirts along with those of his big brother into the same ol’ basket. There are orange, blue, and red T-shirts in the basket, of which four are S-sized and eight are M-sized.

Diego is planning to go out with his friends. After taking a shower, he randomly picks a T-shirt from the same ol' laundry basket. Consider the following events.
a Find and compare P(SO) and P(OS). Write the answers as fractions in their simplest form.
b Find and compare P(SB) and P(BS). Write the answers as fractions in their simplest form.

### Hint

a Start by finding P(O), P(S), and P(S and O). Then, apply the formula for finding the conditional probability.
b Find P(B) and P(S and B). From Part A, P(S) is already known. Apply the formula for finding conditional probability again.

### Solution

a To start, remember the formula for finding the conditional probability that event B happens given that event A has occurred.
Applying this formula, the required probabilities can be rewritten as follows.
Consequently, and P(S) need to be found. To do so, start by writing the formula to find the probability of an event.
Notice that represents the probability of picking an S-size orange T-shirt. From the diagram, there are 12 T-shirts in the basket, and there is only one S-size orange T-shirt.
To find count how many of the 12 T-shirts are orange. From the diagram, there are only 5.
To determine P(S), count how many of the 12 T-shirts are S-sized. From the diagram, there are only 4.

### Finding Conditional Probabilities

To find divide by
Substitute values and simplify
Therefore, the probability that Diego picks an S-size T-shirt given that he picked a orange one is or Finally, find
Substitute values and simplify
Consequently, the probability that Diego picks a orange T-shirt given that he picked an S-size one is or
b Similar to the previous part, start by applying the conditional probability formula to rewrite the given expressions.
From Part A, it is known that P(S) equals Thus, only P(S and B) and P(B) are missing. Note that P(S and B) is the probability of picking an S-size T-shirt. From the 12 T-shirts, only two are and S-sized.
To determine P(B), count how many of the 12 T-shirts are From the diagram, there are 4.

### Finding Conditional Probabilities

Substituting the found probabilities into the initial equations, the required probabilities will be obtained. Start by finding P(SB).
Substitute values and simplify
Therefore, the probability that Diego picks an S-size T-shirt given that he picked a blue one is or Finally, find P(BS).
Substitute values and simplify
Consequently, the probability that Diego picks a T-shirt given that he picked an S-size one is or Time go to go out strutting wearing one of the shirts from the same old laundry basket — hopefully it is not his brothers!

## Applying the Conditional Probability Formula

Find the required conditional probability and round it to two decimal places.

## Destinations, Penguins, and Probabilities

Now that it is known how to compute conditional probabilities, Vincenzo's situation can be better investigated.
a Vincenzo decides to travel to France. What is the probability he will see a penguin? Round the probability to the nearest percent.
b Yesterday, Vincenzo saw a penguin! What is the probability that he was in France? Round the probability to the nearest percent.
c Vincenzo’s trip just ended. Sadly, he did not see a single penguin. What is the probability that he chose to go to Antarctica? Round the probability to the nearest percent.

### Hint

a Use the formula of conditional probability. Gathering the data from the table, a total of 190 people participated in the survey. Of that total 5, traveled to France and saw penguins.
b A total of 35 people saw penguins. How many of these were in France?
c Of the 190 people, 155 did not see penguins and 3 of them traveled to Antarctica.

### Solution

a By the definition of conditional probability, the probability that Vincenzo saw a penguin given that he traveled to France can be expressed in the following manner.

To find the corresponding probabilities, take a look at the table.

A total 190 people participated in the survey and 5 of them traveled to France and saw a penguin.
Additionally, 157 people traveled to France.
Next, substitute these two probabilities into the conditional probability formula.
Substitute values and simplify
Consequently, Vincenzo has about a chance of seeing penguins, given that he traveled to France.
b In this case, the situation is opposite to that presented in Part A. Now, it is known that Vincenzo saw penguins, and it is asked to find the probability that Vincenzo is in France. As before, start by applying the conditional probability formula.
From Part A, the numerator is equal to To determine the probability of seeing penguins, determine how many of the 190 people surveyed actually saw penguins. According to the table, 35 people answered that they did.
The next step is to substitute the two probabilities found into the conditional probability formula.
Substitute values and simplify
In conclusion, there is about a chance that Vincenzo was in France, given that he saw penguins.
c Once more, start by applying the conditional probability formula.
From the second row and second column of the table, 3 of the 190 people traveled to Antarctica and did not see penguins.
Seen in the third row of the table, 155 people did not see penguins. Knowing this, the probability that a person picked at random did not see penguins can be computed.
Finally, substitute these values into the conditional probability formula.
Substitute values and simplify
Consequently, there is about a chance that Vincenzo chose to go to Antarctica, given that he did not see penguins.