0% found this document useful (0 votes)
57 views

Homework 1

The document contains homework problems involving sets, functions, and relations. It asks the student to prove or disprove equalities involving sets, prove or disprove properties of functions, determine if statements are true or their negations are true, solve exercises involving equivalence relations, and check if given relations are equivalence relations. The student provides thorough solutions and counterexamples where needed to address each part of the homework assignment.

Uploaded by

Luis Eduardo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Homework 1

The document contains homework problems involving sets, functions, and relations. It asks the student to prove or disprove equalities involving sets, prove or disprove properties of functions, determine if statements are true or their negations are true, solve exercises involving equivalence relations, and check if given relations are equivalence relations. The student provides thorough solutions and counterexamples where needed to address each part of the homework assignment.

Uploaded by

Luis Eduardo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Homework 1

Exercise 1.1. Prove or disprove each of the following equalities for sets A, B, C, (and possibly D). Namely,
either prove that the equality always holds, or if it doesn’t always hold, clearly indicate with a counterexample
which inclusion fails (and then either prove the other inclusion holds, or give a counterexample to it holding
too).
(i) A ∩ (B r C) = (A ∩ B) r (A ∩ C)
(ii) (A × B) ∩ (C × D) = (A ∩ C) × (B ∩ D)
(iii) A r (B r C) = (A r B) ∪ (A ∩ C)
Solution.
(i) Take any x ∈ A ∩ (B r C), that is, x ∈ A and x ∈ B but x < C. Then we have x ∈ A ∩ B and x < A ∩ C
and therefore x ∈ (A ∩ B) r (A ∩ C).
Conversely, take any x ∈ (A ∩ B) r (A ∩ C), that is, x ∈ A and x ∈ B but x < A ∩ C. Because x ∈ A, the
latter implies that x < C and therefore x ∈ A ∩ (B r C). Therefore the equality holds.
(ii) Suppose (x, y) ∈ (A × B) ∩ (C × D). Then x ∈ A, x ∈ C, y ∈ B and y ∈ D. Consequently, x ∈ A ∩ C and
y ∈ B ∩ D which means (x, y) ∈ (A ∩ C) × (B ∩ D).
Conversely, if (x, y) ∈ (A ∩ C) × (B ∩ D), then x ∈ A ∩ C and y ∈ B ∩ D. This means x ∈ A and x ∈ C
while y ∈ B and y ∈ D, i. e. (x, y) ∈ A × B and (x, y) ∈ C × D. But then (x, y) ∈ (A × B) ∩ (C × D), so
the equality holds.
(iii) Suppose x ∈ A r (B r C). Then x ∈ A but x < B r C, which means x < B or x ∈ C. So we have x ∈ A
and x < B or x ∈ A and x ∈ C. Written differently, this means x ∈ (A r B) ∪ (A ∩ C).
Conversely, let x ∈ (A r B) ∪ (A ∩ C), that is, x ∈ A but x < B or x ∈ A and x ∈ C. In other words,
x ∈ A and either x < B or x ∈ C. So, x ∈ A and x < B r C as before. We conclude x ∈ A r (B r C) and
therefore the equality holds.
Exercise 1.2. Prove or disprove each of the following statements. Namely, either prove that the property
always holds, or provide an explicit example where it is false.
(i) If f : X Y and A, A0 ⊂ X , then f (A ∩ A0 ) = f (A) ∩ f (A0 ).
(ii) If f : X Y and A, A0 ⊂ X , then f (A ∪ A0 ) = f (A) ∪ f (A0 ).
(iii) If f : X Y and B, B 0 ⊂ Y , then f −1 (B ∩ B 0 ) = f −1 (B) ∩ f −1 (B 0 ).
Solution.
(i) Consider the function f : {1, 2} {3} with f (1) = f (2) = 3. Then f ({1} ∩ {2}) = f (∅) = ∅ while
f ({1}) ∩ f ({2}) = {3} , ∅. So this property does not hold in general.
(ii) Suppose x ∈ f (A ∪ A0 ). This means that x is the image of some y ∈ A ∪ A0; that is f (y) = x for some
y ∈ A ∪ A0. Now, if y ∈ A, then x = f (y) ∈ f (A), and if y ∈ A0, then x = f (y) ∈ f (A0 ). In either case
x ∈ f (A) ∪ f (A0 ). Hence, f (A ∪ A0 ) ⊂ f (A) ∪ f (A0 ).
Conversely, suppose x ∈ f (A) ∪ f (A0 ). If x ∈ f (A), then x = f (y) for some y ∈ A. If on the other hand
x ∈ f (A0 ), then x = f (y) for some y ∈ A. In either case, there is some y ∈ A ∪ A0 with x = f (y). But
this just means that x ∈ f (A ∪ A0 ). Hence, f (A) ∪ f (A0 ) ⊂ f (A ∪ A0 ) and we conclude that in fact
f (A ∪ A0 ) = f (A) ∪ f (A0 ).
(iii) Suppose that x ∈ f −1 (B ∩ B 0 ). This means that f (x ) ∈ B ∩ B 0, so f (x ) ∈ B and f (x ) ∈ B 0. But then
x ∈ f −1 (B) and x ∈ f −1 (B 0 ), i. e. x ∈ f −1 (B) ∩ f −1 (B 0 ).
Conversely, if x ∈ f −1 (B) ∩ f −1 (B 0 ), then f (x ) ∈ B and f (x ) ∈ B 0. That is, f (x ) ∈ B ∩ B 0 which means
that x ∈ f −1 (B ∩ B 0 ).
Exercise 1.3. For each of the following statements of the form “If P then Q”, write its inverse, converse, and
contrapositive statements. State which versions of the statement are true, and conclude whether P and Q are
equivalent or not.
(i) If a function f : R R is continuous at a, then it is differentiable at a.

1
(ii) If x < 0, then x 2 − x > 0.
Solution.
(i) This is false; consider the absolute value function x |x | at 0.
• The inverse is: If a function f : R R is not continuous at a, then it is not differentiable at a.
This is true.
• The converse is: If a function f : R R is differentiable at a, then it is continuous at a. This is
true.
• The contrapositive is: If a function f : R R is not differentiable at a, then it is not continuous
at a. This is false.
Consequently, this is not an equivalence.
(ii) This is true.
• The inverse is: If x ≥ 0, then x 2 − x ≤ 0. This is not true. In fact, it fails for any sufficiently large
x, say x > 1.
• The converse is: If x 2 − x > 0, then x < 0. This is false.
• The contrapositive is: If x 2 − x ≤ 0, then x ≥ 0. This is true.
Consequently, this is not an equivalence either.
Exercise 1.4. Write the negation of the following sentence (note: be careful when negating statements
involving there exists and for all!). State whether either statement and its negation are true.
(i) For every number x, there is at least one number y that e y = x. Or, more formally, “for all x ∈ R, there
exists y ∈ R such that e y = x.”
(ii) There is at least one number a in [0, 1] such that the derivative of x 3 at x = a is 0. Or, more formally,
“There exists a ∈ [0, 1] such that the derivative of x 3 at x = a is 0.”
(iii) For every function f : [0, 1] [0, 1] which is continuous and strictly increasing on [0, 1], there is a
unique function д : [0, 1] [0, 1] such that д( f (x )) = x for every x ∈ [0, 1].
Solution.
(i) The negation is: There is some number x such that for all numbers y we have e y , x. The statement is
false and its negation is true: for x < 0 there can be no y with e y = x.
(ii) The negation is: For all numbers a ∈ [0, 1] the derivative of x 3 at x = a is nonzero. The statement is
true and its negation is false: the derivative of x 3 at x = 0 is 0.
(iii) The negation is: There is a continuous and strictly increasing function f : [0, 1] [0, 1] such that
either for every function д : [0, 1] [0, 1] we have д( f (x )) , x for some x ∈ [0, 1] or there are at
least two functions д : [0, 1] [0, 1] such that д( f (x )) = x for all x ∈ [0, 1].
Consider the continuous and strictly increasing function f : [0, 1] [0, 1] with f (x ) = x/2 and the
functions д1 , д2 : [0, 1] [0, 1] with

 2x
 if x ≤ 1/2  2x
 if x ≤ 1/2
д1 (x ) = 
0 and д2 (x ) = 
 otherwise 1
 otherwise.
Then д1 ( f (x )) = x = д2 ( f (x )) for all x ∈ [0, 1] but д1 , д2 . Consequently the original statement was
false and its negation is true.
Exercise 1.5. Solve Munkres §1.3, Exercise 1: Define two points (x 0 , y0 ) and (x 1 , y1 ) of the plane to be
equivalent if y0 − x 02 = y1 − x 12 . Check that this is an equivalence relation and describe the equivalence classes.
Solution. For every (x, y) ∈ R2 we have of course that y − x 2 = y − x 2 . So this relation is reflexive. Similarly,
if y0 − x 02 = y1 − x 12 then surely y1 − x 12 = y0 − x 02 and if additionally y1 − x 12 = y2 − x 22 then y0 − x 02 = y2 − x 22
as well. Hence, the relation is symmetric and transitive. So we have an equivalence relation.
To describe the equivalence classes, let (x, y) ∈ R2 . The equivalence containing (x, y) is then
{(x 0, y 0 ) : y 0 − (x 0 ) 2 = y − x 2 } = {(x 0, y 0 ) : y 0 − (x 0 ) 2 = c}

2
where c = y − x 2 . Consequently, the equivalence classes are the parabolas y = x 2 + c for c ∈ R.

Exercise 1.6. For each of the following relations defined on R, the set of all real numbers, check whether
the relation is reflexive, symmetric, and transitive (prove the property is true, or find a counterexample).
Conclude whether each of the relations is an equivalence relation.
(i) a ∼ b means ab , 0.
(ii) a ∼ b means ab ≥ 0.
(iii) a ∼ b means bac = bbc (where bxc denotes the largest integer less than or equal to x, the “floor” of x).
Solution.
(i) For a = 0 we have a · a = 0. So this relation is not reflexive. But if a ∼ b, i. e. ab , 0, then certainly
ba = ab , 0, that is, b ∼ a. Hence, ∼ is symmetric. If a ∼ b and b ∼ c, then ab , 0 and bc , 0. This
implies that a , 0, b , 0 and c , 0, so ac , 0 as well. So ∼ is transitive. In summary, ∼, not being
reflexive, is not an equivalence relation.
(ii) For any real number a, we have a 2 ≥ 0. So ∼ is reflexive. If a ∼ b, then ab ≥ 0 and therefore certainly
ba = ab ≥ 0, i. e. b ∼ a. So ∼ is also symmetric. But −1 ∼ 0 and 0 ∼ 1 while −1 / 1 because
(−1) · 1 = −1  0. Hence, ∼ is not transitive and therefore not an equivalence relation either.
(iii) Certainly bac = bac for every a ∈ R which means that ∼ is reflexive. Also, if bac = bbc, then we
also have bbc = bac and therefore ∼ is also symmetric. If a ∼ b and b ∼ c, then bac = bbc = bcc and
therefore a ∼ c as well. Consequently, ∼ is an equivalence relation.

Exercise 1.7.
(i) Let A, B be sets. Show that there is a bijection between A × B and B × A.
(ii) Let A and B be sets. In class, we defined the mapping set

Maps(A, B) = { f : A B}

to be the set whose elements are distinct functions f : A B (two functions f 1 and f 2 are equal if
f 1 (a) = f 2 (a) for every a ∈ A).
Let X be a set. In class, we defined, for a natural number n, the product X n to be the set of ordered
n–tuples of elements of X :
X n = {(x 1 , . . . , x n )|x i ∈ X }.
Prove that there is a natural bijection

X n  Maps({1, . . . , n}, X ).

In fact, Munkres §1.5 simply defines X n to be Maps({1, . . . , n}, X )!


(iii) In light of the previous part, let’s define

“X ∞ ” = Maps(N, X ).

Equivalently (as in part (ii)), “X ∞ ” can be described as the set of infinite-length tuples (x 1 , x 2 , . . . ). In
fact, the notation “X ∞ ” is a little imprecise—as there are many non-equivalent infinite-sized sets (for
instance, R and N). In constrast, all sets with n elements are equivalent1 . So, instead, we will use the
notation
X ω = “X ∞ ” = Maps(N, X )
(where ω, the Greek letter “omega”, is typically used to indicate the “size”, or cardinality, of N).
If X is a non-empty set, and n any natural number, find a bijective map f : X n × X ω Xω.
Solution.
1 Two sets A and B are equivalent if one can find a bijection A ∼ B.

3
(i) Define a function f : A × B B × A by setting f ((a, b)) = (b, a) and д : B × A A × B by
д((b, a)) = (a, b). Observe that we have д( f ((a, b))) = (a, b) and f (д((b, a))) = (b, a) for all a ∈ A and
b ∈ B. This means that f admits an inverse function and therefore must be a bijection.
(ii) Define a function f : Maps({1, . . . , n}, X ) X n by setting f (д) = (д(1), . . . , д(n)) whenever
д : {1, . . . , n} X is a function. Conversely, define a function h : X n Maps({1, . . . , n}, X )
as follows: Let x = (x 1 , . . . , x n ) ∈ X . Then there is a function xH: {1, . . . , n}
n X defined by xH(i) = x i
and we set h(x ) = xH. The functions f and h are inverses of each other: Compute

f (h(x )) = f (H
x ) = (H
x (1), . . . , xH(n)) = (x 1 , . . . , x n ) = x
h( f (д))(i) = h((д(1), . . . , д(n)))(i) = д(i), for all i ∈ {1, . . . , n}

where x = (x 1 , . . . , x n ) ∈ X n and д : {1, . . . , n} X . Since f admits an inverse function h, it must be


a bijection Maps({1, . . . , n}, X ) ∼ X n .
(iii) Define f : X n × X ω X ω by setting

f ((x 1 , . . . , x n ), (y1 , . . . )) = (x 1 , . . . , x n , y1 , . . . )

for (x 1 , . . . , x n ) ∈ X n and (y1 , . . . ) ∈ X ω . Again, we can define a function h : X ω X n × X ω in the


other direction by
h(x 1 , . . . ) = ((x 1 , . . . , x n ), (x n+1 , . . . )).
Then f and д are inverses of each other: Compute

f (h(x 1 , . . . )) = f ((x 1 , . . . , x n ), (x n+1 , . . . )) = (x 1 , . . . , x n , x n+1 , . . . )


h( f ((y1 , . . . , yn ), (x 1 , . . . ))) = h(y1 , . . . , yn , x 1 , . . . ) = ((y1 , . . . , yn ), (x 1 , . . . ))

for (x 1 , . . . ) ∈ X ω and (y1 , . . . , yn ) ∈ X n . Consequently, f must be a bijection X n × X ω ∼ X ω .

You might also like