Abstract
- A unordered collection of elements
- Order and duplicates don’t matter
Set Elements
- Example:
1
,2
,3
{1}
are objects in the set of Integer (整数)- It can be either a value or a set
Notations
Set-Roster Notation
- A Set may be specified by writing all of its elements between braces
- Symbol is called ellipsis and read “and so forth”
Set-Builder Notation
- The set of all
x
inU
such thatP(x)
is true
Replacement Notation
- For elements x in
A
, we apply the functiont(x)
Properties
Membership of a Set
Cardinality of a Set
- The size of the Set
Theorems
Theorem 6.2.1
Inclusion of Intersection
Inclusion in Union
Transitive Property of Subsets
Set Identities
- Very similar to Logical Equivalence
Terminologies
Set Equality
- Given Set
A
andB
. The Cardinality of a Set must be the same - First way to prove:
- Second way to prove:
Ordered Pair
Order n-tuples
n
denotes the number of Set we are multiplying- Ordered Pair is order 2-tuples, because are multiplying 2 sets
Cartesian Product
- Given Set
A
andB
, the Cartesian product is a set of Ordered Pair
- Thus
- Cartesian Product of real numbers is basically a set that contains all the possible (x,y) coordinates on the Cartesian Plane
- Depends on the number of set -
n
, the Cartesian product is a set of Order n-tuples