Math 1070Q - Introduction to Sets
Introduction to Sets - Math 1070Q
Chapter 4: Sets and Probability Overview
- This chapter is divided into two main parts:
- The language of sets (Sections 4.1-4.3)
- Probability (Sections 4.4-4.7)
A Silly Example: Misinterpretation of Facts
- Consider two statements from the same fact:
- "My Math 1070 class is online asynchronous."
- "I don’t need to be present for my Math 1070 class."
- While both stem from the same underlying fact, the second statement is misleading.
- This illustrates Ronald Coase's quote: "If you torture the data long enough, it will confess," highlighting how data can be manipulated to support a desired conclusion.
Introduction to Sets: A Puzzle
- Scenario: students at UConn, with preferences for fast food:
- like Burger King (BK)
- like Chick-fil-A (CFA)
- like McDonald's (McD)
- like both BK and CFA
- like both BK and McD
- like both CFA and McD
- like all three
- Initial Observation: Summing the individual preferences () yields a total greater than the students, which seems absurd.
- Explanation: This apparent absurdity arises because students who like multiple brands are counted multiple times in the individual sums (a redundancy).
- Puzzle Question: How many students only like Burger King but not the other two?
- Solution: The number of students who only like Burger King is calculated as students. (This type of problem is typically solved using Venn diagrams, which are covered in Section 4.2).
Sets: Definition and Examples
- Definition: A set is a collection of distinct items. These items are called members or elements of the set.
- A set is fundamentally defined by its elements, which can be either listed explicitly or described by a property.
- Example 1: Colors on the USA flag
- This set has elements: Red, White, and Blue.
- Example 2: UConn campuses
- This includes Storrs, Avery Point, Hartford, Stamford, Waterbury, Law, and Health.
- Example 3: Whole numbers (integers)
- This set has infinitely many elements:
Set Notations
- Naming Sets: Capital letters (e.g., ) are used to denote the names of sets.
- Set Roster Notation: Elements are explicitly listed within curly brackets.
- Example: is the set of colors of the USA flag.
- Set Builder Notation: Elements are described by a variable and a property, using the syntax .
- The vertical bar () is read as "such that."
- Example: reads as "the set of variables such that is a color of the USA flag."
- Assigning Names: The equals sign () is used to assign a name to a set.
- Example: reads as " is the set of elements such that is a color on the USA flag."
Key Properties of Sets
- Sets are defined solely by their elements.
- The order in which elements are listed does not matter.
- Repetition of elements does not matter (each element is considered only once).
- Example: If and , then and represent the same set. This is denoted as , meaning the two sets have the exact same elements.
- Repetition: is considered the same set as .
Set Membership Notations
- : Means "element is in set " or "element is an element of set ".
- : Means "set contains element " (equivalent to ).
- : Means "element is not in set " or "element is not an element of set ".
- : Means "set does not contain element " (equivalent to ).
- Examples:
- Important Distinction: Be careful not to confuse an element with a set containing that element.
- is an element.
- is a set containing one element, which is .
- What is true: .
Subsets
- Definition 1 (Subset): If all elements of a set are also in a set , then is said to be a subset of . This is denoted by or, equivalently, (read as " contains as a subset").
- Example: If is the set of all colors and , then .
- Definition 2 (Not a Subset): If there is at least one element of set that is not an element of set , then is not a subset of . This is denoted by .
- Example: If is the set of all numbers and , then .
- Crucial Distinction: Do not confuse with .
- means the set itself is an element of the set . (It is possible for a set to contain other sets as its elements).
- means all individual elements of are also individual elements of .
Proper Subsets
- Definition: If is a subset of () but is not a subset of (), meaning contains all elements of plus at least one additional element not found in , then is said to be a proper subset of . This is denoted by
- Note: Do not confuse with .
- Self-Subset Property: Every set is a subset of itself (), but no set is a proper subset of itself ().
Two Special Sets
- Empty Set (Null Set):
- Definition: The set of no elements.
- Notation: Denoted by or .
- Property: The empty set is a subset of every set ( for any set ).
- Universal Set:
- Definition: The set that contains all elements within a specific scope or context.
- Notation: Denoted by (often a cursive U).
- Example: In the context of UConn's people, would contain all students and staff at UConn.
- Importance of Scope: The concept of a universal set is always defined within a specific scope. The "set of everything" is not a valid set, as demonstrated by Russell's Paradox, which highlights logical contradictions that arise if one attempts to define a set without a clear scope.
Worked Example: Set
Let's analyze the properties of set :
- True or False: ?
- Answer: True. is directly listed as an element of .
- True or False: ?
- Answer: True. Since is an element of , the set containing only the element () is a subset of .
- True or False: ?
- Answer: True. The item (which is itself a set) is directly listed as one of the three elements of .
- True or False: ?
- Answer: False. The element is in , but the set is not listed as an element within . The true statements regarding are and .
- How many elements does have?
- Answer: Three. The elements are , , and .
- True or False: ?
- Answer: False. The empty set is not listed as an element within . However, it is always true that for any set .
- List all subsets of .
- Answer: The subsets are:
- The empty set:
- Single-element subsets: , ,
- Two-element subsets: , ,
- The set itself:
- Total: subsets.
- General Rule: If a set has elements, then it has subsets. In this case, , so subsets.
- Answer: The subsets are:
Recap of Set Notations
| Symbol | Meaning | Example | Explanation |
|---|---|---|---|
| is an element of / is in | " is an element of set " or "element is in set " | ||
| has an element | "set has as an element" | ||
| is not an element of / is not in | " is not an element of set " or "element is not in set " | ||
| does not have an element | "set does not have as an element" | ||
| is a subset of / is contained in | "set is a subset of set " or "set is contained in set " | ||
| contains (as a subset) | "set contains set as a subset" | ||
| is not a subset of / is not contained in | "set is not a subset of set " or "set is not contained in set " | ||
| is a proper subset of | "set is a proper subset of set " or "set is a subset of but not equal to " | ||
| is equal to / have same elements | "set is equal to set " or "sets and have the same elements" |
- Equality of Sets: If and , then . This means two sets are equal if and only if they contain the exact same elements.
Venn Diagrams
- Purpose: Venn diagrams are visual tools that help us understand and illustrate relations between sets.
- Components:
- A rectangle typically represents the universal set ().
- An ellipse or circle represents an individual set (e.g., ).
- A dot or point inside a circle represents an element that belongs to that set (e.g., ).
- A dot or point outside a circle represents an element that does not belong to that set (e.g., ).
Venn Diagram of Subsets
- When , the circle representing set is drawn completely within the circle representing set . This visually shows that all elements of are also elements of .
Complement of a Set
- Definition: The complement of a set , denoted by , is the set of all elements in the universal set that are not in .
- Expressed in set builder notation: .
- Venn Diagram: The region outside the circle for set but within the universal rectangle represents .
- Example: Given and , then .
Complement Rules
- If is the universal set:
- The complement of the universal set is the empty set: .
- The complement of the empty set is the universal set: .
- Double Complement Rule: If is a subset of the universal set , then the complement of the complement of is itself: .
Union of Two Sets
- Definition: Given a universal set and two sets and , the union of and , denoted by , is the set of all elements in that are either in , or in , or in both.
- Expressed in set builder notation: .
- Note: In set theory, when we say " or ", it always means ", or , or both" (inclusive OR).
- Venn Diagram: The entire shaded region encompassing both circles and (including their overlap) represents .
Observations for Union
Intersection of Two Sets
- Definition: The intersection of two sets and , denoted by , is the set of all elements that are in both and .
- Expressed in set builder notation: .
- If an element fails to be in at least one of the sets, then is not in their intersection .
- Venn Diagram: The region where the circles for and overlap represents .
Disjoint Sets
- Definition: Two sets and are disjoint if they have no elements in common. This means their intersection is the empty set: .
- Venn Diagram: For disjoint sets, the circles representing and do not overlap.
Observations for Intersection
Worked Example: Set Operations
Let , , .
- Find .
- contains elements in but not in . So, .
- Find .
- contains elements common to both and . So, .
- Find .
- contains all elements that are in or (or both). So, .
- Find .
- First, find : Elements in but not in . So, .
- Then, : All elements in or . So, .
More Set Operations: Established Rules
- While Venn diagrams are powerful for visualization, knowing established rules (identities) regarding set operations can save time, especially on tests.
- It is crucial to understand what these rules mean, even if memorization is not strictly required.
De Morgan's Theorem
- This theorem provides rules for distributing the complement over unions and intersections:
- The complement of the intersection of two sets is the union of their complements:
- The complement of the union of two sets is the intersection of their complements:
- Proof (Demonstration for first rule using Venn Diagram):
- Start with , which is the overlap of A and B.
- is everything outside this overlap.
- is everything outside A. is everything outside B.
- is the union of everything outside A and everything outside B. This region is identical to everything outside the overlap of A and B. Thus, .
- The second statement () can be demonstrated similarly.
List of Established Rules
- Commutative Rules:
- Associative Rules:
- Distributive Rules:
- De Morgan’s Rules:
More Worked Examples
Example 1: Identify on a Venn Diagram
- Given a Venn diagram with universal set and sets .
- Step 1: Identify : This is the region where circles A and B overlap.
- Step 2: Identify : This is everything outside the overlap of A and B.
- Step 3: Identify : This is the entire circle C.
- Step 4: Identify : This is the union of the region outside and the entire region of . It visually represents all areas except the part of that is not in .
Example 2: Explain in words
- Given Definitions:
- Solution:
- Set represents UConn students who are from Connecticut.
- Its complement, , represents UConn students who are not from Connecticut.
- Set represents all UConn student-athletes.
- Therefore, the intersection is the set of UConn student-athletes who are not from Connecticut.