Conditional and joint probabilities are fundamental concepts in probability theory and statistics. They are used to study the relationship between two or more random events.
**Conditional Probability**
Conditional probability, denoted by P(A|B), is the probability of an event A occurring given that another event B has occurred. In other words, it is the probability of event A happening when we have information that the event B has already happened. The formula for conditional probability is:
$$P(A|B) = \frac{P(A \cap B)}{P(B)}$$
where P(Aβ β©β B) is the probability of both events A and B happening simultaneously, and P(B) is the probability of event B.
*Example:*
Suppose there are 10 marbles in a bag: 4 blue marbles, 3 green marbles, and 3 red marbles. What is the probability of drawing a blue marble given that the marble drawn is not red?
Let A be the event of drawing a blue marble, and B be the event that the marble drawn is not red. First, we calculate the probabilities:
$$P(A) = \frac{4}{10}, \quad P(B) = \frac{7}{10}$$
Notice that drawing a blue marble is part of the event B (not drawing a red marble), thus:
$$P(A \cap B) = \frac{4}{10}$$
Now, we can calculate the conditional probability:
$$P(A|B) = \frac{P(A \cap B)}{P(B)} = \frac{\frac{4}{10}}{\frac{7}{10}} = \frac{4}{7} \approx 0.571$$
So the probability of drawing a blue marble given that the marble drawn is not red is roughly 57.1
**Joint Probability**
Joint probability, denoted by P(Aβ β©β B) or P(A,βB), refers to the probability of two events happening simultaneously. It represents the intersection of events A and B, or the probability of event A and event B both occurring.
For independent events, the joint probability is simply the product of their individual probabilities:
P(Aβ
β©β
B)β=βP(A)β
Γβ
P(B)
For dependent events, we use conditional probability to calculate their joint probability:
P(Aβ
β©β
B)β=βP(A|B)β
Γβ
P(B)
*Example:*
Suppose there is a deck of 52 playing cards. Letβs find the joint probability of drawing a King and then a Queen without replacement.
Let A be the event of drawing a King, and B be the event of drawing a Queen.
$$P(A) = \frac{4}{52} = \frac{1}{13}, \quad P(B|A) = \frac{4}{51}$$
Since drawing a Queen (B) is dependent on whether a King (A) has already been drawn, we use the conditional probability formula for joint probability:
$$P(A \cap B) = P(A|B) \times P(A) = \frac{1}{13} \times \frac{4}{51} = \frac{4}{13 \times 51} = \frac{4}{663} \approx 0.00604$$
Therefore, the joint probability of drawing a King and then a Queen without replacement is roughly 0.604