Conditional Probability Notes
Conditional Probability
Definition
Conditional probability is the probability of an event occurring given that another event has already occurred.
Notation
The probability of event B happening given that event A has already happened is denoted as .
Formula
The formula for conditional probability is:
Where:
- is the probability of event B given event A.
- is the probability of both events A and B occurring (the intersection of A and B).
- is the probability of event A occurring.
Explanation of Formula
- Given that event A has already happened, the sample space is reduced to the event A.
- We are interested in the part of event B that also lies within event A, which is the intersection of A and B.
- The probability of B given A is the ratio of the probability of the intersection of A and B to the probability of A.
Example: Marbles in a Bag
Consider a bag containing marbles of different colors and sizes. We have:
- Large black marbles: 5
- Large white marbles: 7
- Small black marbles: 4
- Small white marbles: 4
Total marbles: 20
| Black | White | Total | |
|---|---|---|---|
| Large | 5 | 7 | 12 |
| Small | 4 | 4 | 8 |
| Total | 9 | 11 | 20 |
Problem
If a marble is drawn from the bag and it is black, what is the probability that it is large?
Solution
We want to find , the probability that the marble is large given that it is black.
Using the formula:
- is the probability of drawing a marble that is both large and black. There are 5 such marbles out of 20, so .
- is the probability of drawing a black marble. There are 9 black marbles out of 20, so .
Therefore,
Intuitive Explanation
Since we know the marble is black, we only consider the black marbles. Out of the 9 black marbles, 5 are large. Thus, the probability that the marble is large given that it is black is .
Key Points
- Conditional probability changes the sample space to the event that is known to have occurred.
- The formula is used to calculate the conditional probability.
- Understanding conditional probability is crucial in many areas, including statistics, machine learning, and decision-making.