1. Sets
1. About this chapter
Big idea: A clear membership rule turns a collection into something we can reason about.
This original learning chapter follows the supplied Class 11 topic sequence. Read the explanations, work through the examples, and cover the answers while attempting the checks. A graph supports the algebra; it does not replace a proof.
- What a set is, and how roster form differs from set-builder form.
- How to tell empty, finite and infinite sets apart, and how to test equality.
- How subsets, power sets and intervals are written.
- How to read a Venn diagram and fill its regions from a word problem.
- How to compute union, intersection, difference, complement and a Cartesian product.
- Set: a collection with a clear membership rule.
- Element: an object that belongs to a set.
- Empty set: the set with no members.
- Subset: a set whose every member also belongs to another set.
- Power set: the set of all subsets of a given set.
- Universal set: the set of all objects in the current problem.
- Union / intersection / difference / complement: the four standard operations.
Read a section in order. Do not skip the figure. The figure shows the same idea as the symbols.
Cover each worked example and try the steps yourself. Then compare every arithmetic line.
The practice set uses new numbers. It is not a copy of the worked example.
Exercise sections mix the skills. Translate English into ∈, ⊆, ∪, ∩ and \ before you compute.
Have a pencil ready. Shade Venn regions and number-line bars as you read.
The summary at the end is a map, not a replacement for the worked examples.
1.1 Introduction
A photo app can group images by type, size or date. Before comparing groups, you need a rule that decides each image.
Mathematics uses a set for that job. A set is a collection with a membership rule that does not depend on taste.
A set is a collection with a clear membership rule. That rule is the whole idea of this chapter.
Look at the dashed cloud. “Nice files” has no test. Two people can disagree.
Look at the solid rectangle. “Odd positive integers below 8” has a test. Each number is in or out.
The arrow in the figure is the membership rule. Without it you only have a pile.
Set language returns in later chapters. A function has a set of allowed inputs.
A probability event is a set of outcomes. An interval is a set of real numbers.
You will learn to write a set, compare two sets, and combine them.
You will also draw the same ideas as regions. A diagram is a picture of membership, not a picture of size.
Goal. Decide whether “odd counting numbers less than 10” names a set, then list it.
Rule. A set needs a test that a number either passes or fails.
Substitution. The test is: the number is a positive integer, it is odd, and it is less than 10.
Try 1: odd and less than 10, so it belongs.
Try 2: even, so it fails.
Try 9: odd and less than 10, so it belongs.
Try 10: not less than 10, so it fails.
The members are 1, 3, 5, 7 and 9.
Check. Each listed number is odd and below 10. No other positive odd integer is below 10.
Result: the sentence names a set, written {1, 3, 5, 7, 9}.
Cover the answers. Try each question on paper first. If an answer differs, find the step that split.
1.2 Sets and their Representations
A set is a well-defined collection of distinct objects. Well-defined means the membership test decides every case.
The objects in a set are called elements or members.
Write when x belongs to A. Write when it does not.
Two common writings exist. Roster form lists the members inside braces.
Set-builder form states the membership test instead of the list.
Look at the left panel. The braces hold 2, 4, 6 and 8. That is a roster.
Look at the right panel. It says “even and at most 8”. That is a set-builder.
The double arrow says they name the same set. Choose the form that is shorter for the problem.
Order does not matter: . Repetition does not add a member: .
Here and . Say so if your course includes 0 in .
A roster for infinite sets uses dots, as in . The pattern must be obvious.
A single object can be an element of a set. A whole set can also be an element of another set. Those are different statements.
Goal. Write the positive multiples of 4 that are below 18 in both forms.
Rule. List every positive multiple of 4 that is strictly less than 18. Then state the same test.
Substitution. 4 × 1 = 4, and 4 is below 18, so 4 belongs.
4 × 2 = 8, and 8 is below 18, so 8 belongs.
4 × 3 = 12, and 12 is below 18, so 12 belongs.
4 × 4 = 16, and 16 is below 18, so 16 belongs.
4 × 5 = 20, and 20 is not below 18, so stop.
Roster: {4, 8, 12, 16}.
Set-builder: .
Check. Each listed number is a multiple of 4 and is below 18. The next multiple is 20, which is not below 18.
Result: roster {4, 8, 12, 16}; set-builder as above.
Work these on paper with the answers hidden. Compare your steps with the printed working.
Exercise 1.1 — Membership and notation
Try each question before reading its solution. Give a reason as well as a final value.
1.3 The Empty Set
Sometimes a rule is clear, yet nothing passes the test. The collection is still a set. It has no members.
That set is the empty set. It is written ∅ or { }.
There is no integer strictly between 4 and 5, so .
Look at the left rectangle. It holds nothing. That is ∅. Its member-count is 0.
Look at the middle rectangle. It holds one object, and that object is the empty set. So {∅} is not empty.
Look at the right rectangle. It holds the number 0. The set {0} has one member.
Empty means no members. Zero as an element is still a member.
The empty set is unique. There is only one set with no members.
You will need it when an intersection has no shared member, and when a complement eats a whole universe.
Goal. Decide whether is empty.
Rule. Search for a positive integer whose square is 2.
Substitution. 1² = 1, which is not 2.
2² = 4, which is not 2.
Every later positive integer has a larger square, so none of them equals 2 either.
No positive integer works. The set has no members.
Check. √2 is real, but it is not a natural number. The universe in the braces is ℕ, not ℝ.
Result: .
Try each question yourself before reading the answers. Show the rule and every arithmetic step.
1.4 Finite and Infinite Sets
Once a set is defined, you can ask how many members it has.
A finite set has a whole-number count of elements, including zero. The empty set is finite.
An infinite set has no finite count. Listing never finishes.
If A is finite, the count of its distinct members is written .
Look at the month box. You can finish the list at December. That set is finite.
Look at the integer line. The arrow keeps going. That set is infinite.
A bound does not make a set finite. The real interval (0, 1) is bounded, yet infinite.
Between any two different reals in (0, 1), their average is another member. The list cannot stop.
Finite means the count is a whole number. Bounded is a different idea.
Repeats in a roster do not raise . The set has 3 distinct members.
Goal. Find n(A) for A = {2, 2, 4, 4, 6, 8, 8}.
Rule. Count distinct members only.
Substitution. The distinct numbers are 2, 4, 6 and 8.
That is 1 + 1 + 1 + 1 distinct values.
. Then . Then .
Check. A roster with repeats still describes the same set as .
Result: .
Cover the answers. Try each question on paper first. If an answer differs, find the step that split.
1.5 Equal Sets
Two sets are equal when they have exactly the same members.
To prove , show every member of A is in B, and every member of B is in A.
Equal counts alone do not prove equality. Two different three-member sets are still different.
Look at the top pair. The members are 1, 4 and 9 in both ovals. Order changed. The sets are equal.
Look at the bottom pair. Each oval has three members. The members are not the same. The sets are not equal.
Equality is about members, not order, repeats or count.
Infinite sets can be equal. The even integers and the integers of the form 2k, with k an integer, are the same set.
When a question writes A = B, it is a membership claim. Check both directions.
Goal. Decide whether {2, 3} and {3, 2, 2} are equal.
Rule. Compare distinct members in both directions.
Substitution. Distinct members of the first set: 2 and 3.
Distinct members of the second set: 3 and 2. The extra 2 is a repeat, not a new member.
2 is in both. 3 is in both. Nothing else appears.
Check. n of each set is 2, and the members match, so equality holds.
Result: the two sets are equal.
Work these on paper with the answers hidden. Compare your steps with the printed working.
Exercise 1.2 — Size and equality
Try each question before reading its solution. Give a reason as well as a final value.
1.6 Subsets and Intervals
means every element of A is also in B. Then A is a subset of B.
Every set is a subset of itself. The empty set is a subset of every set: it has no member that could sit outside.
A proper subset is a subset that is not equal to the larger set.
Distinguish from . The first compares an object with a set. The second compares two sets.
Look inside the small oval A. The points 1 and 5 also lie in the large oval B. That is the subset rule.
Points 3 and 7 sit in B only. That is allowed. A subset may miss some members of B.
A point in A but not in B would break . The figure has no such point.
On the real line, special subsets are called intervals. Brackets tell you about the ends.
Look at each number line. A filled disc means the end belongs. A hollow disc means it does not.
Infinity is not a number you can include. Write [3, ∞) with a round bracket on the infinite side.
| Interval | Condition | Endpoints |
|---|---|---|
| Neither included | ||
| Both included | ||
| Left included | ||
| Right included |
How to read the table: the first column is notation. The second column is the inequality. Match them before you shade a line.
The power set is the set of all subsets of A, including ∅ and A itself.
Look at the four boxes. They are every subset of {p, q}.
p can be taken or left. q can be taken or left. Two choices twice give four subsets.
An n-element set has subsets. Each element has two options: in or out.
| Size k | How many subsets of that size | For a 3-element set |
|---|---|---|
| 0 | 1 | only the empty set |
| 1 | 3 | the three single-member sets |
| 2 | 3 | the three two-member sets |
| 3 | 1 | the set itself |
| total | 8 | all subsets, which is 2³ |
Check the total: . That is .
An n-element set has a power-of-two number of subsets. Count them by size if you need a list, not a leap.
Goal. List every subset of {1, 2, 3} and check the count.
Rule. Group by size. The number of k-member subsets of an n-set is .
Size 0: . The only subset is ∅.
Size 1: . The subsets are , , .
Size 2: . The subsets are , , .
Size 3: . The subset is .
Add: .
Then .
Then .
Check. . The listed boxes match that count.
Result: has 8 members, listed by size above.
Goal. Write as an interval.
Rule. A round bracket sits next to an end that is not included. A square bracket sits next to an included end.
Substitution. −1 is not allowed, so the left mark is round.
6 is allowed, so the right mark is square.
Check. x = −1 fails the inequality. x = 6 passes it. x = 0 sits inside.
Result: .
Try each question yourself before reading the answers. Show the rule and every arithmetic step.
1.7 Universal Set
A complement question is meaningless until you know what “everything” is.
The universal set U contains every object currently under discussion. You choose it for the problem.
If a survey concerns one class, U is that class, not every student on Earth.
Look at the rectangle. That is U for this example: the numbers 1 through 8.
Look at the oval. That is A. Members of A sit inside the oval.
2, 4, 6 and 8 sit in the rectangle but not the oval. They are in U and not in A.
State U before you take a complement. The same oval has a different outside if the rectangle changes.
Always . Also and .
Different problems may use different universes. Never reuse a complement from a changed U.
Goal. A question asks for devices in a lab of 40 that do not have an update. Name a sensible U.
Rule. U must contain every object the question might mention.
Substitution. The question is about those 40 devices, not every device in the world.
So U is the set of the 40 devices in that lab.
Check. An answer such as “all electronics” would add objects the question never counted.
Result: U is the 40 devices in the lab.
Cover the answers. Try each question on paper first. If an answer differs, find the step that split.
Exercise 1.3 — Subsets
Try each question before reading its solution. Give a reason as well as a final value.
1.8 Venn Diagrams
A Venn diagram places U in a rectangle and draws sets as regions inside it.
Overlap shows shared membership. The picture organises counts. Drawn areas need not match the counts.
When filling counts, start with the intersection. Then fill each only-one region. Then fill the outside.
Look at the overlap first. It holds 9. Those 9 are already inside both A and B.
A has 22 members in total, so the only-A region is .
B has 18 members in total, so the only-B region is .
At least one of A or B: . The overlap is counted once, not twice.
U has 40 objects, so outside both: .
Fill the overlap first. Then the only-one regions, then the outside.
This is the inclusion rule for finite sets.
Goal. In a group of 40 devices, 22 use wifi, 18 use bluetooth, and 9 use both. Find each region.
Rule. Put the both-count in the overlap. Subtract it from each total. Then subtract the union from U.
Substitution. Overlap = 9.
Wifi only: .
Bluetooth only: .
At least one: . Then .
Neither: .
Check. Add the four regions: .
. Then . Then .
The four regions add to 40, which is n(U).
Result: wifi only 13, bluetooth only 9, both 9, neither 9.
Work these on paper with the answers hidden. Compare your steps with the printed working.
1.9 Operations on Sets
The union contains elements in A or in B or in both.
The intersection contains elements in both A and B.
The difference contains elements in A that are not in B.
Look at the left pair. The whole of both ovals is the union. Shared points are included once.
Look at the middle pair. Only the overlap is the intersection.
Look at the right pair. Difference keeps the left oval after the overlap is removed.
For and :
.
.
.
. Difference swapped the sets, so the answer changed.
Look at the two ovals that do not touch. Their intersection is empty. They are disjoint.
Disjoint does not mean they fill U. There can still be points outside both.
If finite sets are disjoint, because nothing is counted twice.
Union and intersection are commutative and associative. Difference is not commutative.
Intersection distributes over union: .
Look at the grid. Each member of {1, 2} is paired with each member of {3, 4}.
The Cartesian product is the set of ordered pairs with and .
Here . The count is .
Union is at least one. Intersection is both. Difference is the first only.
Goal. For and , find the union, intersection and .
Rule. Scan each member of P, then each leftover member of R.
Substitution. Members of P: 2, 4, 6. Members of R: 4, 5.
4 sits in both, so it belongs to the intersection and to the union.
2 and 6 sit in P only, so they belong to the union and to P minus R.
5 sits in R only, so it belongs to the union, not to the intersection, and not to P minus R.
Union . Intersection . Difference .
Check. Intersection should sit inside both original sets. 4 does. Difference should sit inside P only. 2 and 6 do.
Result: , , .
Goal. Find and .
Look at the top bar. It runs from 0 included to 5 excluded.
Look at the middle bar. It runs from 3 excluded to 8 included.
A point is in the intersection only if it sits on both bars.
3 is on the top bar, but not on the middle bar, so 3 is out of the intersection.
5 is on the middle bar, but not on the top bar, so 5 is out of the intersection.
Numbers strictly between 3 and 5 sit on both bars. So the intersection is (3, 5).
A point is in the union if it sits on at least one bar. That runs from 0 included to 8 included.
Check. 0 is in the first set, hence in the union. 8 is in the second set, hence in the union. 5 is in the second set, hence in the union.
Result: intersection ; union .
Try each question yourself before reading the answers. Show the rule and every arithmetic step.
Exercise 1.4 — Operations
Try each question before reading its solution. Give a reason as well as a final value.
1.10 Complement of a Set
The complement is : the members of U that are not in A.
Complements depend on the chosen universe. Change U and you change Aᶜ.
Look at the shaded region. That is Aᶜ. It is part of the rectangle, not the rest of the page.
With and , the complement is .
Check by the kit difference: .
The identities , , and follow from membership.
Here has 8 members, matching . The intersection has 0 members.
De Morgan’s laws say and .
“Not in either set” means “outside A and outside B”. Union on the inside becomes intersection on the outside.
The complement lives inside U. Shade the rectangle, not the whole page.
Goal. If and , find .
Rule. List U, then keep the members that are not in A.
Substitution. Members of U: 1, 2, 3, 4, 5.
2 is in A, drop it. 5 is in A, drop it.
1, 3 and 4 remain.
Check. None of 1, 3, 4 sit in A. Both 2 and 5 were removed. The two lists partition U.
Result: .
Goal. Among 48 accounts, 30 store photos, 22 store notes, and 10 store both. How many store neither?
Rule. Neither means the complement of the union. Use , then subtract from n(U).
Substitution. .
Then . That is n of the union.
Neither: .
Check. Photo only . Notes only .
Add four regions: .
The regions add to 48.
Result: 6 accounts store neither.
Cover the answers. Try each question on paper first. If an answer differs, find the step that split.
Exercise 1.5 — Complements
Try each question before reading its solution. Give a reason as well as a final value.
Miscellaneous Exercise — Chapter 1
Try each question before reading its solution. Give a reason as well as a final value.
Summary and Historical Note
- A membership rule defines a set. Order and repeated entries do not matter.
- Subsets compare two sets. Membership compares an object with a set.
- Union means at least one. Intersection means both. Difference removes shared members from the first set.
- State a universe before taking a complement. Use membership arguments to justify identities.
- An n-element set has 2ⁿ subsets. Intervals are subsets of the real line with bracket notation for ends.
Look at the four boxes. They are the four operations you now own. Each still starts from a membership test.
Look at the small Venn under the row. Overlap is intersection. The rest of the ovals join into a union.
Georg Cantor developed a systematic theory of infinite sets in the late nineteenth century.
His work showed that infinity does not have just one size. Some infinite sets can be matched with the positive integers. Others cannot.
Later paradoxes, including Russell’s, showed that unrestricted collections lead to trouble.
Mathematicians such as Zermelo and Fraenkel wrote explicit axioms for sets. School sets sit inside that careful frame.
You do not need the axioms to list {1, 2, 3}. You do need the lesson: a membership rule must be stated.
After this chapter you should be able to write roster and set-builder forms, test subsets, read intervals, and compute union, intersection, difference and complement.
You should also turn a two-set word problem into four Venn regions and check that the four counts add to n(U).