Conditional probability is the probability of an event occurring given that another event has already occurred. It is denoted by P(A|B), which reads as "the probability of event A given event B."
The formula for calculating conditional probability is:
P(A|B) = P(A and B) / P(B)
Where P(A and B) is the probability of both events A and B occurring, and P(B) is the probability of event B occurring.
Suppose you have a standard deck of 52 playing cards. What is the probability of drawing a king from the deck given that the card drawn is a heart?
Here, event A is drawing a king and event B is drawing a heart. We can calculate the conditional probability as follows:
P(A|B) = P(A and B) / P(B)
P(A and B) is the probability of drawing a king of hearts, which is 1/52, and P(B) is the probability of drawing a heart, which is 13/52. So,
P(A|B) = (1/52) / (13/52) = 1/13
So, the probability of drawing a king given that the card drawn is a heart is 1/13.
Conditional probability is the likelihood of an event occurring given that another event has already occurred. It is calculated using the formula P(A|B) = P(A and B) / P(B), and is used to make predictions and decisions in various fields including finance, healthcare, and engineering.