The sample space Ω is partitioned into compartments. Event A (indigo ellipse) overlaps these compartments differently. Click on any compartment to see P(A | Bᵢ) - the probability of A given that specific compartment.
Interactive Elements: The diagram shows a sample space Ω divided into compartments (B₁, B₂, B₃, etc.). Event A is represented by an indigo ellipse that overlaps multiple compartments. When you click on a compartment, the visualization highlights only the portion of A that intersects with that compartment, showing you the region A ∩ Bᵢ.
Conditional Probability Definition: The conditional probability P(A | Bᵢ) asks: Given that we know event Bᵢ has occurred, what is the probability that A also occurs? This is calculated as P(A | Bᵢ) = P(A ∩ Bᵢ) / P(Bᵢ). When we condition on Bᵢ, we restrict our view to only that compartment, treating it as our new sample space.
Why Probabilities Differ: Notice how P(A | B₁) ≠ P(A | B₂) ≠ P(A | B₃). This happens because event A overlaps each compartment to different degrees. Compartments where A has more overlap will have higher conditional probabilities. This demonstrates that knowing which compartment we are in (the condition) significantly affects the probability of event A.
Law of Total Probability: The total probability P(A) can be computed by summing the contributions from each compartment: P(A) = P(B₁)·P(A|B₁) + P(B₂)·P(A|B₂) + P(B₃)·P(A|B₃) + ... This formula shows that the overall probability of A is a weighted average of its conditional probabilities across all possible conditions (compartments), where each weight is the probability of that compartment.