Venn diagram in 3D

Two overlapping discs labelled A and B on a white board, with the overlap marked as the intersection A∩B.Drag to turn

A Venn diagram is a picture in which a rectangle stands for the sample space and closed curves inside it stand for events. It shows how events overlap, which lets us calculate probabilities of unions, intersections and complements.

Sample space, events and regions

The sample space is the set of all possible outcomes of a random process. It is drawn as a rectangle. An event is a subset of the sample space, usually drawn as a circle.

Each region of the diagram stands for a set of outcomes. The overlap of circles A and B is the intersection, written A ∩ B, and means both events occur. The combined area of both circles is the union, A ∪ B, and means at least one occurs. Everything outside A is the complement, written A', and means A does not occur.

Turning regions into probabilities

When outcomes are equally likely, the probability of an event is the number of outcomes in it divided by the number in the sample space. In general, probability acts like area: the whole rectangle has probability 1, and each region has a probability between 0 and 1.

The addition rule follows from the picture. P(A ∪ B) = P(A) + P(B) − P(A ∩ B). The overlap is counted in both circles, so it is subtracted once. If A and B cannot occur together, they are mutually exclusive, the circles do not overlap, and the last term is 0. The complement rule is P(A') = 1 − P(A).

Worked example with a class of 40 students

In a class of 40, 25 study French (F), 18 study Spanish (S), and 8 study both. The overlap is 8. Students studying French only number 25 − 8 = 17, and Spanish only number 18 − 8 = 10.

The union is 17 + 8 + 10 = 35 students. Check with the rule: 25 + 18 − 8 = 35. So P(F ∪ S) = 35/40 = 0.875. The complement, studying neither, is 40 − 35 = 5 students, so the probability is 5/40 = 0.125. The two probabilities add to 1, as they should.

Common misconceptions

Circle size on a Venn diagram is usually only a sketch and is not drawn to scale unless stated. The numbers written in the regions carry the information. Another frequent error is adding P(A) and P(B) without subtracting the overlap, which counts shared outcomes twice.

Mutually exclusive is not the same as independent. Exclusive events have no overlap, so if one occurs the other cannot. Independent events satisfy P(A ∩ B) = P(A) × P(B), and for events with nonzero probability this means they must overlap.

Where Venn diagrams appear

They are used in probability courses to set up conditional probability, where P(A | B) = P(A ∩ B) / P(B) restricts attention to circle B. They also appear in survey analysis, medical testing tables, and database queries, where union and intersection match the logical terms OR and AND.

Three-circle diagrams extend the method to three events, though the addition rule then needs extra terms for the pairwise and triple overlaps.

Key terms

Sample space
The set of all possible outcomes of a random process.
Event
A subset of the sample space, a collection of outcomes.
Intersection
The outcomes in both A and B, written A ∩ B.
Union
The outcomes in A, in B, or in both, written A ∪ B.
Complement
The outcomes in the sample space that are not in A, written A'.
Mutually exclusive
Events that cannot occur together, so their intersection is empty.

Common questions

Why is the overlap subtracted in the addition rule?

Outcomes in both A and B are counted once in P(A) and again in P(B). Subtracting P(A ∩ B) once leaves each outcome counted exactly once.

Can two events with nonzero probability be both mutually exclusive and independent?

No. Mutually exclusive events have P(A ∩ B) = 0, but independence needs P(A) × P(B), which is greater than 0 when both probabilities are nonzero.

How do I find the probability of neither event occurring?

Find P(A ∪ B) first, then subtract it from 1. In the class example, 1 − 0.875 = 0.125.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.