Fundamentals of Set Theory

Use roster notation, intersection, union and Venn diagrams to compare sets. Find complements within a stated universe, test subsets and count ordered pairs.

Course cover for Fundamentals of Set Theory

Welcome to the Smoothie Stand

The smoothie stand uses two ingredient sets. Mango Sunrise has mango, banana, ice, honey and lime; Berry Blast has berry, banana, yogurt and honey. Set operations answer two practical questions: which ingredients do the drinks share, and how many different ingredients are needed to make both?

Sets and Roster Notation

A set is a collection of elements with a clear membership test. Name a set with a capital letter and use curly braces to write its roster. Order does not matter: {1, 3, 5} and {5, 3, 1} name the same set. Write each element only once

To translate a description into roster notation, test each candidate against every condition. The positive odd numbers less than 8 are D = {1, 3, 5, 7}; 9 is excluded because it is not less than 8. The course lists the positive multiples of 3 below 13 as E = {3, 6, 9, 12}. Each roster contains four distinct elements

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

A

F = {2, 4, 6, 8}

B

F = {3, 5, 7}

C

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

Intersection and Union

The intersection A ∩ B contains only elements that belong to both A and B. With A = {mango, banana, ice, honey, lime} and B = {berry, banana, yogurt, honey}, the shared elements are banana and honey, so A ∩ B = {banana, honey}

The union A ∪ B contains every element that belongs to either set, with duplicates removed. Copy A, then add only the new elements from B: berry and yogurt. Thus A ∪ B = {mango, banana, ice, honey, lime, berry, yogurt}, and the stand needs seven different ingredients

For X = {5, 10, 15, 20, 25} and Y = {6, 10, 14, 20}, X ∩ Y = {10, 20} and X ∪ Y = {5, 6, 10, 14, 15, 20, 25}. Listing the union in increasing order makes missing or repeated values easier to detect

For M = {3, 6, 9, 12} and N = {4, 6, 8, 12}, complete both operations. The explicit source answers are M ∩ N = {6, 12} and M ∪ N = {3, 4, 6, 8, 9, 12}. The intersection keeps both shared values; the union includes each value only once

The Empty Set and Disjoint Sets

A set with no elements is the empty set, written ∅ or {}. Two sets are disjoint when they have no elements in common, so their intersection is ∅. The notation {∅} is different: it is a set containing one element

In the course example, G = {11, 13, 15} and H = {12, 14, 16} have no shared element. G ∩ H = ∅, but G ∪ H = {11, 12, 13, 14, 15, 16}. A missing intersection does not prevent a union

A = whole-number factors of 15, B = 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

Each oval in a Venn diagram represents a set. Place 10 and 20 once in the overlap of X and Y; place 5, 15 and 25 in X only, and 6 and 14 in Y only. Each element belongs in exactly one region of this diagram

Venn diagram of X and Y: 10 and 20 are shared; 5, 15 and 25 belong only to X; 6 and 14 belong only to Y.

The overlap represents X ∩ Y. The whole interior of both ovals, including the overlap, represents X ∪ Y. Taking only the two outside portions is not the union: that would incorrectly leave out the shared elements

For R = {1, 7, 14, 21} and T = {2, 7, 12, 14}, decide where 14 belongs in the Venn diagram. The source answer is the overlap, because 14 is in both R and T

Universal Set and Complement

A universal set U states the collection under consideration and is drawn as a rectangle containing the set ovals. The complement of A in U consists of the elements of U that are not in A; a complement is therefore meaningful only after the universe is specified

The universal set contains the natural numbers from 1 to 10. The factors of 10 are inside A; the remaining six numbers are in its complement.

In the finite example, U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} and A = {1, 2, 5, 10}, the factors of 10. Its complement is {3, 4, 6, 7, 8, 9}. The four members of A and the six members outside A account for all ten members of U. If U is instead all integers and A is the positive integers, the complement contains the negative integers and zero

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 is a subset of A, written B ⊆ A, when every member of B also belongs to A. A single member of B missing from A disproves the claim. A may contain additional elements; a subset need not be a smaller set

Set B lies inside set A, showing that every member of B is also a member of A.

Every multiple of four is even, so the multiples of four form a subset of the even whole numbers in the course example. The B oval lies entirely inside A. Membership and subset notation express different relationships: 4 ∈ A concerns one element, whereas {4} ⊆ A concerns a set

Classify each claim B ⊆ A. For A = {1, 2, 3, 4, 5} and B = {2, 5}, the claim is true. For A = {1, 3, 5} and B = {3, 7}, it is false because 7 is missing from A. For A = B = {2, 4, 6, 8}, it is true: equality is allowed in the subset relationship

Cross Products

A smoothie order needs a size and a flavour. Let S = {12, 16, 20} be the sizes in ounces and F = {mango, berry} be the flavours. The Cartesian product S × F contains ordered pairs with a size first and a flavour second; the × symbol builds pairs rather than multiplying their entries

Pair every size with both flavours. The six pairs below show why |S × F| = |S| × |F| = 3 × 2 = 6. Reversing the pair reverses the roles of the entries, so order matters

Size (oz)Mango pairBerry pair
12(12, mango)(12, berry)
16(16, mango)(16, berry)
20(20, mango)(20, berry)

For P = {star, moon, sun} and C = {red, blue}, P × C = {(star, red), (star, blue), (moon, red), (moon, blue), (sun, red), (sun, blue)}. The missing pair in the source exercise is (moon, blue), and the completed product contains six pairs

Summary

Roster notation lists each member once, without regard to order. Intersection keeps shared members; union keeps members from either set once. Disjoint sets have an empty intersection. Complements depend on a stated universe, subsets test whether all members are contained, and Cartesian products build ordered pairs whose count multiplies the two set sizes

Quiz

Match operations to results for U = {1, 2, 3, 4, 5, 6, 7, 8}, A = {1, 2, 4, 8}, B = {2, 4, 6, 8}. The source matches are A ∩ B = {2, 4, 8}; A ∪ B = {1, 2, 4, 6, 8}; and the complement of A in U = {3, 5, 6, 7}

For G = {1, 4, 9, 16} and H = {2, 4, 8, 16}, classify the numbers 9, 4 and 8. The source answers are: 9 belongs only to G, 4 belongs to both G and H, and 8 belongs only to H

For Z = {S, M, L, XL, XXL} and C = {red, blue, gold, black}, the product Z × C has 5 × 4 = 20 ordered pairs. This preserves the source marker exercise as a worked check, rather than inventing multiple-choice options

Continue with the interactive lesson