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.
Sign in to read the whole lesson, with 1 interactive aid, 4 exercises
Sign in / Sign upMastery 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.
card(A) = 8,card(B) = 12,card(A∩B) = 3,card(A∪B) = 17 = 8 + 12 − 3
The numbers here stand for numbers of elements, not elements.
Related points
All points in this topicCite this page: Counting with Venn diagrams · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000117