Chapter 1
Sets
How do you say exactly which things belong to a group, and how do you join groups, compare them, or take one away from another? This chapter builds the language that the rest of mathematics is written in: sets and their elements, roster and set-builder forms, empty, finite, infinite and equal sets, subsets and intervals of real numbers, the universal set and Venn diagrams, and the operations of union, intersection, difference and complement, with De Morgan's laws.
- Sets and their elements: what well-defined means, and the symbols ∈ and ∉
- Writing a set in roster form and in set-builder form
- The empty set, finite and infinite sets, and counting the elements with n(A)
- Equal sets, subsets, proper subsets, supersets and singleton sets
- Intervals of real numbers: open, closed and half-open, their brackets and their lengths
- The universal set, and drawing sets as Venn diagrams
- Union, intersection and difference, disjoint sets, and the laws they obey
- The complement of a set, the complement laws and De Morgan's laws
- Proving a statement about sets, and disproving one with a counterexample
StartBefore you start: twelve ideas you already know
This chapter is about collections of objects, called sets: how to describe them, how to compare them, and how to combine them. It uses the families of numbers from Class 9 Chapter 1, factors and primes from Class 10 Chapter 1, the solving of equations from Class 10 Chapter 4, and a few everyday words used with exact meanings. Each idea is refreshed below with a small example. If one feels new, go back to it before going on.
1. Natural numbers, whole numbers and integers (Class 9, Chapter 1)
The natural numbers are the counting numbers 1, 2, 3, 4, and so on, without end. Adding 0 gives the whole numbers 0, 1, 2, 3, and so on. The integers are the whole numbers together with the negatives: ..., −3, −2, −1, 0, 1, 2, 3, .... Example: −5 is an integer but not a natural number; 0 is a whole number but not a natural number.
2. Rational numbers (Class 9, Chapter 1)
A rational number can be written as p/q, where p and q are integers and q is not 0. Every integer is rational (5 = 5/1), and so are fractions and terminating or repeating decimals. Example: 3½ = 7/2, −11/3 and 0.25 = 1/4 are all rational.
3. Irrational numbers, real numbers and the number line (Class 9, Chapter 1)
A number on the number line that cannot be written as p/q is irrational: √2, √5 and π are examples. The rational and irrational numbers together make the real numbers, and every point of the number line is a real number. Example: √2 lies between 1.41 and 1.42 on the line, but no fraction is exactly equal to it.
4. Inequalities
a < b means "a is less than b"; a ≤ b means "a is less than or equal to b". So 3 < x < 10 means x lies strictly between 3 and 10, and 3 ≤ x < 10 allows x to be 3 but not 10. Example: the natural numbers with 3 < x < 10 are 4, 5, 6, 7, 8 and 9.
5. Factors, divisors and primes (Class 10, Chapter 1)
A factor (or divisor) of a number divides it exactly. A prime has exactly two factors, 1 and itself; 1 is not prime, and 2 is the only even prime. Every natural number above 1 is a product of primes in one way. Example: the divisors of 12 are 1, 2, 3, 4, 6 and 12, and 12 = 2 × 2 × 3, so its prime factors are 2 and 3.
6. Even numbers, odd numbers and multiples
An even number is a multiple of 2; an odd number leaves remainder 1 when divided by 2. The multiples of 3 are 3, 6, 9, 12, and so on. Example: 14 is even, 15 is odd, and 15 is a multiple of both 3 and 5.
7. Squares and cubes
A perfect square is n × n for some natural number n: 1, 4, 9, 16, 25, .... A perfect cube is n × n × n: 1, 8, 27, 64, .... Example: 49 is a perfect square (7 × 7) but not a perfect cube.
8. Solving equations by factorising (Class 10, Chapter 4)
To solve x² − 5x + 6 = 0, factorise: (x − 2)(x − 3) = 0, so x = 2 or x = 3. A product is zero only when one of its factors is zero. Example: x² = 4 gives x = 2 or x = −2; but if x must be a natural number, only x = 2 is allowed.
9. The letters of a word
The English alphabet has 26 letters: the five vowels a, e, i, o, u, and 21 consonants. A word can repeat letters. Example: SCHOOL has six letters but only five different ones, S, C, H, O and L, because O appears twice.
10. "And", "or" and "not" in mathematics
In mathematics, "A and B" is true only when both are true. "A or B" is true when at least one is true, including when both are (this is the inclusive "or"). "Not A" is true exactly when A is false. Example: 6 is "even and a multiple of 3"; 9 is "even or a multiple of 3" (it is the second); 7 is "not even".
11. Kinds of triangles
An equilateral triangle has all three sides equal (and every angle 60°); an isosceles triangle has at least two sides equal; a right triangle has one angle of 90°. Example: every equilateral triangle is also isosceles, but not the other way round.
12. Lines and circles
Two parallel lines in a plane never meet. A line has infinitely many points. Through any point, infinitely many circles can be drawn. Example: the lines y = 2 and y = 5 are both parallel to the x-axis and have no common point.
Words you will meet
| Word | Meaning |
|---|---|
| Set | a well-defined collection of objects |
| Element | an object in a set; we write a ∈ A for "a belongs to A" |
| Roster form | a set written by listing its elements inside braces |
| Set-builder form | a set described by a property its elements share |
| Empty set | the set with no elements, φ |
| Finite, infinite | with a definite number of elements, or not |
| Subset | A ⊂ B when every element of A is also in B |
| Interval | a set of real numbers lying between two numbers |
| Universal set | the basic set of a discussion, U, of which all the others are subsets |
| Venn diagram | a picture of sets as circles inside a rectangle |
| Union, intersection | A ∪ B: in A or B; A ∩ B: in both |
| Difference, complement | A − B: in A but not in B; A′: in U but not in A |
By the end of this chapter you will be able to
- decide whether a collection is a set, and write a set in roster form and in set-builder form;
- recognise the empty set, finite and infinite sets, and equal sets;
- decide whether one set is a subset of another, list all the subsets of a small set, and write intervals of real numbers;
- choose a universal set and draw Venn diagrams;
- find unions, intersections, differences and complements, and use their laws, including De Morgan's laws;
- prove simple results about sets, and disprove false ones with a counterexample.
1.1Sets: introduction
A thought to begin with
The mathematician G. H. Hardy wrote, in words close to these: "In these days of conflict between ancient and modern studies, there must surely be something to be said for a study which did not begin with Pythagoras and will not end with Einstein. It is the oldest and the youngest." His words open the chapter: mathematics is both very old and always new.
The concept of a set serves as a fundamental part of present-day mathematics. Today this concept is used in almost every branch of mathematics. Sets are used to define the concepts of relations and functions (the next chapter). The study of geometry, sequences, probability and more requires the knowledge of sets.
The theory of sets was developed by the German mathematician Georg Cantor (1845 to 1918). He first came across sets while working on problems about trigonometric series. In this chapter, we discuss some basic definitions and operations involving sets.
Worked example 1
Why might mathematicians want a word for "a collection of objects" at all? Give two everyday collections and say what question a mathematician would ask about each.
What we know: A collection groups objects of some kind; mathematics needs exact answers to questions about such groups.
What we need: Two collections and one exact question for each.
The plan: Think of collections you meet daily, then ask what can be decided about them.
- The students of your class: a mathematician asks, for a given person, "is this person in the collection or not?"
- The prime numbers less than 20: a mathematician asks, "which numbers are in it, and how many are there?"
- Both questions need the collection to be described exactly, so that every object is definitely in it or not.
For example, the students of your class and the primes below 20: for each, we must be able to decide exactly whether an object belongs, which is what makes a collection a set.
Check: The primes below 20 are 2, 3, 5, 7, 11, 13, 17 and 19: eight of them, with no doubt about any number.
Worked example 2
Georg Cantor lived from 1845 to 1918, and published his first paper on set theory in 1874. How old was he then, and how many years before 2026 was that?
What we know: Born 1845; the paper in 1874; the year now 2026.
What we need: His age then, and the time since.
The plan: Subtract the years.
- Age: 1874 − 1845 = 29 years (or 28, before his birthday that year).
- Since then: 2026 − 1874 = 152 years.
He was about 29, and it was 152 years before 2026.
Check: He lived 1918 − 1845 = 73 years. The historical note at the end of the chapter tells more of his story.
When you are stuck: starting the chapter
Read every symbol aloud in words: ∈ is "belongs to", ⊂ is "is a subset of", ∪ is "union", ∩ is "intersection".
Make it small: when a statement about sets feels abstract, try it on two small sets you can list, such as {1, 2} and {2, 3}.
Draw it: a Venn diagram (section 1.8) turns most questions about sets into a picture.
Your turn
Name one more branch of mathematics, besides relations and functions, that uses sets.Tap to reveal
The plan: Recall the introduction.
- The book names geometry, sequences and probability.
For example, probability: an event is a set of outcomes.
Who developed the theory of sets, and when did he live?Tap to reveal
The plan: Recall the introduction.
- The book names him and his years.
Georg Cantor, a German mathematician, 1845 to 1918.
In one line
Sets, collections defined so exactly that every object either belongs or does not, are the language in which most of modern mathematics is written; their theory was developed by Georg Cantor.
1.2Sets and their representations
In everyday life, we often speak of collections of objects of a particular kind, such as a pack of cards, a crowd of people or a cricket team. In mathematics also, we come across collections, for example, of natural numbers, points, prime numbers, and so on. More specially, we examine the following collections:
- Odd natural numbers less than 10, that is, 1, 3, 5, 7, 9.
- The rivers of India.
- The vowels in the English alphabet, namely a, e, i, o, u.
- Various kinds of triangles.
- Prime factors of 210, namely 2, 3, 5 and 7.
- The solutions of the equation x² − 5x + 6 = 0, namely 2 and 3.
We note that each of the above examples is a well-defined collection of objects, in the sense that we can definitely decide whether a given particular object belongs to a given collection or not. For example, we can say that the river Nile does not belong to the collection of rivers of India. On the other hand, the river Ganga does belong to this collection.
Again, the collection of the five most renowned mathematicians of the world is not well-defined, because the criterion for deciding whether a mathematician is "most renowned" may vary from person to person.
A set is a well-defined collection of objects: for any object, we can decide definitely whether it belongs to the collection or not.
Examples: the odd natural numbers less than 10 form a set. The rivers of India form a set. The days of the week form a set. "The five most renowned mathematicians" is not a set, because people would disagree about who belongs.
We give below a few more examples of sets used particularly in mathematics. These symbols will be used throughout the book:
| Symbol | The set of all | Some elements |
|---|---|---|
| N | natural numbers | 1, 2, 3, ... |
| Z | integers | ..., −2, −1, 0, 1, 2, ... |
| Q | rational numbers | 1/2, −3, 0.75 |
| R | real numbers | √2, π, −4.5 |
| Z⁺ | positive integers | 1, 2, 3, ... (the same as N) |
| Q⁺ | positive rational numbers | 1/2, 7, 0.01 |
| R⁺ | positive real numbers | √3, π, 0.5 |
Worked example 3
Decide which of these are well-defined, and so sets: (a) the tall students of your class; (b) the students of your class taller than 160 cm; (c) the hard questions in this chapter; (d) the questions in this chapter.
What we know: A collection is a set only if membership can be decided definitely, the same way by everyone.
What we need: Which collections are sets.
The plan: For each, ask whether two people could disagree about an object.
- (a) "Tall" is a matter of opinion: one person's tall is another's average. Not well-defined.
- (b) A measured height above 160 cm can be decided by a tape. Well-defined: a set.
- (c) "Hard" depends on the reader. Not well-defined.
- (d) Every question in the chapter can be listed. Well-defined: a set.
(b) and (d) are sets; (a) and (c) are not well-defined.
Check: Adding an exact test (a height in centimetres) turns a vague collection into a set.
Elements and the symbols ∈ and ∉
The following points may be noted:
- Objects, elements and members of a set are words with the same meaning.
- Sets are usually denoted by capital letters A, B, C, X, Y, Z, and so on.
- The elements of a set are represented by small letters a, b, c, x, y, z, and so on.
If a is an element of a set A, we say that "a belongs to A". The Greek symbol ∈ (epsilon) is used for the phrase "belongs to". Thus, we write a ∈ A. If b is not an element of A, we write b ∉ A and read "b does not belong to A".
Thus, in the set V of vowels in the English alphabet, a ∈ V but b ∉ V. In the set P of prime factors of 30, 3 ∈ P but 15 ∉ P, since 15 is a factor of 30 but is not prime.
An element (or member) of a set is one of the objects in it; "a ∈ A" says that a is an element of A, and "b ∉ A" says that b is not.
Examples: 3 is an element of the set of prime factors of 30. The letter a is an element of the set of vowels. Ganga is an element of the set of rivers of India. 15 is not an element of the set of prime factors of 30.
Worked example 4
Let A be the set of prime numbers less than 20. Fill in ∈ or ∉: 2 ... A, 9 ... A, 17 ... A, 20 ... A, 1 ... A.
What we know: A = {2, 3, 5, 7, 11, 13, 17, 19}: the primes less than 20.
What we need: The right symbol for each number.
The plan: Check each number against the list.
- 2 is prime and less than 20: 2 ∈ A.
- 9 = 3 × 3 is not prime: 9 ∉ A.
- 17 is prime and less than 20: 17 ∈ A.
- 20 is not less than 20 (and is not prime): 20 ∉ A.
- 1 is not a prime number: 1 ∉ A.
2 ∈ A, 9 ∉ A, 17 ∈ A, 20 ∉ A, 1 ∉ A.
Check: A has eight elements; only 2 and 17 of the five numbers tested are among them.
Two ways of writing a set
There are two methods of representing a set: the roster (or tabular) form, and the set-builder form.
(i) Roster form. All the elements of a set are listed, separated by commas, and enclosed within braces { }. For example, the set of all even positive integers less than 7 is described in roster form as {2, 4, 6}. Some more examples:
- The set of all natural numbers which divide 42 is {1, 2, 3, 6, 7, 14, 21, 42}. In roster form, the order in which the elements are listed does not matter: the same set can be written {1, 3, 7, 21, 2, 6, 14, 42}.
- The set of all vowels in the English alphabet is {a, e, i, o, u}.
- The set of odd natural numbers is {1, 3, 5, ...}. The dots tell us that the list of odd numbers continues without end.
No repeats, no order
While writing a set in roster form, an element is not generally repeated: all the elements are taken as distinct. For example, the set of letters forming the word SCHOOL is {S, C, H, O, L}, or {H, O, L, C, S}. The order of listing has no relevance.
In roster form, a set is written by listing all its elements, separated by commas, inside braces { }; each element is listed once, in any order.
Examples: the roster form of the even positive integers less than 7 is {2, 4, 6}. The roster form of the letters of SCHOOL is {S, C, H, O, L}. The roster form of the odd natural numbers is {1, 3, 5, ...}, with dots for the endless rest.
(ii) Set-builder form. All the elements of a set possess a single common property, which is not possessed by any element outside the set. For example, in the set {a, e, i, o, u}, each element is a vowel in the English alphabet, and no other letter has this property. Denoting this set by V, we write
V = {x : x is a vowel in the English alphabet}
We describe an element of the set by a symbol x (any other letter, such as y or z, could be used), followed by a colon " : ". After the colon, we write the property shared by the elements, and we enclose the whole description within braces. The description is read as "the set of all x such that x is a vowel of the English alphabet". The braces stand for "the set of all", and the colon stands for "such that".
For example, the set A = {x : x is a natural number and 3 < x < 10} is read as "the set of all x such that x is a natural number and x lies between 3 and 10". Hence the numbers 4, 5, 6, 7, 8 and 9 are the elements of A.
The three sets listed in roster form above can also be written in set-builder form. They are {x : x is a natural number which divides 42}, {y : y is a vowel in the English alphabet} and {z : z is an odd natural number}.
In set-builder form, a set is written as {x : property of x}, read "the set of all x such that ...": the elements are exactly the objects with the property.
Examples: the set-builder form of {a, e, i, o, u} is {x : x is a vowel}. The set-builder form of {1, 4, 9, 16, ...} is {x : x = n², n ∈ N}. The set-builder form of {4, 5, 6, 7, 8, 9} is {x : x is a natural number and 3 < x < 10}.
Example 1 (from the book)
Write the solution set of the equation x² + x − 2 = 0 in roster form.
What we know: The solution set is the set of all values of x that satisfy the equation.
What we need: The set in roster form.
The plan: Factorise and solve, then list the solutions inside braces.
- x² + x − 2 = (x − 1)(x + 2).
- So (x − 1)(x + 2) = 0 gives x = 1 or x = −2.
The solution set is {1, −2}.
Check: 1 + 1 − 2 = 0 and 4 − 2 − 2 = 0. Both values satisfy the equation.
Example 2 (from the book)
Write the set {x : x is a positive integer and x² < 40} in roster form.
What we know: x must be a positive integer, and its square must be less than 40.
What we need: The roster form.
The plan: Try x = 1, 2, 3, ... until the square reaches 40.
- 1² = 1, 2² = 4, 3² = 9, 4² = 16, 5² = 25, 6² = 36: all less than 40.
- 7² = 49 is not less than 40, and larger x give larger squares.
{1, 2, 3, 4, 5, 6}.
Check: The largest element, 6, has 6² = 36, and the next integer fails.
Example 3 (from the book)
Write the set A = {1, 4, 9, 16, 25, ...} in set-builder form.
What we know: 1 = 1², 4 = 2², 9 = 3², 16 = 4², 25 = 5².
What we need: A property shared by exactly these numbers.
The plan: Spot the pattern.
- Each element is the square of a natural number, in order.
- So A is the set of all squares of natural numbers.
A = {x : x is the square of a natural number}, or equally A = {x : x = n², where n ∈ N}.
Check: n = 6 gives 36, the next element after 25, so the dots are described correctly.
Example 4 (from the book)
Write the set {1/2, 2/3, 3/4, 4/5, 5/6, 6/7} in set-builder form.
What we know: Each numerator is one less than its denominator; the numerators run from 1 to 6.
What we need: The set-builder form.
The plan: Call the numerator n; then the denominator is n + 1.
- Each element is n/(n + 1), with n = 1, 2, 3, 4, 5, 6.
{x : x = n/(n + 1), where n is a natural number and 1 ≤ n ≤ 6}.
Check: n = 1 gives 1/2 and n = 6 gives 6/7, the first and last elements.
Example 5 (from the book)
Match each set on the left, in roster form, with the same set on the right, in set-builder form. (i) {P, R, I, N, C, A, L}; (ii) {0}; (iii) {1, 2, 3, 6, 9, 18}; (iv) {3, −3}. (a) {x : x is a positive integer and is a divisor of 18}. (b) {x : x is an integer and x² − 9 = 0}. (c) {x : x is an integer and x + 1 = 1}. (d) {x : x is a letter of the word PRINCIPAL}.
What we know: Two descriptions match when they give exactly the same elements.
What we need: The four matches.
The plan: Work out the roster form of each set-builder description.
- (d): PRINCIPAL has 9 letters, but P and I are repeated, so its letters are {P, R, I, N, C, A, L}. So (i) matches (d).
- (c): x + 1 = 1 gives x = 0, so (ii) matches (c).
- (a): the positive divisors of 18 are 1, 2, 3, 6, 9 and 18, so (iii) matches (a).
- (b): x² − 9 = 0 gives x = 3 or −3, so (iv) matches (b).
(i) ↔ (d), (ii) ↔ (c), (iii) ↔ (a), (iv) ↔ (b).
Check: Each set on the right was matched exactly once.
Worked example 5
Write in roster form: (a) {x : x is a two-digit number divisible by 25}; (b) {x : x ∈ Z and −2 ≤ x < 3}; (c) the set of letters of the word ASSASSINATION.
What we know: Roster form lists each element once.
What we need: The three sets listed.
The plan: Find the elements of each, then list them without repeats.
- (a) Two-digit multiples of 25: 25, 50, 75 (100 has three digits).
- (b) Integers from −2 up to, but not including, 3: −2, −1, 0, 1, 2.
- (c) ASSASSINATION has 13 letters, but only 6 different ones: A, S, I, N, T, O.
(a) {25, 50, 75}; (b) {−2, −1, 0, 1, 2}; (c) {A, S, I, N, T, O}.
Check: In (b), the sign ≤ lets in −2, while < keeps out 3.
Worked example 6
Write {1, 8, 27, 64} in set-builder form, and write {x : x is a natural number and x² − 3x − 10 = 0} in roster form.
What we know: 1 = 1³, 8 = 2³, 27 = 3³, 64 = 4³. x² − 3x − 10 = (x − 5)(x + 2).
What we need: The two other forms.
The plan: Spot the pattern in the first; solve and keep only natural numbers in the second.
- The first set is the cubes of 1, 2, 3 and 4: {x : x = n³, n ∈ N and 1 ≤ n ≤ 4}.
- The equation gives x = 5 or x = −2; only 5 is a natural number.
{x : x = n³, n ∈ N, 1 ≤ n ≤ 4} and {5}.
Check: The condition "x is a natural number" is part of the description, so −2 is left out, although it solves the equation.
A common mistake: forgetting a condition
In {x : x ∈ N and x² = 4}, the answer is {2}, not {2, −2}: the condition x ∈ N rules out −2. Read every condition in a set-builder description before listing.
When you are stuck: writing sets
Roster to set-builder: look for the pattern (squares? multiples? letters of a word?) and write it as {x : ...}.
Set-builder to roster: test numbers one by one, or solve the equation, then keep only those that satisfy every condition.
Is it a set? Ask whether two people could disagree about whether an object belongs.
Never repeat an element, and do not worry about order.
Worked example 7
Write the set of the months whose names end in "ber" in roster form and in set-builder form, and find how many elements it has.
What we know: The months ending in "ber" are September, October, November and December.
What we need: Both forms and the number of elements.
The plan: List the months, then describe the common property.
- Roster form: {September, October, November, December}.
- Set-builder form: {x : x is a month whose name ends in "ber"}.
- It has 4 elements.
{September, October, November, December} = {x : x is a month whose name ends in "ber"}, with 4 elements.
Check: Every month was tested; no other month ends in "ber".
Worked example 8
Write in roster form: (a) {x : x ∈ Z and x² ≤ 9}; (b) {x : x is an even integer and −4 ≤ x ≤ 4}; (c) {x : 2x + 3 = 11}.
What we know: List every element that meets all the conditions.
What we need: The three sets.
The plan: Work out each condition.
- (a) x² ≤ 9 for the integers −3 to 3 (4² = 16 is too big): {−3, −2, −1, 0, 1, 2, 3}.
- (b) The even integers from −4 to 4: {−4, −2, 0, 2, 4}.
- (c) 2x + 3 = 11 gives 2x = 8, so x = 4: {4}, a set with only one element.
(a) {−3, ..., 3}, seven integers; (b) {−4, −2, 0, 2, 4}; (c) {4}.
Check: In (a), both 3 and −3 have square 9, so both belong.
Worked example 9
Write {−4, −2, 0, 2, 4} and {I, N, D, A} in set-builder form, in a way that names exactly these elements.
What we know: A set-builder description must include every element and nothing else.
What we need: Two descriptions.
The plan: Find the property, then add limits so nothing extra creeps in.
- The first set is the even integers, but only from −4 to 4: {x : x is an even integer and −4 ≤ x ≤ 4}.
- The second is the letters of the word INDIA: {x : x is a letter of the word INDIA}.
{x : x is an even integer, −4 ≤ x ≤ 4} and {x : x is a letter of INDIA}.
Check: Without the limits −4 ≤ x ≤ 4, the description would give all the even integers, a set that never ends.
Worked example 10
Story: Riya says the set of letters of the word ASSESSMENT has 10 elements, because the word has 10 letters. Correct her.
What we know: A set lists each element once.
What we need: The right number of elements.
The plan: List the different letters.
- The letters are A, S, S, E, S, S, M, E, N, T.
- The different ones are A, S, E, M, N, T.
The set is {A, S, E, M, N, T}, with 6 elements, not 10.
Check: Repeated letters (S four times, E twice) count once in a set.
Your turn
Write the set of all letters of the word APPLE in roster form.Tap to reveal
The plan: List each letter once.
- A, P, P, L, E has four different letters.
{A, P, L, E}.
Write {x : x is a natural number and x divides 30} in roster form.Tap to reveal
The plan: List the divisors of 30.
- 30 = 1 × 30 = 2 × 15 = 3 × 10 = 5 × 6.
{1, 2, 3, 5, 6, 10, 15, 30}.
In one line
A set is a well-defined collection, and a ∈ A says a is an element of A. A set can be written in roster form (listing its elements once each, in any order) or in set-builder form ({x : property}, read "the set of all x such that").
Ex 1.1Exercise 1.1, solved in full
These are the questions of Exercise 1.1. Try each one first, then open the full answer; the answers agree with the book's key.
1. Which of the following are sets? Justify your answer. (i) The collection of all the months of a year beginning with the letter J. (ii) The collection of ten most talented writers of India. (iii) A team of eleven best cricket batsmen of the world. (iv) The collection of all boys in your class. (v) The collection of all natural numbers less than 100. (vi) A collection of novels written by the writer Munshi Prem Chand. (vii) The collection of all even integers. (viii) The collection of questions in this chapter. (ix) A collection of most dangerous animals of the world.Tap to reveal
What we know: A collection is a set only if it is well-defined: membership can be decided definitely.
What we need: Which collections are sets, with a reason for each.
The plan: For each, ask whether everyone would agree about every object.
- (i) The months beginning with J are January, June and July: well-defined, a set.
- (ii) "Most talented" is a matter of opinion: not a set.
- (iii) "Best" batsmen depends on the judge: not a set.
- (iv) Every boy in your class can be listed: a set.
- (v) The natural numbers 1 to 99: a set.
- (vi) The novels written by Premchand are a matter of record: a set.
- (vii) Every integer is either even or not: a set.
- (viii) The questions of this chapter can be listed: a set.
- (ix) "Most dangerous" is a matter of opinion: not a set.
(i), (iv), (v), (vi), (vii) and (viii) are sets; (ii), (iii) and (ix) are not, because words like "most talented", "best" and "most dangerous" do not give a definite test.
Check: This agrees with the book's key.
2. Let A = {1, 2, 3, 4, 5, 6}. Insert the appropriate symbol ∈ or ∉ in the blank spaces: (i) 5 ... A. (ii) 8 ... A. (iii) 0 ... A. (iv) 4 ... A. (v) 2 ... A. (vi) 10 ... ATap to reveal
What we know: A has the six elements 1, 2, 3, 4, 5, 6.
What we need: ∈ or ∉ for each number.
The plan: Check whether each number is in the list.
- 5 and 4 and 2 are in the list: 5 ∈ A, 4 ∈ A, 2 ∈ A.
- 8, 0 and 10 are not in the list: 8 ∉ A, 0 ∉ A, 10 ∉ A.
(i) 5 ∈ A. (ii) 8 ∉ A. (iii) 0 ∉ A. (iv) 4 ∈ A. (v) 2 ∈ A. (vi) 10 ∉ A.
Check: The book's key prints part (iv) as "(vi)" by a slip; the answers are the same.
3. Write the following sets in roster form: (i) A = {x : x is an integer and −3 ≤ x < 7}. (ii) B = {x : x is a natural number less than 6}. (iii) C = {x : x is a two-digit natural number such that the sum of its digits is 8}. (iv) D = {x : x is a prime number which is a divisor of 60}. (v) E = the set of all letters in the word TRIGONOMETRY. (vi) F = the set of all letters in the word BETTERTap to reveal
What we know: Roster form lists each element once, inside braces.
What we need: The six sets listed.
The plan: Find the elements of each, keeping every condition.
- (i) Integers from −3 (included) to 7 (not included): −3, −2, −1, 0, 1, 2, 3, 4, 5, 6.
- (ii) Natural numbers less than 6: 1, 2, 3, 4, 5.
- (iii) Two-digit numbers whose digits add to 8: tens digit 1 to 8 with units digit 8 minus it: 17, 26, 35, 44, 53, 62, 71, 80.
- (iv) 60 = 2 × 2 × 3 × 5, so its prime divisors are 2, 3 and 5.
- (v) TRIGONOMETRY has 12 letters, 9 different: T, R, I, G, O, N, M, E, Y.
- (vi) BETTER has 6 letters, 4 different: B, E, T, R.
(i) {−3, −2, −1, 0, 1, 2, 3, 4, 5, 6}. (ii) {1, 2, 3, 4, 5}. (iii) {17, 26, 35, 44, 53, 62, 71, 80}. (iv) {2, 3, 5}. (v) {T, R, I, G, O, N, M, E, Y}. (vi) {B, E, T, R}.
Check: In (iii), 08 is not a two-digit number, so the list starts at 17. All six agree with the key.
4. Write the following sets in set-builder form: (i) {3, 6, 9, 12}. (ii) {2, 4, 8, 16, 32}. (iii) {5, 25, 125, 625}. (iv) {2, 4, 6, ...}. (v) {1, 4, 9, ..., 100}Tap to reveal
What we know: Set-builder form states a property shared by exactly the listed elements.
What we need: A description for each.
The plan: Find the pattern in each list.
- (i) 3 × 1, 3 × 2, 3 × 3, 3 × 4: {x : x = 3n, n ∈ N and 1 ≤ n ≤ 4}.
- (ii) 2¹, 2², 2³, 2⁴, 2⁵: {x : x = 2ⁿ, n ∈ N and 1 ≤ n ≤ 5}.
- (iii) 5¹, 5², 5³, 5⁴: {x : x = 5ⁿ, n ∈ N and 1 ≤ n ≤ 4}.
- (iv) All the even natural numbers: {x : x is an even natural number}.
- (v) 1², 2², ..., 10²: {x : x = n², n ∈ N and 1 ≤ n ≤ 10}.
(i) {x : x = 3n, n ∈ N, 1 ≤ n ≤ 4}. (ii) {x : x = 2ⁿ, n ∈ N, 1 ≤ n ≤ 5}. (iii) {x : x = 5ⁿ, n ∈ N, 1 ≤ n ≤ 4}. (iv) {x : x is an even natural number}. (v) {x : x = n², n ∈ N, 1 ≤ n ≤ 10}.
Check: The book's question prints (i) as "(3, 6, 9, 12}", with a round bracket by a slip; it means the set {3, 6, 9, 12}. The key's answers agree.
5. List all the elements of the following sets: (i) A = {x : x is an odd natural number}. (ii) B = {x : x is an integer, −1/2 < x < 9/2}. (iii) C = {x : x is an integer, x² ≤ 4}. (iv) D = {x : x is a letter in the word LOYAL}. (v) E = {x : x is a month of a year not having 31 days}. (vi) F = {x : x is a consonant in the English alphabet which precedes k}Tap to reveal
What we know: List the elements that satisfy every condition.
What we need: The six sets in roster form.
The plan: Work out each condition.
- (i) Odd natural numbers: 1, 3, 5, ..., without end.
- (ii) −1/2 = −0.5 and 9/2 = 4.5: the integers strictly between are 0, 1, 2, 3, 4.
- (iii) x² ≤ 4 holds for x = −2, −1, 0, 1, 2 (3² = 9 is too big).
- (iv) LOYAL: L, O, Y, A (L repeated).
- (v) The months with 30 days or fewer: February, April, June, September, November.
- (vi) The letters before k are a to j; leaving out the vowels a, e, i gives b, c, d, f, g, h, j.
(i) {1, 3, 5, ...}. (ii) {0, 1, 2, 3, 4}. (iii) {−2, −1, 0, 1, 2}. (iv) {L, O, Y, A}. (v) {February, April, June, September, November}. (vi) {b, c, d, f, g, h, j}.
Check: All six agree with the book's key.
6. Match each set on the left in roster form with the same set on the right described in set-builder form: (i) {1, 2, 3, 6}. (ii) {2, 3}. (iii) {M, A, T, H, E, I, C, S}. (iv) {1, 3, 5, 7, 9}. (a) {x : x is a prime number and a divisor of 6}. (b) {x : x is an odd natural number less than 10}. (c) {x : x is a natural number and divisor of 6}. (d) {x : x is a letter of the word MATHEMATICS}Tap to reveal
What we know: Two descriptions match when they have exactly the same elements.
What we need: The four matches.
The plan: Write each set-builder description in roster form.
- (c): the divisors of 6 are 1, 2, 3, 6, so (i) ↔ (c).
- (a): the prime divisors of 6 are 2 and 3, so (ii) ↔ (a).
- (d): MATHEMATICS has the letters M, A, T, H, E, I, C, S, so (iii) ↔ (d).
- (b): the odd natural numbers below 10 are 1, 3, 5, 7, 9, so (iv) ↔ (b).
(i) ↔ (c), (ii) ↔ (a), (iii) ↔ (d), (iv) ↔ (b).
Check: The book prints the third set as {M, A, T, H, E, I, C, S}, the eight different letters of MATHEMATICS. The key agrees.
When you are stuck: Exercise 1.1
For "is it a set?", look for opinion words: best, most, talented, dangerous.
For roster form, list in order, check each condition, and drop repeats.
For set-builder form, describe the pattern with n ∈ N and its range.
1.3The empty set
Consider the set A = {x : x is a student of Class XI presently studying in a school}. We can go to the school and count the number of students presently studying in Class XI. Thus, the set A contains a finite number of elements.
We now write another set: B = {x : x is a student presently studying in both Classes X and XI}. A student cannot study in both Classes X and XI at the same time. Thus, the set B contains no element at all.
A set which does not contain any element is called the empty set, the null set or the void set. It is denoted by the symbol φ or by { }.
Examples: the natural numbers between 1 and 2 form the empty set. The even primes greater than 2 form the empty set. The students studying in both Class X and Class XI form the empty set.
According to this definition, B is an empty set, while A is not. We give below a few more examples of empty sets.
- Let A = {x : 1 < x < 2, x is a natural number}. Then A is the empty set, because there is no natural number between 1 and 2.
- B = {x : x² − 2 = 0 and x is a rational number}. Then B is the empty set, because the equation x² − 2 = 0 is not satisfied by any rational value of x: its solutions are √2 and −√2, which are irrational.
- C = {x : x is an even prime number greater than 2}. Then C is the empty set, because 2 is the only even prime number.
- D = {x : x² = 4, x is odd}. Then D is the empty set, because the equation x² = 4 is not satisfied by any odd value of x: its solutions are 2 and −2, both even.
A common mistake: {0} and {φ} are not empty
The set {0} has one element, the number 0; it is not empty. The set {φ} also has one element, the empty set itself. Only φ, written also as { }, has no elements at all.
Worked example 11
Which of these sets are empty? (a) {x : x ∈ N and x + 3 = 3}; (b) {x : x ∈ Z and x + 3 = 3}; (c) {x : x is a multiple of 4 and x is odd}; (d) {x : x is a month with 32 days}.
What we know: A set is empty when no object satisfies its conditions.
What we need: Which are empty.
The plan: Solve each condition, keeping every restriction.
- (a) x + 3 = 3 gives x = 0, which is not a natural number: empty.
- (b) x = 0 is an integer: the set is {0}, not empty.
- (c) Every multiple of 4 is even, so none is odd: empty.
- (d) No month has 32 days: empty.
(a), (c) and (d) are empty; (b) = {0} is not.
Check: (a) and (b) differ only in N against Z: the kind of number allowed can decide whether a set is empty.
When you are stuck: the empty set
Try to find one element. If every candidate breaks a condition, the set is empty.
Look for conditions that fight each other: even and odd, less than 5 and greater than 7.
Remember the trap: {0} and {φ} each have one element.
Worked example 12
Show that {x : x ∈ R and x² + 1 = 0} and {x : x ∈ N and 5 < x < 6} are both empty.
What we know: The square of a real number is never negative; between 5 and 6 there is no natural number.
What we need: Reasons for both.
The plan: Show that no element can exist.
- x² + 1 = 0 would need x² = −1, but x² ≥ 0 for every real x, so x² + 1 ≥ 1. No real x works.
- The natural numbers go 5, 6, 7, ...; none lies strictly between 5 and 6.
Both are φ.
Check: Two empty sets have exactly the same elements, namely none, so they are the same set: there is only one empty set.
Worked example 13
How many elements do φ, {φ} and {φ, {φ} } have?
What we know: φ has no elements; {φ} is a set whose one element is φ.
What we need: The three counts.
The plan: Count the objects listed inside the outer braces.
- φ: nothing inside, 0 elements.
- {φ}: one thing inside, the empty set: 1 element.
- {φ, {φ} }: two different things inside: 2 elements.
0, 1 and 2.
Check: An empty box is not nothing: a box holding an empty box still holds one thing.
Worked example 14
Story: A teacher forms the set of the students in the class who scored more than 100 marks in a test out of 100. Is this a set? Is it empty? Why would anyone want such a set?
What we know: A collection is a set when, for each object, we can say for certain whether it belongs. The test was out of 100 marks.
What we need: Whether it is a set, whether it is empty, and why such a set is useful.
The plan: Test the rule on any one student; then look for a student who passes it.
- Take any student. The score is either above 100 or not, so the rule always gives a clear yes or no. The collection is well-defined, so it is a set.
- No student can score more than the full marks of 100. So no student belongs, and the set has no elements: it is φ.
- Why have such a set? We often name a set before we know what is in it. "The students absent today" is a set every day, and on a day when everyone comes, it is φ.
- So φ lets every such question have an answer. In the same way, 0 answers the question "how many apples are in an empty basket?"
It is a set, and it is empty. The empty set lets every well-defined question "which objects...?" have an answer, even when the answer is "none".
Check: Compare with numbers: 0 is a genuine number that counts nothing, and φ is a genuine set that holds nothing.
Worked example 15
Which of these sets are empty? (a) the prime numbers between 90 and 96; (b) {x : x ∈ N and x² = 7}; (c) {x : x ∈ R and x² = 7}; (d) the months with 32 days.
What we know: A set is empty when no object meets its condition. N is the set of natural numbers and R the set of real numbers.
What we need: Which of the four sets have no elements.
The plan: For each set, search for one element. A single element is enough to show that a set is not empty.
- (a) The numbers between 90 and 96 are 91, 92, 93, 94 and 95. 92 and 94 are even, 91 = 7 × 13, 93 = 3 × 31 and 95 = 5 × 19. None is prime, so the set is φ.
- (b) 2² = 4 is less than 7, and 3² = 9 is more than 7. No natural number lies between 2 and 3, so no natural number has square 7. The set is φ.
- (c) Among the real numbers, √7 × √7 = 7 and (−√7) × (−√7) = 7. So the set is {−√7, √7}, which is not empty.
- (d) Every month has 28, 29, 30 or 31 days. So no month has 32 days, and the set is φ.
(a), (b) and (d) are empty. The set in (c) is {−√7, √7}.
Check: Parts (b) and (c) have the same condition, x² = 7. The answer changed because the numbers allowed changed. The same rule can give φ among the natural numbers and two elements among the real numbers.
Worked example 16
Make up a description in set-builder form that gives the empty set, using: (a) the natural numbers; (b) the letters of the English alphabet; (c) the days of the week.
What we know: The description must be well-defined, and nothing may meet it.
What we need: Three descriptions of φ.
The plan: Pick a condition that goes against a known fact about the objects.
- (a) {x : x ∈ N and 2x = 5}. The only number with 2x = 5 is x = 5/2, and 5/2 is not a natural number.
- (b) {x : x is a letter that comes after Z in the English alphabet}. Z is the last letter, so no letter comes after it.
- (c) {x : x is a day of the week whose name starts with B}. The seven names start with M, T, W, T, F, S and S, and none with B.
For example, {x : x ∈ N, 2x = 5}, {x : x is a letter after Z} and {x : x is a day whose name starts with B}. Each one is φ.
Check: Each description passes the test for a set. For any object, we can decide whether it belongs, and the answer is always "no".
Your turn
Is {x : x is a natural number and x² = 9} empty?Tap to reveal
The plan: Solve x² = 9.
- x = 3 or −3; 3 is natural.
No: it is {3}.
Give an example of an empty set described with an equation.Tap to reveal
The plan: Choose an equation with no allowed solution.
- x² = −1 has no real solution.
For example, {x : x ∈ R and x² = −1}.
In one line
The empty set φ (or { }) has no elements; {0} and {φ} are not empty.
1.4Finite and infinite sets
Let A = {1, 2, 3, 4, 5}, B = {a, b, c, d, e, g} and C = {men living presently in different parts of the world}. We observe that A contains 5 elements and B contains 6 elements. How many elements does C contain? We do not know the exact number, but it is some natural number, which may be quite big.
By the number of elements of a set S, we mean the number of distinct elements of the set, and we denote it by n(S). If n(S) is a natural number, then S is a non-empty finite set. So n(A) = 5, n(B) = 6, and n(C) is some finite number.
Consider the set of natural numbers. The number of its elements is not finite, since there are infinitely many natural numbers. We say that the set of natural numbers is an infinite set.
A set which is empty or consists of a definite number of elements is called finite; otherwise, the set is called infinite.
Examples: the days of the week form a finite set. The solutions of x² − 16 = 0 form a finite set, {4, −4}. The points on a line form an infinite set. The natural numbers form an infinite set. The empty set is finite, with n(φ) = 0.
When we write a set in roster form, we list all its elements within braces. We cannot list all the elements of an infinite set, so we represent some infinite sets in roster form by writing a few elements that indicate the structure of the set, followed (or preceded) by three dots. For example, {1, 2, 3, ...} is the set of natural numbers, {1, 3, 5, 7, ...} is the set of odd natural numbers, and {..., −3, −2, −1, 0, 1, 2, 3, ...} is the set of integers. All these sets are infinite.
Not every infinite set has a roster form
Some infinite sets cannot be described in roster form at all. For example, the set of real numbers cannot be listed this way, because its elements do not follow any pattern of "next" elements: between any two real numbers there are infinitely many others.
Example 6 (from the book)
State which of the following sets are finite or infinite: (i) {x : x ∈ N and (x − 1)(x − 2) = 0}; (ii) {x : x ∈ N and x² = 4}; (iii) {x : x ∈ N and 2x − 1 = 0}; (iv) {x : x ∈ N and x is prime}; (v) {x : x ∈ N and x is odd}.
What we know: A set is finite if it is empty or has a definite number of elements.
What we need: Finite or infinite, for each.
The plan: Find the elements of each set where possible.
- (i) The equation gives x = 1 or 2: the set is {1, 2}, finite.
- (ii) x² = 4 with x natural gives only 2: {2}, finite.
- (iii) 2x − 1 = 0 gives x = 1/2, not natural: the set is φ, which is finite.
- (iv) There are infinitely many primes: infinite.
- (v) There are infinitely many odd numbers: infinite.
(i), (ii) and (iii) are finite; (iv) and (v) are infinite.
Check: The empty set in (iii) counts as finite: its number of elements is 0.
Worked example 17
Find n(S) for: (a) S = the set of letters of MISSISSIPPI; (b) S = {x : x ∈ N and x divides 100}; (c) S = {x : x ∈ N, x < 1}.
What we know: n(S) counts the distinct elements.
What we need: The three counts.
The plan: List the distinct elements and count them.
- (a) MISSISSIPPI has 11 letters but only 4 different: M, I, S, P. n(S) = 4.
- (b) The divisors of 100 are 1, 2, 4, 5, 10, 20, 25, 50, 100: n(S) = 9.
- (c) No natural number is less than 1: S = φ, n(S) = 0.
(a) 4; (b) 9; (c) 0.
Check: For (b), divisors come in pairs multiplying to 100 (1 and 100, 2 and 50, 4 and 25, 5 and 20), with 10 paired with itself: 4 × 2 + 1 = 9.
Worked example 18
Story: Kabir says, "The set of all the grains of sand on the earth is infinite, because nobody could ever count them." Is he right?
What we know: A set is finite when it has a definite number of elements, whether or not anyone can count them in practice.
What we need: Whether the set is finite.
The plan: Separate "too many to count" from "no end".
- The earth has a definite, if enormous, amount of sand, made of a definite number of grains.
- So the number of grains is some natural number, even though nobody knows it.
- "Hard to count" is not the same as "infinite".
No: the set is finite, just very large.
Check: Compare the book's set C of men living in the world: unknown in number, but finite.
When you are stuck: finite or infinite
Ask: does the list ever end? If it must stop at some definite number, the set is finite.
Very large is still finite: people on the earth, animals, grains of sand.
Geometry often gives infinite sets: points on a line, lines through a point, circles through a point.
Worked example 19
Is the set of all divisors of 360 finite? If so, find its number of elements without listing them.
What we know: A divisor of n is at most n, so there are finitely many. 360 = 2³ × 3² × 5.
What we need: Finite or not, and n(S).
The plan: Count the choices of powers of each prime in a divisor.
- Every divisor is 2ᵃ × 3ᵇ × 5ᶜ with a from 0 to 3, b from 0 to 2, c from 0 to 1.
- That is 4 × 3 × 2 = 24 choices, each giving a different divisor.
Finite, with 24 elements.
Check: Divisors of 360 come in pairs with product 360, such as 8 and 45; 24 is even, as 360 is not a perfect square.
Worked example 20
Decide whether each set is finite or infinite: (a) the rational numbers between 0 and 1; (b) the integers strictly between −10,00,000 and 10,00,000; (c) the points (x, y) with whole-number coordinates and x² + y² < 4.
What we know: A set is finite if it has a definite number of elements.
What we need: Finite or infinite, with counts where finite.
The plan: Look for endless lists, or count.
- (a) 1/2, 1/3, 1/4, ... are all between 0 and 1, without end: infinite.
- (b) The integers from −9,99,999 to 9,99,999: 9,99,999 + 9,99,999 + 1 (for 0) = 19,99,999 of them: finite.
- (c) Only x and y from −1 to 1 work: (0, 0), (±1, 0), (0, ±1) and (±1, ±1): 9 points, finite.
(a) infinite; (b) finite, 19,99,999 elements; (c) finite, 9 points.
Check: In (c), (2, 0) fails because 2² + 0² = 4 is not less than 4.
Worked example 21
Find n(A) for: (a) A = the set of two-digit natural numbers; (b) A = {x : x ∈ Z and −5 ≤ x ≤ 5}; (c) A = the days of the week whose names begin with T.
What we know: n(A) is the number of different elements of a finite set A.
What we need: Three numbers.
The plan: For a run of whole numbers from a first one to a last one, count with the rule: last − first + 1.
- (a) The two-digit numbers run from 10 to 99. Their count is 99 − 10 + 1 = 90.
- Why add 1? Subtracting counts the steps from 10 up to 99. There is one more number than there are steps, because the first number, 10, has no step before it.
- (b) The integers run from −5 to 5. Their count is 5 − (−5) + 1 = 11: five negative integers, zero, and five positive integers.
- (c) The days beginning with T are Tuesday and Thursday, so A = {Tuesday, Thursday}.
(a) n(A) = 90; (b) n(A) = 11; (c) n(A) = 2.
Check: Test the rule on a short run that you can count by hand. The numbers from 3 to 5 are 3, 4 and 5, and 5 − 3 + 1 = 3. The rule agrees.
Worked example 22
A line segment AB is 2 cm long. Is the set of points of AB finite or infinite? Is the set of the points marked at every whole centimetre from A finite?
What we know: A set is finite when its elements can be counted to an end. Otherwise it is infinite.
What we need: The two answers, with reasons.
The plan: Look for a point between any two points; then count the marks.
- Suppose the points of AB could be counted to an end. Then two of them, say P and Q, would be neighbours, with no point of the list between them.
- But the midpoint of PQ is a point of AB, and it lies between P and Q. So no two points are neighbours, and the points cannot be counted to an end. The set is infinite.
- The marks at every whole centimetre from A are at 0 cm, 1 cm and 2 cm. That is 3 points, so this set is finite.
The points of AB form an infinite set. The whole-centimetre marks form a finite set with 3 elements.
Check: Being short on paper does not make a set finite. Even the shortest segment has infinitely many points.
Worked example 23
Which of these sets are finite? (a) the lines through a given point P; (b) the lines through two different given points P and Q; (c) the circles with centre at a given point O.
What we know: Through two different points there is exactly one line. A circle is fixed by its centre and its radius.
What we need: Finite or infinite, for each set.
The plan: Ask whether we could ever list all the elements.
- (a) Turn a ruler about P. Each new direction gives a new line through P, and the directions never run out. Infinite.
- (b) Only one line passes through both P and Q. The set has exactly one element, so it is finite.
- (c) There is one circle with centre O for each radius: 1 cm, 2 cm, 1.5 cm, and so on without end. Infinite.
Only (b) is finite, with exactly 1 element. Sets (a) and (c) are infinite.
Check: A set with exactly one element, like (b), is finite, with n = 1.
Worked example 24
How many elements does {3, 6, 9, ..., 99} have? Write the set in set-builder form.
What we know: Each element is 3 times a natural number: 3 = 3 × 1, 6 = 3 × 2, 9 = 3 × 3, and so on.
What we need: The number of elements, and a set-builder form.
The plan: Find which multiple of 3 the last element is.
- 99 = 3 × 33, so the elements are 3 × 1, 3 × 2, ..., 3 × 33.
- There is one element for each of the numbers 1, 2, ..., 33, so there are 33 elements.
- Set-builder form: {x : x = 3n, n ∈ N and n ≤ 33}.
33 elements, and the set is {x : x = 3n, n ∈ N, n ≤ 33}.
Check: Count the values of n with the rule last − first + 1: 33 − 1 + 1 = 33. Both ways agree.
Two ways to show that a set is infinite
No last element: after any element there is always another. After any natural number n comes n + 1, so N has no last element.
Always one in between: between any two elements there is always another, as with the points of a line segment.
Either way, any list we make of the elements will leave some out, so the set is infinite.
Your turn
Is the set of all even primes finite or infinite?Tap to reveal
The plan: List it.
- The only even prime is 2.
Finite: it is {2}.
Is the set of all multiples of 7 finite or infinite?Tap to reveal
The plan: Does the list end?
- 7, 14, 21, ... goes on without end.
Infinite.
In one line
n(S) is the number of distinct elements of S; a set is finite if it is empty or has a definite number of elements, and infinite otherwise.
1.5Equal sets
Given two sets A and B, if every element of A is also an element of B, and every element of B is also an element of A, then the sets A and B are said to be equal. The two sets then have exactly the same elements.
Two sets A and B are equal if they have exactly the same elements; we write A = B. Otherwise the sets are unequal, and we write A ≠ B.
Examples: {1, 2, 3, 4} and {3, 1, 4, 2} are equal sets. The primes less than 6 and the prime factors of 30 are equal sets, both {2, 3, 5}. {1, 2, 3} and {2, 2, 1, 3, 3} are equal sets.
For example, (i) let A = {1, 2, 3, 4} and B = {3, 1, 4, 2}; then A = B. (ii) Let A be the set of prime numbers less than 6, and P the set of prime factors of 30. Then A and P are equal, since 2, 3 and 5 are the only prime factors of 30, and these are also exactly the primes less than 6.
Repeats do not change a set
A set does not change if one or more of its elements are repeated. For example, the sets A = {1, 2, 3} and B = {2, 2, 1, 3, 3} are equal, since each element of A is in B and each element of B is in A. That is why we do not repeat elements when describing a set.
Example 7 (from the book)
Find the pairs of equal sets, if any, giving reasons: A = {0}, B = {x : x > 15 and x < 5}, C = {x : x − 5 = 0}, D = {x : x² = 25}, E = {x : x is an integral positive root of the equation x² − 2x − 15 = 0}.
What we know: Equal sets have exactly the same elements.
What we need: The equal pairs.
The plan: Write each set in roster form, then compare.
- A = {0}. B: no number is both greater than 15 and less than 5, so B = φ.
- C = {5}. D: x² = 25 gives D = {−5, 5}.
- E: x² − 2x − 15 = (x − 5)(x + 3) = 0 gives x = 5 or −3; the positive integer root is 5, so E = {5}.
- Since 0 ∈ A but 0 is in no other set, A equals none of them. B = φ, and none of the others is empty.
- C = {5} and D = {−5, 5} differ, since −5 ∈ D. C = {5} = E. D ≠ E.
The only pair of equal sets is C and E, both {5}.
Check: Writing every set in roster form first makes the comparisons quick.
Example 8 (from the book)
Which of the following pairs of sets are equal? Justify your answer. (i) X, the set of letters in "ALLOY", and B, the set of letters in "LOYAL". (ii) A = {n : n ∈ Z and n² ≤ 4} and B = {x : x ∈ R and x² − 3x + 2 = 0}.
What we know: Repeated elements do not change a set.
What we need: Whether each pair is equal.
The plan: Write each set in roster form.
- (i) X = {A, L, L, O, Y} = {A, L, O, Y} and B = {L, O, Y, A, L} = {L, O, Y, A}: the same four letters, so X = B.
- (ii) A = {−2, −1, 0, 1, 2}. B: x² − 3x + 2 = (x − 1)(x − 2) = 0 gives B = {1, 2}.
- 0 ∈ A but 0 ∉ B, so A ≠ B.
(i) X = B; (ii) A ≠ B.
Check: One element in one set but not the other is enough to show two sets are unequal.
Worked example 25
Are A = {x : x² − 7x + 12 = 0} and B = {x : x ∈ N, 2 < x < 5} equal?
What we know: Equal sets have exactly the same elements.
What we need: Whether A = B.
The plan: Find both sets in roster form.
- x² − 7x + 12 = (x − 3)(x − 4) = 0 gives A = {3, 4}.
- The natural numbers strictly between 2 and 5 are 3 and 4: B = {3, 4}.
Yes, A = B: both are {3, 4}.
Check: Very different descriptions can give the same set: equality depends only on the elements.
A common mistake: equal number of elements
{1, 2, 3} and {4, 5, 6} both have 3 elements, but they are not equal. Equal sets need the same elements, not just the same number of them. (Sets with the same number of elements are sometimes called equivalent; that is a different idea.)
When you are stuck: equal sets
Write both sets in roster form and drop repeats.
Look for one element in one set but not in the other: that settles A ≠ B at once.
Order and repetition never matter.
Worked example 26
Are these pairs equal? (a) the letters of LISTEN and of SILENT; (b) {x : x² = x} and {0, 1}; (c) {x : x ∈ N, x < 4} and the set of divisors of 6.
What we know: Equal sets have exactly the same elements.
What we need: Equal or not, for each pair.
The plan: Write each set in roster form.
- (a) LISTEN and SILENT use the same six letters, L, I, S, T, E, N: equal.
- (b) x² = x gives x² − x = x(x − 1) = 0, so x = 0 or 1: equal to {0, 1}.
- (c) {1, 2, 3} against {1, 2, 3, 6}: 6 is only in the second, so not equal.
(a) equal; (b) equal; (c) not equal.
Check: Words that are anagrams of each other always give equal sets of letters.
Worked example 27
If A = B, must n(A) = n(B)? If n(A) = n(B), must A = B?
What we know: Equal sets have the same elements.
What we need: Both answers.
The plan: Think, then test with an example.
- If A = B, they are one and the same set, so they have the same number of elements.
- The other way fails: {1, 2, 3} and {4, 5, 6} both have 3 elements, but they are different sets.
Yes for the first; no for the second.
Check: Equal sets have equal sizes, but equal sizes do not make equal sets.
Worked example 28
Are these pairs of sets equal? (a) the letters of DEER and the letters of REED; (b) {1, 2, 3} and {3, 1, 2, 2, 1}; (c) {x : x ∈ N and x² = 9} and {x : x ∈ Z and x² = 9}.
What we know: Two sets are equal when they have exactly the same elements. Order and repeats do not matter.
What we need: Equal or not, for each pair.
The plan: Write each set in roster form, then compare the elements.
- (a) DEER gives {D, E, R}, and REED gives {R, E, D}. These have the same three elements, so the sets are equal.
- (b) {3, 1, 2, 2, 1} lists 1 and 2 twice, but as a set it is {1, 2, 3}. So the sets are equal.
- (c) Among the natural numbers, only 3 has square 9, so the first set is {3}. Among the integers, both 3 and −3 have square 9, so the second set is {−3, 3}.
- The element −3 is in the second set only. So the sets in (c) are not equal.
(a) Equal; (b) equal; (c) not equal.
Check: In (c), a single element that is in one set and not in the other is enough to show that the sets are not equal.
Worked example 29
Find a and b if {a, 4} = {3, b}.
What we know: Equal sets have exactly the same elements.
What we need: The values of a and b.
The plan: Each element of one set must be an element of the other.
- 3 is an element of {3, b}, so 3 must be an element of {a, 4}. Since 3 ≠ 4, we get a = 3.
- 4 is an element of {a, 4}, so 4 must be an element of {3, b}. Since 4 ≠ 3, we get b = 4.
- With these values, both sets are {3, 4}.
a = 3 and b = 4.
Check: Put the values back: {3, 4} = {3, 4}, so the sets are equal, as required. No other pair of values works, because each step above was forced.
Now we can say why there is only one empty set
Take any two empty sets, such as the months with 32 days and the natural numbers between 5 and 6.
Two sets are equal when they have exactly the same elements. Neither set has an element that the other lacks, because neither has any element at all. So the two sets are equal.
Every empty set is the same set φ. That is why we say the empty set, not an empty set.
Your turn
Are {a, b, c} and {c, a, b, a} equal?Tap to reveal
The plan: Drop the repeat and compare.
- {c, a, b, a} = {a, b, c}.
Yes.
Are {x : x² = 1} and {1} equal?Tap to reveal
The plan: Solve x² = 1.
- x = 1 or −1, so the first set is {1, −1}.
No: −1 is in the first set only.
In one line
Two sets are equal when they have exactly the same elements, whatever the order or repetition; one element in one but not the other makes them unequal.
Ex 1.2Exercise 1.2, solved in full
These are the questions of Exercise 1.2. Try each one first, then open the full answer; the answers agree with the book's key.
1. Which of the following are examples of the null set? (i) The set of odd natural numbers divisible by 2. (ii) The set of even prime numbers. (iii) {x : x is a natural number, x < 5 and x > 7}. (iv) {y : y is a point common to any two parallel lines}.Tap to reveal
What we know: The null set has no elements.
What we need: Which sets have no elements.
The plan: Try to find one element of each.
- (i) A number divisible by 2 is even, so it cannot be odd: no element. Null set.
- (ii) 2 is an even prime: the set is {2}, not null.
- (iii) No number is both less than 5 and greater than 7: null set.
- (iv) Two parallel lines never meet, so they have no common point: null set.
(i), (iii) and (iv) are null sets; (ii) is {2}.
Check: This agrees with the book's key.
2. Which of the following sets are finite or infinite? (i) The set of months of a year. (ii) {1, 2, 3, ...}. (iii) {1, 2, 3, ..., 99, 100}. (iv) The set of positive integers greater than 100. (v) The set of prime numbers less than 99.Tap to reveal
What we know: A finite set has a definite number of elements.
What we need: Finite or infinite, for each.
The plan: Ask whether each list ends.
- (i) 12 months: finite.
- (ii) The natural numbers never end: infinite.
- (iii) Exactly 100 elements: finite.
- (iv) 101, 102, 103, ... never ends: infinite.
- (v) The primes below 99 can be listed (there are 25 of them): finite.
(i) finite. (ii) infinite. (iii) finite. (iv) infinite. (v) finite.
Check: This agrees with the key. In (v), "less than 99" puts an end to the list, although there are infinitely many primes in all.
3. State whether each of the following sets is finite or infinite: (i) The set of lines which are parallel to the x-axis. (ii) The set of letters in the English alphabet. (iii) The set of numbers which are multiples of 5. (iv) The set of animals living on the earth. (v) The set of circles passing through the origin (0, 0).Tap to reveal
What we know: A finite set has a definite number of elements.
What we need: Finite or infinite, for each.
The plan: Ask whether each list can end.
- (i) The lines y = c, one for every real number c, are all parallel to the x-axis: infinite.
- (ii) 26 letters: finite.
- (iii) 5, 10, 15, ... never ends: infinite.
- (iv) The animals on the earth are very many, but a definite number: finite.
- (v) Infinitely many circles of different centres and sizes pass through the origin: infinite.
(i) infinite. (ii) finite. (iii) infinite. (iv) finite. (v) infinite.
Check: This agrees with the key. (iv) is finite for the same reason as the book's set of all men living in the world.
4. In the following, state whether A = B or not: (i) A = {a, b, c, d}, B = {d, c, b, a}. (ii) A = {4, 8, 12, 16}, B = {8, 4, 16, 18}. (iii) A = {2, 4, 6, 8, 10}, B = {x : x is a positive even integer and x ≤ 10}. (iv) A = {x : x is a multiple of 10}, B = {10, 15, 20, 25, 30, ...}.Tap to reveal
What we know: Equal sets have exactly the same elements.
What we need: Whether A = B in each part.
The plan: Compare the elements.
- (i) The same four letters in another order: A = B.
- (ii) 12 ∈ A but 12 ∉ B (and 18 ∈ B but 18 ∉ A): A ≠ B.
- (iii) The positive even integers up to 10 are 2, 4, 6, 8, 10: A = B.
- (iv) 15 ∈ B, but 15 is not a multiple of 10: A ≠ B.
(i) Yes. (ii) No. (iii) Yes. (iv) No.
Check: This agrees with the key. In (iv), B is the multiples of 5 from 10 on, which includes 15 and 25.
5. Are the following pairs of sets equal? Give reasons. (i) A = {2, 3}, B = {x : x is a solution of x² + 5x + 6 = 0}. (ii) A = {x : x is a letter in the word FOLLOW}, B = {y : y is a letter in the word WOLF}.Tap to reveal
What we know: Equal sets have exactly the same elements.
What we need: Whether each pair is equal.
The plan: Write both sets of each pair in roster form.
- (i) x² + 5x + 6 = (x + 2)(x + 3) = 0 gives B = {−2, −3}, which is not {2, 3}.
- (ii) FOLLOW gives {F, O, L, W}; WOLF gives {W, O, L, F}: the same four letters.
(i) No: B = {−2, −3}. (ii) Yes: both are {F, O, L, W}.
Check: This agrees with the key. In (i), the roots of x² + 5x + 6 = 0 are negative, a common slip.
6. From the sets given below, select equal sets: A = {2, 4, 8, 12}, B = {1, 2, 3, 4}, C = {4, 8, 12, 14}, D = {3, 1, 4, 2}, E = {−1, 1}, F = {0, a}, G = {1, −1}, H = {0, 1}.Tap to reveal
What we know: Equal sets have exactly the same elements.
What we need: The pairs of equal sets.
The plan: Group the sets by their elements.
- B = {1, 2, 3, 4} and D = {3, 1, 4, 2} have the same elements: B = D.
- E = {−1, 1} and G = {1, −1}: E = G.
- A and C differ (2 against 14); F contains a, which no other set has; H = {0, 1} matches none.
B = D and E = G.
Check: This agrees with the key.
When you are stuck: Exercise 1.2
For null sets, look for a contradiction in the conditions, or a geometric impossibility.
For finite or infinite, ask whether there is a last element.
For equality, roster form first, then hunt for one element in only one set.
1.6Subsets
Consider the sets X = the set of all students in your school, and Y = the set of all students in your class. We note that every element of Y is also an element of X; we say that Y is a subset of X. The fact that Y is a subset of X is expressed in symbols as Y ⊂ X. The symbol ⊂ stands for "is a subset of" or "is contained in".
A set A is a subset of a set B if every element of A is also an element of B; we write A ⊂ B. If A is not a subset of B, we write A ⊄ B.
Examples: the students of your class form a subset of the students of your school. {2, 3} is a subset of {1, 2, 3, 4}. The set of rational numbers is a subset of the set of real numbers. The empty set is a subset of every set.
In other words, A ⊂ B if, whenever a ∈ A, then a ∈ B. It is often convenient to use the symbol ⇒, which means "implies". Using it, we can write the definition of a subset as: A ⊂ B if a ∈ A ⇒ a ∈ B. We read this as "A is a subset of B if a is an element of A implies that a is also an element of B".
For A to be a subset of B, all that is needed is that every element of A is in B. It is possible that every element of B may or may not be in A. If it so happens that every element of B is also in A, then we also have B ⊂ A. In this case, A and B are the same sets, so that
A ⊂ B and B ⊂ A ⇔ A = B,
where "⇔" is the symbol for a two-way implication, usually read as "if and only if" (briefly written as "iff").
It follows from the definition that every set A is a subset of itself: A ⊂ A. Since the empty set φ has no elements, we agree to say that φ is a subset of every set. (Indeed, there is no element of φ that could fail to be in the other set.)
We now consider some examples:
- The set Q of rational numbers is a subset of the set R of real numbers, and we write Q ⊂ R.
- If A is the set of all divisors of 56 and B the set of all prime divisors of 56, then B is a subset of A, and we write B ⊂ A. (Here B = {2, 7}.)
- Let A = {1, 3, 5} and B = {x : x is an odd natural number less than 6}. Then A ⊂ B and B ⊂ A, and hence A = B.
- Let A = {a, e, i, o, u} and B = {a, b, c, d}. Then A is not a subset of B, and B is not a subset of A.
If A ⊂ B and A ≠ B, then A is called a proper subset of B, and B is called a superset of A. A set with only one element is called a singleton set.
Examples: {1, 2, 3} is a proper subset of {1, 2, 3, 4}. {1, 2, 3, 4} is a superset of {1, 2, 3}. {a} is a singleton set. {0} is a singleton set too.
Example 9 (from the book)
Consider the sets φ, A = {1, 3}, B = {1, 5, 9}, C = {1, 3, 5, 7, 9}. Insert the symbol ⊂ or ⊄ between each of the following pairs of sets: (i) φ ... B (ii) A ... B (iii) A ... C (iv) B ... C
What we know: A ⊂ B when every element of A is in B; φ is a subset of every set.
What we need: ⊂ or ⊄ for each pair.
The plan: Check every element of the first set against the second.
- (i) φ ⊂ B, as φ is a subset of every set.
- (ii) A ⊄ B, as 3 ∈ A and 3 ∉ B.
- (iii) A ⊂ C, as 1 and 3 both belong to C.
- (iv) B ⊂ C, as 1, 5 and 9 all belong to C.
(i) φ ⊂ B. (ii) A ⊄ B. (iii) A ⊂ C. (iv) B ⊂ C.
Check: One element missing (3 in part (ii)) is enough for ⊄.
Example 10 (from the book)
Let A = {a, e, i, o, u} and B = {a, b, c, d}. Is A a subset of B? Is B a subset of A? Why?
What we know: A ⊂ B needs every element of A to be in B.
What we need: Both answers, with reasons.
The plan: Find one element that fails in each direction.
- e ∈ A but e ∉ B, so A ⊄ B.
- b ∈ B but b ∉ A, so B ⊄ A.
No and no: e is in A but not B, and b is in B but not A.
Check: Two sets can each fail to be a subset of the other: they only share the element a.
Example 11 (from the book)
Let A, B and C be three sets. If A ∈ B and B ⊂ C, is it true that A ⊂ C? If not, give an example.
What we know: ∈ says that something is an element; ⊂ says that every element of one set is in another.
What we need: Whether A ⊂ C must follow.
The plan: Try a small example where a set is an element of another set.
- Let A = {1}, B = { {1}, 2 } and C = { {1}, 2, 3 }.
- A ∈ B, since A = {1} is an element of B. And B ⊂ C, since {1} and 2 are both in C.
- But A ⊄ C: 1 ∈ A, while 1 ∉ C (C contains the set {1}, not the number 1).
No. For example, A = {1}, B = { {1}, 2 }, C = { {1}, 2, 3 }: A ∈ B and B ⊂ C, but A ⊄ C.
Check: The book notes that an element of a set need not be a subset of it: the number 1 and the set {1} are different objects.
A common mistake: ∈ against ⊂
∈ goes between an element and a set: 3 ∈ {1, 2, 3}. ⊂ goes between two sets: {3} ⊂ {1, 2, 3}. Writing 3 ⊂ {1, 2, 3} or {3} ∈ {1, 2, 3} is wrong, unless the set really has the set {3} as an element.
Worked example 30
List all the subsets of {a, b, c}. How many are there? Which of them are proper subsets?
What we know: A subset may have 0, 1, 2 or all 3 of the elements.
What we need: The full list, its size, and the proper ones.
The plan: List by size: none, one, two, three elements.
- No element: φ.
- One element: {a}, {b}, {c}.
- Two elements: {a, b}, {a, c}, {b, c}.
- Three elements: {a, b, c}.
- In all, 1 + 3 + 3 + 1 = 8 subsets. Every one except {a, b, c} itself is a proper subset.
8 subsets: φ, {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c}; all but the last are proper.
Check: Each element is either in a subset or not: 2 × 2 × 2 = 8 choices.
Going further: how many subsets?
A set with n elements has 2ⁿ subsets, because each element is either in a subset or out of it, two choices for each element: 2 × 2 × ... × 2 = 2ⁿ. So a set of 3 elements has 8 subsets and a set of 10 elements has 2¹⁰ = 1,024. Of these, 2ⁿ − 1 are proper subsets (all except the set itself).
When you are stuck: subsets
To show A ⊂ B, check every element of A against B.
To show A ⊄ B, one element of A outside B is enough.
Remember the two free subsets: φ and A itself are always subsets of A.
Read the braces carefully: {1} is a set, 1 is a number.
Worked example 31
List the subsets of {x, y} that contain x. How many subsets of {1, 2, 3, 4, 5} contain the element 1?
What we know: A subset containing a fixed element is chosen by deciding about the other elements.
What we need: The list, and the count.
The plan: Fix the element, then choose freely among the rest.
- Subsets of {x, y} with x: {x} and {x, y}.
- For {1, 2, 3, 4, 5}: 1 is in; each of 2, 3, 4, 5 is in or out: 2⁴ = 16 subsets.
{x}, {x, y}; and 16 subsets contain 1.
Check: That is half of the 2⁵ = 32 subsets: the other half leave 1 out.
Worked example 32
List all the subsets of {a, b, c, d} with exactly two elements.
What we know: Choose two of the four letters; order does not matter.
What we need: The list.
The plan: Pair a with each later letter, then b, then c.
- With a: {a, b}, {a, c}, {a, d}.
- With b (not a): {b, c}, {b, d}.
- With c (not a, b): {c, d}.
{a, b}, {a, c}, {a, d}, {b, c}, {b, d}, {c, d}: six subsets.
Check: Counting by size, 1 + 4 + 6 + 4 + 1 = 16 = 2⁴ subsets in all.
Worked example 33
Let A = { {1, 2}, 3}. Which of these are true? (a) {1, 2} ∈ A; (b) {1, 2} ⊂ A; (c) { {1, 2} } ⊂ A; (d) 3 ∈ A; (e) {3} ⊂ A.
What we know: A has two elements: the set {1, 2}, and the number 3. "x ∈ A" asks whether x is one of these two elements. "B ⊂ A" asks whether every element of B is an element of A.
What we need: True or false, for each statement.
The plan: List the elements of A first. Then test each statement with the right meaning of its symbol.
- (a) The set {1, 2} is one of the two elements of A. True.
- (b) The elements of {1, 2} are the numbers 1 and 2. But the number 1 is not an element of A: A holds the set {1, 2}, not the number 1. False.
- (c) The only element of { {1, 2} } is the set {1, 2}, which is an element of A. True.
- (d) 3 is an element of A. True.
- (e) The only element of {3} is 3, which is an element of A. True.
(a), (c), (d) and (e) are true; (b) is false.
Check: A set can be an element of another set. To turn an element x into a subset, put braces round it: x ∈ A exactly when {x} ⊂ A.
Worked example 34
If A ⊂ B and B ⊂ C, must A ⊂ C? Check with A = {2, 4}, B = {2, 4, 6} and C = {1, 2, 3, ..., 10}, and then give the reason.
What we know: A ⊂ B means that every element of A is an element of B.
What we need: Yes or no, a check, and a reason.
The plan: Follow one element of A through B to C.
- Check: the elements of A, 2 and 4, are in B. The elements of B, 2, 4 and 6, are all in C. And 2 and 4 are in C, so A ⊂ C here.
- Reason: take any element x of A. Since A ⊂ B, x is in B. Since B ⊂ C, x is in C.
- This works for every element of A. So every element of A is in C, which is exactly what A ⊂ C means.
Yes: if A ⊂ B and B ⊂ C, then A ⊂ C.
Check: Compare Example 11 of the book. There A ∈ B, not A ⊂ B, and the conclusion fails. Only ⊂ passes along a chain like this. In everyday terms: the students of Class XI are students of your school, so a subset of Class XI is a subset of the school.
Worked example 35
Which of these are true? (a) φ ⊂ φ; (b) φ ∈ φ; (c) φ ⊂ {φ}; (d) φ ∈ {φ}.
What we know: φ has no elements. {φ} has exactly one element, the empty set φ. Every set is a subset of itself, and φ is a subset of every set.
What we need: True or false, for each statement.
The plan: Each time, decide whether the symbol asks about an element (∈) or about a subset (⊂).
- (a) Every set is a subset of itself, so φ ⊂ φ. True.
- (b) φ has no elements at all. So nothing is an element of φ, not even φ itself. False.
- (c) φ is a subset of every set, and {φ} is a set. True.
- (d) The only element of {φ} is φ, so φ ∈ {φ}. True.
(a), (c) and (d) are true; (b) is false.
Check: Think of φ as an empty bag, and of {φ} as a bag that holds one empty bag. The empty bag is inside the second bag, but nothing is inside the empty bag.
Your turn
Is {2, 4} ⊂ {1, 2, 3, 4}?Tap to reveal
The plan: Check each element.
- 2 and 4 are both in {1, 2, 3, 4}.
Yes, and it is a proper subset.
How many subsets does {1, 2} have?Tap to reveal
The plan: 2 elements, 2² subsets.
- φ, {1}, {2}, {1, 2}.
4.
In one line
A ⊂ B when every element of A is in B; A = B exactly when A ⊂ B and B ⊂ A; φ and A are always subsets of A; a proper subset leaves something out; a set of n elements has 2ⁿ subsets.
1.6.1Subsets of the real numbers and intervals
As noted in section 1.6, there are many important subsets of R. We give below the names of some of them:
| Name | Set | In words |
|---|---|---|
| Natural numbers | N = {1, 2, 3, 4, 5, ...} | the counting numbers |
| Integers | Z = {..., −3, −2, −1, 0, 1, 2, 3, ...} | whole numbers and their negatives |
| Rational numbers | Q = {x : x = p/q, p, q ∈ Z and q ≠ 0} | quotients of integers |
| Irrational numbers | T = {x : x ∈ R and x ∉ Q} | real numbers that are not rational |
Q is read "the set of all numbers x such that x equals the quotient p/q, where p and q are integers and q is not zero". Members of Q include −5 (which can be written as −5/1), 5/7, 3½ (which can be written as 7/2) and −11/3. The set of irrational numbers, denoted by T, is made of all the other real numbers: members of T include √2, √5 and π.
Some of the relations among these subsets are: N ⊂ Z ⊂ Q, Q ⊂ R, T ⊂ R, N ⊄ T.
Worked example 36
Say whether each statement is true, with a reason: (a) Z ⊂ Q; (b) Q ⊂ Z; (c) √9 ∈ T; (d) T ⊂ R.
What we know: Every integer n is n/1; T is the real numbers that are not rational.
What we need: True or false, with reasons.
The plan: Test each with an element.
- (a) Every integer n equals n/1, a rational number: true.
- (b) 1/2 is rational but not an integer: false.
- (c) √9 = 3 = 3/1 is rational, so not irrational: false.
- (d) Every irrational number is real: true.
(a) true (b) false (c) false (d) true.
Check: A square root is irrational only when the number is not a perfect square: √2 ∈ T, but √9 ∉ T.
1.6.2 Intervals as subsets of R
Let a, b ∈ R and a < b. Then the set of real numbers {y : a < y < b} is called an open interval, denoted by (a, b). All the points between a and b belong to the open interval (a, b), but a and b themselves do not.
The interval which also contains its end points is called a closed interval, denoted by [a, b]. Thus [a, b] = {x : a ≤ x ≤ b}.
We can also have intervals closed at one end and open at the other. The interval [a, b) = {x : a ≤ x < b} runs from a to b, including a but excluding b. The interval (a, b] = {x : a < x ≤ b} runs from a to b, including b but excluding a. (The book calls these "open intervals" including one end; they are usually called half-open or half-closed intervals.)
| Interval | Set-builder form | Includes a? | Includes b? |
|---|---|---|---|
| (a, b) | {x : a < x < b} | no | no |
| [a, b] | {x : a ≤ x ≤ b} | yes | yes |
| [a, b) | {x : a ≤ x < b} | yes | no |
| (a, b] | {x : a < x ≤ b} | no | yes |
These notations give another way of naming subsets of R. For example, if A = (−3, 5) and B = [−7, 9], then A ⊂ B. The set [0, ∞) is the set of non-negative real numbers, and (−∞, 0) is the set of negative real numbers. (−∞, ∞) is the set of all real numbers, the whole line, extending from −∞ to ∞. (∞ is not a number, so an end at ∞ always has a round bracket.)
On the real number line, the various kinds of intervals described above are shown in Figure 1.1. We note that an interval contains infinitely many points.
An interval is the set of all real numbers between two numbers a and b: open (a, b) leaves out both ends, closed [a, b] includes both, and [a, b) or (a, b] include one end. The number b − a is the length of each of them.
Examples: (−5, 7] is the interval of x with −5 < x ≤ 7. [−3, 5) is the interval of x with −3 ≤ x < 5, of length 8. [0, ∞) is the interval of the non-negative real numbers.
For example, the set {x : x ∈ R, −5 < x ≤ 7}, written in set-builder form, can be written as the interval (−5, 7], and the interval [−3, 5) can be written in set-builder form as {x : −3 ≤ x < 5}. The number (b − a) is called the length of any of the intervals (a, b), [a, b], [a, b) or (a, b].
Worked example 37
Draw the interval [−3, 5) on a number line, find its length, and list the integers in it.
What we know: [ includes the end, ) leaves it out. The length is b − a.
What we need: The drawing, the length and the integers.
The plan: Mark the ends with a filled dot (included) and a hollow dot (left out).
- Filled dot at −3, hollow dot at 5, and the stretch between them shaded.
- Length: 5 − (−3) = 8.
- Integers: −3, −2, −1, 0, 1, 2, 3, 4 (5 is left out).
Length 8; the integers in it are −3 to 4, eight of them.
Check: The interval itself has infinitely many points, but only eight of them are integers.
A common mistake: the brackets the wrong way
A round bracket ( ) means the end is left out; a square bracket [ ] means it is included. Think of the square bracket as a wall that holds the end in.
When you are stuck: intervals
Read the inequality sign: < gives a round bracket, ≤ gives a square one.
Draw it: filled dot for an included end, hollow dot for a left-out end.
Length is b − a, whichever brackets are used.
Worked example 38
List the integers in [−1, 4), and say which of the intervals (1, 3), [3, 5], (2, 3] and [0, 3) contain the number 3.
What we know: [ includes its end, ( does not.
What we need: The integers, and which intervals contain 3.
The plan: Read each bracket at the end that matters.
- [−1, 4) includes −1 but not 4: the integers are −1, 0, 1, 2, 3.
- (1, 3): 3 left out. [3, 5]: 3 included. (2, 3]: 3 included. [0, 3): 3 left out.
−1, 0, 1, 2, 3; 3 is in [3, 5] and (2, 3] only.
Check: A square bracket next to 3 is what lets 3 in.
Worked example 39
Write as intervals: (a) "x is at least 2 and less than 7"; (b) "x is more than −1"; (c) all real numbers except those from 0 to 1.
What we know: "at least" is ≥ (square bracket); "more than" is > (round bracket); ∞ always takes a round bracket.
What we need: The three intervals.
The plan: Translate each phrase.
- (a) 2 ≤ x < 7: [2, 7).
- (b) x > −1: (−1, ∞).
- (c) x < 0 or x > 1: two intervals, (−∞, 0) and (1, ∞), taken together. Section 1.9 gives a symbol for joining sets like this, the union sign ∪.
(a) [2, 7); (b) (−1, ∞); (c) (−∞, 0) and (1, ∞) together.
Check: In (c), 0 and 1 belong to [0, 1], so they are left out of the answer, which is why its brackets are round.
Worked example 40
Write each interval in set-builder form, and say which end points belong: (a) (−2, 3]; (b) [0, ∞); (c) (−∞, 1).
What we know: A square bracket means the end point belongs; a round bracket means it does not. ∞ is not a number, so it always takes a round bracket.
What we need: Three set-builder forms.
The plan: Turn each bracket into < or ≤.
- (a) The round bracket at −2 gives −2 < x, and the square bracket at 3 gives x ≤ 3. So (−2, 3] = {x : x ∈ R, −2 < x ≤ 3}. The end point 3 belongs, and −2 does not.
- (b) [0, ∞) = {x : x ∈ R, x ≥ 0}, the real numbers that are not negative. The end point 0 belongs.
- (c) (−∞, 1) = {x : x ∈ R, x < 1}. The end point 1 does not belong.
(a) {x : −2 < x ≤ 3}; (b) {x : x ≥ 0}; (c) {x : x < 1}, each with x ∈ R.
Check: On a number line, draw a filled dot at an end point that belongs and a hollow dot at one that does not. For (a), that is a hollow dot at −2 and a filled dot at 3.
Worked example 41
Do (0, 1) and [0, 1] have the same length? Do they contain the same integers?
What we know: The length of an interval from a to b is b − a, whatever its brackets.
What we need: The two lengths, and the integers in each interval.
The plan: Use the length rule; then test the integers 0 and 1.
- Both intervals run from 0 to 1, so both have length 1 − 0 = 1.
- The brackets do not change the length, because a single point has no length.
- The integers 0 and 1 belong to [0, 1], since its brackets are square. Neither belongs to (0, 1), and no integer lies strictly between 0 and 1. So (0, 1) contains no integer at all.
The same length, 1. But [0, 1] contains the integers 0 and 1, and (0, 1) contains none.
Check: Both intervals are infinite sets of real numbers, though they look short. Between any two real numbers there is another one, such as their average.
Worked example 42
You may wonder what (3, 3) and [3, 3] would mean. Use the set-builder rule to find out.
What we know: The book always takes a < b for an interval. Here we test what the same rule gives when a = b.
What we need: The two sets.
The plan: Write each one in set-builder form, then look for elements.
- (3, 3) would be {x : 3 < x < 3}. No number is both more than 3 and less than 3, so this is φ.
- [3, 3] would be {x : 3 ≤ x ≤ 3}. Only x = 3 is both at least 3 and at most 3, so this is {3}, a singleton.
(3, 3) gives φ, and [3, 3] gives {3}, with length 3 − 3 = 0.
Check: This is why the book asks for a < b. With a = b, the "interval" is either empty or a single point, not a stretch of the line.
Worked example 43
Write {x : x ∈ R and x² ≤ 4} as an interval.
What we know: 2² = 4 and (−2)² = 4. The further a number is from 0, the bigger its square.
What we need: An interval equal to this set.
The plan: Test the numbers above 2, below −2, and in between.
- If x > 2, then x is further from 0 than 2 is, so x² > 4. For example, 2.1² = 4.41. So no number above 2 belongs.
- If x < −2, then x² > 4 for the same reason. For example, (−2.1)² = 4.41. So no number below −2 belongs.
- If −2 ≤ x ≤ 2, then x is at most 2 away from 0, so x² is at most 2² = 4. All these numbers belong, and so do both ends.
{x : x ∈ R, x² ≤ 4} = [−2, 2].
Check: Test one number inside and one outside. 1.5² = 2.25 ≤ 4, so 1.5 belongs; 3² = 9 > 4, so 3 does not. In Chapter 5, you will solve inequalities like this one and write the answers as intervals.
Your turn
Write {x : x ∈ R, 2 ≤ x < 9} as an interval.Tap to reveal
The plan: ≤ at 2 (included), < at 9 (left out).
- Square bracket at 2, round at 9.
[2, 9).
What is the length of (−5, 7)?Tap to reveal
The plan: b − a.
- 7 − (−5) = 12.
12.
In one line
N ⊂ Z ⊂ Q ⊂ R and T ⊂ R; an interval is all the real numbers between a and b, with [ ] for included ends and ( ) for left-out ones, and its length is b − a.
1.7The universal set
Usually, in a particular context, we have to deal with the elements and subsets of a basic set which is relevant to that context. For example, while studying the system of numbers, we are interested in the set of natural numbers and its subsets, such as the set of all prime numbers, the set of all even numbers, and so on. This basic set is called the universal set. The universal set is usually denoted by U, and its subsets by the letters A, B, C, and so on.
For example, for the set of all integers, the universal set can be the set of rational numbers, or, for that matter, the set R of real numbers. For another example, in human population studies, the universal set consists of all the people in the world.
The universal set U is the basic set of a discussion: every set being studied is a subset of it. It is chosen to suit the problem, and is not unique.
Examples: for questions about even numbers and primes, N can be the universal set. For questions about the students of Class XI, the students of the school can be the universal set. For questions about kinds of triangles, the set of all triangles can be the universal set.
Worked example 44
Suggest a universal set for each: (a) the sets of girls and of boys in Class XI; (b) the sets of squares and of rectangles; (c) the sets {1, 2, 3} and {3, 4, 5}.
What we know: A universal set must contain every element of every set in the discussion.
What we need: A suitable U for each.
The plan: Find a set big enough to hold all the sets, and natural to the problem.
- (a) All the students of Class XI (or of the school).
- (b) All quadrilaterals (every square and every rectangle is one).
- (c) {1, 2, 3, 4, 5}, or N, or Z: any set that contains 1 to 5.
(a) the students of Class XI; (b) the quadrilaterals; (c) for example {1, 2, 3, 4, 5} or N.
Check: In (c) many choices work; the smallest one is the union of the sets.
When you are stuck: universal sets
The universal set must hold everything in the problem: check each set's elements.
Choose the natural home: numbers in N or R, triangles in all triangles, students in the class or school.
Worked example 45
A = the perfect squares up to 100 and B = the perfect cubes up to 100. Suggest a universal set, and find the numbers that are in both A and B.
What we know: A = {1, 4, 9, 16, 25, 36, 49, 64, 81, 100}; B = {1, 8, 27, 64}.
What we need: A suitable U, and the numbers in both sets.
The plan: Choose U to hold both sets; then find the common elements.
- Both are subsets of {1, 2, 3, ..., 100}, a natural universal set (N would also do).
- Common elements: 1 = 1² = 1³ and 64 = 8² = 4³.
U = {1, 2, ..., 100} (or N), and the numbers in both sets are 1 and 64.
Check: Numbers that are both squares and cubes are sixth powers: 1⁶ = 1 and 2⁶ = 64; the next, 3⁶ = 729, is beyond 100.
Worked example 46
Story: A hospital studies its patients this month: those with fever, those with a cough, and those admitted overnight. What is a sensible universal set, and why is "all the people in the city" a poor choice?
What we know: The universal set should contain every set being studied, and fit the question.
What we need: A choice, and a reason against the other.
The plan: Ask what the study is about.
- Every set in the study is a set of this month's patients, so U = the patients of the hospital this month.
- "All the people in the city" also contains the three sets, but its sets of "everyone else" become useless. "The people without fever" would then include everyone in the city who never came to the hospital.
U = this month's patients: it contains every set studied, and sets like "patients without fever" then mean what the doctors want.
Check: The universal set is not fixed by the sets alone; it is chosen to make the questions meaningful.
Worked example 47
Let A = {2, 3}, B = {3, 5, 7} and C = {1, 9}. Which of these can be a universal set for all three? (i) {1, 2, 3, ..., 9}; (ii) the odd natural numbers; (iii) {1, 2, 3, 5, 7, 9}; (iv) N.
What we know: A universal set must contain every element of A, B and C. Those elements are 1, 2, 3, 5, 7 and 9.
What we need: Which of the four sets contain all six numbers.
The plan: Check each candidate against the list 1, 2, 3, 5, 7, 9.
- (i) {1, 2, ..., 9} contains all six numbers. Yes.
- (ii) The odd natural numbers do not include 2, which is in A. No.
- (iii) {1, 2, 3, 5, 7, 9} is exactly the six numbers. Yes, and no universal set can be smaller.
- (iv) N contains every natural number. Yes.
(i), (iii) and (iv) can be universal sets; (ii) cannot.
Check: The smallest possible universal set holds exactly the elements that appear in the sets, here {1, 2, 3, 5, 7, 9}. Any set that contains it will also do.
Worked example 48
Story: A coin is tossed twice. Write the universal set U of all the possible results, the set A of results with exactly one head, and the set B of results with at least one head. Is A ⊂ B?
What we know: Each toss gives H (a head) or T (a tail). A result of two tosses is written as two letters, such as HT: a head first, then a tail.
What we need: U, A and B, and whether A ⊂ B.
The plan: List all the pairs of letters; then pick out A and B.
- The first toss gives H or T, and so does the second. So U = {HH, HT, TH, TT}, with 2 × 2 = 4 elements.
- Exactly one head: HT and TH. So A = {HT, TH}.
- At least one head means one head or two heads: HH, HT and TH. So B = {HH, HT, TH}.
- Both elements of A, HT and TH, are in B. So A ⊂ B.
U = {HH, HT, TH, TT}, A = {HT, TH}, B = {HH, HT, TH}, and A ⊂ B.
Check: In Class 10 Probability, these four results were the possible outcomes. In Chapter 14 of this book, a universal set like U is called a sample space, and its subsets, like A and B, are called events.
A common mistake: one universal set for everything
The universal set is not fixed once and for all. It is chosen for each discussion, and it must contain every set in that discussion.
For the sets of girls and of boys in Class XI, U can be the students of Class XI. For sets of numbers, U might be N, Z or R.
If a set in the discussion has an element outside U, that U will not do.
Your turn
Can {1, 2, 3} be a universal set for {1, 2} and {2, 4}?Tap to reveal
The plan: Does it contain every element?
- 4 is not in {1, 2, 3}.
No: it leaves out 4.
In one line
The universal set U is the basic set of a discussion, containing every set being studied; it is chosen to fit the problem.
Ex 1.3Exercise 1.3, solved in full
These are the questions of Exercise 1.3. Try each one first, then open the full answer; the answers agree with the book's key, which gives none for Q7.
1. Make correct statements by filling in the symbols ⊂ or ⊄ in the blank spaces: (i) {2, 3, 4} ... {1, 2, 3, 4, 5}. (ii) {a, b, c} ... {b, c, d}. (iii) {x : x is a student of Class XI of your school} ... {x : x is a student of your school}. (iv) {x : x is a circle in the plane} ... {x : x is a circle in the same plane with radius 1 unit}. (v) {x : x is a triangle in a plane} ... {x : x is a rectangle in the plane}. (vi) {x : x is an equilateral triangle in a plane} ... {x : x is a triangle in the same plane}. (vii) {x : x is an even natural number} ... {x : x is an integer}Tap to reveal
What we know: ⊂ when every element of the first set is in the second.
What we need: ⊂ or ⊄ for each.
The plan: Test each pair, looking for an element of the first set outside the second.
- (i) 2, 3, 4 are all in the second set: ⊂.
- (ii) a is not in {b, c, d}: ⊄.
- (iii) Every Class XI student of your school is a student of your school: ⊂.
- (iv) A circle of radius 2 is a circle in the plane, but not of radius 1: ⊄.
- (v) A triangle is never a rectangle: ⊄.
- (vi) Every equilateral triangle is a triangle: ⊂.
- (vii) Every even natural number is an integer: ⊂.
(i) ⊂. (ii) ⊄. (iii) ⊂. (iv) ⊄. (v) ⊄. (vi) ⊂. (vii) ⊂.
Check: This agrees with the book's key.
2. Examine whether the following statements are true or false: (i) {a, b} ⊄ {b, c, a}. (ii) {a, e} ⊂ {x : x is a vowel in the English alphabet}. (iii) {1, 2, 3} ⊂ {1, 3, 5}. (iv) {a} ⊂ {a, b, c}. (v) {a} ∈ {a, b, c}. (vi) {x : x is an even natural number less than 6} ⊂ {x : x is a natural number which divides 36}Tap to reveal
What we know: ⊂ compares sets; ∈ puts an element in a set.
What we need: True or false, with reasons.
The plan: Test each statement exactly as written.
- (i) a and b are both in {b, c, a}, so {a, b} ⊂ {b, c, a}; the statement "⊄" is false.
- (ii) a and e are vowels: true.
- (iii) 2 ∉ {1, 3, 5}: false.
- (iv) a ∈ {a, b, c}: true.
- (v) The elements of {a, b, c} are a, b and c; the set {a} is not one of them: false.
- (vi) The even natural numbers less than 6 are 2 and 4; both divide 36: true.
(i) False. (ii) True. (iii) False. (iv) True. (v) False. (vi) True.
Check: This agrees with the key. (iv) and (v) show the difference between ⊂ and ∈.
3. Let A = {1, 2, {3, 4}, 5}. Which of the following statements are incorrect and why? (i) {3, 4} ⊂ A. (ii) {3, 4} ∈ A. (iii) { {3, 4} } ⊂ A. (iv) 1 ∈ A. (v) 1 ⊂ A. (vi) {1, 2, 5} ⊂ A. (vii) {1, 2, 5} ∈ A. (viii) {1, 2, 3} ⊂ A. (ix) φ ∈ A. (x) φ ⊂ A. (xi) {φ} ⊂ ATap to reveal
What we know: A has four elements: 1, 2, the set {3, 4}, and 5. The numbers 3 and 4 are not elements of A.
What we need: The incorrect statements, with reasons.
The plan: Check each statement against the four elements.
- (i) Incorrect: for {3, 4} ⊂ A, the numbers 3 and 4 would have to be elements of A; they are not ({3, 4} is an element, not a subset).
- (ii) Correct: {3, 4} is an element of A. (iii) Correct: the set whose only element is {3, 4} is a subset of A.
- (iv) Correct. (v) Incorrect: 1 is an element, not a set, so it cannot be a subset (the correct statements are 1 ∈ A, or {1} ⊂ A).
- (vi) Correct: 1, 2 and 5 are elements of A. (vii) Incorrect: the set {1, 2, 5} is not one of A's four elements.
- (viii) Incorrect: 3 ∉ A. (ix) Incorrect: φ is not one of A's elements.
- (x) Correct: φ is a subset of every set. (xi) Incorrect: {φ} ⊂ A would need φ ∈ A, which is false.
The incorrect ones are (i), (v), (vii), (viii), (ix) and (xi).
Check: The key lists the same six. For (xi) it gives the reason "as φ ⊂ A", by a slip; the true reason is that φ is not an element of A.
4. Write down all the subsets of the following sets: (i) {a}. (ii) {a, b}. (iii) {1, 2, 3}. (iv) φTap to reveal
What we know: Every set has φ and itself as subsets; a set of n elements has 2ⁿ subsets.
What we need: All the subsets of each.
The plan: List by size: none, one, two, ... elements.
- (i) 2 subsets: φ, {a}.
- (ii) 4 subsets: φ, {a}, {b}, {a, b}.
- (iii) 8 subsets: φ, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}.
- (iv) 1 subset: φ itself.
(i) φ, {a}. (ii) φ, {a}, {b}, {a, b}. (iii) φ, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}. (iv) φ.
Check: The counts 2, 4, 8, 1 are 2¹, 2², 2³, 2⁰. This agrees with the key.
5. Write the following as intervals: (i) {x : x ∈ R, −4 < x ≤ 6}. (ii) {x : x ∈ R, −12 < x < −10}. (iii) {x : x ∈ R, 0 ≤ x < 7}. (iv) {x : x ∈ R, 3 ≤ x ≤ 4}Tap to reveal
What we know: < gives a round bracket, ≤ a square one.
What we need: The four intervals.
The plan: Read each inequality sign at each end.
- (i) < at −4, ≤ at 6: (−4, 6].
- (ii) < at both ends: (−12, −10).
- (iii) ≤ at 0, < at 7: [0, 7).
- (iv) ≤ at both ends: [3, 4].
(i) (−4, 6]. (ii) (−12, −10). (iii) [0, 7). (iv) [3, 4].
Check: The lengths are 10, 2, 7 and 1. This agrees with the key.
6. Write the following intervals in set-builder form: (i) (−3, 0). (ii) [6, 12]. (iii) (6, 12]. (iv) [−23, 5)Tap to reveal
What we know: A round bracket means <, a square bracket means ≤.
What we need: The four sets.
The plan: Turn each bracket into an inequality.
- (i) Both ends left out: −3 < x < 0.
- (ii) Both ends included: 6 ≤ x ≤ 12.
- (iii) 6 left out, 12 included: 6 < x ≤ 12.
- (iv) −23 included, 5 left out: −23 ≤ x < 5.
(i) {x : x ∈ R, −3 < x < 0}. (ii) {x : x ∈ R, 6 ≤ x ≤ 12}. (iii) {x : x ∈ R, 6 < x ≤ 12}. (iv) {x : x ∈ R, −23 ≤ x < 5}.
Check: This agrees with the key (which drops the ∈ sign in (iv) by a slip).
7. What universal set(s) would you propose for each of the following: (i) The set of right triangles. (ii) The set of isosceles triangles.Tap to reveal
What we know: A universal set must contain every element of the set being studied.
What we need: A suitable universal set for each.
The plan: Find a larger, natural family that contains the set.
- (i) Every right triangle is a triangle, so the set of all triangles (in the plane) is a natural universal set; the set of all polygons would also do.
- (ii) Every isosceles triangle is a triangle, so again the set of all triangles works.
(i) the set of all triangles (or of all polygons); (ii) the set of all triangles.
Check: The book's key gives no answer for this question. A universal set is not unique: any set containing all the triangles in question would serve.
8. Given the sets A = {1, 3, 5}, B = {2, 4, 6} and C = {0, 2, 4, 6, 8}, which of the following may be considered as universal set(s) for all the three sets A, B and C? (i) {0, 1, 2, 3, 4, 5, 6}. (ii) φ. (iii) {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. (iv) {1, 2, 3, 4, 5, 6, 7, 8}Tap to reveal
What we know: A universal set for A, B and C must contain 0, 1, 2, 3, 4, 5, 6 and 8.
What we need: Which options qualify.
The plan: Check each option against all the elements.
- (i) Lacks 8, which is in C: no.
- (ii) The empty set contains nothing: no.
- (iii) Contains 0 to 10, so every element of A, B and C: yes.
- (iv) Lacks 0, which is in C: no.
Only (iii).
Check: This agrees with the key.
When you are stuck: Exercise 1.3
Before ⊂ or ⊄, list the elements of both sets.
In questions like Q3, first write down exactly what the elements of A are.
For intervals, one bracket for each end, round for < and square for ≤.
1.8Venn diagrams
Most of the relationships between sets can be represented by diagrams known as Venn diagrams, named after the English logician John Venn (1834 to 1883). These diagrams consist of rectangles and closed curves, usually circles. The universal set is usually represented by a rectangle, and its subsets by circles inside it. In Venn diagrams, the elements of the sets may be written in their circles (Figures 1.2 and 1.3).
Illustration 1. In Figure 1.2, U = {1, 2, 3, ..., 10} is the universal set, of which A = {2, 4, 6, 8, 10} is a subset.
Illustration 2. In Figure 1.3, U = {1, 2, 3, ..., 10} is the universal set, of which A = {2, 4, 6, 8, 10} and B = {4, 6} are subsets, and also B ⊂ A.
A Venn diagram shows sets as regions: a rectangle for the universal set U and circles (or other closed curves) inside it for its subsets. Overlapping circles show shared elements; a circle inside another shows a subset.
Examples: a Venn diagram with B's circle inside A's shows B ⊂ A (Figure 1.3). A Venn diagram with two separate circles shows sets with nothing in common. A Venn diagram can carry the elements written in their regions.
Worked example 49
U = {1, 2, 3, 4, 5, 6, 7, 8}, A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Say which region of a two-circle Venn diagram each element of U goes in.
What we know: A two-circle diagram has four regions: in A only, in both, in B only, and outside both.
What we need: The region of each element.
The plan: Check each element against A and against B.
- In both A and B: 3, 4 (the overlap).
- In A only: 1, 2.
- In B only: 5, 6.
- In neither: 7, 8 (inside the rectangle, outside both circles).
Overlap: 3, 4; A only: 1, 2; B only: 5, 6; outside: 7, 8.
Check: Every element of U lands in exactly one region: 2 + 2 + 2 + 2 = 8 elements.
When you are stuck: Venn diagrams
Fill the overlap first: the elements in both sets go in the middle.
Then each circle's own part, then whatever is left goes outside the circles, inside the rectangle.
Every element appears once.
Worked example 50
U = {1, 2, ..., 10}, A = the primes in U and B = the odd numbers in U. Put every element of U into its region of a two-circle Venn diagram.
What we know: A = {2, 3, 5, 7}, B = {1, 3, 5, 7, 9}.
What we need: The four regions.
The plan: Overlap first, then each circle's own part, then the outside.
- In both (odd primes): 3, 5, 7.
- In A only: 2, the even prime.
- In B only: 1 and 9 (odd but not prime).
- In neither: 4, 6, 8, 10.
Overlap {3, 5, 7}; A only {2}; B only {1, 9}; outside {4, 6, 8, 10}.
Check: 3 + 1 + 2 + 4 = 10 elements, each in exactly one region.
Worked example 51
How would you draw a Venn diagram for A ⊂ B ⊂ C, and for three sets with no element in common to any two?
What we know: A subset is drawn inside; sets with no common element are drawn apart.
What we need: The two pictures, described.
The plan: Translate each relation into position.
- A ⊂ B ⊂ C: three nested circles, A's inside B's, B's inside C's, all inside the rectangle U (like rings of a target).
- No two sets sharing an element: three separate circles inside U, none touching another.
Nested circles for A ⊂ B ⊂ C; three separate circles when no two sets share an element.
Check: Example: N ⊂ Z ⊂ Q gives nested circles inside U = R.
Worked example 52
In a Venn diagram with U = {1, 2, ..., 12}, the overlap of A and B holds 3, 6 and 12. The part of A outside B holds 1, 2 and 4. The part of B outside A holds 9. And 5, 7, 8, 10 and 11 lie outside both circles. List A and B, and describe each in words.
What we know: A is everything inside circle A: its part outside B together with the overlap. The same is true for B.
What we need: A and B, and a description of each.
The plan: Join each circle's two parts; then look for a pattern.
- A is {1, 2, 4} together with {3, 6, 12}, so A = {1, 2, 3, 4, 6, 12}. These are the divisors of 12.
- B is {9} together with {3, 6, 12}, so B = {3, 6, 9, 12}. These are the multiples of 3 up to 12.
- Check that every element of U was placed exactly once: 3 + 3 + 1 + 5 = 12 numbers, and U has 12 elements.
A = {1, 2, 3, 4, 6, 12}, the divisors of 12, and B = {3, 6, 9, 12}, the multiples of 3 in U.
Check: The overlap {3, 6, 12} holds the divisors of 12 that are multiples of 3. Each of them is 3 times a divisor of 4.
Worked example 53
Story: In a group of friends, 5 drink only tea, 3 drink only coffee, 4 drink both, and 2 drink neither. Show this in a Venn diagram, with numbers in place of names. How many friends are there? How many drink tea? How many drink coffee?
What we know: Each friend is in exactly one of the four regions. We write the number of friends in each region instead of their names.
What we need: The total, and the numbers who drink tea and who drink coffee.
The plan: Add up the regions that make up each set.
- Write 4 in the overlap, 5 in the tea circle outside the coffee circle, 3 in the coffee circle outside the tea circle, and 2 outside both circles.
- All the friends: 5 + 3 + 4 + 2 = 14.
- The tea drinkers fill the whole tea circle: 5 + 4 = 9.
- The coffee drinkers fill the whole coffee circle: 3 + 4 = 7.
14 friends; 9 drink tea, and 7 drink coffee.
Check: 9 + 7 = 16 is more than the 14 − 2 = 12 friends who drink something. The 4 who drink both were counted in both circles, and 16 − 4 = 12.
Worked example 54
Let U = {1, 2, ..., 10}, A = the even numbers in U, and B = {4, 8}. Place every element of U in a two-circle Venn diagram. Which region is empty, and how should the circles be drawn?
What we know: A = {2, 4, 6, 8, 10}. Each element goes in the overlap, in one circle only, or outside both circles.
What we need: The four regions, and the shape of the diagram.
The plan: Sort the elements one by one; then look at the region that stays empty.
- In both A and B: 4 and 8.
- In A only: 2, 6 and 10.
- In B only: nothing, since 4 and 8 are both even.
- Outside both circles: 1, 3, 5, 7 and 9.
- The region "B only" is empty because B ⊂ A. So we draw the circle for B inside the circle for A.
Overlap {4, 8}; A only {2, 6, 10}; B only empty; outside {1, 3, 5, 7, 9}. Draw B inside A.
Check: 2 + 3 + 0 + 5 = 10 elements, each placed once. A circle drawn inside another always shows a subset.
A common mistake: writing a shared element twice
An element that is in both A and B is written once, in the overlap. It is not written once in each circle.
In a correct Venn diagram, every element of U appears exactly once: in the overlap, in one circle only, or outside both circles.
Your turn
In Illustration 2, which elements of U lie inside A but outside B?Tap to reveal
The plan: A has 2, 4, 6, 8, 10; B has 4, 6.
- Remove 4 and 6 from A.
2, 8 and 10.
In one line
A Venn diagram draws U as a rectangle and its subsets as circles inside it, overlapping where they share elements.
1.9.1Operations on sets: union
In earlier classes, we learnt the operations of addition, subtraction, multiplication and division on numbers. Each was performed on a pair of numbers to get another number: for example, adding 5 and 13 gives 18, and multiplying them gives 65. Similarly, there are operations which, when performed on two sets, give another set. We now define certain operations on sets and examine their properties. From now on, all our sets are subsets of some universal set.
Union of sets. Let A and B be any two sets. The union of A and B is the set which consists of all the elements of A and all the elements of B, the common elements being taken only once. The symbol ∪ is used to denote the union. Symbolically, we write A ∪ B, and usually read it as "A union B".
Example 12 (from the book)
Let A = {2, 4, 6, 8} and B = {6, 8, 10, 12}. Find A ∪ B.
What we know: A ∪ B contains every element of A and every element of B, each once.
What we need: A ∪ B.
The plan: List A, then add the elements of B not yet listed.
- Start with 2, 4, 6, 8.
- From B, 6 and 8 are already listed; add 10 and 12.
A ∪ B = {2, 4, 6, 8, 10, 12}.
Check: The common elements 6 and 8 have been taken only once.
Example 13 (from the book)
Let A = {a, e, i, o, u} and B = {a, i, u}. Show that A ∪ B = A.
What we know: Every element of B is already in A.
What we need: To show A ∪ B = A.
The plan: Form the union and compare.
- A ∪ B = {a, e, i, o, u}, since a, i and u add nothing new.
- This is A.
A ∪ B = {a, e, i, o, u} = A.
Check: This shows that the union of a set A and its subset B is A itself: if B ⊂ A, then A ∪ B = A.
Example 14 (from the book)
Let X = {Ram, Geeta, Akbar} be the set of students of Class XI who are in the school hockey team, and Y = {Geeta, David, Ashok} the set of students of Class XI who are in the school football team. Find X ∪ Y and interpret the set.
What we know: Geeta is in both teams.
What we need: X ∪ Y and its meaning.
The plan: List everyone once.
- X ∪ Y = {Ram, Geeta, Akbar, David, Ashok}: Geeta is listed once.
X ∪ Y = {Ram, Geeta, Akbar, David, Ashok}: the students of Class XI in the hockey team or the football team or both.
Check: 3 + 3 = 6 names in the two lists, but Geeta is counted once, so the union has 5.
The union of two sets A and B is the set of all elements which are in A or in B (including those in both): A ∪ B = {x : x ∈ A or x ∈ B}.
Examples: the union of {2, 4, 6, 8} and {6, 8, 10, 12} is {2, 4, 6, 8, 10, 12}. The union of the hockey and football teams is everyone in either team. The union of a set and its subset is the set itself.
Read it aloud as "A union B is the set of all x such that x is in A or x is in B". The word "or" includes "both": an element of A and of B belongs to A ∪ B, and is written once.
The union of two sets can be represented by a Venn diagram, as shown in Figure 1.4. The shaded portion in Figure 1.4 represents A ∪ B.
Some properties of the operation of union
| Law | In symbols | Why it holds |
|---|---|---|
| Commutative law | "in A or in B" means the same as "in B or in A" | |
| Associative law | both sides are the elements in at least one of A, B, C | |
| Law of the identity element | φ adds nothing: φ is the identity of ∪ | |
| Idempotent law | repeating a set adds nothing new | |
| Law of U | A is inside U already |
Worked example 55
Story: In a class, Asha, Ravi and Meena sing in the choir, and Ravi and John play in the band. Find the set of students who sing or play, and count them.
What we know: Choir C = {Asha, Ravi, Meena}; band B = {Ravi, John}. Ravi is in both.
What we need: C ∪ B and its size.
The plan: List everyone once.
- C ∪ B = {Asha, Ravi, Meena, John}.
- Counting: 3 in the choir + 2 in the band = 5, but Ravi has been counted twice, so 5 − 1 = 4.
C ∪ B = {Asha, Ravi, Meena, John}: 4 students.
Check: Adding the sizes counts the common elements twice; subtracting them once fixes the count.
A common mistake: repeating common elements
{2, 4} ∪ {4, 6} is {2, 4, 6}, not {2, 4, 4, 6}. A union lists each common element once, like any set.
When you are stuck: unions
Write the first set, then add only the new elements of the second.
If one set is inside the other, the union is the bigger set.
"Or" means union: in A or B or both.
Worked example 56
Find A ∪ B for A = the primes less than 10 and B = the odd natural numbers less than 10, and describe it in words.
What we know: A = {2, 3, 5, 7}, B = {1, 3, 5, 7, 9}.
What we need: A ∪ B.
The plan: List A, then add the new elements of B.
- Start with 2, 3, 5, 7; add 1 and 9 from B (3, 5, 7 are already there).
A ∪ B = {1, 2, 3, 5, 7, 9}: the numbers below 10 that are prime or odd.
Check: n(A) + n(B) = 4 + 5 = 9, and the three common elements 3, 5, 7 counted twice give 9 − 3 = 6 elements.
Worked example 57
Find [1, 3] ∪ [2, 5] and [1, 2] ∪ [4, 5].
What we know: A union of intervals is everything in at least one of them.
What we need: The two unions.
The plan: Draw both intervals on one line.
- [1, 3] and [2, 5] overlap from 2 to 3, so together they cover everything from 1 to 5: [1, 5].
- [1, 2] and [4, 5] leave a gap from 2 to 4, so their union is two pieces: [1, 2] ∪ [4, 5], which is not an interval.
[1, 3] ∪ [2, 5] = [1, 5]; [1, 2] ∪ [4, 5] stays as two pieces.
Check: A union of two intervals is a single interval only when they overlap or touch.
Worked example 58
The letters of PARALLEL and of PARABOLA: find their union, and the letters common to both words.
What we know: PARALLEL has the letters P, A, R, L, E; PARABOLA has P, A, R, B, O, L.
What we need: Both sets.
The plan: Work with the two sets of letters.
- Union: P, A, R, L, E, B, O.
- Common letters: the letters in both words: P, A, R, L.
Union {P, A, R, L, E, B, O}; common letters P, A, R and L.
Check: 5 + 6 = 11 letters counted, minus the 4 common ones = 7, the size of the union.
Worked example 59
Story: Section A of Class XI has 23 students and Section B has 25, and no student is in both sections. How many students are in A ∪ B? What changes if, by an error, 3 students were written in both class lists?
What we know: A ∪ B holds every element of A or B, each counted once.
What we need: n(A ∪ B) in both cases.
The plan: Add the two counts; then take away any student counted twice.
- No student is in both sections, so A and B have no common element. Every student of A ∪ B is counted exactly once in 23 + 25, so n(A ∪ B) = 48.
- If 3 students are on both lists, the sum 23 + 25 = 48 counts those 3 twice. Counting each of them once gives 48 − 3 = 45.
48 students when the lists have no student in common; 45 if 3 students are on both lists.
Check: Both answers follow one rule: n(A ∪ B) = n(A) + n(B) − (the number of elements common to A and B). When no element is common, the last number is 0. The next section names this common part: the intersection.
Worked example 60
Simplify, using the laws of union: (a) A ∪ φ; (b) A ∪ A; (c) A ∪ U; (d) (A ∪ B) ∪ A.
What we know: The laws of union: A ∪ φ = A, A ∪ A = A and U ∪ A = U; and union is commutative and associative.
What we need: Each set in its simplest form.
The plan: Use one law at a time, and say which law it is.
- (a) Joining φ to A adds no elements, so A ∪ φ = A (the law of the identity element).
- (b) Joining A to itself adds nothing new, so A ∪ A = A (the idempotent law).
- (c) Every element of A is already in U, so A ∪ U = U (the law of U).
- (d) Reorder and regroup, by the commutative and associative laws: (A ∪ B) ∪ A = (A ∪ A) ∪ B = A ∪ B.
(a) A; (b) A; (c) U; (d) A ∪ B.
Check: Test (d) with A = {1, 2} and B = {2, 3}. Then A ∪ B = {1, 2, 3}, and joining A again brings nothing new, so the answer stays {1, 2, 3}.
Worked example 61
If A ∪ B = φ, what can you say about A and B?
What we know: A ∪ B holds every element of A and every element of B.
What we need: What A and B must be.
The plan: Ask what would happen if A had an element.
- Suppose A had an element x. Then x would be in A ∪ B, so A ∪ B would not be empty.
- That cannot happen, since A ∪ B = φ. So A has no elements: A = φ.
- The same reasoning, with B in place of A, gives B = φ.
A = φ and B = φ.
Check: A union always contains each of its sets. So a union can be empty only when every one of its sets is empty.
Your turn
Find {1, 3, 5} ∪ {3, 4, 5, 6}.Tap to reveal
The plan: Add the new elements.
- Add 4 and 6 to {1, 3, 5}.
{1, 3, 4, 5, 6}.
In one line
A ∪ B = {x : x ∈ A or x ∈ B}, the elements of either set, each once; union is commutative and associative, with A ∪ φ = A, A ∪ A = A and U ∪ A = U.
1.9.2Intersection of sets
The intersection of sets A and B is the set of all elements which are common to both A and B. The symbol ∩ is used to denote the intersection. Symbolically, we write A ∩ B = {x : x ∈ A and x ∈ B}.
Example 15 (from the book)
Consider the sets A and B of Example 12: A = {2, 4, 6, 8} and B = {6, 8, 10, 12}. Find A ∩ B.
What we know: A ∩ B is the elements in both.
What we need: A ∩ B.
The plan: Keep the elements of A that are also in B.
- 6 and 8 are the only elements common to both.
A ∩ B = {6, 8}.
Check: Compare A ∪ B = {2, 4, 6, 8, 10, 12}: the intersection is always inside the union.
Example 16 (from the book)
Consider the sets X and Y of Example 14. Find X ∩ Y.
What we know: X = {Ram, Geeta, Akbar}, Y = {Geeta, David, Ashok}.
What we need: X ∩ Y.
The plan: Find who is in both teams.
- Geeta is the only student in both.
X ∩ Y = {Geeta}: the student in both teams.
Check: "And" means intersection: in the hockey team and the football team.
Example 17 (from the book)
Let A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and B = {2, 3, 5, 7}. Find A ∩ B and hence show that A ∩ B = B.
What we know: Every element of B is in A.
What we need: A ∩ B.
The plan: Find the common elements.
- 2, 3, 5 and 7 are all in A, so all of B is common.
A ∩ B = {2, 3, 5, 7} = B.
Check: We note that B ⊂ A and that A ∩ B = B: if B ⊂ A, then A ∩ B = B.
The intersection of two sets A and B is the set of all elements which belong to both A and B: A ∩ B = {x : x ∈ A and x ∈ B}.
Examples: the intersection of {2, 4, 6, 8} and {6, 8, 10, 12} is {6, 8}. The intersection of the hockey and football teams is {Geeta}. The intersection of the even numbers and the multiples of 3 is the multiples of 6.
Read it aloud as "A intersection B is the set of all x such that x is in A and x is in B". Only the elements common to both sets belong to it.
The shaded portion in Figure 1.5 indicates the intersection of A and B.
If A and B are two sets such that A ∩ B = φ, then A and B are called disjoint sets: they have no element in common.
Examples: {2, 4, 6, 8} and {1, 3, 5, 7} are disjoint sets. The even and the odd integers are disjoint sets. The boys and the girls of a class are disjoint sets.
For example, let A = {2, 4, 6, 8} and B = {1, 3, 5, 7}. Then A and B are disjoint sets, because there are no elements which are common to A and B. Disjoint sets can be represented by a Venn diagram, as shown in Figure 1.6.
Some properties of the operation of intersection
| Law | In symbols |
|---|---|
| Commutative law | |
| Associative law | |
| Law of φ and U | |
| Idempotent law | |
| Distributive law (∩ distributes over ∪) |
The distributive law can be seen from the Venn diagrams of Figures 1.7 (i) to (v): shading B ∪ C, then A, then their common part, gives the same region as shading A ∩ B and A ∩ C and then their union.
Worked example 62
Check the distributive law A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) for A = {1, 2, 3, 4}, B = {3, 4, 5}, C = {4, 6}.
What we know: Work out each side separately.
What we need: Both sides.
The plan: Left side: union first, then intersect with A. Right side: two intersections, then their union.
- B ∪ C = {3, 4, 5, 6}, so A ∩ (B ∪ C) = {3, 4}.
- A ∩ B = {3, 4} and A ∩ C = {4}, so (A ∩ B) ∪ (A ∩ C) = {3, 4}.
Both sides are {3, 4}: the law holds here.
Check: The same holds for every choice of sets: checked by numbers for all subsets of {1, 2, 3, 4} (check.py). There is also a second distributive law, A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C).
Worked example 63
Let E be the even numbers from 1 to 20 and T the multiples of 3 from 1 to 20. Find E ∩ T and describe it in words.
What we know: E = {2, 4, ..., 20}; T = {3, 6, 9, 12, 15, 18}.
What we need: E ∩ T.
The plan: Keep the multiples of 3 that are even.
- The even ones among 3, 6, 9, 12, 15, 18 are 6, 12 and 18.
E ∩ T = {6, 12, 18}: the multiples of 6 from 1 to 20.
Check: Divisible by 2 and by 3 means divisible by 6, since 2 and 3 have no common factor.
When you are stuck: intersections
Go through the smaller set and keep what is also in the other.
"And" means intersection: in A and in B.
If A ∩ B is empty, the sets are disjoint; draw the circles apart.
Worked example 64
Find the set of common divisors of 12 and 18 as an intersection, and read off their HCF.
What we know: The divisors of 12 are {1, 2, 3, 4, 6, 12}; of 18, {1, 2, 3, 6, 9, 18}.
What we need: The common divisors and the HCF.
The plan: Intersect the two sets; the largest element is the HCF (Class 10, Chapter 1).
- Common elements: 1, 2, 3, 6.
- The largest is 6.
Common divisors {1, 2, 3, 6}; HCF = 6.
Check: 12 = 2 × 6 and 18 = 3 × 6, and 2 and 3 share no factor, so no larger common divisor exists.
Worked example 65
Find [1, 4] ∩ (2, 6] and [0, 1) ∩ [1, 2].
What we know: An intersection of intervals is where both conditions hold.
What we need: The two intersections.
The plan: Take the larger left end and the smaller right end, with care at the brackets.
- [1, 4] ∩ (2, 6]: x > 2 (from the second) and x ≤ 4 (from the first): (2, 4].
- [0, 1) ∩ [1, 2]: the first needs x < 1 and the second x ≥ 1: no number does both, so φ.
(2, 4] and φ.
Check: The two intervals in the second part touch at 1 on the line, but 1 belongs to only one of them, so they are disjoint.
Worked example 66
If A ∩ B = A, what can you say about A and B? Give an example.
What we know: A ∩ B is always inside A; it equals A only if nothing of A is lost.
What we need: The relation, and an example.
The plan: Ask what must be true of each element of A.
- Every element of A survives the intersection, so every element of A is in B.
- So A ⊂ B. Example: A = {1, 2}, B = {1, 2, 3}: A ∩ B = {1, 2} = A.
A ⊂ B. For example, A = {1, 2} and B = {1, 2, 3}.
Check: This is condition (iv) of the Miscellaneous Exercise, Q4, shown there to be equivalent to A ⊂ B.
Worked example 67
Simplify, using the laws of intersection: (a) A ∩ φ; (b) A ∩ A; (c) A ∩ U; (d) (A ∩ B) ∩ A.
What we know: The laws of intersection: φ ∩ A = φ, A ∩ A = A and U ∩ A = A; and intersection is commutative and associative.
What we need: Each set in its simplest form.
The plan: Use one law at a time, and say why it holds.
- (a) No element is in φ, so no element is in both A and φ: A ∩ φ = φ.
- (b) The elements that are in A and also in A are the elements of A: A ∩ A = A.
- (c) Every element of A is in U, so all of A is common to A and U: A ∩ U = A.
- (d) Reorder and regroup: (A ∩ B) ∩ A = (A ∩ A) ∩ B = A ∩ B.
(a) φ; (b) A; (c) A; (d) A ∩ B.
Check: Test (d) with A = {1, 2} and B = {2, 3}. Then A ∩ B = {2}, and {2} ∩ {1, 2} = {2}, which is A ∩ B.
Worked example 68
If A ∩ B = U, what can you say about A and B?
What we know: A ∩ B is a subset of A, and A is a subset of the universal set U.
What we need: What A and B must be.
The plan: Trap A between A ∩ B and U.
- Every element of A ∩ B is in A, and A ∩ B = U. So every element of U is in A.
- Also, every element of A is in U, as for every set in the discussion. So A and U have exactly the same elements: A = U.
- The same reasoning, with B in place of A, gives B = U.
A = U and B = U.
Check: Compare the union section: there, A ∪ B = φ forced A = φ and B = φ. An empty intersection forces much less: A ∩ B = φ says only that A and B are disjoint, like the odd and the even numbers. A full intersection, A ∩ B = U, forces both sets to be U.
Counting the elements of a union
In 1.9.1 we counted a union in words: add the two sizes, then take away the elements counted twice. Now that we have the intersection, the rule can be written in symbols.
Read it aloud as "n of A union B equals n of A plus n of B minus n of A intersection B". Here n(A) is the number of elements of the finite set A.
Why it is true: counting A and then B counts every element of A ∩ B twice, once in each set. Taking n(A ∩ B) away once leaves every element of A ∪ B counted exactly once.
When A and B are disjoint, n(A ∩ B) = 0, so n(A ∪ B) = n(A) + n(B).
Worked example 69
n(A) = 12, n(B) = 19 and n(A ∩ B) = 5. Find n(A ∪ B).
What we know: n(A) = 12, n(B) = 19 and n(A ∩ B) = 5.
What we need: n(A ∪ B).
The plan: Substitute into n(A ∪ B) = n(A) + n(B) − n(A ∩ B).
- n(A ∪ B) = 12 + 19 − 5.
- 12 + 19 = 31, and 31 − 5 = 26.
n(A ∪ B) = 26.
Check: A union has at least as many elements as the bigger set (19) and at most the two sizes added (31). The answer 26 lies between them.
Worked example 70
n(A ∪ B) = 50, n(A) = 28 and n(B) = 32. Find n(A ∩ B).
What we know: Three of the four numbers in the rule are given.
What we need: n(A ∩ B), the fourth.
The plan: Rearrange the rule: n(A ∩ B) = n(A) + n(B) − n(A ∪ B).
- 28 + 32 = 60 counts the common elements twice.
- The union has only 50 elements, so 60 − 50 = 10 elements were counted twice.
n(A ∩ B) = 10.
Check: Put it back: 28 + 32 − 10 = 50, which is n(A ∪ B).
Worked example 71
In a group of 65 people, 40 like cricket and 10 like both cricket and tennis. Everyone likes at least one of the two games. How many like tennis? How many like tennis only?
What we know: n(C ∪ T) = 65, since everyone likes at least one game; n(C) = 40 and n(C ∩ T) = 10.
What we need: n(T), and the number who like tennis but not cricket.
The plan: Put the three known numbers into the rule and solve for n(T); then take away the 10 who like both.
- 65 = 40 + n(T) − 10, so 65 = 30 + n(T).
- So n(T) = 35.
- Tennis only means tennis but not cricket: take the 10 who like both away from the 35, so 35 − 10 = 25.
35 like tennis, and 25 like tennis only.
Check: Cricket only: 40 − 10 = 30. Then 30 + 10 + 25 = 65, the whole group, so no one has been missed or counted twice.
Your turn
Find {1, 3, 5, 7} ∩ {3, 4, 5}.Tap to reveal
The plan: Common elements.
- 3 and 5 are in both.
{3, 5}.
Are {a, b} and {c, d} disjoint?Tap to reveal
The plan: Any common element?
- None.
Yes: {a, b} ∩ {c, d} = φ.
In one line
A ∩ B = {x : x ∈ A and x ∈ B}, the common elements; disjoint sets have A ∩ B = φ; intersection is commutative and associative, φ ∩ A = φ, U ∩ A = A, A ∩ A = A, and it distributes over union.
1.9.3Difference of sets
The difference of the sets A and B, in this order, is the set of elements which belong to A but not to B. Symbolically, we write A − B and read it as "A minus B".
Example 18 (from the book)
Let A = {1, 2, 3, 4, 5, 6} and B = {2, 4, 6, 8}. Find A − B and B − A.
What we know: A − B keeps the elements of A not in B.
What we need: Both differences.
The plan: Remove from each set the elements of the other.
- A − B: from A remove 2, 4, 6 (which are in B), leaving 1, 3, 5.
- B − A: from B remove 2, 4, 6 (which are in A), leaving 8.
A − B = {1, 3, 5} and B − A = {8}.
Check: We note that A − B ≠ B − A: the order matters.
Example 19 (from the book)
Let V = {a, e, i, o, u} and B = {a, i, k, u}. Find V − B and B − V.
What we know: Remove from each set the elements of the other.
What we need: Both differences.
The plan: Go element by element.
- V − B: e and o belong to V but not to B.
- B − V: k belongs to B but not to V.
V − B = {e, o} and B − V = {k}.
Check: Again V − B ≠ B − V.
The difference A − B ("A minus B") is the set of elements of A which are not in B: A − B = {x : x ∈ A and x ∉ B}. In general A − B ≠ B − A.
Examples: the difference {1, 2, 3, 4, 5, 6} − {2, 4, 6, 8} is {1, 3, 5}. The difference of the vowels minus {a, i, k, u} is {e, o}. The difference R − Q is the set of irrational numbers.
Read A − B aloud as "A minus B": the set of all x such that x is in A and x is not in B. The symbol ∉ is read "does not belong to".
The difference of two sets A and B can be represented by a Venn diagram, as shown in Figure 1.8. The shaded portion represents A − B.
Remark. The sets A − B, A ∩ B and B − A are mutually disjoint: the intersection of any two of them is the null set, as shown in Figure 1.9. Together, they make up A ∪ B.
Worked example 72
For A = {1, 2, 3, 4, 5} and B = {4, 5, 6, 7}, find A − B, A ∩ B and B − A, and check that they are mutually disjoint with union A ∪ B.
What we know: The three parts are the three regions of a two-circle Venn diagram.
What we need: The three sets and the checks.
The plan: Sort each element of A ∪ B into one region.
- A − B = {1, 2, 3}; A ∩ B = {4, 5}; B − A = {6, 7}.
- No element appears in two of them, so they are mutually disjoint.
- Together: {1, 2, 3, 4, 5, 6, 7} = A ∪ B.
{1, 2, 3}, {4, 5} and {6, 7}: mutually disjoint, with union A ∪ B.
Check: Sizes: 3 + 2 + 2 = 7 = n(A ∪ B), with nothing counted twice.
A common mistake: A − B as "take away the size"
A − B is a set, not a number. {1, 2, 3} − {3, 4} = {1, 2}: only the elements of B that are in A are removed, and 4 is ignored.
When you are stuck: differences
Start from the first set, and cross out whatever is also in the second.
Elements of B not in A do nothing to A − B.
Draw it: A − B is A's own part of the Venn diagram, outside B.
Worked example 73
Find D₁₂ − D₁₈ and D₁₈ − D₁₂, where Dₙ is the set of divisors of n.
What we know: D₁₂ = {1, 2, 3, 4, 6, 12}, D₁₈ = {1, 2, 3, 6, 9, 18}.
What we need: Both differences.
The plan: Cross out the common divisors {1, 2, 3, 6}.
- D₁₂ − D₁₈ = {4, 12}: divisors of 12 that do not divide 18.
- D₁₈ − D₁₂ = {9, 18}.
{4, 12} and {9, 18}.
Check: The common part {1, 2, 3, 6} and the two differences together make D₁₂ ∪ D₁₈, with nothing counted twice.
Worked example 74
Find [0, 5] − (2, 3), and say what A − A, A − φ and A − B are when A and B are disjoint.
What we know: A − B keeps the elements of A not in B.
What we need: The interval difference and the three special cases.
The plan: Remove the middle of the interval; then think about each special case.
- Removing the numbers strictly between 2 and 3 from [0, 5] leaves [0, 2] ∪ [3, 5] (2 and 3 stay, since (2, 3) does not contain them).
- A − A = φ: everything is removed.
- A − φ = A: nothing is removed.
- If A and B are disjoint, nothing of A is in B, so A − B = A.
[0, 2] ∪ [3, 5]; and A − A = φ, A − φ = A, A − B = A for disjoint sets.
Check: Checked by numbers on all subsets of {1, 2, 3, 4}.
Worked example 75
Story: In a class, M is the set of students who passed Maths, and S is the set who passed Science. M = {Anu, Bina, Charu, Dev} and S = {Bina, Dev, Esha}. Find M − S, S − M and M ∩ S, and say what each one means.
What we know: M − S keeps the elements of M that are not in S.
What we need: Three sets, and their meanings.
The plan: Find the common students first; then remove them from each set.
- The common students are Bina and Dev, so M ∩ S = {Bina, Dev}: the students who passed both subjects.
- M − S: remove Bina and Dev from M, leaving {Anu, Charu}. These students passed Maths but not Science.
- S − M: remove Bina and Dev from S, leaving {Esha}. Esha passed Science but not Maths.
M − S = {Anu, Charu}, S − M = {Esha}, and M ∩ S = {Bina, Dev}.
Check: The three sets have no student in common, and together they hold all five students of M ∪ S: 2 + 1 + 2 = 5.
Worked example 76
Is A − B always a subset of A? Can it be a subset of B?
What we know: A − B = {x : x ∈ A and x ∉ B}.
What we need: Two answers, with reasons.
The plan: Look at what each element of A − B must satisfy.
- Every element of A − B is in A, by the definition. So A − B ⊂ A, always.
- Every element of A − B is outside B. So if A − B has even one element, that element is not in B, and A − B ⊄ B.
- So A − B ⊂ B can hold only when A − B = φ, because φ is a subset of every set.
- And A − B = φ means that no element of A lies outside B. That is, A ⊂ B.
A − B ⊂ A, always. And A − B ⊂ B only when A − B = φ, which happens exactly when A ⊂ B.
Check: Example: A = {1, 2} and B = {2, 3} give A − B = {1}. Then {1} ⊂ A, but {1} ⊄ B. These facts were also checked on all the subsets of {1, 2, 3, 4}.
Worked example 77
Describe each set in words: (a) N − {x : x is an even natural number}; (b) Z − N; (c) Q − Z.
What we know: N, Z and Q are the natural numbers, the integers and the rational numbers.
What we need: Three descriptions.
The plan: Remove the second set from the first, and name what is left.
- (a) Removing the even numbers from N leaves the odd natural numbers, {1, 3, 5, ...}.
- (b) Removing the natural numbers 1, 2, 3, ... from the integers leaves 0 and the negative integers, {..., −3, −2, −1, 0}.
- (c) Removing the integers from the rational numbers leaves the rational numbers that are not whole, such as 1/2 and −7/3.
(a) The odd natural numbers; (b) {..., −2, −1, 0}; (c) the rational numbers that are not integers.
Check: In each case the second set is a subset of the first. So the difference and the second set together make up the first set again: for example, (Z − N) together with N gives Z.
Your turn
Find {a, b, c, d} − {b, d, e}.Tap to reveal
The plan: Cross out b and d.
- e is not in the first set, so it changes nothing.
{a, c}.
In one line
A − B = {x : x ∈ A and x ∉ B}; order matters; A − B, A ∩ B and B − A are mutually disjoint and together make A ∪ B.
Ex 1.4Exercise 1.4, solved in full
These are the questions of Exercise 1.4. Try each one first, then open the full answer; the answers agree with the book's key.
1. Find the union of each of the following pairs of sets: (i) X = {1, 3, 5}, Y = {1, 2, 3}. (ii) A = {a, e, i, o, u}, B = {a, b, c}. (iii) A = {x : x is a natural number and multiple of 3}, B = {x : x is a natural number less than 6}. (iv) A = {x : x is a natural number and 1 < x ≤ 6}, B = {x : x is a natural number and 6 < x < 10}. (v) A = {1, 2, 3}, B = φTap to reveal
What we know: The union contains every element of either set, once.
What we need: The five unions.
The plan: Write each set in roster form where it helps, then combine.
- (i) {1, 3, 5} with 2 added: {1, 2, 3, 5}.
- (ii) {a, e, i, o, u} with b and c added: {a, b, c, e, i, o, u}.
- (iii) A = {3, 6, 9, ...}, B = {1, 2, 3, 4, 5}: the union is 1, 2, 4, 5 together with all the multiples of 3.
- (iv) A = {2, 3, 4, 5, 6}, B = {7, 8, 9}: the union is {2, 3, ..., 9}, the natural numbers with 1 < x < 10.
- (v) Adding nothing: {1, 2, 3}.
(i) {1, 2, 3, 5}. (ii) {a, b, c, e, i, o, u}. (iii) {x : x = 1, 2, 4, 5 or a multiple of 3}. (iv) {x : x ∈ N and 1 < x < 10}. (v) {1, 2, 3}.
Check: The book prints set A of part (ii) as "[a, e, i, o, u}" with a square bracket, by a slip. All five agree with the key.
2. Let A = {a, b}, B = {a, b, c}. Is A ⊂ B? What is A ∪ B?Tap to reveal
What we know: A ⊂ B when every element of A is in B; then A ∪ B = B.
What we need: Both answers.
The plan: Check a and b in B.
- a ∈ B and b ∈ B, so A ⊂ B.
- Since A ⊂ B, the union adds nothing to B: A ∪ B = {a, b, c}.
Yes, A ⊂ B, and A ∪ B = {a, b, c} = B.
Check: This agrees with the key.
3. If A and B are two sets such that A ⊂ B, then what is A ∪ B?Tap to reveal
What we know: Every element of A is already in B.
What we need: A ∪ B.
The plan: Ask what A adds to B.
- The union is B together with the elements of A; but those are all in B already.
- So nothing new is added.
A ∪ B = B.
Check: Example 13 of the book is a case of this, with the subset {a, i, u} of the vowels. The key agrees.
4. If A = {1, 2, 3, 4}, B = {3, 4, 5, 6}, C = {5, 6, 7, 8} and D = {7, 8, 9, 10}, find (i) A ∪ B. (ii) A ∪ C. (iii) B ∪ C. (iv) B ∪ D. (v) A ∪ B ∪ C. (vi) A ∪ B ∪ D. (vii) B ∪ C ∪ DTap to reveal
What we know: Union: every element of either set, once.
What we need: The seven unions.
The plan: Combine the lists.
- (i) {1, 2, 3, 4, 5, 6}. (ii) {1, 2, 3, 4, 5, 6, 7, 8}. (iii) {3, 4, 5, 6, 7, 8}.
- (iv) {3, 4, 5, 6, 7, 8, 9, 10}. (v) {1, 2, 3, 4, 5, 6, 7, 8}.
- (vi) {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. (vii) {3, 4, 5, 6, 7, 8, 9, 10}.
(i) {1, ..., 6}. (ii) {1, ..., 8}. (iii) {3, ..., 8}. (iv) {3, ..., 10}. (v) {1, ..., 8}. (vi) {1, ..., 10}. (vii) {3, ..., 10}, each including every whole number in the range.
Check: (ii) and (v) are equal because B adds nothing that A and C do not already cover. All agree with the key.
5. Find the intersection of each pair of sets of question 1 above.Tap to reveal
What we know: The intersection is the common elements.
What we need: The five intersections.
The plan: Use the roster forms from question 1.
- (i) {1, 3, 5} ∩ {1, 2, 3} = {1, 3}.
- (ii) {a, e, i, o, u} ∩ {a, b, c} = {a}.
- (iii) The multiples of 3 below 6: {3}.
- (iv) {2, ..., 6} and {7, 8, 9} share nothing: φ.
- (v) Anything ∩ φ = φ.
(i) {1, 3}. (ii) {a}. (iii) {3}. (iv) φ. (v) φ.
Check: All five agree with the key.
6. If A = {3, 5, 7, 9, 11}, B = {7, 9, 11, 13}, C = {11, 13, 15} and D = {15, 17}, find (i) A ∩ B. (ii) B ∩ C. (iii) A ∩ C ∩ D. (iv) A ∩ C. (v) B ∩ D. (vi) A ∩ (B ∪ C). (vii) A ∩ D. (viii) A ∩ (B ∪ D). (ix) (A ∩ B) ∩ (B ∪ C). (x) (A ∪ D) ∩ (B ∪ C)Tap to reveal
What we know: Work inside brackets first, then intersect.
What we need: The ten sets.
The plan: Compute step by step.
- (i) {7, 9, 11}. (ii) {11, 13}. (iii) A ∩ C = {11}, and 11 ∉ D: φ. (iv) {11}. (v) φ.
- (vi) B ∪ C = {7, 9, 11, 13, 15}; A ∩ it = {7, 9, 11}. (vii) φ.
- (viii) B ∪ D = {7, 9, 11, 13, 15, 17}; A ∩ it = {7, 9, 11}.
- (ix) {7, 9, 11} ∩ {7, 9, 11, 13, 15} = {7, 9, 11}.
- (x) A ∪ D = {3, 5, 7, 9, 11, 15, 17}; ∩ {7, 9, 11, 13, 15} = {7, 9, 11, 15}.
(i) {7, 9, 11}. (ii) {11, 13}. (iii) φ. (iv) {11}. (v) φ. (vi) {7, 9, 11}. (vii) φ. (viii) {7, 9, 11}. (ix) {7, 9, 11}. (x) {7, 9, 11, 15}.
Check: All ten agree with the key.
7. If A = {x : x is a natural number}, B = {x : x is an even natural number}, C = {x : x is an odd natural number} and D = {x : x is a prime number}, find (i) A ∩ B. (ii) A ∩ C. (iii) A ∩ D. (iv) B ∩ C. (v) B ∩ D. (vi) C ∩ DTap to reveal
What we know: B, C and D are all subsets of A = N; B and C are disjoint; 2 is the only even prime.
What we need: The six intersections.
The plan: Use the subset fact and the parity of primes.
- (i), (ii), (iii): intersecting with N changes nothing, so the answers are B, C and D.
- (iv) No number is both even and odd: φ.
- (v) The only even prime is 2: {2}.
- (vi) All the other primes are odd: the odd primes.
(i) B. (ii) C. (iii) D. (iv) φ. (v) {2}. (vi) {x : x is an odd prime number}.
Check: All six agree with the key.
8. Which of the following pairs of sets are disjoint? (i) {1, 2, 3, 4} and {x : x is a natural number and 4 ≤ x ≤ 6}. (ii) {a, e, i, o, u} and {c, d, e, f}. (iii) {x : x is an even integer} and {x : x is an odd integer}Tap to reveal
What we know: Disjoint sets have no common element.
What we need: Which pairs are disjoint.
The plan: Look for a common element.
- (i) The second set is {4, 5, 6}; 4 is common: not disjoint.
- (ii) e is common: not disjoint.
- (iii) No integer is both even and odd: disjoint.
Only (iii).
Check: One shared element is enough to stop two sets being disjoint. The key agrees.
9. If A = {3, 6, 9, 12, 15, 18, 21}, B = {4, 8, 12, 16, 20}, C = {2, 4, 6, 8, 10, 12, 14, 16} and D = {5, 10, 15, 20}, find (i) A − B. (ii) A − C. (iii) A − D. (iv) B − A. (v) C − A. (vi) D − A. (vii) B − C. (viii) B − D. (ix) C − B. (x) D − B. (xi) C − D. (xii) D − CTap to reveal
What we know: X − Y keeps the elements of X not in Y.
What we need: The twelve differences.
The plan: Cross out the common elements each time.
- (i) A has 12 in B: {3, 6, 9, 15, 18, 21}. (ii) A has 6, 12 in C: {3, 9, 15, 18, 21}. (iii) A has 15 in D: {3, 6, 9, 12, 18, 21}.
- (iv) B has 12 in A: {4, 8, 16, 20}. (v) C has 6, 12 in A: {2, 4, 8, 10, 14, 16}. (vi) D has 15 in A: {5, 10, 20}.
- (vii) B has 4, 8, 12, 16 in C: {20}. (viii) B has 20 in D: {4, 8, 12, 16}. (ix) C has 4, 8, 12, 16 in B: {2, 6, 10, 14}.
- (x) D has 20 in B: {5, 10, 15}. (xi) C has 10 in D: {2, 4, 6, 8, 12, 14, 16}. (xii) D has 10 in C: {5, 15, 20}.
(i) {3, 6, 9, 15, 18, 21}. (ii) {3, 9, 15, 18, 21}. (iii) {3, 6, 9, 12, 18, 21}. (iv) {4, 8, 16, 20}. (v) {2, 4, 8, 10, 14, 16}. (vi) {5, 10, 20}. (vii) {20}. (viii) {4, 8, 12, 16}. (ix) {2, 6, 10, 14}. (x) {5, 10, 15}. (xi) {2, 4, 6, 8, 12, 14, 16}. (xii) {5, 15, 20}.
Check: All twelve agree with the key. Note how X − Y and Y − X are different each time.
10. If X = {a, b, c, d} and Y = {f, b, d, g}, find (i) X − Y. (ii) Y − X. (iii) X ∩ YTap to reveal
What we know: b and d are in both sets.
What we need: The three sets.
The plan: Separate the common elements from the others.
- Common: b, d. Only in X: a, c. Only in Y: f, g.
(i) {a, c}. (ii) {f, g}. (iii) {b, d}.
Check: These are the three disjoint parts of X ∪ Y = {a, b, c, d, f, g}. The key agrees.
11. If R is the set of real numbers and Q is the set of rational numbers, then what is R − Q?Tap to reveal
What we know: Every real number is either rational or irrational, not both.
What we need: R − Q.
The plan: Remove the rational numbers from the real numbers.
- What remains are the real numbers that are not rational.
R − Q is the set of irrational numbers (the set T of section 1.6.1).
Check: √2 ∈ R − Q, but 1/2 ∉ R − Q. The key agrees.
12. State whether each of the following statements is true or false. Justify your answer. (i) {2, 3, 4, 5} and {3, 6} are disjoint sets. (ii) {a, e, i, o, u} and {a, b, c, d} are disjoint sets. (iii) {2, 6, 10, 14} and {3, 7, 11, 15} are disjoint sets. (iv) {2, 6, 10} and {3, 7, 11} are disjoint sets.Tap to reveal
What we know: Disjoint means no common element.
What we need: True or false, with reasons.
The plan: Look for a common element in each pair.
- (i) 3 is in both: false.
- (ii) a is in both: false.
- (iii) The first set is even numbers, the second odd: no common element, true.
- (iv) Again even against odd: true.
(i) False. (ii) False. (iii) True. (iv) True.
Check: All four agree with the key.
When you are stuck: Exercise 1.4
Write every set in roster form first, where possible.
Brackets first: in A ∩ (B ∪ C), find B ∪ C before intersecting.
For differences, cross out the shared elements from the first set only.
1.10Complement of a set
Let U be the universal set which consists of all prime numbers, and let A be the subset of U which consists of all those prime numbers that are not divisors of 42. Thus A = {x : x ∈ U and x is not a divisor of 42}. We see that 2 ∈ U but 2 ∉ A, because 2 is a divisor of 42. Similarly, 3 ∈ U but 3 ∉ A, and 7 ∈ U but 7 ∉ A. Now 2, 3 and 7 are the only elements of U which do not belong to A.
The set of these three prime numbers, {2, 3, 7}, is called the complement of A with respect to U, and is denoted by A′. So A′ = {2, 3, 7}. Thus we see that A′ = {x : x ∈ U and x ∉ A}. This leads to the following definition.
Let U be the universal set and A a subset of U. The complement of A is the set of all elements of U which are not elements of A: A′ = {x : x ∈ U and x ∉ A}. Thus A′ = U − A.
Examples: in U = {1, 2, ..., 10}, the complement of the odd numbers is the even numbers. Among the students of a class, the complement of the girls is the boys. Among the primes, the complement of the primes that do not divide 42 is {2, 3, 7}.
Read A′ aloud as "A complement": the set of all x such that x is in U and x is not in A. So A′ = U − A, the universal set with the elements of A taken out.
We note that the complement of a set A can be looked upon as the difference between the universal set U and the set A.
Example 20 (from the book)
Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and A = {1, 3, 5, 7, 9}. Find A′.
What we know: A′ is the elements of U not in A.
What we need: A′.
The plan: Remove the elements of A from U.
- 2, 4, 6, 8 and 10 are the only elements of U which do not belong to A.
A′ = {2, 4, 6, 8, 10}.
Check: A and A′ together make up U, and share nothing.
Example 21 (from the book)
Let U be the universal set of all the students of Class XI of a coeducational school, and A the set of all girls in Class XI. Find A′.
What we know: A′ is everyone in U who is not in A.
What we need: A′.
The plan: Ask who in Class XI is not a girl.
- The students of Class XI who are not girls are the boys.
A′ is the set of all boys in Class XI.
Check: Girls and boys together make up the class, with no one in both.
The complement of the complement
If A is a subset of U, then its complement A′ is also a subset of U. In Example 20, A′ = {2, 4, 6, 8, 10}, so (A′)′ = {x : x ∈ U and x ∉ A′} = {1, 3, 5, 7, 9} = A. In general, for any subset A of U, (A′)′ = A: leaving out what is left out brings back the original set.
Now we want to compare (A ∪ B)′ with A′ ∩ B′, in the following example.
Example 22 (from the book)
Let U = {1, 2, 3, 4, 5, 6}, A = {2, 3} and B = {3, 4, 5}. Find A′, B′, A′ ∩ B′, A ∪ B, and hence show that (A ∪ B)′ = A′ ∩ B′.
What we know: Complements are taken in U = {1, 2, 3, 4, 5, 6}.
What we need: The sets, and the equality.
The plan: Work out each set, then compare.
- A′ = {1, 4, 5, 6} and B′ = {1, 2, 6}, so A′ ∩ B′ = {1, 6}.
- A ∪ B = {2, 3, 4, 5}, so (A ∪ B)′ = {1, 6}.
(A ∪ B)′ = {1, 6} = A′ ∩ B′.
Check: 1 and 6 are exactly the elements in neither A nor B.
It can be shown that this result is true in general. If A and B are any two subsets of the universal set U, then (A ∪ B)′ = A′ ∩ B′. Similarly, (A ∩ B)′ = A′ ∪ B′. These two results are stated in words as follows: the complement of the union of two sets is the intersection of their complements, and the complement of the intersection of two sets is the union of their complements. These are called De Morgan's laws, after the mathematician Augustus De Morgan.
For any subsets A and B of U: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′. Taking a complement turns a union into an intersection, and an intersection into a union.
Examples: by De Morgan's laws, "not (in A or in B)" is "not in A and not in B". By De Morgan's laws, the numbers that are not (even and prime) are the numbers that are odd or not prime. De Morgan's laws hold for every pair of subsets: checked by numbers for all subsets of {1, 2, 3, 4}.
Read the first aloud as "the complement of A union B equals A complement intersection B complement", and the second the same way, with union and intersection swapped.
Worked example 78
Why is (A ∪ B)′ = A′ ∩ B′ true for all sets? Explain in words, element by element.
What we know: x ∈ A ∪ B means x is in A or in B (or both).
What we need: A reason that works for every element.
The plan: Follow one element x of U through both sides.
- x ∈ (A ∪ B)′ means x is not in A ∪ B: it is not true that x is in A or in B.
- That happens exactly when x is in neither: x ∉ A and x ∉ B.
- x ∉ A and x ∉ B means x ∈ A′ and x ∈ B′, that is, x ∈ A′ ∩ B′.
- So both sides have exactly the same elements.
An element is outside A ∪ B exactly when it is outside A and outside B, so (A ∪ B)′ = A′ ∩ B′ for all A and B.
Check: In the same way, x is outside A ∩ B exactly when it is outside A or outside B, which gives the second law.
The complement A′ of a set A can be represented by a Venn diagram, as shown in Figure 1.10. The shaded portion represents the complement of the set A.
Some properties of complement sets
| Law | In symbols |
|---|---|
| Complement laws | |
| De Morgan's laws | |
| Law of double complementation | |
| Laws of the empty set and the universal set |
These laws can be verified by using Venn diagrams.
Worked example 79
In U = {1, 2, ..., 10}, let A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Verify both De Morgan's laws.
What we know: Complements are taken in U.
What we need: Both laws checked.
The plan: Compute each side.
- A ∪ B = {1, 2, 3, 4, 5, 6}, so (A ∪ B)′ = {7, 8, 9, 10}.
- A′ = {5, 6, 7, 8, 9, 10} and B′ = {1, 2, 7, 8, 9, 10}, so A′ ∩ B′ = {7, 8, 9, 10}: the first law holds.
- A ∩ B = {3, 4}, so (A ∩ B)′ = {1, 2, 5, 6, 7, 8, 9, 10}.
- A′ ∪ B′ = {1, 2, 5, 6, 7, 8, 9, 10}: the second law holds.
(A ∪ B)′ = A′ ∩ B′ = {7, 8, 9, 10} and (A ∩ B)′ = A′ ∪ B′ = {1, 2, 5, 6, 7, 8, 9, 10}.
Check: (A ∪ B)′ and A ∩ B are disjoint, and each law's two sides match element for element.
Worked example 80
Story: In a class of 40 students, 25 play cricket. The universal set is the class. How many students are in the complement of the cricket players, and what is that set in words?
What we know: n(U) = 40, n(C) = 25. C′ = U − C.
What we need: n(C′), and its meaning.
The plan: The complement has everyone else.
- n(C′) = 40 − 25 = 15.
- C′ is the set of students of the class who do not play cricket.
15 students: those who do not play cricket.
Check: A set and its complement split U into two disjoint parts: 25 + 15 = 40.
A common mistake: (A ∪ B)′ = A′ ∪ B′
Taking complements "inside the bracket" without swapping ∪ and ∩ is wrong. With U = {1, 2, 3}, A = {1}, B = {2}: (A ∪ B)′ = {3}, but A′ ∪ B′ = {2, 3} ∪ {1, 3} = {1, 2, 3}. The union must become an intersection.
When you are stuck: complements
Always know U first: a complement is meaningless without the universal set.
A′ = U − A: list U and cross out A.
For a complement of a union or an intersection, swap ∪ and ∩ (De Morgan), or find the bracket first and then the complement.
Draw it: the shaded part outside the circle.
Worked example 81
U = {1, 2, ..., 20} and A = the multiples of 3 in U. How many elements has A′, and what are they in words?
What we know: A = {3, 6, 9, 12, 15, 18}, 6 elements.
What we need: n(A′) and its meaning.
The plan: n(A′) = n(U) − n(A).
- n(A′) = 20 − 6 = 14.
- A′ is the numbers from 1 to 20 that are not multiples of 3.
14 elements: the numbers in U not divisible by 3.
Check: For a finite U, n(A′) = n(U) − n(A) always, since A and A′ split U.
Worked example 82
With U = R, find the complement of the interval [2, 5].
What we know: [2, 5] = {x : 2 ≤ x ≤ 5}.
What we need: [2, 5]′.
The plan: Negate the condition.
- x is not in [2, 5] when x < 2 or x > 5.
- That is (−∞, 2) ∪ (5, ∞): round brackets, since 2 and 5 belong to [2, 5].
[2, 5]′ = (−∞, 2) ∪ (5, ∞).
Check: The complement of a closed interval is made of open pieces: the ends change sides.
Worked example 83
Show that (A − B)′ = A′ ∪ B.
What we know: A − B = A ∩ B′ (Mixed practice E). De Morgan: (X ∩ Y)′ = X′ ∪ Y′.
What we need: The identity.
The plan: Rewrite, then use De Morgan.
- (A − B)′ = (A ∩ B′)′.
- = A′ ∪ (B′)′, by De Morgan's law.
- = A′ ∪ B, since (B′)′ = B.
(A − B)′ = A′ ∪ B.
Check: In words: an element fails to be "in A but not in B" exactly when it is not in A, or it is in B. Checked by numbers on all subsets of {1, 2, 3, 4}.
Worked example 84
Story: In a class of 45, 30 like cricket and 25 like football, and 15 like both. How many like neither?
What we know: n(U) = 45, n(C) = 30, n(F) = 25, n(C ∩ F) = 15. "Neither" is (C ∪ F)′.
What we need: n((C ∪ F)′).
The plan: Find n(C ∪ F), counting the common students once; then take the complement.
- n(C ∪ F) = 30 + 25 − 15 = 40, since the 15 who like both were counted twice.
- n((C ∪ F)′) = 45 − 40 = 5.
5 students like neither.
Check: By De Morgan, these 5 are C′ ∩ F′: students who do not like cricket and do not like football.
Worked example 85
Let U be the set of the 26 letters of the English alphabet, A = {a, e, i, o, u}, the vowels, and B the set of the letters of the word INDIA. Find n(A′), A ∩ B′ and n((A ∪ B)′).
What we know: B = {i, n, d, a}, written in small letters like U. A′ holds the letters of U that are not in A.
What we need: Two numbers and one set.
The plan: Use n(A′) = n(U) − n(A); then find the vowels outside B; then count A ∪ B.
- A′ is the set of consonants, so n(A′) = 26 − 5 = 21.
- A ∩ B′ holds the vowels that are not letters of INDIA. INDIA uses the vowels i and a, so A ∩ B′ = {e, o, u}.
- A ∪ B = {a, e, i, o, u, n, d}, with 7 letters. So n((A ∪ B)′) = 26 − 7 = 19.
n(A′) = 21, A ∩ B′ = {e, o, u}, and n((A ∪ B)′) = 19.
Check: A ∩ B′ is the same set as A − B: the vowels, with the letters of INDIA taken out. And by De Morgan's law, (A ∪ B)′ = A′ ∩ B′: the 19 letters are the consonants other than n and d.
Counting the elements of a complement
A set and its complement share no element, and together they make up U. So their sizes add up to n(U), and that gives a second counting rule.
Read it aloud as "n of A complement equals n of U minus n of A".
Why it is true: every element of U is in exactly one of A and A′, so n(A) + n(A′) = n(U). Taking n(A) from both sides gives the rule.
With the rule for a union, it counts the elements in neither of two sets: n((A ∪ B)′) = n(U) − n(A ∪ B).
The examples above already used it: the numbers up to 20 that are not multiples of 3 (14 of them) and the 15 students of the class of 40 who do not play cricket.
Worked example 86
A Venn diagram shows a universal set U with 40 elements. The circle A holds 15 elements, the circle B holds 12, and 5 of these are in the overlap. How many elements lie outside both circles?
What we know: n(U) = 40, n(A) = 15, n(B) = 12 and n(A ∩ B) = 5.
What we need: n((A ∪ B)′), the elements outside both circles.
The plan: Count the union first; then use the complement rule.
- n(A ∪ B) = 15 + 12 − 5 = 22.
- n((A ∪ B)′) = 40 − 22 = 18.
18 elements lie outside both circles.
Check: The four regions: A only 15 − 5 = 10, the overlap 5, B only 12 − 5 = 7, and outside 18. They add up to 10 + 5 + 7 + 18 = 40.
Worked example 87
Take the 52 cards of a deck as U, and let A be the set of spades. A′, the cards that are not spades, has 39 cards. How many spades are there?
What we know: n(U) = 52 and n(A′) = 39.
What we need: n(A).
The plan: Rearrange the rule: n(A) = n(U) − n(A′).
- n(A) = 52 − 39 = 13.
There are 13 spades.
Check: A deck has 4 suits of 13 cards each (Class 10, Chapter 14), and 52 ÷ 4 = 13.
Worked example 88
In a survey of 600 students in a school, 150 students were found to be taking tea and 225 taking coffee; 100 were taking both tea and coffee. Find how many students were taking neither tea nor coffee.
What we know: n(U) = 600, n(T) = 150, n(C) = 225 and n(T ∩ C) = 100.
What we need: n((T ∪ C)′): neither tea nor coffee.
The plan: Count the union; then take it away from the whole school.
- n(T ∪ C) = 150 + 225 − 100 = 275.
- n((T ∪ C)′) = 600 − 275 = 325.
325 students take neither tea nor coffee.
Check: By De Morgan's law, (T ∪ C)′ = T′ ∩ C′: these 325 students are outside the tea set and outside the coffee set at once.
Your turn
In U = {a, b, c, d, e}, find {a, c}′.Tap to reveal
The plan: Cross out a and c.
- b, d and e remain.
{b, d, e}.
What is φ′? What is U′?Tap to reveal
The plan: Use the laws.
- Nothing is in φ, so everything is outside it; nothing of U is outside U.
φ′ = U and U′ = φ.
In one line
A′ = U − A, the elements of U not in A; (A′)′ = A, A ∪ A′ = U, A ∩ A′ = φ, φ′ = U, U′ = φ, and De Morgan: (A ∪ B)′ = A′ ∩ B′, (A ∩ B)′ = A′ ∪ B′.
Ex 1.5Exercise 1.5, solved in full
These are the questions of Exercise 1.5. Try each one first, then open the full answer; the answers agree with the book's key, which gives none for Q4 and Q5.
1. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9}, A = {1, 2, 3, 4}, B = {2, 4, 6, 8} and C = {3, 4, 5, 6}. Find (i) A′. (ii) B′. (iii) (A ∪ C)′. (iv) (A ∪ B)′. (v) (A′)′. (vi) (B − C)′Tap to reveal
What we know: Complements are taken in U = {1, ..., 9}.
What we need: The six sets.
The plan: Find the set inside each bracket first, then cross it out of U.
- (i) A′ = {5, 6, 7, 8, 9}. (ii) B′ = {1, 3, 5, 7, 9}.
- (iii) A ∪ C = {1, 2, 3, 4, 5, 6}, so (A ∪ C)′ = {7, 8, 9}.
- (iv) A ∪ B = {1, 2, 3, 4, 6, 8}, so (A ∪ B)′ = {5, 7, 9}.
- (v) (A′)′ = A = {1, 2, 3, 4}.
- (vi) B − C = {2, 8}, so (B − C)′ = {1, 3, 4, 5, 6, 7, 9}.
(i) {5, 6, 7, 8, 9}. (ii) {1, 3, 5, 7, 9}. (iii) {7, 8, 9}. (iv) {5, 7, 9}. (v) {1, 2, 3, 4}. (vi) {1, 3, 4, 5, 6, 7, 9}.
Check: All six agree with the key.
2. If U = {a, b, c, d, e, f, g, h}, find the complements of the following sets: (i) A = {a, b, c}. (ii) B = {d, e, f, g}. (iii) C = {a, c, e, g}. (iv) D = {f, g, h, a}Tap to reveal
What we know: Each complement is U with the set's letters crossed out.
What we need: The four complements.
The plan: Cross out letters.
- (i) {d, e, f, g, h}. (ii) {a, b, c, h}. (iii) {b, d, f, h}. (iv) {b, c, d, e}.
(i) {d, e, f, g, h}. (ii) {a, b, c, h}. (iii) {b, d, f, h}. (iv) {b, c, d, e}.
Check: Each set and its complement together have all 8 letters, with none shared. The key agrees.
3. Taking the set of natural numbers as the universal set, write down the complements of the following sets: (i) {x : x is an even natural number}. (ii) {x : x is an odd natural number}. (iii) {x : x is a positive multiple of 3}. (iv) {x : x is a prime number}. (v) {x : x is a natural number divisible by 3 and 5}. (vi) {x : x is a perfect square}. (vii) {x : x is a perfect cube}. (viii) {x : x + 5 = 8}. (ix) {x : 2x + 5 = 9}. (x) {x : x ≥ 7}. (xi) {x : x ∈ N and 2x + 1 > 10}Tap to reveal
What we know: U = N; each complement is the natural numbers without the property.
What we need: The eleven complements.
The plan: Negate each property; solve the equations and inequalities first.
- (i) The odd natural numbers. (ii) The even natural numbers. (iii) The natural numbers that are not multiples of 3.
- (iv) The natural numbers that are not prime: 1 and the composite numbers.
- (v) "Divisible by 3 and 5" fails when x is not divisible by 3 or not divisible by 5 (De Morgan).
- (vi) The natural numbers that are not perfect squares. (vii) Those that are not perfect cubes.
- (viii) x + 5 = 8 gives x = 3, so the complement is N without 3. (ix) 2x + 5 = 9 gives x = 2: N without 2.
- (x) x ≥ 7 is 7, 8, 9, ...; the complement is x < 7, that is 1 to 6.
- (xi) 2x + 1 > 10 means x > 4.5, so x ≥ 5; the complement is x ≤ 4.
(i) {x : x is an odd natural number}. (ii) {x : x is an even natural number}. (iii) {x : x ∈ N and x is not a multiple of 3}. (iv) {x : x is a positive composite number or x = 1}. (v) {x : x is a natural number not divisible by 3 or not divisible by 5}. (vi) {x : x ∈ N, x is not a perfect square}. (vii) {x : x ∈ N, x is not a perfect cube}. (viii) {x : x ∈ N and x ≠ 3}. (ix) {x : x ∈ N and x ≠ 2}. (x) {x : x ∈ N and x < 7}. (xi) {x : x ∈ N and x ≤ 4}.
Check: The key writes (xi) as x ≤ 9/2, which picks out the same natural numbers 1, 2, 3, 4. In (iv), 1 is neither prime nor composite, so it must be named. All agree with the key.
4. If U = {1, 2, 3, 4, 5, 6, 7, 8, 9}, A = {2, 4, 6, 8} and B = {2, 3, 5, 7}, verify that (i) (A ∪ B)′ = A′ ∩ B′. (ii) (A ∩ B)′ = A′ ∪ B′Tap to reveal
What we know: De Morgan's laws; complements in U = {1, ..., 9}.
What we need: Both sides of each law.
The plan: Compute each side separately.
- A ∪ B = {2, 3, 4, 5, 6, 7, 8}, so (A ∪ B)′ = {1, 9}.
- A′ = {1, 3, 5, 7, 9}, B′ = {1, 4, 6, 8, 9}, so A′ ∩ B′ = {1, 9}: (i) holds.
- A ∩ B = {2}, so (A ∩ B)′ = {1, 3, 4, 5, 6, 7, 8, 9}.
- A′ ∪ B′ = {1, 3, 4, 5, 6, 7, 8, 9}: (ii) holds.
(i) Both sides are {1, 9}. (ii) Both sides are {1, 3, 4, 5, 6, 7, 8, 9}. Both laws are verified.
Check: Notice 2, the only even prime, is the whole of A ∩ B.
5. Draw appropriate Venn diagrams for each of the following: (i) (A ∪ B)′. (ii) A′ ∩ B′. (iii) (A ∩ B)′. (iv) A′ ∪ B′Tap to reveal
What we know: By De Morgan's laws, (i) and (ii) are the same set, and so are (iii) and (iv).
What we need: The four diagrams.
The plan: Shade each region; two drawings serve for all four.
- (i) A ∪ B is the two circles together, so (A ∪ B)′ is the part of the rectangle outside both circles.
- (ii) A′ is everything outside A; B′ everything outside B; their common part is again the region outside both circles: the same as (i).
- (iii) A ∩ B is the lens; (A ∩ B)′ is everything except the lens.
- (iv) A′ ∪ B′ is everything outside A together with everything outside B: everything except the lens, the same as (iii).
(i) and (ii): shade the region outside both circles. (iii) and (iv): shade everything except the overlap. The drawings below show them.
Check: The pictures agreeing in pairs is De Morgan's laws seen by eye.
6. Let U be the set of all triangles in a plane. If A is the set of all triangles with at least one angle different from 60°, what is A′?Tap to reveal
What we know: A′ is the triangles not in A.
What we need: A′.
The plan: Negate "at least one angle different from 60°".
- A triangle is not in A when none of its angles differs from 60°: all three angles are 60°.
- A triangle with all angles 60° is equilateral.
A′ is the set of all equilateral triangles.
Check: The opposite of "at least one is not" is "all are". The key agrees.
7. Fill in the blanks to make each of the following a true statement: (i) A ∪ A′ = ... (ii) φ′ ∩ A = ... (iii) A ∩ A′ = ... (iv) U′ ∩ A = ...Tap to reveal
What we know: A ∪ A′ = U, A ∩ A′ = φ, φ′ = U, U′ = φ.
What we need: The four blanks.
The plan: Use the laws of complements.
- (i) A and its complement together make up U.
- (ii) φ′ = U, and U ∩ A = A.
- (iii) A and A′ have no common element.
- (iv) U′ = φ, and φ ∩ A = φ.
(i) U. (ii) A. (iii) φ. (iv) φ.
Check: All four agree with the key.
When you are stuck: Exercise 1.5
Write U down first, then work inside the brackets, then take the complement.
For "not" statements, negate carefully: not (at least one) is (none); not (A and B) is (not A or not B).
For diagrams, use De Morgan to see which pictures must agree.
MiscMiscellaneous examples, proofs, and a little history
These examples use the ideas of the whole chapter. The last one is a proof: an argument that a statement about sets is true for every possible choice of sets, not just for one example.
Example 23 (from the book)
Show that the set of letters needed to spell "CATARACT" and the set of letters needed to spell "TRACT" are equal.
What we know: Repeated letters count once in a set.
What we need: To show the two sets are equal.
The plan: Write both in roster form.
- X, the letters of CATARACT: C, A, T, A, R, A, C, T gives X = {C, A, T, R}.
- Y, the letters of TRACT: T, R, A, C, T gives Y = {T, R, A, C}.
- Every element of X is in Y and every element of Y is in X.
X = {C, A, T, R} = Y.
Check: An 8-letter word and a 5-letter word can need exactly the same four letters.
Example 24 (from the book)
List all the subsets of the set {−1, 0, 1}.
What we know: A set of 3 elements has 2³ = 8 subsets.
What we need: All of them.
The plan: List by size.
- No element: φ.
- One element: {−1}, {0}, {1}.
- Two elements: {−1, 0}, {−1, 1}, {0, 1}.
- Three elements: {−1, 0, 1} itself.
φ, {−1}, {0}, {1}, {−1, 0}, {−1, 1}, {0, 1} and {−1, 0, 1}: 8 subsets.
Check: 1 + 3 + 3 + 1 = 8 = 2³. Note {0} is not the empty set: it has the element 0.
Example 25 (from the book)
Show that A ∪ B = A ∩ B implies A = B.
What we know: To show two sets are equal, show each is a subset of the other. A ⊂ A ∪ B and A ∩ B ⊂ B always.
What we need: A proof that works for all sets A and B.
The plan: Take any element of A and follow it; then do the same for B.
- Let a ∈ A. Then a ∈ A ∪ B. Since A ∪ B = A ∩ B, we get a ∈ A ∩ B, so a ∈ B. Therefore A ⊂ B.
- Similarly, let b ∈ B. Then b ∈ A ∪ B = A ∩ B, so b ∈ A. Therefore B ⊂ A.
- A ⊂ B and B ⊂ A together give A = B.
A = B, since each is a subset of the other.
Check: The proof never used particular elements: it works for every pair of sets. Tested by numbers on all pairs of subsets of {1, 2, 3, 4}.
To prove that A ⊂ B for all sets in the statement, take any element x ∈ A and show, step by step, that x ∈ B. To prove A = B, prove A ⊂ B and B ⊂ A.
To disprove a statement, one counterexample is enough: particular sets for which the statement fails. Examples: the claim "A ∩ B = A ∩ C implies B = C" fails for A = {1, 2}, B = {1, 3}, C = {1, 4}; the claim "A ⊂ B means A = B" fails for {1} and {1, 2}.
Worked example 89
Prove that if A ⊂ B, then A ∩ B = A.
What we know: A ∩ B ⊂ A always. A ⊂ B means every element of A is in B.
What we need: A proof.
The plan: Show both inclusions.
- A ∩ B ⊂ A: every element of A ∩ B is in A, by the definition of intersection.
- A ⊂ A ∩ B: let x ∈ A. Since A ⊂ B, x ∈ B. So x is in both, x ∈ A ∩ B.
- Both inclusions give A ∩ B = A.
If A ⊂ B, then A ∩ B = A: every element of A is also in B, so A loses nothing when intersected with B.
Check: Example 17 of the book is a case of this, with the primes {2, 3, 5, 7} inside {1, ..., 10}.
Historical note
The modern theory of sets is considered to have been started largely by the German mathematician Georg Cantor (1845 to 1918). His papers on set theory appeared from 1874 to 1897. His study of sets began while he was studying trigonometric series of the form a₁ sin x + a₂ sin 2x + a₃ sin 3x + .... In a paper of 1874 he showed that the set of real numbers cannot be put into one-to-one correspondence with the integers: in a precise sense, there are more real numbers than integers, so infinite sets come in different sizes. From 1879 onwards, he published several papers showing various properties of abstract sets.
Cantor's work was well received by another famous mathematician, Richard Dedekind (1831 to 1916). But Leopold Kronecker sharply criticised him for treating infinite sets the same way as finite sets. (The book gives Kronecker's years as 1810 to 1893; he lived from 1823 to 1891.) Another German mathematician, Gottlob Frege, at the turn of the century, presented set theory as principles of logic.
Until then, set theory had assumed that there is a "set of all sets". The English philosopher Bertrand Russell (1872 to 1970) showed in 1902 that this assumption leads to a contradiction: the famous Russell's paradox. Paul R. Halmos writes about it in his book Naive Set Theory that "nothing contains everything".
Russell's paradox was not the only one. As a result of these paradoxes, the first set of axioms (basic rules) for set theory was published in 1908 by Ernst Zermelo. Another was proposed by Abraham Fraenkel in 1922. John von Neumann in 1925 introduced the axiom of regularity. Later, in 1937, Paul Bernays gave a more satisfactory set of axioms, and Kurt Gödel modified them in a monograph of 1940; this is known as von Neumann-Bernays or Gödel-Bernays set theory. Despite all these difficulties, Cantor's set theory is used in present-day mathematics: most of its concepts and results are expressed in the language of sets.
Going further: Russell's paradox in everyday words
Imagine a village barber who shaves exactly those villagers who do not shave themselves. Does the barber shave himself? If he does, then he is someone who shaves himself, so he should not. If he does not, then he is someone who does not shave himself, so he should. Either answer contradicts itself.
Russell's set works the same way: let S be the set of all sets that are not elements of themselves. Is S an element of S? Either answer leads to a contradiction. The way out, in modern set theory, is that such a collection is not allowed to be a set at all. This is one reason why the definition of a set must be careful, and why there is no "set of all sets".
When you are stuck: proofs about sets
To prove A ⊂ B, write "Let x ∈ A" and end with "so x ∈ B".
To prove A = B, prove both A ⊂ B and B ⊂ A.
Before proving, test on small sets. If a small example fails, that example is your counterexample, and the statement is false.
Use the laws you know (distributive, De Morgan, absorption) as steps.
Worked example 90
Prove that A ∩ (B − A) = φ for any sets A and B.
What we know: B − A = {x : x ∈ B, x ∉ A}.
What we need: A proof.
The plan: Suppose an element exists and reach a contradiction.
- Suppose x ∈ A ∩ (B − A). Then x ∈ A, and x ∈ B − A, so x ∉ A.
- x ∈ A and x ∉ A cannot both hold, so no such x exists.
A ∩ (B − A) = φ: what is taken out of A cannot be in A.
Check: This is part of the Remark in 1.9.3: A ∩ B and B − A are disjoint, and so are A and B − A.
Worked example 91
Prove that (A − B) ∪ (B − A) = (A ∪ B) − (A ∩ B), and check it with A = {1, 2, 3}, B = {3, 4}.
What we know: Both sides are "in exactly one of A and B".
What we need: A proof and a check.
The plan: Describe the elements of each side in words.
- Left: x is in A but not B, or in B but not A: in exactly one of them.
- Right: x is in A or B, but not in both: again in exactly one of them. So the sides are equal.
- Check: A − B = {1, 2}, B − A = {4}, left = {1, 2, 4}; A ∪ B = {1, 2, 3, 4}, A ∩ B = {3}, right = {1, 2, 4}.
Both sides are the elements in exactly one of A and B; for the example, both are {1, 2, 4}.
Check: This set is called the symmetric difference of A and B. Checked on all subsets of {1, 2, 3, 4}.
Worked example 92
Is A − (B − C) = (A − B) − C for all sets? Test with A = {1, 2, 3}, B = {2, 3}, C = {3}.
What we know: One counterexample settles it.
What we need: A test.
The plan: Work out both sides.
- B − C = {2}, so A − (B − C) = {1, 3}.
- A − B = {1}, so (A − B) − C = {1}.
- {1, 3} ≠ {1}.
No: for these sets the two sides are {1, 3} and {1}. Set difference is not associative.
Check: Unlike union and intersection, difference changes with the grouping, just as 5 − (3 − 1) ≠ (5 − 3) − 1 with numbers.
Where sets go next
Sets are the language of the rest of this book.
Chapter 2 builds pairs from two sets, the Cartesian product, to describe relations and functions. Chapter 5 writes the solutions of an inequality as an interval, such as x ∈ (−∞, 2].
Chapter 14 calls the universal set of all the possible outcomes the sample space, and its subsets events.
Whenever a later chapter says "the set of all x such that...", it is using the ideas of this chapter.
Your turn
How many subsets does {p, q, r, s} have?Tap to reveal
The plan: 2ⁿ with n = 4.
- 2⁴ = 16.
16.
Give a counterexample to the claim "if A ∪ B = A ∪ C, then B = C".Tap to reveal
The plan: Let A swallow the difference.
- A = {1, 2}, B = {1}, C = {2}: A ∪ B = A ∪ C = {1, 2}, but B ≠ C.
A = {1, 2}, B = {1}, C = {2}.
In one line
To prove a statement about sets, follow a general element from one side to the other (both ways for equality); to disprove one, give a single counterexample; set theory, begun by Cantor, needed careful axioms after Russell's paradox.
Misc ExMiscellaneous Exercise on Chapter 1, solved in full
These are the questions of the Miscellaneous Exercise. Try each one first, then open the full answer. The key gives answers for Q1, Q2 and Q10; the proofs are ours, and every one was also tested by numbers on all choices of subsets of {1, 2, 3, 4}.
1. Decide, among the following sets, which sets are subsets of one another: A = {x : x ∈ R and x satisfies x² − 8x + 12 = 0}, B = {2, 4, 6}, C = {2, 4, 6, 8, ...}, D = {6}.Tap to reveal
What we know: x² − 8x + 12 = (x − 2)(x − 6), so A = {2, 6}. C is the even natural numbers.
What we need: Every subset relation.
The plan: Write all four in roster form and compare each pair.
- A = {2, 6}: both elements are in B and in C, so A ⊂ B and A ⊂ C.
- B = {2, 4, 6}: all even, so B ⊂ C.
- D = {6}: 6 is in A, B and C, so D ⊂ A, D ⊂ B, D ⊂ C.
- No others: B ⊄ A (4 ∉ A), C ⊄ B (8 ∉ B), and so on.
A ⊂ B, A ⊂ C, B ⊂ C, D ⊂ A, D ⊂ B, D ⊂ C.
Check: This agrees with the key. Note the chain D ⊂ A ⊂ B ⊂ C.
2. In each of the following, determine whether the statement is true or false. If it is true, prove it. If it is false, give an example. (i) If x ∈ A and A ∈ B, then x ∈ B. (ii) If A ⊂ B and B ∈ C, then A ∈ C. (iii) If A ⊂ B and B ⊂ C, then A ⊂ C. (iv) If A ⊄ B and B ⊄ C, then A ⊄ C. (v) If x ∈ A and A ⊄ B, then x ∈ B. (vi) If A ⊂ B and x ∉ B, then x ∉ A.Tap to reveal
What we know: ∈ and ⊂ behave differently: ⊂ chains, ∈ does not.
What we need: True or false, with a proof or a counterexample.
The plan: Prove the true ones; find a counterexample for each false one.
- (i) False. A = {1}, B = { {1}, 2 }: 1 ∈ A and A ∈ B, but 1 ∉ B.
- (ii) False. A = {2}, B = {2, 3}, C = { {2, 3}, 4 }: A ⊂ B and B ∈ C, but A ∉ C.
- (iii) True. Let x ∈ A. Since A ⊂ B, x ∈ B. Since B ⊂ C, x ∈ C. So A ⊂ C.
- (iv) False. A = {1, 2}, B = {2, 3}, C = {1, 2, 4}: A ⊄ B (1 ∉ B) and B ⊄ C (3 ∉ C), but A ⊂ C.
- (v) False. A = {1, 2}, B = {2, 3}, x = 1: x ∈ A and A ⊄ B, but x ∉ B.
- (vi) True. Suppose x ∈ A. Since A ⊂ B, x ∈ B, which contradicts x ∉ B. So x ∉ A.
(i) False. (ii) False. (iii) True. (iv) False. (v) False. (vi) True, with the proofs and counterexamples above.
Check: This agrees with the key. Every counterexample was checked by numbers.
3. Let A, B and C be sets such that A ∪ B = A ∪ C and A ∩ B = A ∩ C. Show that B = C.Tap to reveal
What we know: Two given equalities; to show B = C, show B ⊂ C and C ⊂ B.
What we need: A proof.
The plan: Take x ∈ B, and split into two cases: x ∈ A, or x ∉ A.
- Let x ∈ B. Case 1: x ∈ A. Then x ∈ A ∩ B = A ∩ C, so x ∈ C.
- Case 2: x ∉ A. Then x ∈ A ∪ B = A ∪ C; since x ∉ A, x must be in C.
- In both cases x ∈ C, so B ⊂ C.
- The same argument with B and C swapped gives C ⊂ B. Hence B = C.
B = C: every element of B is in C (using the intersection when it lies in A, and the union when it does not), and the same with B and C swapped.
Check: Neither equality alone is enough: A = {1}, B = {1, 2}, C = {2} has equal unions but unequal intersections.
4. Show that the following four conditions are equivalent: (i) A ⊂ B. (ii) A − B = φ. (iii) A ∪ B = B. (iv) A ∩ B = ATap to reveal
What we know: "Equivalent" means each implies the others. A chain (i) ⇒ (ii) ⇒ (iii) ⇒ (iv) ⇒ (i) is enough.
What we need: Four implications.
The plan: Prove each step of the chain.
- (i) ⇒ (ii): if A ⊂ B, no element of A lies outside B, so A − B has no elements: A − B = φ.
- (ii) ⇒ (iii): if A − B = φ, every element of A is in B, so the union adds nothing new to B: A ∪ B = B.
- (iii) ⇒ (iv): if A ∪ B = B, then every x ∈ A lies in A ∪ B = B, so x ∈ A ∩ B; hence A ∩ B = A (and A ∩ B ⊂ A always).
- (iv) ⇒ (i): if A ∩ B = A, then every x ∈ A lies in A ∩ B, so x ∈ B: A ⊂ B.
Each condition implies the next, around the circle (i) ⇒ (ii) ⇒ (iii) ⇒ (iv) ⇒ (i), so all four are equivalent.
Check: Checked by numbers: for every pair of subsets of {1, 2, 3, 4}, the four conditions are all true or all false together.
5. Show that if A ⊂ B, then C − B ⊂ C − A.Tap to reveal
What we know: C − B = {x : x ∈ C, x ∉ B}.
What we need: A proof.
The plan: Take x ∈ C − B and show x ∈ C − A.
- Let x ∈ C − B, so x ∈ C and x ∉ B.
- If x were in A, then, since A ⊂ B, x would be in B, which it is not. So x ∉ A.
- x ∈ C and x ∉ A give x ∈ C − A.
C − B ⊂ C − A: removing the bigger set B from C leaves less than removing the smaller set A.
Check: For example, A = {1}, B = {1, 2}, C = {1, 2, 3}: C − B = {3} ⊂ C − A = {2, 3}.
6. Show that for any sets A and B, A = (A ∩ B) ∪ (A − B) and A ∪ (B − A) = A ∪ B.Tap to reveal
What we know: Every element of A is either in B or not in B.
What we need: Proofs of both equalities.
The plan: Split A into the part in B and the part outside B.
- First: every x ∈ A is either in B (then x ∈ A ∩ B) or not (then x ∈ A − B), so A ⊂ (A ∩ B) ∪ (A − B). Both parts lie inside A, so the union is inside A. Hence A = (A ∩ B) ∪ (A − B).
- Second: A ∪ (B − A) ⊂ A ∪ B, since B − A ⊂ B.
- And A ∪ B ⊂ A ∪ (B − A): any x ∈ A ∪ B is either in A, or else in B but not in A, that is, in B − A.
A = (A ∩ B) ∪ (A − B) and A ∪ (B − A) = A ∪ B.
Check: In a Venn diagram: A is its two regions (overlap and own part); adding B's own part to A gives the whole A ∪ B.
7. Using properties of sets, show that (i) A ∪ (A ∩ B) = A. (ii) A ∩ (A ∪ B) = A.Tap to reveal
What we know: A ∩ B ⊂ A, and A ⊂ A ∪ B. If X ⊂ Y, then Y ∪ X = Y and X ∩ Y = X.
What we need: Both identities.
The plan: Use the subset facts from Q4.
- (i) A ∩ B ⊂ A, so adding A ∩ B to A adds nothing: A ∪ (A ∩ B) = A.
- (ii) A ⊂ A ∪ B, so intersecting A with a bigger set keeps all of A: A ∩ (A ∪ B) = A.
- Another way for (i): A ∪ (A ∩ B) = (A ∪ A) ∩ (A ∪ B) = A ∩ (A ∪ B), by the distributive law, which is (ii).
(i) A ∪ (A ∩ B) = A. (ii) A ∩ (A ∪ B) = A: these are called the absorption laws.
Check: With A = {1, 2}, B = {2, 3}: A ∩ B = {2}, A ∪ {2} = A; A ∪ B = {1, 2, 3}, A ∩ {1, 2, 3} = A.
8. Show that A ∩ B = A ∩ C need not imply B = C.Tap to reveal
What we know: One counterexample disproves a general claim.
What we need: Sets with A ∩ B = A ∩ C but B ≠ C.
The plan: Let B and C differ only outside A.
- Take A = {1, 2}, B = {1, 3}, C = {1, 4}.
- A ∩ B = {1} and A ∩ C = {1}: equal.
- But B ≠ C, since 3 ∈ B and 3 ∉ C.
For example, A = {1, 2}, B = {1, 3}, C = {1, 4}: A ∩ B = A ∩ C = {1}, yet B ≠ C.
Check: The elements 3 and 4, outside A, are invisible to the intersection with A. (Q3 shows that adding A ∪ B = A ∪ C would force B = C.)
9. Let A and B be sets. If A ∩ X = B ∩ X = φ and A ∪ X = B ∪ X for some set X, show that A = B. (Hint: A = A ∩ (A ∪ X), B = B ∩ (B ∪ X), and use the distributive law.)Tap to reveal
What we know: A = A ∩ (A ∪ X) by absorption; A ∪ X = B ∪ X; A ∩ X = φ = B ∩ X.
What we need: A proof that A = B.
The plan: Follow the hint: rewrite A and B, then use the distributive law.
- A = A ∩ (A ∪ X) = A ∩ (B ∪ X), since A ∪ X = B ∪ X.
- = (A ∩ B) ∪ (A ∩ X), by the distributive law, = (A ∩ B) ∪ φ = A ∩ B.
- In the same way, B = B ∩ (B ∪ X) = B ∩ (A ∪ X) = (B ∩ A) ∪ (B ∩ X) = (B ∩ A) ∪ φ = A ∩ B.
- So A = A ∩ B = B.
A = A ∩ B = B, so A = B.
Check: Checked by numbers: whenever A ∩ X = B ∩ X = φ and A ∪ X = B ∪ X among the subsets of {1, 2, 3, 4}, A = B.
10. Find sets A, B and C such that A ∩ B, B ∩ C and A ∩ C are non-empty sets and A ∩ B ∩ C = φ.Tap to reveal
What we know: Each pair must share something, but no element may be in all three.
What we need: Three such sets.
The plan: Give each pair its own shared element.
- Let 1 be shared by A and B, 2 by A and C, and 3 by B and C.
- A = {1, 2}, B = {1, 3}, C = {2, 3}.
- A ∩ B = {1}, B ∩ C = {3}, A ∩ C = {2}: all non-empty. A ∩ B ∩ C = φ, since no number is in all three.
A = {1, 2}, B = {1, 3}, C = {2, 3}.
Check: This is the key's answer. In a Venn diagram of three circles, the centre region is empty while the three paired regions are not.
When you are stuck: the Miscellaneous Exercise
True or false? Test on small sets first; a failing example is the counterexample you need.
For a proof, start "Let x ∈ ...", use one definition per step, and end "so x ∈ ...".
For equality, prove both inclusions, or chain known laws, as in Q9.
MixMixed practice
These ten problems mix the ideas of the whole chapter. Three of them (C, F and I) cannot be answered as asked: spotting why is part of the exercise.
A. Let U = {1, 2, ..., 12}, A = the multiples of 2 in U and B = the multiples of 3 in U. Find A ∩ B, A ∪ B and (A ∪ B)′.Tap to reveal
What we know: A = {2, 4, 6, 8, 10, 12}, B = {3, 6, 9, 12}.
What we need: The three sets.
The plan: Intersect, unite, then take the complement in U.
- A ∩ B = {6, 12}: the multiples of 6.
- A ∪ B = {2, 3, 4, 6, 8, 9, 10, 12}.
- (A ∪ B)′ = {1, 5, 7, 11}: the numbers divisible by neither 2 nor 3.
A ∩ B = {6, 12}, A ∪ B = {2, 3, 4, 6, 8, 9, 10, 12}, (A ∪ B)′ = {1, 5, 7, 11}.
Check: By De Morgan, (A ∪ B)′ = A′ ∩ B′: the odd numbers that are not multiples of 3, which are 1, 5, 7, 11.
B. A student writes {1, 2} ∈ {1, 2, 3}. Find the mistake, and write a correct statement.Tap to reveal
What we know: ∈ links an element to a set; ⊂ links two sets.
What we need: The error and a correction.
The plan: List the elements of {1, 2, 3}.
- A path that fails: the elements of {1, 2, 3} are 1, 2 and 3; the set {1, 2} is not one of them, so {1, 2} ∈ {1, 2, 3} is false.
- Correct: {1, 2} ⊂ {1, 2, 3}, or 1 ∈ {1, 2, 3} and 2 ∈ {1, 2, 3}.
The symbol should be ⊂: {1, 2} ⊂ {1, 2, 3}.
Check: {1, 2} ∈ { {1, 2}, 3 } would be true, because there the set {1, 2} is an element.
C. n(A) = 5 and n(B) = 7. Find n(A ∪ B).Tap to reveal
What we know: The union counts common elements once.
What we need: n(A ∪ B).
The plan: Check whether the data fix the overlap.
- If A and B are disjoint, n(A ∪ B) = 5 + 7 = 12.
- If A ⊂ B, n(A ∪ B) = 7.
- Any value from 7 to 12 is possible, depending on how many elements are shared.
It cannot be found as asked: we need to know how many elements A and B share, n(A ∩ B). It could be anything from 7 to 12.
Check: With the overlap known, n(A ∪ B) = n(A) + n(B) − n(A ∩ B): the common elements are subtracted once.
D. Find (−2, 5] ∩ [0, 8) and (−2, 5] ∪ [0, 8), as intervals.Tap to reveal
What we know: (−2, 5] is −2 < x ≤ 5; [0, 8) is 0 ≤ x < 8.
What we need: The intersection and the union.
The plan: Draw both on one number line.
- Both conditions hold from 0 (included, by [0) to 5 (included, by 5]): [0, 5].
- At least one holds from just above −2 up to just below 8: (−2, 8).
(−2, 5] ∩ [0, 8) = [0, 5] and (−2, 5] ∪ [0, 8) = (−2, 8).
Check: The intersection's ends come from the inner ends of the two intervals, the union's from the outer ends.
E. Prove that A − B = A ∩ B′ for any subsets A and B of U.Tap to reveal
What we know: A − B = {x : x ∈ A and x ∉ B}; B′ = {x ∈ U : x ∉ B}.
What we need: A proof.
The plan: Compare the conditions for membership.
- x ∈ A − B means x ∈ A and x ∉ B.
- x ∉ B, for x in U, means x ∈ B′.
- So x ∈ A − B exactly when x ∈ A and x ∈ B′, that is, x ∈ A ∩ B′.
A − B = A ∩ B′: both say "in A and not in B".
Check: Example 18: A = {1, ..., 6}, B = {2, 4, 6, 8}, with U = {1, ..., 8}: A ∩ B′ = {1, 3, 5} = A − B.
F. Find the complement of {2, 4}.Tap to reveal
What we know: A complement is taken with respect to a universal set.
What we need: {2, 4}′.
The plan: Check whether U is given.
- No universal set is given.
- In U = {1, 2, 3, 4} the answer would be {1, 3}; in U = N, all the natural numbers except 2 and 4.
It cannot be found as asked: the complement depends on the universal set, which is not given.
Check: Every complement question must name U, as every exercise of 1.10 does.
G. How many subsets does {x : x ∈ N and x² < 30} have?Tap to reveal
What we know: A set of n elements has 2ⁿ subsets.
What we need: The number of subsets.
The plan: Find the set, then count.
- x² < 30 for x = 1, 2, 3, 4, 5 (5² = 25), but not 6 (36). So the set is {1, 2, 3, 4, 5}.
- 2⁵ = 32.
32 subsets.
Check: Including φ and the set itself; 31 of them are proper subsets.
H. A student says (A ∩ B)′ = A′ ∩ B′. Test the claim with U = {1, 2, 3}, A = {1}, B = {2}, and give the correct law.Tap to reveal
What we know: De Morgan: (A ∩ B)′ = A′ ∪ B′.
What we need: The test, and the correction.
The plan: Compute both sides.
- A path that fails: A ∩ B = φ, so (A ∩ B)′ = {1, 2, 3}; but A′ ∩ B′ = {2, 3} ∩ {1, 3} = {3}. The two sides differ, so the claim is false.
- Correct: A′ ∪ B′ = {1, 2, 3} = (A ∩ B)′.
The claim is false; the right law is (A ∩ B)′ = A′ ∪ B′.
Check: Taking a complement swaps ∩ and ∪; forgetting to swap is the mistake.
I. Is the set of the good students of the school finite or infinite?Tap to reveal
What we know: Only a set can be finite or infinite; a set must be well-defined.
What we need: Finite or infinite.
The plan: Check whether the collection is a set.
- "Good" is a matter of opinion, so the collection is not well-defined.
- It is not a set at all, so the question of finite or infinite does not arise.
It cannot be answered: "good students" is not a set.
Check: With an exact rule, such as "students with more than 90% marks", it becomes a set, and a finite one.
J. Story: In a survey of five friends, U = {Anu, Bina, Chetan, Dev, Esha}, the tea drinkers are T = {Anu, Bina, Chetan} and the coffee drinkers C = {Bina, Dev}. Find T ∩ C, T ∪ C, (T ∪ C)′ and T − C, and say what each means.Tap to reveal
What we know: Each operation answers a question in words.
What we need: The four sets with their meanings.
The plan: Compute each, then translate.
- T ∩ C = {Bina}: drinks both.
- T ∪ C = {Anu, Bina, Chetan, Dev}: drinks at least one.
- (T ∪ C)′ = {Esha}: drinks neither.
- T − C = {Anu, Chetan}: drinks tea but not coffee.
{Bina} (both), {Anu, Bina, Chetan, Dev} (at least one), {Esha} (neither), {Anu, Chetan} (tea only).
Check: T − C, T ∩ C, C − T = {Dev} and (T ∪ C)′ split the five friends into four disjoint groups: 2 + 1 + 1 + 1 = 5.
When you are stuck: mixed problems
Translate words into operations: "and" is ∩, "or" is ∪, "not" is a complement, "but not" is a difference.
Draw a Venn diagram with the elements in their regions.
Before answering, check the question is complete: is U given? is the collection a set? is the overlap known?
RecapThe whole chapter on one screen
- A set is a well-defined collection of objects.
- A set which does not contain any element is called the empty set.
- A set which consists of a definite number of elements is called a finite set; otherwise, the set is called an infinite set.
- Two sets A and B are said to be equal if they have exactly the same elements.
- A set A is said to be a subset of a set B if every element of A is also an element of B. Intervals are subsets of R.
- The union of two sets A and B is the set of all those elements which are either in A or in B.
- The intersection of two sets A and B is the set of all elements which are common to both. The difference of two sets A and B, in this order, is the set of elements which belong to A but not to B.
- The complement of a subset A of the universal set U is the set of all elements of U which are not elements of A.
- For any two sets A and B, (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′ (De Morgan's laws).
- The laws: union and intersection are commutative and associative, and each distributes over the other; A ∪ φ = A, A ∪ A = A, U ∪ A = U; φ ∩ A = φ, A ∩ A = A, U ∩ A = A; A ∪ A′ = U, A ∩ A′ = φ, (A′)′ = A, φ′ = U and U′ = φ.
- Counting: n(A ∪ B) = n(A) + n(B) − n(A ∩ B), which is n(A) + n(B) for disjoint sets, and n(A′) = n(U) − n(A).
| Operation | Symbol | Set-builder form | In words |
|---|---|---|---|
| Union | A ∪ B | {x : x ∈ A or x ∈ B} | in A or B (or both) |
| Intersection | A ∩ B | {x : x ∈ A and x ∈ B} | in both |
| Difference | A − B | {x : x ∈ A and x ∉ B} | in A but not in B |
| Complement | A′ | {x : x ∈ U and x ∉ A} | in U but not in A |
| Subset | A ⊂ B | a ∈ A ⇒ a ∈ B | every element of A is in B |
WordsWords to know
- Set
- A well-defined collection of objects.
- Element
- An object of a set: a ∈ A, "a belongs to A".
- Roster form
- A set written by listing its elements in braces, each once.
- Set-builder form
- {x : property}, "the set of all x such that".
- Empty set
- The set with no elements, φ or { }.
- Finite set
- Empty, or with a definite number of elements.
- Infinite set
- A set that is not finite, such as N.
- n(S)
- The number of distinct elements of a finite set S.
- Equal sets
- Sets with exactly the same elements.
- Subset
- A ⊂ B: every element of A is in B.
- Proper subset
- A ⊂ B with A ≠ B.
- Superset
- B, when A is a proper subset of B.
- Singleton
- A set with exactly one element.
- Open interval
- (a, b) = {x : a < x < b}.
- Closed interval
- [a, b] = {x : a ≤ x ≤ b}.
- Universal set
- U, the basic set of a discussion.
- Venn diagram
- Sets drawn as circles inside a rectangle U.
- Union
- A ∪ B: the elements in A or in B.
- Intersection
- A ∩ B: the elements in both.
- Disjoint sets
- Sets with A ∩ B = φ.
- Difference
- A − B: in A but not in B.
- Complement
- A′ = U − A.
- De Morgan's laws
- (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′.
CheckQuick self-check
What makes a collection a set?Answer
It must be well-defined: membership can be decided definitely.
Write the letters of BANANA as a set.Answer
{B, A, N}.
Write {x : x ∈ N, x < 4} in roster form.Answer
{1, 2, 3}.
Is {0} the empty set?Answer
No: it has one element, 0.
Is the set of points on a line finite?Answer
No: it is infinite.
Are {1, 2, 3} and {3, 3, 2, 1} equal?Answer
Yes: repeats do not change a set.
How many subsets does a set of 4 elements have?Answer
2⁴ = 16.
Is φ a subset of every set?Answer
Yes.
Write {x : 2 < x ≤ 7} as an interval.Answer
(2, 7].
Find {1, 2, 3} ∪ {3, 4}.Answer
{1, 2, 3, 4}.
Find {1, 2, 3} ∩ {3, 4}.Answer
{3}.
Find {1, 2, 3} − {3, 4}.Answer
{1, 2}.
In U = {1, ..., 5}, find {1, 2}′.Answer
{3, 4, 5}.
State De Morgan's laws.Answer
(A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′.
What are A ∪ A′ and A ∩ A′?Answer
U and φ.