Venn Diagrams and Probability Regions
A Venn diagram is a visual way to represent events in a probability experiment. The outer boundary
(often drawn as a rectangle or square) is the universal set or sample space \(S\), meaning
“all possible outcomes.” Each event (such as \(A\), \(B\), or \(C\)) is drawn as a region inside \(S\). In probability,
we interpret these regions as sets of outcomes, and the probability of an event is the fraction of outcomes (or area)
that belong to that region.
For two events \(A\) and \(B\), the diagram splits the sample space into four disjoint regions:
only \(A\), only \(B\), both \(A\) and \(B\) (the overlap), and
neither. These regions are mutually exclusive, so their probabilities add up to 1:
\[
P(\text{only }A)+P(\text{only }B)+P(A\cap B)+P(\text{neither})=1.
\]
From these regions you can compute union and intersection quickly. The union \(A\cup B\) means
“\(A\) or \(B\) (or both),” and the intersection \(A\cap B\) means “\(A\) and \(B\) at the same time.”
The classic addition rule follows directly from not double-counting the overlap:
\[
P(A\cup B)=P(A)+P(B)-P(A\cap B).
\]
With three events \(A\), \(B\), and \(C\), the diagram has eight disjoint regions (including the triple overlap).
This is where the inclusion–exclusion principle becomes essential. If you add \(P(A)\), \(P(B)\),
and \(P(C)\), you count pairwise overlaps twice, so you subtract \(P(A\cap B)\), \(P(A\cap C)\), and \(P(B\cap C)\).
But then the triple overlap \(P(A\cap B\cap C)\) has been subtracted too many times, so it must be added back:
\[
P(A\cup B\cup C)=P(A)+P(B)+P(C)-P(A\cap B)-P(A\cap C)-P(B\cap C)+P(A\cap B\cap C).
\]
This formula is the probability version of “fill the diagram without overcounting.”
In this calculator, the square sample space is treated as having total probability 1. Each circle represents an event,
and the tool estimates region probabilities by sampling many points inside the square and checking which circles contain
each point. Higher sampling quality produces more stable region values. Because the regions are disjoint, a quick
consistency check is that all region probabilities should sum to 1 (allowing for small sampling error).
Venn-based probability is especially useful for survey overlaps, “at least one” questions, and interpreting relationships
between categories. When you can break a question into disjoint regions, probability becomes an organized counting-and-adding
process rather than a memorization task.