Problems on Sets
Senior 3 · Mathematics
Problems on Sets
Lesson 1 of 4
24 min
For one week the librarian of a school in Rubavu keeps two lists: , the learners who borrowed a novel, and , the learners who borrowed a science book. The head teacher asks how many learners borrowed neither. The librarian can describe that group as , "not in the union of the two lists", or as , "not on the novel list and not on the science list". The two descriptions look different, yet they name the same learners.
In S1 you drew Venn diagrams and shaded a region described in symbols. In S3 questions often run the other way: a region is shaded and you must write it in set notation, or two expressions are given and you must decide whether they are equal. This lesson gives you one reliable method for all of these: work with the regions of the diagram.
Two overlapping circles inside a rectangle cut the universal set into four regions. Number them once and use the same numbers all through this unit.
| Region | In ? | In ? | The region as a set |
|---|---|---|---|
| 1 | yes | no | |
| 2 | yes | yes | |
| 3 | no | yes | |
| 4 | no | no |
Each letter is a list of regions: , , and . Any set you can build from and with , and is just a collection of these regions.
Definition
Region (of a Venn diagram): one of the separate parts into which the circles divide the rectangle. A region is fixed by saying, for every set, whether its elements are inside or outside that set.
Notation: number the regions; write a set expression as the list of its regions.
Example: in a two-set diagram, region 3 is "in but not in ", which is the set , also written .
Definition
Set identity: a statement that two set expressions are equal for every choice of the sets.
Notation: an ordinary equals sign between two expressions, for example .
Example: is an identity. To prove an identity with a Venn diagram, show that both sides cover exactly the same regions. To disprove one, find one region that is in one side but not the other.
Work from the inside of the brackets outwards, using three rules on the region lists.
| Operation | Rule on the lists | Example with , |
|---|---|---|
| Union | keep every region that is in either list | |
| Intersection | keep only the regions that are in both lists | |
| Complement | keep the regions of that are not in the list |
For example, : everything except region 3. The six diagrams below show some sets that appear again and again in examinations.
Worked example 1: naming a shaded region in two ways
In the diagram, regions 1, 3 and 4 are shaded. Write the shaded set in two different ways.
Solution
Way 1: look at what is NOT shaded. Only region 2, which is , is left white. So the shaded set is the complement of that region: .
Way 2: build it from pieces. and . Their union is , exactly the shaded regions. So the shaded set is also .
Both answers are correct, and together they show that .
Important
De Morgan's laws. For any two sets and in a universal set :
In words: the complement of a union is the intersection of the complements, and the complement of an intersection is the union of the complements. The laws are named after the British mathematician Augustus De Morgan (1806–1871).
Why: use the region lists. , so ; and . Equal. Next, , so ; and . Equal. The four regions cover every possible element, so the laws hold for all sets.
Worked example 2: checking De Morgan's laws with lists
, is the set of even numbers in and is the set of multiples of 3 in . Verify both of De Morgan's laws by listing.
Solution and , so and .
First law. , so . The elements common to and are also . ✓
Second law. , so . Joining and gives . ✓
Notice that is the set of numbers from 1 to 12 that are divisible by neither 2 nor 3.
Keep the S1 numbering of the eight regions. The key facts are the region lists of the three letters:
De Morgan's laws extend to three sets: (region 8 only) and (every region except 7).
Worked example 3: shading from symbols
Shade (a) and (b) .
Solution
(a) , so . Intersect with : the common regions are . This is "in , but not in both and ".
(b) and . The common regions are : "in or , but not in ".
Worked example 4: writing a shaded region in symbols
Write each shaded set in set notation.
Solution
(a) These are the elements in at least two of the sets. Each pairwise intersection gives two of the regions: , , . Their union is , so the shaded set is
(b) Regions 3 and 8 are the parts outside both and : and its complement is . So the shaded set is , which by De Morgan's law is also . Circle plays no part.
A problem may tell you that one set lies inside another ("every learner in the choir is also in the music club") or that two sets have nothing in common ("no learner is in both the morning and the afternoon shift"). Draw the circles to match: a circle inside a circle for a subset, and separate circles for disjoint sets.
| Position | What follows |
|---|---|
| , , so and | |
| (disjoint) | , because nothing is counted twice |
Warning
The dash cannot just be copied onto each letter. is not . Check with regions: , but . When the complement moves inside the brackets, the operation between the sets must change as well.
Tip
"Break the line, change the sign." Think of the dash over a whole bracket as a line. When you break it into a dash on each letter, change into , or into .
Mathispower4u: De Morgan's Laws with Venn Diagrams (5 min). Watch how each side of a law is shaded in its own diagram and the two results are compared. Books write the complement of A in several ways, such as A′, Aᶜ or with a bar over the A; they all mean the same set.
Practice
Use region numbers for every question. The last three are harder.
Sources and credits
The Rwandan worked examples, the diagrams, the practice items and the quiz questions were written by Ganzaa.