Professional Documents
Culture Documents
1.2 The Language of Sets
1.2 The Language of Sets
Fact
A set can be viewed, intuitively, as a collection of objects.
Fact
A set can be viewed, intuitively, as a collection of objects.
If S is a set, the notation x ∈ S means that x is an element of S.
Fact
A set can be viewed, intuitively, as a collection of objects.
If S is a set, the notation x ∈ S means that x is an element of S.
The notation x ∈
/ S means that x is not an element of S.
Fact
A set can be viewed, intuitively, as a collection of objects.
If S is a set, the notation x ∈ S means that x is an element of S.
The notation x ∈
/ S means that x is not an element of S.
A set can be specified using the set-roster notation: {1, 2, 3, 4} or
{0, 1, . . . , 100}.
Fact
A set can be viewed, intuitively, as a collection of objects.
If S is a set, the notation x ∈ S means that x is an element of S.
The notation x ∈
/ S means that x is not an element of S.
A set can be specified using the set-roster notation: {1, 2, 3, 4} or
{0, 1, . . . , 100}.
Another way to specify a set uses what is called the set-builder
notation: the set of elements x in S such that P(x) is true
{ x ∈ S | P(x)}.
Examples
Examples
Let A = {1, 3, 5}, B = {5, 1, 3}, and C = {1, 1, 5, 3, 5, 3, 3}. What are
the elements of A, B, and C? How are A, B, and C related?
Examples
Let A = {1, 3, 5}, B = {5, 1, 3}, and C = {1, 1, 5, 3, 5, 3, 3}. What are
the elements of A, B, and C? How are A, B, and C related?
Is {0} = 0?
Examples
Let A = {1, 3, 5}, B = {5, 1, 3}, and C = {1, 1, 5, 3, 5, 3, 3}. What are
the elements of A, B, and C? How are A, B, and C related?
Is {0} = 0?
How many elements are in the set {0, {0}}?
Examples
Let A = {1, 3, 5}, B = {5, 1, 3}, and C = {1, 1, 5, 3, 5, 3, 3}. What are
the elements of A, B, and C? How are A, B, and C related?
Is {0} = 0?
How many elements are in the set {0, {0}}?
For each nonnegative integer n, let Un = {n, −n}. Find U1 , U2 , and
U0 .
Fact
Certain sets of numbers are so frequently referred to that they are given
special symbolic names.
R is the set of all real numbers.
Z is the set of integers.
Q is the set of all rational numbers.
Fact
The real number line is called continuous because it is imagined to
have no holes.
Because the integers are all separated from each other, the set of
integers is called discrete.
The name discrete mathematics comes from the distinction between
continuous and discrete mathematical objects.
Example
Describe each of the following sets:
{x ∈ R | − 1 < x < 6}
{x ∈ Z | − 1 < x < 6}
{x ∈ Z+ | − 1 < x < 6}
Definition
If A and B are sets, then A is called a subset of B, written A ⊆ B, if, and
only if, every element of A is also an element of B.
Definition
If A and B are sets, then A is called a subset of B, written A ⊆ B, if, and
only if, every element of A is also an element of B.
Fact
A set A is not a subset of a set B if there is at least one element of A that
is not an element of B. We write A * B in this case.
Example
Which of the following are true statements?
1 2 ∈ {1, 2, 3}
2 {2} ∈ {1, 2, 3}
3 2 ⊆ {1, 2, 3}
4 {2} ⊆ {1, 2, 3}
5 {2} ⊆ {{1}, {2}}
6 {2} ∈ {{1}, {2}}
Definition
Definition
Given elements a and b, the symbol (a, b) denotes the ordered pair
consisting of a and b together with the specification that a is the first
element of the pair and b is the second element.
Definition
Given elements a and b, the symbol (a, b) denotes the ordered pair
consisting of a and b together with the specification that a is the first
element of the pair and b is the second element.
Two ordered pairs (a, b) and (c, d) are equal if, and only if, a = c and
b = d.
Definition
Given elements a and b, the symbol (a, b) denotes the ordered pair
consisting of a and b together with the specification that a is the first
element of the pair and b is the second element.
Two ordered pairs (a, b) and (c, d) are equal if, and only if, a = c and
b = d.
If A and B are sets, we write A × B for the set of ordered pairs (a, b)
with a ∈ A and b ∈ B.
Examples
Examples
1 Is (1, 2) = (2, 1)?
Examples
1 Is (1, 2) = (2, 1)?
√
2 Is (2, 39 ) = ( 4, 13 )?
Examples
1 Is (1, 2) = (2, 1)?
√
2 Is (2, 39 ) = ( 4, 13 )?
3 If A = {1, 2, 3} and B = {a, b, c, d}, find A × B.