Lecture from: 09.10.2024 | Video: Videos ETHZ
Set Equality
Two sets are considered equal if they have exactly the same elements. The order in which elements appear within a set doesn’t matter.
-
Formal Definition: Sets and are equal, written as , if and only if every element of is also an element of , and vice versa.
-
Example:
- Set
- Set
In this case, both sets contain the same elements (1, 2, and 3), just in a different order. Therefore, .
Another way to look at this is: is a subset of and is a subset of .
The Empty Set is a Subset of All Other Sets
Think of it this way: the empty set has no elements, so it can’t possibly contain an element that another set doesn’t have.
Proof by contradiction (Lemma 3.6):
Ordered Pairs
An ordered pair is a fundamental concept that establishes a specific relationship between two elements. Unlike sets, where order doesn’t matter, ordered pairs rely on the arrangement of their components.
Definition: An ordered pair , often read as “a comma b,” consists of two elements a and b. The crucial aspect is that the element a comes first followed by b. This order defines the specific relationship represented by the pair.
Formally: is defined as the following set .
Cartesian Product
The Cartesian product is a fundamental operation that combines elements from two (or more) sets to create a new set of ordered pairs.
Formal Definition: Given two sets and , their Cartesian product, denoted by , is the set of all possible ordered pairs where belongs to set and belongs to set .
Mathematically:
Cardinality: If and , then .
Example:
- Set
- Set
Then the Cartesian product would be:
Another Example:
- Set
- Set
Then the Cartesian product would be:
Relationship
A relationship, often denoted by the Greek letter (rho), is a fundamental concept that describes connections or associations between elements within sets. Formally, a relationship is defined as a subset of the Cartesian product of two sets. This also means that is a set containing ordered pairs.
Definition: Let and be two sets. A relationship from to is a subset of the Cartesian product . Symbolically:
This means that a relationship consists of ordered pairs where belongs to set and belongs to set . Each ordered pair in represents a specific connection or association between an element from and an element from .
Power Set (Potenz Menge)
The power set of a set is the set of all possible subsets of that set, including the empty set and the set itself. Think of it as every combination you can make from the original elements.
- Symbol: We usually represent the power set of a set with the notation or .
- Cardinality: If , then .
Example 1: Empty Set Let . The power set of is: . Note that the empty set is a subset of itself.
Example 2: Set Containing the Empty Set Let . The power set of is: .
Example 3: A more typical set Let . The power set of is:
Example 4: Let . The power set of is:
Continue here: 08 Relations, Compositions and Properties