Counting with Venn diagrams

用 Venn 图解决计数问题

How do you count with Venn diagrams?

Fill in the known regions first and work backwards; the union has card(A) + card(B) − card(A∩B) members.

ApplicationKP000117

Sign in to read the whole lesson, with 1 interactive aid, 4 exercises

Sign in / Sign up

Mastery goals

  • Can use card(A) (also written n(A)) for the number of elements of a finite set and use card(A∪B) = card(A) + card(B) − card(A∩B) to count the elements of a union of two sets
  • Can fill in the numbers of elements in the regions of a Venn diagram from given counts and solve counting problems involving two or three sets

Reading

The number of elements of a set

When studying sets we often meet questions about the number of elements. A set with a finite number of elements is called a finite set, and denotes the number of elements of . For example if then . (“card” is short for “cardinal number”.)

Consider a problem. A supermarket restocked twice. The first delivery had kinds of goods: ballpoint pens, fountain pens, erasers, notebooks, instant noodles and soda. The second delivery had kinds: ballpoint pens, pencils, ham sausages and instant noodles. How many kinds did it receive altogether?

The answer is clearly wrong. Let us think about it with sets.

Let be the set of kinds in the first delivery and the set of kinds in the second:

Here and . The number of kinds received altogether is . Some kinds appear in both deliveries, and the number of these is . How are , , and related?

We can work out

In general, for any two finite sets ,

Another problem. A school first held an athletics meet, where students of a class took part, and then a ball-games meet, where students of the class took part; students took part in both. How many students of the class took part in the two meets altogether?

Let be the set of students who took part in the athletics meet and the set who took part in the ball-games meet:

Then and , so

So students of the class took part in the two meets.

We can also solve it with a Venn diagram.

UAB539

card(A) = 8,card(B) = 12,card(A∩B) = 3,card(A∪B) = 17 = 8 + 12 − 3

The three regions of the Venn diagram are filled with (only in ), (in both) and (only in ). First fill in the region for ; then fill in the part of outside , and in the part of outside ; the three numbers add up to .

The numbers here stand for numbers of elements, not elements.

Related points

All points in this topic

Cite this page: Counting with Venn diagrams · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000117