Conditional Probability — Definition, Formula & Examples
Conditional Probability
A probability that is computed based on the assumption that some event has already occurred. The probability of event B given that event A has occurred is written P(B|A).
Formula:
Example: Suppose a bag contains two red balls and two green balls, all of which are identical except for color. One ball is drawn at random and set aside. Then a second ball is drawn at random. Given the events
= the first ball is red
= the second ball is red,
find
Answer: Why? After a red ball is removed, there are two green balls left and only one red ball.
Alternatively, we could use the formula above.
Key Formula
Where:
- = The probability of event B occurring given that event A has occurred
- = The probability that both events A and B occur
- = The probability of event A occurring (must be greater than 0)
