←
Class 11 Mathematics
1. Sets · 1 / 14
⌕
Chapter 1 of 14

1. Sets

18 sections · 7,441 words

1. About this chapter

297 words · 1 min read

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.
Why it matters: one membership test lets you compare, combine and count collections without argument.

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

540 words · 2 min read

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.

Collectionnice files?large numbers?(no clear rule)ruleSetodd positivesbelow 81, 3, 5, 7
How to read the figure: the cloud is a vague pile. The rectangle is a set, because a rule decides each tile. Look at the arrow: the rule is what turns a pile into a set.

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.

Why it matters: later algebra talks about domains, events and intervals. All three are sets.

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}.

If two readers could argue about membership, the collection is not yet a set. Tighten the rule.
Do not call every list a set. “The best songs” has no test. A set needs a deciding rule.

⚡ Quick Check Flashcards3 questions

Cover the answers. Try each question on paper first. If an answer differs, find the step that split.

Question 1
Is “prime numbers less than 20” a set? Why?
Try answering before revealing!
Question 2
Is “interesting integers” a set as it stands?
Try answering before revealing!
Question 3
Name one later topic that uses sets.
Try answering before revealing!

1.2 Sets and their Representations

549 words · 2 min read

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 x∈Ax\in A when x belongs to A. Write x∉Ax\notin A 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.

Roster form{ 2, 4, 6, 8 }list the memberssameSet-buildereven, ≤ 8state the test
How to read the figure: both panels name the same set. Roster lists the members. Set-builder states the test that a number must pass.

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: {2,5}={5,2}\{2,5\}=\{5,2\}. Repetition does not add a member: {2,5,2}={5,2}\{2,5,2\}=\{5,2\}.

Here N={1,2,3,…}\mathbb N=\{1,2,3,\ldots\} and Z={…,−1,0,1,…}\mathbb Z=\{\ldots,-1,0,1,\ldots\}. Say so if your course includes 0 in N\mathbb N.

A roster for infinite sets uses dots, as in {2,4,6,…}\{2,4,6,\ldots\}. 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.

Why it matters: exams switch between roster and set-builder. Translate both into the same membership sentence.

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: {x∈N:x<18 and x is a multiple of 4}\{x\in\mathbb N:x<18\text{ and }x\text{ is a multiple of }4\}.

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.

Read ∈ as “is in”. Read the braces as “the set whose members are”.
Do not put a set on the left of belongs-to when the roster lists numbers. 3∈{1,3,5}3\in\{1,3,5\} is true, but {3}∈{1,3,5}\{3\}\in\{1,3,5\} is false.

⚡ Quick Check Flashcards3 questions

Work these on paper with the answers hidden. Compare your steps with the printed working.

Question 1
Write {x∈N:x≤10 and x is even}\{x\in\mathbb N:x\le 10\text{ and }x\text{ is even}\} as a roster.
Try answering before revealing!
Question 2
List the distinct letters in the word level.
Try answering before revealing!
Question 3
Is 4∈{2,4,6}4\in\{2,4,6\}? Is {4}∈{2,4,6}\{4\}\in\{2,4,6\}?
Try answering before revealing!

Exercise 1.1 — Membership and notation

165 words · 1 min read
⚡ Quick Check Flashcards5 questions

Try each question before reading its solution. Give a reason as well as a final value.

Question 1
Give a set-builder description of {2, 4, 6, 8, 10}.
Try answering before revealing!
Question 2
Is “large numbers” a well-defined set without further explanation?
Try answering before revealing!
Question 3
Write 7∈A7\in A and 8∉A8\notin A in words.
Try answering before revealing!
Question 4
Write the positive multiples of 6 that are less than 30 as a roster.
Try answering before revealing!
Question 5
Are {5,5,1}\{5,5,1\} and {1,5}\{1,5\} the same set?
Try answering before revealing!

1.3 The Empty Set

443 words · 2 min read

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 {x∈Z:4<x<5}=∅\{x\in\mathbb Z:4<x<5\}=\varnothing.

empty set(no members)one memberemptynot emptyzerohas 0
How to read the figure: count the objects inside each outer rectangle. Zero objects, one object, and one object again. Zero as a number is not the same as having no members.

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.

Why it matters: many identities later say a region is empty. That is a precise claim, not a shrug.

Goal. Decide whether {x∈N:x2=2}\{x\in\mathbb N:x^2=2\} 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: {x∈N:x2=2}=∅\{x\in\mathbb N:x^2=2\}=\varnothing.

Ask two questions: is the rule clear, and does anything pass it? Empty is the second “no”.
Count the members before you name the set. The empty set, the set whose only member is empty, and the set containing zero are three different sets.

⚡ Quick Check Flashcards3 questions

Try each question yourself before reading the answers. Show the rule and every arithmetic step.

Question 1
Is {x∈Z:x2=−1}\{x\in\mathbb Z:x^2=-1\} empty?
Try answering before revealing!
Question 2
How many elements does {∅} have?
Try answering before revealing!
Question 3
Is {0} the empty set?
Try answering before revealing!

1.4 Finite and Infinite Sets

403 words · 2 min read

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 n(A)n(A).

Finite: months of a yearJanFeb…Dec12345…Infinite: positive integers keep going
How to read the figure: the box of months can be counted and the count stops. The integer line never stops. A bound on size is not the same as a finite list.

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 n(A)n(A). The set {0,0,1,1,2}\{0,0,1,1,2\} has 3 distinct members.

Why it matters: later counting formulas assume a finite set. Do not feed them an interval of reals.

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.

1+1=21+1=2. Then 2+1=32+1=3. Then 3+1=43+1=4.

Check. A roster with repeats still describes the same set as {2,4,6,8}\{2,4,6,8\}.

Result: n(A)=4n(A)=4.

To test infinity, ask whether you can name a next unused member after any finite list.
Do not call (0, 1) finite because it sits between 0 and 1. Bounded is not finite.

⚡ Quick Check Flashcards3 questions

Cover the answers. Try each question on paper first. If an answer differs, find the step that split.

Question 1
Is the set of days in a week finite?
Try answering before revealing!
Question 2
Is the set of even integers finite?
Try answering before revealing!
Question 3
Find n({a,b,a,c,b})n(\{a,b,a,c,b\}).
Try answering before revealing!

1.5 Equal Sets

431 words · 2 min read

Two sets are equal when they have exactly the same members.

To prove A=BA=B, 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.

{1, 4, 9}order A{9, 1, 4}order B={1, 4, 9}{2, 5, 8}≠Same count is not equality.
How to read the figure: first compare the actual members, not the order. Then look at the lower pair: three members each is not enough. Equality needs the same members.

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.

Why it matters: later identities such as A ∪ A = A are equality claims. Prove them by members, not by drawing.

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.

Write both sets in roster form with distinct members, then compare.
Matching n(A) and n(B) is not a proof of A = B. Produce the shared members.

⚡ Quick Check Flashcards3 questions

Work these on paper with the answers hidden. Compare your steps with the printed working.

Question 1
Are {1, 4, 9} and {9, 1, 4} equal?
Try answering before revealing!
Question 2
Are {1, 4, 9} and {2, 5, 8} equal?
Try answering before revealing!
Question 3
Can two infinite sets be equal?
Try answering before revealing!

Exercise 1.2 — Size and equality

160 words · 1 min read
⚡ Quick Check Flashcards5 questions

Try each question before reading its solution. Give a reason as well as a final value.

Question 1
Classify {x∈N:x2=2}\{x\in\mathbb N:x^2=2\} as empty, finite nonempty, or infinite.
Try answering before revealing!
Question 2
Are {2, 3} and {3, 2, 2} equal? Give the reason.
Try answering before revealing!
Question 3
Is the set of real numbers between −2 and 2 finite?
Try answering before revealing!
Question 4
Find n({0,0,1,1,2})n(\{0,0,1,1,2\}).
Try answering before revealing!
Question 5
Two finite sets each have 5 elements. Must they be equal?
Try answering before revealing!

1.6 Subsets and Intervals

946 words · 4 min read

A⊆BA\subseteq B 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 5∈A5\in A from {5}⊆A\{5\}\subseteq A. The first compares an object with a set. The second compares two sets.

AB1, 53, 7A is a subset of B
How to read the figure: start inside the small oval. Those points must also lie in the large oval. A point in B only is allowed. A point in A but not B would break the subset rule.

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 A⊆BA \subseteq B. The figure has no such point.

On the real line, special subsets are called intervals. Brackets tell you about the ends.

-10123456(1, 4) open at both ends-10123456[1, 4] closed at both ends-10123456[1, 4) left in, right out-10123456(1, 4] left out, right in
How to read the figure: a filled disc means the endpoint belongs. A hollow disc means it does not. Walk along each bar and ask whether 1 and 4 sit on the bar.

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.

IntervalConditionEndpoints
(a,b)(a,b)a<x<ba<x<bNeither included
[a,b][a,b]a≤x≤ba\le x\le bBoth included
[a,b)[a,b)a≤x<ba\le x<bLeft included
(a,b](a,b]a<x≤ba<x\le bRight 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 P(A)\mathcal P(A) is the set of all subsets of A, including ∅ and A itself.

{ }{p}{q}{p, q}Four subsets: empty, singles, full set
How to read the figure: each member is either taken or left. Two choices for p and two for q give four boxes. Count the boxes: empty, two singles, and the full set.

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 2n2^n subsets. Each element has two options: in or out.

Size kHow many subsets of that sizeFor a 3-element set
01only the empty set
13the three single-member sets
23the three two-member sets
31the set itself
total8all subsets, which is 2³

Check the total: 1+3+3+1=81+3+3+1=8. That is 232^3.

An n-element set has a power-of-two number of subsets. Count them by size if you need a list, not a leap.

Why it matters: choosing a subset is the same as answering yes or no for each member. That is why the count is a power of 2.

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 (nk)\binom nk.

Size 0: (30)=1\binom30=1. The only subset is ∅.

Size 1: (31)=3\binom31=3. The subsets are {1}\{1\}, {2}\{2\}, {3}\{3\}.

Size 2: (32)=3\binom32=3. The subsets are {1,2}\{1,2\}, {1,3}\{1,3\}, {2,3}\{2,3\}.

Size 3: (33)=1\binom33=1. The subset is {1,2,3}\{1,2,3\}.

Add: 1+3=41+3=4.

Then 4+3=74+3=7.

Then 7+1=87+1=8.

Check. 23=82^3=8. The listed boxes match that count.

Result: P({1,2,3})\mathcal P(\{1,2,3\}) has 8 members, listed by size above.

Goal. Write −1<x≤6-1<x\le 6 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: (−1,6](-1,6].

To test A ⊆ B, take a typical member of A and ask whether it must sit in B. Do not start from B.
Do not write 5 ⊆ A. Membership uses ∈. Subset uses ⊆ between two sets.

⚡ Quick Check Flashcards4 questions

Try each question yourself before reading the answers. Show the rule and every arithmetic step.

Question 1
How many subsets does a four-element set have?
Try answering before revealing!
Question 2
How many proper subsets does a three-element set have?
Try answering before revealing!
Question 3
Write {x∈R:−3≤x<4}\{x\in\mathbb R:-3\le x<4\} as an interval.
Try answering before revealing!
Question 4
How many 2-member subsets does a 4-element set have?
Try answering before revealing!

1.7 Universal Set

447 words · 2 min read

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.

UA1, 3, 5, 724, 68
How to read the figure: everything you are allowed to talk about sits in the rectangle. Set A is only the oval. Points in the rectangle but not the oval are outside A, yet still in U.

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 A⊆UA\subseteq U. Also A∪U=UA\cup U=U and A∩U=AA\cap U=A.

Different problems may use different universes. Never reuse a complement from a changed U.

Why it matters: “not in A” secretly means “in U, and not in A”. Missing U is the usual error.

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.

Write one sentence: “In this problem, U is …”. Then complements make sense.
Do not take a complement before U is named. The outside region is part of U, not the whole plane.

⚡ Quick Check Flashcards3 questions

Cover the answers. Try each question on paper first. If an answer differs, find the step that split.

Question 1
A test uses the letters a to e. What is a sensible U?
Try answering before revealing!
Question 2
If U={1,2,3,4,5}U=\{1,2,3,4,5\} and A={2,5}A=\{2,5\}, which numbers are in U but not in A?
Try answering before revealing!
Question 3
Why is A∩U=AA\cap U=A always true when A⊆UA\subseteq U?
Try answering before revealing!

Exercise 1.3 — Subsets

122 words · 1 min read
⚡ Quick Check Flashcards5 questions

Try each question before reading its solution. Give a reason as well as a final value.

Question 1
List all subsets of {a, b}.
Try answering before revealing!
Question 2
Write {x∈R:−3≤x<4}\{x\in\mathbb R:-3\le x<4\} as an interval.
Try answering before revealing!
Question 3
A set has four elements. How many proper subsets does it have?
Try answering before revealing!
Question 4
Is {1,2}⊆{1,2,3}\{1,2\}\subseteq\{1,2,3\}? Is 1⊆{1,2,3}1\subseteq\{1,2,3\}?
Try answering before revealing!
Question 5
How many subsets of {w, x, y, z} contain w?
Try answering before revealing!

1.8 Venn Diagrams

429 words · 2 min read

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.

UAB13999 outsideOverlap first, then only-A, only-B, then outside
How to read the figure: start in the overlap. That 9 is part of both totals. Then read each only-one region. Last, read the outside 9: those objects sit in U but in neither oval.

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 22−9=1322-9=13.

B has 18 members in total, so the only-B region is 18−9=918-9=9.

At least one of A or B: 22+18−9=3122+18-9=31. The overlap is counted once, not twice.

U has 40 objects, so outside both: 40−31=940-31=9.

Fill the overlap first. Then the only-one regions, then the outside.

This is the inclusion rule n(A∪B)=n(A)+n(B)−n(A∩B)n(A\cup B)=n(A)+n(B)-n(A\cap B) for finite sets.

Why it matters: a word problem is a Venn count in disguise. Translate “both”, “only”, and “neither” onto the regions.

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: 22−9=1322-9=13.

Bluetooth only: 18−9=918-9=9.

At least one: 22+18=4022+18=40. Then 40−9=3140-9=31.

Neither: 40−31=940-31=9.

Check. Add the four regions: 13+9+9+913+9+9+9.

13+9=2213+9=22. Then 22+9=3122+9=31. Then 31+9=4031+9=40.

The four regions add to 40, which is n(U).

Result: wifi only 13, bluetooth only 9, both 9, neither 9.

“Both” is the overlap. “Only A” is A minus the overlap. “Neither” is U minus the union.
Do not add the two totals and stop. The overlap sits in both totals and must be subtracted once.

⚡ Quick Check Flashcards3 questions

Work these on paper with the answers hidden. Compare your steps with the printed working.

Question 1
In a group of 50, 28 join club M, 21 join club S, and 11 join both. How many join at least one?
Try answering before revealing!
Question 2
In that same group, how many join neither club?
Try answering before revealing!
Question 3
How many join club M only?
Try answering before revealing!

1.9 Operations on Sets

999 words · 5 min read

The union A∪BA\cup B contains elements in A or in B or in both.

The intersection A∩BA\cap B contains elements in both A and B.

The difference A∖BA\setminus B contains elements in A that are not in B.

unionA or BintersectionA and BdifferenceA minus B
How to read the figure: union is everything in at least one oval. Intersection is only the shared part. Difference is the left oval after the shared part is cut away.

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 A={1,3,5,7}A=\{1,3,5,7\} and B={3,6,7}B=\{3,6,7\}:

A∪B={1,3,5,7,6}A\cup B=\{1,3,5,7,6\}.

A∩B={3,7}A\cap B=\{3,7\}.

A∖B={1,5}A\setminus B=\{1,5\}.

B∖A={6}B\setminus A=\{6\}. Difference swapped the sets, so the answer changed.

UAB2, 4, 61, 5∅Disjoint: overlap empty
How to read the figure: no shared region means the intersection is empty. The ovals can still both sit inside U. Disjoint does not mean they fill U.

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, n(A∪B)=n(A)+n(B)n(A\cup B)=n(A)+n(B) because nothing is counted twice.

Union and intersection are commutative and associative. Difference is not commutative.

Intersection distributes over union: A∩(B∪C)=(A∩B)∪(A∩C)A\cap(B\cup C)=(A\cap B)\cup(A\cap C).

second set →1234(1, 3)(1, 4)(2, 3)(2, 4)
How to read the figure: each row member pairs with each column member. Order inside a pair matters: (1,3) is not (3,1). Count the cells: two times two is four pairs.

Look at the grid. Each member of {1, 2} is paired with each member of {3, 4}.

The Cartesian product A×BA\times B is the set of ordered pairs (a,b)(a,b) with a∈Aa\in A and b∈Bb\in B.

Here G×H={(1,3),(1,4),(2,3),(2,4)}G\times H=\{(1,3),(1,4),(2,3),(2,4)\}. The count is 2⋅2=42\cdot 2=4.

Union is at least one. Intersection is both. Difference is the first only.

Why it matters: word problems say “or”, “and”, and “but not”. Those three English words are union, intersection and difference.

Goal. For P={2,4,6}P=\{2,4,6\} and R={4,5}R=\{4,5\}, find the union, intersection and P∖RP\setminus R.

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 {2,4,6,5}\{2,4,6,5\}. Intersection {4}\{4\}. Difference {2,6}\{2,6\}.

Check. Intersection should sit inside both original sets. 4 does. Difference should sit inside P only. 2 and 6 do.

Result: P∪R={2,4,6,5}P\cup R=\{2,4,6,5\}, P∩R={4}P\cap R=\{4\}, P∖R={2,6}P\setminus R=\{2,6\}.

Goal. Find [0,5)∩(3,8][0,5)\cap(3,8] and [0,5)∪(3,8][0,5)\cup(3,8].

012345678[0, 5)012345678(3, 8]012345678intersection (3, 5)union [0, 8]
How to read the figure: a point is in the intersection only if it sits on both of the first two bars. A point is in the union if it sits on at least one of those bars. Check 3, 5 and 8 one at a time.

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 (3,5)(3,5); union [0,8][0,8].

For finite sets, list members in a two-column scan: in A?, in B?. The four yes/no patterns are the four Venn regions.
Difference is not commutative. A∖BA\setminus B and B∖AB\setminus A are different unless A = B.

⚡ Quick Check Flashcards4 questions

Try each question yourself before reading the answers. Show the rule and every arithmetic step.

Question 1
For D={1,2,3,4}D=\{1,2,3,4\} and F={3,4,5}F=\{3,4,5\}, find D∪FD\cup F and D∩FD\cap F.
Try answering before revealing!
Question 2
If disjoint finite sets have 8 and 11 elements, how many are in their union?
Try answering before revealing!
Question 3
Find [−2,4]∩(1,6)[-2,4]\cap(1,6).
Try answering before revealing!
Question 4
How many ordered pairs are in {a,b,c}×{1,2}\{a,b,c\}\times\{1,2\}?
Try answering before revealing!

Exercise 1.4 — Operations

182 words · 1 min read
⚡ Quick Check Flashcards6 questions

Try each question before reading its solution. Give a reason as well as a final value.

Question 1
For D={1,2,3,4}D=\{1,2,3,4\} and F={3,4,5}F=\{3,4,5\}, find D∖FD\setminus F.
Try answering before revealing!
Question 2
Two clubs have 32 and 20 members, and 8 belong to both. Count the members of at least one.
Try answering before revealing!
Question 3
Explain why A∩(A∪B)=AA\cap(A\cup B)=A.
Try answering before revealing!
Question 4
Find [0,5)∪(3,8][0,5)\cup(3,8].
Try answering before revealing!
Question 5
If A={1,2}A=\{1,2\} and B={2,3}B=\{2,3\}, write A×BA\times B as a roster of pairs.
Try answering before revealing!
Question 6
Two finite disjoint sets have 5 and 0 elements. What is n of the union?
Try answering before revealing!

1.10 Complement of a Set

530 words · 2 min read

The complement AcA^c is U∖AU\setminus A: the members of U that are not in A.

Complements depend on the chosen universe. Change U and you change Aᶜ.

A1, 3, 5, 7U24, 68A'
How to read the figure: the complement is the shaded part of U, not the whole plane outside the page. If U changed, the shaded region would change too.

Look at the shaded region. That is Aᶜ. It is part of the rectangle, not the rest of the page.

With U={1,2,3,4,5,6,7,8}U=\{1,2,3,4,5,6,7,8\} and A={1,3,5,7}A=\{1,3,5,7\}, the complement is {2,4,6,8}\{2,4,6,8\}.

Check by the kit difference: U∖A={2,4,6,8}U\setminus A=\{2,4,6,8\}.

The identities A∪Ac=UA\cup A^c=U, A∩Ac=∅A\cap A^c=\varnothing, and (Ac)c=A(A^c)^c=A follow from membership.

Here A∪AcA\cup A^c has 8 members, matching n(U)=8n(U)=8. The intersection A∩AcA\cap A^c has 0 members.

De Morgan’s laws say (A∪B)c=Ac∩Bc(A\cup B)^c=A^c\cap B^c and (A∩B)c=Ac∪Bc(A\cap B)^c=A^c\cup B^c.

“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.

Why it matters: “not both” and “neither” are complement sentences. De Morgan turns them into unions and intersections you can count.

Goal. If U={1,2,3,4,5}U=\{1,2,3,4,5\} and A={2,5}A=\{2,5\}, find AcA^c.

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: Ac={1,3,4}A^c=\{1,3,4\}.

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 n(A∪B)=n(A)+n(B)−n(A∩B)n(A\cup B)=n(A)+n(B)-n(A\cap B), then subtract from n(U).

Substitution. 30+22=5230+22=52.

Then 52−10=4252-10=42. That is n of the union.

Neither: 48−42=648-42=6.

Check. Photo only 30−10=2030-10=20. Notes only 22−10=1222-10=12.

Add four regions: 20+10+12+6=4820+10+12+6=48.

The regions add to 48.

Result: 6 accounts store neither.

To test De Morgan on a small U, list both sides as rosters. Membership is easier than algebra.
Aᶜ is not “everything that is not A in the world”. It is U minus A only.

⚡ Quick Check Flashcards4 questions

Cover the answers. Try each question on paper first. If an answer differs, find the step that split.

Question 1
Among 45 devices, 29 have an update installed. How many do not?
Try answering before revealing!
Question 2
Simplify A∩UA\cap U and A∪∅A\cup\varnothing.
Try answering before revealing!
Question 3
Write “not both A and B” using complements.
Try answering before revealing!
Question 4
If U={1,2,3,4,5,6,7,8}U=\{1,2,3,4,5,6,7,8\} and B={3,6,7}B=\{3,6,7\}, find BcB^c.
Try answering before revealing!

Exercise 1.5 — Complements

145 words · 1 min read
⚡ Quick Check Flashcards5 questions

Try each question before reading its solution. Give a reason as well as a final value.

Question 1
Among 50 devices, 32 have an update installed. How many do not?
Try answering before revealing!
Question 2
Simplify A∪UA\cup U and A∩∅A\cap\varnothing.
Try answering before revealing!
Question 3
Explain why the complement of an intersection can contain elements of A.
Try answering before revealing!
Question 4
If U={1,2,3,4,5,6}U=\{1,2,3,4,5,6\} and A={1,2,3}A=\{1,2,3\}, find AcA^c and then (Ac)c(A^c)^c.
Try answering before revealing!
Question 5
In a group of 36, 19 use a planner, 16 use reminders, and 7 use both. How many use neither?
Try answering before revealing!

Miscellaneous Exercise — Chapter 1

291 words · 1 min read
⚡ Quick Check Flashcards10 questions

Try each question before reading its solution. Give a reason as well as a final value.

Question 1
In a group of 60, 35 read articles, 28 listen to lessons and 12 do both. Find the number doing neither.
Try answering before revealing!
Question 2
A set has five elements. How many subsets contain one specified element?
Try answering before revealing!
Question 3
Find [0,5)∩(3,8][0,5)\cap(3,8] and [0,5)∪(3,8][0,5)\cup(3,8].
Try answering before revealing!
Question 4
Why is equality proved by two subset inclusions?
Try answering before revealing!
Question 5
For A={1,3,5,7}A=\{1,3,5,7\} and B={3,6,7}B=\{3,6,7\}, find A∖BA\setminus B and B∖AB\setminus A.
Try answering before revealing!
Question 6
List P({0,1})\mathcal P(\{0,1\}) and confirm the count.
Try answering before revealing!
Question 7
Find (−2,4]∪[4,6)(-2,4]\cup[4,6).
Try answering before revealing!
Question 8
If n(A)=12n(A)=12, n(B)=9n(B)=9 and n(A∩B)=4n(A\cap B)=4, find n(A∪B)n(A\cup B).
Try answering before revealing!
Question 9
Translate: the set of whole numbers whose square is less than 20, as a roster.
Try answering before revealing!
Question 10
A set U has 10 members and A has 6. Find n(Ac)n(A^c).
Try answering before revealing!

Summary and Historical Note

362 words · 2 min read
  • 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.
unionintersectdifferencecomplementAlways start with a universe and a membership test.
How to read the figure: every later operation still uses membership. Union asks at least one. Intersection asks both. Difference asks the first only. Complement asks not in A, inside U.

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).

Why it matters: every later “domain”, “event” and “interval” is a set with a membership test.
When stuck, write the membership sentence in words: “x is in … because …”. Then translate the sentence into symbols.
Never skip U. A complement, a neither-count, and a Venn outside region all need the rectangle first.
Up next
Continue to the next chapter