FINAL TOOLBOX
02 // Visual Math & Finance SolversP(A | B) = P(A ∩ B) / P(B), P(B | A) = P(A ∩ B) / P(A)

Visual Conditional Probability $P(A|B)$ & Independence Venn Lab

Conditional probability $P(A \mid B) = \frac{P(A \cap B)}{P(B)}$ restricts the active sample space to region $B$ and measures the fraction of $B$'s area occupied by the overlap lens $A \cap B$.

P(A | B) = P(A ∩ B) / P(B), P(B | A) = P(A ∩ B) / P(A)

Inputs & Parameters (4)

5±1200
5±1200
0±1150
50±5500
UNIVERSAL SET |U| = 200Exterior |(A ∪ B)'| = 110A Only40A ∩ B20B Only30
Union |A ∪ B|
90
45% of Universe |U| = 200
Intersection |A ∩ B|
20
Jaccard Index J = 22.2%
Conditional P(A | B)
40%
20 / 50 | P(B|A) = 33.3%
Symmetric Diff |A Δ B|
70
Only A: 40, Only B: 30, Exterior: 110

20-Row Comparison Table

Compare across:
#Event A Count n(A) Union |A ∪ B|P(A | B)Symm Diff |A Δ B|
0155010%45
02155030%35
03265640%36
04366640%46
05467640%56
06568640%66
07679740%77
087710740%87
098711740%97
109712740%107
1110813840%118
1211814840%128
1312815840%138
1413816840%148
1514917940%159
1615918940%169
1716919940%179
1817920940%189
1919022040%200
2020023040%210
Was this tool helpful?

Key Analytical Takeaways

  • 01In general, $P(A \mid B) \ne P(B \mid A)$ because they divide the same overlap $|A \cap B|$ by different denominators ($|B|$ vs. $|A|$).
  • 02Events $A$ and $B$ are statistically independent when $P(A \cap B) = P(A) \cdot P(B)$, which means knowing $B$ occurred does not change $P(A \mid B) = P(A)$.
  • 03When $|A \cap B| = 0$, the circles are disjoint (mutually exclusive) and $P(A \mid B) = 0$.

Frequently Asked Questions

Are mutually exclusive events independent?+

No—if two non-empty events are mutually exclusive (disjoint, A ∩ B = ∅), knowing that B occurred guarantees A did NOT occur (P(A|B) = 0), making them maximally dependent.

How does this Venn diagram connect to Bayes' Theorem?+

Since |A ∩ B| = |B|·P(A|B) = |A|·P(B|A), dividing by |B| gives P(A|B) = P(B|A)·P(A) / P(B).

What is the difference between independent events and mutually exclusive events?+

Mutually exclusive events cannot occur together (P(A ∩ B) = 0, non-overlapping circles), whereas independent events satisfy P(A ∩ B) = P(A)·P(B), meaning knowing B occurred leaves P(A) unchanged.