Set Theory

Sets describe collections through precise membership rules. Roster notation lists distinct elements; intersection keeps shared elements, while union combines all elements without duplicates. Venn diagrams show these relationships, complements identify what a stated universe contains outside a set, and subset tests check whether every member of one set belongs to another.

Course cover for Set Theory

Welcome to the Smoothie Bar

The Smoothie Bar's Mango Paradise contains mango, pineapple, orange, and ice. These ingredients form a clearly defined collection. We can name this collection set A and write A = {mango, pineapple, orange, ice}

A set is a well-defined collection of distinct objects. Its objects may be numbers, words, symbols, or other clearly identified items. Each object in a set is called an element. For $$B = \{1, 2, 3\}$$, the statement 1 ∈ B means that 1 belongs to B, while 4 ∉ B means that 4 does not belong to B

Well-defined means that membership can be decided exactly, without depending on personal opinion. The positive integers less than 5 form the set $$\{1, 2, 3, 4\}$$: any number can be checked against that rule. In contrast, “beautiful numbers” is not a well-defined description because people may disagree about which numbers are beautiful

In roster notation, the elements are listed inside curly braces. Each distinct element is normally listed once. Repeating an entry does not change the set, so $$\{2, 4, 4, 6\}$$ represents the same set as $$\{2, 4, 6\}$$; the roster without repeated entries is preferred

Order does not matter. Reversing the ingredient list leaves set A unchanged: {mango, pineapple, orange, ice} = {ice, orange, pineapple, mango}

The learning tasks in this guide are to write finite sets in roster notation, compute intersections and unions, recognize empty intersections and disjoint sets, interpret Venn diagram regions, find complements within a stated universe, and test subset claims element by element

Sets and Roster Notation

From a description to a roster

To translate a description into roster form, check candidates against every condition, list all qualifying elements, and verify that nothing is missing or repeated

Let D be the set of positive odd numbers less than 8. The numbers 1, 3, 5, and 7 satisfy the description. The next positive odd number, 9, is too large. Therefore, $$D = \{1, 3, 5, 7\}$$, which has four elements

Let E be the set of positive multiples of 3 less than 13. Counting the positive multiples gives 3, 6, 9, and 12 before reaching the bound. Therefore, $$E = \{3, 6, 9, 12\}$$. This set also has four elements, with no omissions or repetitions

F is the set of even numbers greater than 1 and less than 9. Which roster is F?

A

$$F = \{3, 5, 7\}$$

B

$$F = \{2, 4, 6, 8\}$$

C

$$F = \{2, 4, 6, 8, 10\}$$

Intersection and Union

For the next examples, the letters A and B name two new ingredient sets. Mango Sunrise has A = {mango, banana, ice, honey, lime}. Berry Blast has B = {berry, banana, yogurt, honey}. We will find both their shared ingredients and the complete collection of distinct ingredients needed for the two drinks

Intersection: what both sets share

The intersection A ∩ B contains only elements that belong to both A and B. Its membership rule is x ∈ A ∩ B if and only if x ∈ A and x ∈ B. Think of requiring two tickets: one from each set. Membership in just one set is not enough

Which ingredients appear in both recipes? Compare A's elements with B. Mango appears only in A, so exclude it. Banana appears in both, so include it. Ice appears only in A. Honey appears in both, so include it too. Lime appears only in A, while berry and yogurt appear only in B. Therefore, A ∩ B = {banana, honey}: exactly two ingredients are shared

Union: everything combined

The union A ∪ B contains every distinct element that belongs to A, to B, or to both. Its membership rule is x ∈ A ∪ B if and only if x ∈ A or x ∈ B. Here “or” includes membership in both sets. Identical elements count only once

Which distinct ingredients must the stand stock to make one of each drink? Start with all of A: mango, banana, ice, honey, and lime. Then check B. Berry is new, so add it. Banana is already listed, so do not add another entry. Yogurt is new, so add it. Honey is already listed too; a second written honey would not create a new element and should be removed

Thus A ∪ B = {mango, banana, ice, honey, lime, berry, yogurt}. The stand needs seven distinct ingredients for the two recipes

Union and intersection with numbers

Given $$X = \{5, 10, 15, 20, 25\}$$ and $$Y = \{6, 10, 14, 20\}$$, find X ∩ Y and X ∪ Y. The values 10 and 20 occur in both sets, and no other values match. Therefore, $$X \cap Y = \{10, 20\}$$

For the union, collect all values and list them in increasing order to help avoid omissions and repetitions: $$X \cup Y = \{5, 6, 10, 14, 15, 20, 25\}$$. There are seven distinct values. The shared values 10 and 20 each appear only once. Increasing order is a useful checking method, not a requirement for set equality

Practice 2: find both results

Given $$M = \{3, 6, 9, 12\}$$ and $$N = \{4, 6, 8, 12\}$$, find M ∩ N and M ∪ N. The shared values are 6 and 12, so $$M \cap N = \{6, 12\}$$. Combining every distinct value gives $$M \cup N = \{3, 4, 6, 8, 9, 12\}$$

The original result choices were $$\{6, 12\}$$, $$\{12\}$$, $$\{3, 9\}$$, $$\{3, 4, 6, 8, 9, 12\}$$, $$\{3, 4, 6, 8, 9, 12, 15\}$$, and $$\{3, 4, 8, 9\}$$. Use the shared-only rule for the intersection and the everything-once rule for the union. In particular, 15 belongs to neither M nor N and cannot be included in their union

The Empty Set and Disjoint Sets

Let $$G = \{11, 13, 15\}$$, the odd numbers between 10 and 16, and $$H = \{12, 14, 16\}$$, the even numbers between 11 and 17. What happens when these sets share nothing? Checking G against H gives no matches: 11, 13, and 15 are all absent from H

A set with no elements is called the empty set. It can be written as $$\{\}$$ or ∅. Therefore, $$G \cap H = \{\}$$ = ∅. Sets whose intersection is empty are called disjoint sets

Disjoint sets still have a union. Combining the two rosters gives $$G \cup H = \{11, 12, 13, 14, 15, 16\}$$, with all six numbers listed once

A = positive factors of 15, B = positive even numbers less than 7. True or false: A ∩ B = ∅

A

True - A and B are disjoint

B

False - they share an element

Venn Diagrams

A Venn diagram represents set membership with regions. For $$X = \{5, 10, 15, 20, 25\}$$ and $$Y = \{6, 10, 14, 20\}$$, use two overlapping circles labeled X and Y. Elements that belong to both sets appear once in the overlap

To build the diagram, begin with X's five elements. When the overlapping Y circle is included, 10 and 20 belong in the shared region. The values 5, 15, and 25 belong in the X-only region, and 6 and 14 belong in the Y-only region. Counting the overlap as part of each set verifies that X has five elements and Y has four

Venn Diagrams: Set X Set Y 5 10 15 20 25 6 14

The intersection is represented by only the overlap: $$X \cap Y = \{10, 20\}$$. The union is represented by the complete interiors of both circles, including the overlap: $$X \cup Y = \{5, 6, 10, 14, 15, 20, 25\}$$. The union contains seven distinct values

In the following practice diagram, 1 and 21 are in the R-only region, 7 is in the overlap, and 2 and 12 are in the T-only region. The remaining number is 14. Its correct region depends on checking both rosters, not just one

$$R = \{1, 7, 14, 21\}$$, $$T = \{2, 7, 12, 14\}$$. Tap the region where 14 belongs

A

R only

B

Overlap

C

T only

D

Outside both

Universal Set and Complement

The universal set, written U, is the larger collection under consideration in a problem. In a Venn diagram it is represented by a rectangle, with each set circle completely inside it

Once U is stated, the complement of a set consists of the elements of U that are not in that set. In a diagram, it is the region inside the universe's rectangle but outside the set's circle

Universal Set and Complement: inside U, outside the set Universe U

Finding a complement

Let U be the counting numbers from 1 through 10: $$U = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\}$$. Let A be the factors of 10, so $$A = \{1, 2, 5, 10\}$$. Find the complement of A in U

The four numbers 1, 2, 5, and 10 belong inside circle A. Every other member of U belongs inside the rectangle but outside A: 3, 4, 6, 7, 8, and 9. Therefore, the complement of A in U is $$\{3, 4, 6, 7, 8, 9\}$$. The count checks: four elements inside A plus six outside A account for all ten elements of U

Universal Set and Complement: Universe U A 1 2 5 10 3 4 6 7 8 9
Universal Set and Complement: U: integers A: positive negative integers and 0 !

The same membership rule works for an infinite universe. If U is all integers and A is the positive integers, the complement consists of the negative integers and zero. Zero must not be omitted

$$U = \{2, 4, 6, 8, 10, 12\}$$, $$A = \{4, 8, 12\}$$. What is the complement of A in U?

A

$$\{2, 6, 10\}$$

B

$$\{2, 6\}$$

C

$$\{4, 8, 12\}$$

Subsets

B ⊆ A means “B is a subset of A”: every element of B is also an element of A. To test the claim, check every member of B against A. Even one member of B missing from A makes the claim false

Let A be the nonnegative even integers, $$A = \{0, 2, 4, 6, 8, ...\}$$, and B be the positive multiples of 4, $$B = \{4, 8, 12, 16, ...\}$$. Every positive multiple of 4 is a nonnegative even integer. In particular, 4, 8, and 12 each satisfy A's rule. Therefore, B ⊆ A

In a Venn diagram, circle B sits completely inside circle A. A can have elements outside B, such as 0, 2, 6, and 10. These are nonnegative even integers that are not positive multiples of 4. Extra elements in A do not prevent B from being a subset

Subsets: Set A Set B 4, 8, 12, 16, ... 0, 2, 6, 10, ... even, not multiples of 4

Practice 6: test each subset claim

For each pair of sets, decide whether B ⊆ A. If $$A = \{1, 2, 3, 4, 5\}$$ and $$B = \{2, 5\}$$, the claim is true: both 2 and 5 appear in A

If $$A = \{1, 3, 5\}$$ and $$B = \{3, 7\}$$, B is not a subset of A. Although 3 belongs to A, 7 does not. One missing element is enough to make the claim false

If $$A = \{2, 4, 6, 8\}$$ and $$B = \{2, 4, 6, 8\}$$, the claim B ⊆ A is true. Every element of B belongs to A. Equality is allowed by the subset relation

Summary

Sets and rosters: a set is a well-defined collection of distinct objects. Write its elements inside curly braces. Order does not matter, and repeated entries do not change the set. The notation x ∈ A means that x is an element of A

Intersection and union: A ∩ B keeps only elements in both sets, represented by the overlap in a Venn diagram. A ∪ B keeps every distinct element from either set, represented by the complete interiors of both circles, including the overlap

Empty set: ∅ = $$\{\}$$ has no elements. If two sets share nothing, their intersection is empty and the sets are disjoint

Complement: within a stated universal set U, the complement contains everything in U that is outside the chosen set. Its diagram region is inside the universe's rectangle but outside the set's circle

Subset: B ⊆ A means that every element of B belongs to A. A nested-circle diagram represents B completely inside A. Check B's elements one by one; equal sets also satisfy the subset relation

Quiz

Quiz 1: identify a subset

Which set is a subset of $$A = \{2, 4, 6, 8\}$$?

A

$$\{2, 5\}$$

B

$$\{2, 6\}$$

C

$$\{4, 8, 10\}$$

Quiz 2: classify membership

$$G = \{1, 4, 9, 16\}$$, the perfect squares up to 16, and $$H = \{2, 4, 8, 16\}$$, the powers of 2 up to 16. Classify each of the numbers 9, 4, and 8 as only in G, in both G and H, or only in H

Answer: 9 belongs only to G; 4 belongs to both G and H; 8 belongs only to H. Test each number against both rosters. Checking just one list can miss a shared membership

Quiz 3: match operations to results

Given $$U = \{1, 2, 3, 4, 5, 6, 7, 8\}$$, $$A = \{1, 2, 4, 8\}$$, and $$B = \{2, 4, 6, 8\}$$, match A ∩ B, A ∪ B, and the complement of A in U to their results. The original result choices are $$\{3, 5, 6, 7\}$$, $$\{2, 4, 8\}$$, $$\{1, 2, 4, 8\}$$, and $$\{1, 2, 4, 6, 8\}$$; one choice is unused

$$A \cap B = \{2, 4, 8\}$$, because intersection keeps only the shared elements. $$A \cup B = \{1, 2, 4, 6, 8\}$$, because union includes everything from either set once. The complement of A in U is $$\{3, 5, 6, 7\}$$, because these are the members of U outside A. The unused choice $$\{1, 2, 4, 8\}$$ is A itself

Continue with the interactive lesson