Skip to content
MathsMaths
Start learning

Maths · Lesson 2.2

Venn Diagrams & Counting

Two-set and three-set Venn diagrams, inclusion-exclusion and survey problems.

Core syllabus1 linked experiment
01

Learning objectives

By the end of this lesson, you should be able to:

  • Read and shade two-set and three-set Venn diagrams.
  • Use n(A∪B) = n(A) + n(B) − n(A∩B).
  • Solve survey problems by filling regions of a Venn diagram.
  • Count elements in each region of a three-set diagram.
02

Lesson

A Venn diagram turns a set problem into a picture. Overlapping circles represent sets, and the regions represent the possible combinations of membership. Counting the elements in each region is often faster and safer than manipulating formulas blindly.

The key counting formula is the inclusion-exclusion principle. For two sets it says n(A ∪ B) = n(A) + n(B) - n(A ∩ B): adding the sizes double-counts the overlap, so we subtract it once.

Three overlapping circles used to count elements in combined sets.
Counting regions in a three-set Venn diagram

Two-set diagrams

Draw two overlapping circles inside a rectangle that represents the universal set. The overlap is A ∩ B. The part of A outside the overlap is A - B, and similarly for B. The region outside both circles is (A ∪ B)′.

If you know the total number of elements and the sizes of A, B and A ∩ B, you can fill every region. Start with the overlap, subtract it from each set to get the 'only A' and 'only B' regions, then subtract the union from the total to get the outside region.

Three-set diagrams

A three-set diagram has eight regions: the three 'only' regions, the three pairwise overlaps, the central triple overlap, and the outside. The inclusion-exclusion formula for three sets adds the sizes of the sets, subtracts the three pairwise intersections, and adds back the triple intersection.

In survey problems, the triple intersection is usually the first number to place. Then work outward through the pairwise overlaps, then the single-set regions, and finally the outside. Always check that the sum of all eight regions equals the total.

03

Worked example

In a class of 30 students, 18 study Mathematics, 15 study Physics and 8 study both. How many study at least one of the two subjects, and how many study neither?

Use n(M ∪ P) = n(M) + n(P) - n(M ∩ P).

Substitute: n(M ∪ P) = 18 + 15 - 8 = 25.

So 25 students study at least one subject.

The number who study neither is 30 - 25 = 5.

04

Equations

Two setsn(A ∪ B) = n(A) + n(B) − n(A ∩ B)
Three setsn(A∪B∪C) = n(A)+n(B)+n(C) − n(A∩B) − n(B∩C) − n(C∩A) + n(A∩B∩C)
Complementn(A′) = n(U) − n(A)
05

Key points

  • The overlap is counted twice when you add the two sets, so subtract it once.
  • Start filling a Venn diagram with the most restricted region, usually the triple overlap.
  • The outside region is the total minus the union.
  • Always check that the regions add up to the total.
06

Common misconceptions

Common mistake

If 18 study Maths and 15 study Physics, then 33 study at least one.

Correct understanding

Students who study both are counted twice in 18 + 15, so the overlap must be subtracted.

07

Check your understanding

1. If n(A) = 12, n(B) = 9 and n(A ∩ B) = 4, what is n(A ∪ B)?

2. In a Venn diagram, which region represents students who study neither subject?

08

Frequently asked questions

Why do we add the triple intersection back?

It is subtracted three times in the pairwise intersections but was added three times in the individual sets, so its net count is zero. Adding it once restores the correct count.

Can a Venn diagram have more than three sets?

Yes, but the diagrams become hard to read. Inclusion-exclusion still works, with alternating signs.

NERDLYY · FEEDBACK

Help shape Nerdlyy

Your feedback goes directly to the team. We read every submission.

No reply needed — you can send feedback without sharing contact details.