Venn diagrams · 30-minute lesson

Venn Diagrams: Union, Intersection and Complements with Worked Examples

A Venn diagram shows membership of overlapping sets. The union contains items in either set or both; the intersection contains items in both. A complement contains the items outside a set but inside a specified universal set.

By ChartMaker · Published · Original fictional data

What will you learn?

  • Distinguish union, intersection and only regions
  • Avoid counting shared items twice
  • Find complements relative to a stated universal set

What do union and intersection mean?

Write A union B, usually shown as A ∪ B, for everything in A, B, or both. Write A intersection B, shown as A ∩ B, for the shared items. The word or in a union includes the overlap; it does not mean exactly one of the sets.

A only contains members of A that are not in B. This is different from all of A, which includes the overlap. For counts, use union = count in A + count in B - count in both. Subtract the overlap once because the first two counts included it twice.

Why does a complement need a universal set?

The universal set U defines the items being considered. The complement of A contains the members of U that are not in A. Someone outside both circles can still belong to U, so a complete diagram often includes a surrounding rectangle.

Do not assume that a tool's two input lists describe the whole population. ChartMaker can work out shared and unique members from supplied lists, but the number in neither set requires additional information about U. The circles in these examples are schematic; their areas do not measure the counts.

Worked example 1

Find shared and unique club members

The universal set is eight fictional pupils: Ada, Ben, Chen, Dina, Emil, Fatima, Gus and Hana. Set A, cycling, contains Ada, Ben, Chen and Dina. Set B, swimming, contains Ben, Dina and Emil.

Two-set Venn diagram inside an eight-pupil universe: A only Ada and Chen; both Ben and Dina; B only Emil; neither Fatima, Gus and Hana.
Figure 1. Two-set Venn diagram inside an eight-pupil universe: A only Ada and Chen; both Ben and Dina; B only Emil; neither Fatima, Gus and Hana. Original data created for this lesson.
Exclusive regions for the eight pupils
RegionMembersCount
A onlyAda, Chen2
Both A and BBen, Dina2
B onlyEmil1
NeitherFatima, Gus, Hana3

A has 4 members and B has 3. Their intersection has 2. The union is 4 + 3 - 2 = 5 distinct pupils. Adding the exclusive regions gives the same result: 2 + 2 + 1 = 5.

The complement of A within U contains Emil, Fatima, Gus and Hana, giving 4 pupils. The complement of the union contains the 3 pupils in neither club. These are different complements, so name the set you are complementing.

Worked example 2

Use a numerical universal set

Let U be the whole numbers 1 through 10. Let A = {2, 4, 6, 8} and B = {3, 6, 9}. Items are set members, not repeated measurements.

Number-set Venn diagram with A only 2, 4 and 8; intersection 6; B only 3 and 9; and neither 1, 5, 7 and 10.
Figure 2. Number-set Venn diagram with A only 2, 4 and 8; intersection 6; B only 3 and 9; and neither 1, 5, 7 and 10. Original data created for this lesson.
Union and complements within U = {1, ..., 10}
Set or regionMembersCount
Intersection61
Union2, 3, 4, 6, 8, 96
Complement of A1, 3, 5, 7, 9, 106
Neither A nor B1, 5, 7, 104

The only shared member is 6, so the intersection has size 1. The union has 4 + 3 - 1 = 6 members. The remaining 10 - 6 = 4 members of U belong to neither set.

A set lists each member only once. Entering 6 twice in A does not create a second distinct member and must not increase its count. Check the universe before saying that a number belongs to a complement.

Which mistakes should you avoid?

  • Adding the two set totals without subtracting the shared members.
  • Confusing A only with all members of A.
  • Calculating a complement without defining the universal set.
Check your understanding

Five practice questions

Use the worked examples above. Try the questions before opening the answers.

  1. Which pupils are in the intersection of cycling and swimming?
  2. How many pupils are in at least one of the two clubs? Show a calculation.
  3. List the complement of cycling within the eight-pupil universal set.
  4. For the number sets, list the union and state how many numbers are in neither set.
  5. If 6 is entered twice in the numerical set A, should the union count change? Explain.
Show answers and working
  1. Ben and Dina are in both lists, so the intersection contains 2 pupils.
  2. 4 + 3 - 2 = 5 pupils. Subtracting the overlap avoids counting Ben and Dina twice.
  3. Emil, Fatima, Gus and Hana. These four pupils are in U but not in cycling.
  4. The union is {2, 3, 4, 6, 8, 9}. It has 6 members, leaving 10 - 6 = 4 numbers in neither set.
  5. No. A set contains distinct members. Repeating 6 does not create an additional item or change membership of any region.

Common questions

Does union mean exactly one set?

No. A union includes items in either set and also items in their overlap. Exactly one set excludes the overlap.

Can a Venn diagram show an empty intersection?

Yes. If the sets share no members, the intersection is empty. In a schematic Venn diagram the overlap can remain drawn and be labelled zero.

For teachers

Printable worksheet and teacher answers

The A4 worksheet contains the two examples, five practice questions with writing space, and a separate answer page. Print pages 1-2 for students and retain page 3 for marking. Suggested time: 30 minutes.

Download worksheet and answers (PDF)

Free to print and share for classroom and home learning. All examples use original fictional data and contain no real pupil information.

Continue learning

Browse all chart lessons and worksheets