Professional Documents
Culture Documents
Sets and Set Operations (40 pts) d) {a, {a}, {a, {a}}} = 3
1. List the members of these sets 4. Find the power set of each of these
sets, where a and b are distinct elements.
a) {x | x is a real number such that x 2 = 1} =
{-1;1} a) {a} =
b) {x} ⊆ {x} – TRUE – (Every set is a For each of these pairs of sets, determine
subset of itself) whether the first is a subset of the second,
the second is a subset of the first or neither
c) {x} ∈ {x} – FALSE – (A set is a subset of is a subset of the other.
itself, but is not and element of itself)
a.) The set of airline flights from New
d) {x} ∈ {{x}} – TRUE – (Here the set which York to New Delhi, the set of
has x as its only element is, in turn, the nonstop airline flights from New York
only element of the set on the right) to New Delhi
Ans: The first is a subset of the
e) ∅ ⊆ {x} – TRUE (The empty set is a second, but the second is not the
subset of every set) subset of the first.
b.) The set of people who speak
f ) ∅ ∈ {x} – FALSE (The only element of English, the set of people who speak
the set {x} is x) Chinese
Ans: Neither is a subset of the
3. What is the cardinality of each of these
other
sets?
c.) The set of flying squirrels, the set of
a) {a} = 1 living creatures that can fly
Ans: The first is subset of the
b) {{a}} = 1 second, but the second is not a
subset of the first.
c) {a, {a}} = 2
a.)The set of people who speak English, the
set of people who speak English with an
Australian Accent
Ans:
Ans:
Ans:
b.) B x A
Ans:
{(y,a), (y,b), (y,c), (y,d), (z,b), (z,c),
(z,d)}
FUNCTIONS
RELATION PROPERTIES
Six properties of relations we will study:
Reflexive
Irreflexive
Symmetric
Asymmetric
Antisymmetric
Transitive
Definition (reflexive relation) : A relation R
on a set A is called reflexive if (a,a) R for
every element a A.
Example 1:
Assume relation Rdiv ={(a b), if a |b}
on A = {1,2,3,4}
Is Rdiv reflexive?
Rdiv = {(1,1), (1,2), (1,3), (1,4), (2,2),
(2,4), (3,3), (4,4)}
Answer: Yes. (1,1), (2,2), (3,3), and
(4,4) A.
Rdiv ={(a b), if a |b} on A = {1,2,3,4}
Rdiv = {(1,1), (1,2), (1,3), (1,4), (2,2),
(2,4), (3,3), (4,4)}
A relation R is reflexive if and only if
MR has 1 in every position on its
main diagonal.
Relation Rfun on A = {1,2,3,4}
defined as:
Rfun = {(1,2),(2,2),(3,3)}.
Is Rfun reflexive?
No. It is not reflexive since (1,1)
Rfun.
Example 1:
Assume relation R≠ on A={1,2,3,4},
such that a R≠ b if and only if a ≠ b.
Is R≠ irreflexive?
R≠ = …
Assume relation R≠ on A={1,2,3,4},
such that a R≠ b if and only if a ≠ b
Is R≠ irreflexive?
R≠={(1,2),(1,3),(1,4),(2,1),(2,3),(2,4),
(3,1),(3,2),(3,4),(4,1),(4,2),(4,3)}
Answer: Yes. Because (1,1),(2,2),
(3,3) and (4,4) R≠
R≠ on A={1,2,3,4}, such that a R≠ b
if and only if a ≠ b.
R≠={(1,2),(1,3),(1,4),(2,1),(2,3),(2,4),
(3,1),(3,2),(3,4),(4,1),(4,2),(4,3)}
A relation R is irreflexive if and only
if MR has 0 in every position on its
main diagonal.
Rfun on A = {1,2,3,4} defined as:
Rfun = {(1,2),(2,2),(3,3)}.
Is Rfun irreflexive?
Answer: No. Because (2,2) and (3,3)
Rfun