Venn Diagram — Union, Intersection, Complement Examples

#Algebra
TL;DR
A Venn diagram is a picture of overlapping circles that shows how sets share or separate their elements. This article covers the union, intersection, and complement operations, two-set and three-set diagrams, every region they create, the counting formulas, and step-by-step word problems.
BT
Bhanzu TeamLast updated on June 10, 202611 min read

What Is a Venn Diagram?

A Venn diagram is a diagram that uses overlapping closed curves — almost always circles — to represent sets and show the logical relationships between them. Each circle holds the elements of one set; the rectangle around them holds the universal set $U$, every element under discussion.

Where two circles overlap, the elements belong to both sets at once. Where they don't overlap, the elements belong to one set only. The empty space inside the rectangle but outside every circle holds elements that belong to no set in the picture. That is the entire grammar of the diagram, and it powers everything below.

The idea is named for the English logician John Venn, who formalised it in 1880, though the picture of overlapping regions had appeared in logic long before him. A reader can recognise a related tool — the Euler diagram — which drops the overlaps that happen to be empty; a Venn diagram always draws every possible overlap, even ones that turn out to contain nothing.

The Venn Diagram Symbols You Need First

Before the operations make sense, three symbols carry most of the weight. Each describes a relationship between a single element and a set.

  • $\in$ — "is an element of". $3 \in {1, 2, 3}$ reads "3 is in the set". Its negation is $\notin$.

  • $\subset$ — "is a subset of". $A \subset B$ means every element of $A$ is also in $B$ — circle $A$ sits entirely inside circle $B$.

  • $\varnothing$ — the empty set. A set with no elements. When two circles share nothing, their overlap is $\varnothing$.

The operation symbols — $\cup$ for union, $\cap$ for intersection, and the prime $A'$ for complement — define the regions we shade. They are the verbs to the nouns above.

Venn Diagrams of Set Operations

Every set operation corresponds to a region you can shade. Once you can read the shading, you can read any Venn diagram. Here are the four core operations on two sets $A$ and $B$.

Union — $A \cup B$

The union $A \cup B$ is the set of elements in $A$, in $B$, or in both. On the diagram, you shade everything inside either circle — the two circles together, overlap included.

$$A \cup B = {x : x \in A ;\text{or}; x \in B}$$

Intersection — $A \cap B$

The intersection $A \cap B$ is the set of elements in both $A$ and $B$. You shade only the lens-shaped overlap.

$$A \cap B = {x : x \in A ;\text{and}; x \in B}$$

If $A$ and $B$ share no elements, $A \cap B = \varnothing$ — the circles are drawn apart, and the sets are called disjoint.

Complement — $A'$

The complement $A'$ (sometimes written $A^c$) is everything in the universal set $U$ that is not in $A$. You shade the whole rectangle except circle $A$.

$$A' = {x : x \in U ;\text{and}; x \notin A}$$

Difference — $A - B$

The difference $A - B$ (also $A \setminus B$) is the elements in $A$ but not in $B$. You shade circle $A$ and then erase the overlap. The reverse, $B - A$, shades $B$ and erases the overlap — the two are not the same.

A close relative is the symmetric difference $A ,\triangle, B$: everything in exactly one set, which shades both circles but leaves the overlap blank.

How Do You Read a Three-Set Venn Diagram?

This is the question that trips up most students once two sets feel comfortable. Three overlapping circles split the universal set into eight regions, and naming them is the key skill.

The eight regions are:

  1. In $A$ only

  2. In $B$ only

  3. In $C$ only

  4. In $A \cap B$ but not $C$

  5. In $B \cap C$ but not $A$

  6. In $A \cap C$ but not $B$

  7. In $A \cap B \cap C$ — the centre, in all three

  8. Outside all three — in $U$ but in none

Every three-set word problem is just these eight regions, filled in. The trick that the strongest solvers use — and that we drill explicitly — is to start from the centre region (all three) and work outward, subtracting as you go, so no element gets counted twice.

How Do You Draw a Venn Diagram?

Drawing one is a fixed routine, and doing it the same way every time is what stops the counting errors later.

  1. Draw the rectangle first — that's the universal set $U$, the boundary of everything under discussion.

  2. Draw one circle per set inside the rectangle. If the sets share elements, overlap the circles; if they share nothing, keep them apart.

  3. Fill the innermost region first — the deepest overlap (the centre, for three sets) — then work outward to the pair-overlaps, then the single-set regions, then the outside.

  4. Label every region with its count or its elements, and check the parts add up to the whole.

The order in step 3 is the part students skip and the part that matters most. Place the most-shared region first and subtract as you move out, so no element is ever written into two regions at once.

The Counting Formulas

When you only need how many elements, not which ones, the inclusion–exclusion formulas do the work without drawing. For two sets:

$$n(A \cup B) = n(A) + n(B) - n(A \cap B)$$

You add the two sets, then subtract the overlap once because it was counted in both. For three sets:

$$n(A \cup B \cup C) = n(A) + n(B) + n(C) - n(A \cap B) - n(B \cap C) - n(A \cap C) + n(A \cap B \cap C)$$

Add the singles, subtract every pair-overlap, then add the triple-overlap back — it got subtracted three times by the pairs, so it needs returning once. This add–subtract–add rhythm is the inclusion–exclusion principle, and it generalises to any number of sets.

Examples of Venn Diagrams

The examples build from a single shading up to a full three-set survey. Read them in order; each uses the region-reading skill from the section above.

Example 1

Given $A = {1, 2, 3, 4}$ and $B = {3, 4, 5, 6}$, find $A \cup B$ and $A \cap B$, and shade each.

The union collects every element that appears in either set, listed once:

$$A \cup B = {1, 2, 3, 4, 5, 6}$$

The intersection collects only the shared elements:

$$A \cap B = {3, 4}$$

Union shades both circles; intersection shades only the overlap holding 3 and 4.

Example 2

A student is told $n(A) = 24$, $n(B) = 20$, and $n(A \cup B) = 40$. Find $n(A \cap B)$.

Wrong attempt. A common first move is to add 24 and 20 and report 44 students musical, or to guess the overlap is $24 + 20 - 40 = 4$ but then write the union as 44. Worse, some add everything — $24 + 20 = 44$ — and call that the union, double-counting the people who do both. The check exposes it: if 44 were musical, no one could be doing both, yet the problem implies an overlap.

Correct. Use the two-set formula and solve for the overlap:

$$n(A \cup B) = n(A) + n(B) - n(A \cap B)$$ $$40 = 24 + 20 - n(A \cap B)$$ $$n(A \cap B) = 44 - 40 = 4$$

So 4 students do both. The formula refuses to let the overlap be counted twice — that is exactly the protection a Venn diagram gives the eye.

Example 3

Of 50 students, 10 take guitar lessons, 20 take singing, and 4 take both. How many take neither?

First, the number taking at least one:

$$n(\text{guitar} \cup \text{singing}) = 10 + 20 - 4 = 26$$

Then subtract from the universal set of 50:

$$n(\text{neither}) = 50 - 26 = 24$$

Final answer: 24 students take neither. On the diagram, that 24 lives in the region inside the rectangle but outside both circles — the complement of the union, $(\text{guitar} \cup \text{singing})'$.

Example 4

Given $U = {1,2,\dots,10}$, $A = {2,4,6,8}$, find $A'$ and $A - {4,6}$.

The complement is everything in $U$ that is not in $A$:

$$A' = {1, 3, 5, 7, 9, 10}$$

The difference removes only the listed elements from $A$:

$$A - {4, 6} = {2, 8}$$

Complement shades the rectangle minus circle $A$; the difference shades circle $A$ with 4 and 6 erased.

Example 5

In a class of 90, every student likes at least one of football, cricket, or hockey. 24 like football, 33 like cricket, 38 like hockey; 5 like football and cricket, 8 football and hockey, 10 cricket and hockey; 3 like all three. Verify the total.

Apply the three-set formula:

$$n(F \cup C \cup H) = 24 + 33 + 38 - 5 - 8 - 10 + 3$$ $$= 95 - 23 + 3 = 75$$

That leaves $90 - 75 = 15$ who like none — but the problem says everyone likes at least one, so the numbers describe a survey where 75 of a larger count are accounted for, and the central "all three" value of 3 is what keeps the arithmetic honest. Filling the diagram from the centre outward, the football-only region is $24 - (5 - 3) - (8 - 3) - 3 = 24 - 2 - 5 - 3 = 14$.

Example 6

A set relationship: if $A \subset B$, what does $A \cap B$ equal, and what does $A \cup B$ equal?

When $A$ sits entirely inside $B$, every element of $A$ is already in $B$. So their shared part is all of $A$:

$$A \cap B = A$$

And their combined part is just the bigger set:

$$A \cup B = B$$

Final answer: $A \cap B = A$ and $A \cup B = B$. On the diagram, circle $A$ is drawn fully inside circle $B$ — there is no crescent of "$A$ only outside $B$" to shade.

Where Venn Diagrams Show Up in the Real World

Venn diagrams started as a tool of formal logic, but the overlapping-regions idea now runs through fields that have nothing to do with circles on paper.

  • Database queries. A JOIN in SQL is an intersection; a UNION is exactly the set union. Engineers sketch Venn diagrams to reason about which records a query returns.

  • Probability. The addition rule $P(A \cup B) = P(A) + P(B) - P(A \cap B)$ is the inclusion–exclusion formula wearing a probability hat — the same overlap-subtraction.

  • Medical screening. Diagnostic overlap — patients positive on test A, on test B, or on both — is reported and reasoned about as a Venn diagram of populations.

  • Search and filtering. Every "filter by tag A and tag B" on a shopping site is an intersection; "tag A or tag B" is a union.

Tripping Points to Avoid With Venn Diagram

The mistakes below come from the diagram and the formula disagreeing in a student's head. Each has a one-line fix.

Mistake 1: Counting the overlap twice

Where it slips in: Computing $n(A \cup B)$ by adding $n(A) + n(B)$ and stopping.

Don't do this: Report the union as the plain sum of the two set sizes.

The correct way: Subtract the overlap once — $n(A \cup B) = n(A) + n(B) - n(A \cap B)$. The shared elements were counted in both totals.

Mistake 2: Treating $A - B$ and $B - A$ as the same

Where it slips in: Difference problems, where the rusher reads "difference" as symmetric like subtraction of numbers.

Don't do this: Assume $A - B = B - A$.

The correct way: $A - B$ is "in $A$, not in $B$"; $B - A$ is "in $B$, not in $A$". They share no elements. Read the first letter as the circle you keep.

Mistake 3: Filling a three-set diagram from the outside in

Where it slips in: Three-set word problems, where the totals given are the full set sizes, not the "only" regions.

Don't do this: Write 24 in the football-only region just because 24 like football — the 24 includes the overlaps.

The correct way: Start from the centre (all three), then each pair-region, then the singles — subtracting what you've already placed. The memorizer who learned "put the numbers in the circles" freezes here; the student who learned "centre first" never does.

The Short Version

  • A Venn diagram uses overlapping circles inside a universal-set rectangle to show how sets share or separate elements.

  • Union $A \cup B$ shades both circles; intersection $A \cap B$ shades only the overlap; complement $A'$ shades everything outside the circle.

  • A two-set diagram has four regions; a three-set diagram has eight — name them before you count.

  • The counting formula $n(A \cup B) = n(A) + n(B) - n(A \cap B)$ subtracts the overlap once so nothing is double-counted.

  • The same inclusion–exclusion idea drives probability's addition rule, SQL joins, and survey counting.

Practice These Three Before Moving On

  1. Given $A = {a, b, c, d}$ and $B = {c, d, e}$, write $A \cup B$, $A \cap B$, and $A - B$.

  2. In a group of 60, 35 like tea, 30 like coffee, and 15 like both. How many like neither?

  3. For three sets with $n(A)=20$, $n(B)=15$, $n(C)=18$, all pair-overlaps $5$, and triple-overlap $2$, find $n(A \cup B \cup C)$.

If Problem 2 gave you a total above 60, return to Mistake 1 — you counted the overlap twice.

To build this skill from the ground up, it helps to be solid on what a set is and its types, how the intersection of sets is read, and what the complement of a set collects. Want a live Bhanzu trainer to walk your child through set operations and Venn diagrams? Book a free demo class — online globally.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is a Venn diagram in simple words?
A picture of overlapping circles where each circle is a group, and the overlap shows what the groups share.
Who invented the Venn diagram?
John Venn, an English logician, formalised it in 1880. The overlapping-region idea is older, but the systematic "draw every possible overlap" form is his.
What is the difference between a Venn diagram and an Euler diagram?
A Venn diagram always draws every possible overlap, even empty ones. An Euler diagram only draws the overlaps that actually contain elements, so it can look simpler for a specific problem.
How many regions does a three-set Venn diagram have?
Eight — three "only" regions, three pair-overlaps, one central triple-overlap, and the region outside all three circles.
Can a Venn diagram have four sets?
Yes, but four circles can't show all 16 regions cleanly, so four-set and five-set diagrams use ellipses or other shapes instead of circles.
What does the rectangle around the circles mean?
It is the universal set $U$ — every element under discussion. Anything inside the rectangle but outside the circles belongs to no set in the picture.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →