Math Home

Conditional probability is a well known, but unintuitive, concept. This post gives a set theoretic description of conditional probability that may be helpful for developing intuition. The definition of conditional probability is the following formula: P(A|B)=P(AB)P(B)P(A|B)=P(AB)P(B) The formula reads "The probability of AA given BB is the probability of AA and BB divided by the probability of BB." But, why should this be the definition?

An Explanation Based On Set Theory

We are going to represent the entire probability, ΩΩ space by a white square:

The sample space is all points in the square. Consider all points to be equally likely.

An event is a set in the space. This red circle will represent the event A:A:

A

We will use a blue circle to represent BB. The probability of an event depends on its size. Since BB is larger than AA, it is more likely that a random point will be in BB than in AA.

A B

The purple shows where AA and BB overlap. If a point is in the purple area, then both AA and BB occur. This is also called the intersection of AA and BB, and is written ABAB.

A and B

Now we want to find P(A|B)P(A|B). The meaning of "given BB" is that we know the point lands in BB. So, we can ignore all of the points outside of BB. If we ignore the points outside of BB, then we are ignoring the points of AA that are outside of AA and BB.

B A and B

What is the probability that a point in the space is in AA? Since the point has to be in BB, a point in AA is in both AA and BB. In other words, the point is in ABAB. The amount of the total space that ABAB takes up is (AB)(AB)/BB. Thus, P(A|B)=P(AB)P(B).P(A|B)=P(AB)P(B).

Check your understanding:

1. If P(A)=0.3,P(A)=0.3, P(B)=0.5,P(B)=0.5, and P(AB)=0.1,P(AB)=0.1, what is P(A|B)?P(A|B)?




Unanswered

2. If P(A)=0.3,P(A)=0.3, P(B)=0.5,P(B)=0.5, and P(AB)=0.7,P(AB)=0.7, what is P(A|B)?P(A|B)?




Unanswered

3. In a particular neighborhood, a randomly chosen resident has a 30%30% chance of owning a dog. Residents that own dogs have a 50%50% chance of owning a cat. What is the probability that a randomly chosen resident has both a dog and cat?




Unanswered

4. 80%80% of viewers report liking both Star Wars and Indiana Jones. Of those who report liking Star Wars, 90%90% report liking Indiana Jones. What is the probability that a randomly chosen viewer likes Star Wars?




Unanswered