Conditional probability is an essential concept in probability theory. It refers to the probability of an event occurring given that another event has already occurred.
Let's break it down with a simple example. Imagine you want to know the probability of it raining today knowing that it rained yesterday. The probability of rain today given it rained yesterday is a conditional probability, denoted as \(P(A \mid B)\). Here, \(A\) is the event of it raining today, and \(B\) is the event of it raining yesterday.
The formula for conditional probability is given by:
\[ P(A \mid B) = \frac{P(A \cap B)}{P(B)} \]
This equation tells us how likely event \(A\) is, based on the occurrence of event \(B\).
- If events \(A\) and \(B\) are independent, the occurrence of one does not affect the probability of the other.
- Thus for independent events, \(P(A \mid B) = P(A)\), since knowing \(B\) gives no new information about \(A\).