Chapter I.2

Relations and Functions

[51/61%]
Show
LaTeX
Problem I.2.1

Prove that there exist AA, BB, and CC such that:

?
(a)

A×B≠B×AA \times B \neq B \times A;

(b)

A×(B×C)≠(A×B)×CA \times (B \times C) \neq (A \times B) \times C.

Problem I.2.2

Find a geometric interpretation of the following sets:

?
(a)

[a,b]×[c,d][a, b] \times [c, d], where [a,b][a, b] and [c,d][c, d] are segments of the real line R\mathbb {R};

(b)

[a,b]2[a, b]^{2};

(c)

[a,b]3[a, b]^{3};

(d)

Rn\mathbb {R}^{n}.

Problem I.2.3

Prove that if AA, BB, CC, and DD are nonempty, then:

?
(a)

A⊆BA \subseteq B and C⊆D⇔A×C⊆B×DC \subseteq D \Leftrightarrow A \times C \subseteq B \times D;

(b)

A=BA = B and C=D⇔A×C=B×DC = D \Leftrightarrow A \times C = B \times D.

Problem I.2.4

Prove that:

?
(a)

(A∩B)×(C∩D)=(A×C)∩(B×D)(A \cap B) \times (C \cap D) = (A \times C) \cap (B \times D);

(b)

⋂i∈IAi×⋂i∈IBi=⋂i∈I(Ai×Bi)\bigcap_{i \in I} A_{i} \times \bigcap_{i \in I} B_{i} = \bigcap_{i \in I} (A_{i} \times B_{i}).

Problem I.2.5

Prove that (A×B)∪(C×D)⊆(A∪C)×(B∪D)(A \times B) \cup (C \times D) \subseteq (A \cup C) \times (B \cup D). For which AA, BB, CC, and DD does equality hold?

?
Problem I.2.6

Prove that:

?
(a)

(A∪B)×C=(A×C)∪(B×C)(A \cup B) \times C = (A \times C) \cup (B \times C);

(b)

A×(B∪C)=(A×B)∪(A×C)A \times (B \cup C) = (A \times B) \cup (A \times C);

(c)

(A∪B)×(C∪D)=(A×C)∪(B×C)∪(A×D)∪(B×D)(A \cup B) \times (C \cup D) = (A \times C) \cup (B \times C) \cup (A \times D) \cup (B \times D);

(d)

(A∖B)×C=(A×C)∖(B×C)(A \setminus B) \times C = (A \times C) \setminus (B \times C);

(e)

A×(B∖C)=(A×B)∖(A×C)A \times (B \setminus C) = (A \times B) \setminus (A \times C);

(f)

A×B=(A×D)∩(C×B)A \times B = (A \times D) \cap (C \times B), where A⊆CA \subseteq C and B⊆DB \subseteq D;

(g)

U2∖(A×B)=[(U∖A)×U]∪[U×(U∖B)]U^{2} \setminus (A \times B) = [(U \setminus A) \times U] \cup [U \times (U \setminus B)];

(h)

⋃k∈KAk×⋃t∈TBt=⋃⟨k,t⟩∈K×T(Ak×Bt)\bigcup_{k \in K} A_{k} \times \bigcup_{t \in T} B_{t} = \bigcup_{\langle k, t \rangle \in K \times T} (A_{k} \times B_{t});

(i)

⋂k∈KAk×⋂t∈TBt=⋂⟨k,t⟩∈K×T(Ak×Bt)\bigcap_{k \in K} A_{k} \times \bigcap_{t \in T} B_{t} = \bigcap_{\langle k, t \rangle \in K \times T} (A_{k} \times B_{t}).

Problem I.2.7

Let A,B≠∅A, B \neq \emptyset and (A×B)∪(B×A)=(C×D)(A \times B) \cup (B \times A) = (C \times D). Prove that A=B=C=DA = B = C = D.

?
Problem I.2.8

Find δR\delta R, ρR\rho R, R−1R^{-1}, R⋅RR \cdot R, R⋅R−1R \cdot R^{-1}, R−1⋅RR^{-1} \cdot R for the following relations:

?
(a)

R={⟨x,y⟩∣x,y∈N and x divides y}R = \left\{ \langle x, y \rangle \mid x, y \in \mathbb {N} \text{ and } x \text{ divides } y\right\};

(b)

R={⟨x,y⟩∣x,y∈N and y divides x}R = \left\{ \langle x, y \rangle \mid x, y \in \mathbb {N} \text{ and } y \text{ divides } x\right\};

(c)

R={⟨x,y⟩∣x,y∈R and x+y≤0}R = \left\{ \langle x, y \rangle \mid x, y \in \mathbb {R} \text{ and } x + y \leq 0\right\};

(d)

R={⟨x,y⟩∣x,y∈R and 2x≥3y}R = \left\{ \langle x, y \rangle \mid x, y \in \mathbb {R} \text{ and } 2x \geq 3y\right\};

(e)

R={⟨x,y⟩∣x,y∈[−π2,π2] and y≥sin⁡x}R = \left\{ \langle x, y \rangle \mid x, y \in \left[-\frac{\pi }{2}, \frac{\pi }{2}\right] \text{ and } y \geq \sin x\right\}.

Problem I.2.9

Prove that:

?
(a)

δR=∅⇔R=∅⇔ρR=∅\delta R = \emptyset \Leftrightarrow R = \emptyset \Leftrightarrow \rho R = \emptyset;

(b)

δR−1=ρR\delta R^{-1} = \rho R, ρR−1=δR\rho R^{-1} = \delta R;

(c)

δR1⋅R2=R1−1(ρR1∩δR2)\delta_{R_{1} \cdot R_{2}} = R_{1}^{-1}(\rho R_{1} \cap \delta R_{2});

(d)

ρR1⋅R2=R2(ρR1∩δR2)\rho_{R_{1} \cdot R_{2}} = R_{2}(\rho R_{1} \cap \delta R_{2}).

Problem I.2.10

Prove that:

?
(a)

if B≠∅B \neq \emptyset, then δA×B=A\delta_{A \times B} = A;

(b)

if A≠∅A \neq \emptyset, then ρA×B=B\rho_{A \times B} = B.

Problem I.2.11

Let RR be a binary relation on AA. Prove that R=iAR = i_{A} if and only if R⋅R1=R1⋅R=R1R \cdot R_{1} = R_{1} \cdot R = R_{1} for every relation R1R_{1} on AA.

?
Problem I.2.12

Prove that for any binary relations:

?
(a)

R∪R=R∩R=RR \cup R = R \cap R = R;

(b)

(R−1)−1=R(R^{-1})^{-1} = R;

(c)

(R1∪R2)−1=R1−1∪R2−1(R_{1} \cup R_{2})^{-1} = R_{1}^{-1} \cup R_{2}^{-1};

(d)

(R1∩R2)−1=R1−1∩R2−1(R_{1} \cap R_{2})^{-1} = R_{1}^{-1} \cap R_{2}^{-1};

(e)

−R−1=(−R)−1-R^{-1} = (-R)^{-1};

(f)

(⋃i∈IRi)−1=⋃i∈IRi−1\left(\bigcup_{i \in I} R_{i}\right)^{-1} = \bigcup_{i \in I} R_{i}^{-1};

(g)

(⋂i∈IRi)−1=⋂i∈IRi−1\left(\bigcap_{i \in I} R_{i}\right)^{-1} = \bigcap_{i \in I} R_{i}^{-1}.

Problem I.2.13

For which binary relations RR does R−1=−RR^{-1} = -R hold?

?
Problem I.2.14

Let AA and BB be finite sets consisting of mm and nn elements, respectively.

?
(a)

How many binary relations are there between the elements of the sets AA and BB?

(b)

How many functions are there from AA to BB?

(c)

How many 1--1 functions are there from AA to BB?

(d)

For which mm and nn does there exist a one-to-one correspondence between AA and BB?

Problem I.2.15

Prove that for any binary relations:

?
(a)

R1⋅(R2⋅R3)=(R1⋅R2)⋅R3R_{1} \cdot (R_{2} \cdot R_{3}) = (R_{1} \cdot R_{2}) \cdot R_{3};

(b)

(R1⋅R2)−1=R2−1⋅R1−1(R_{1} \cdot R_{2})^{-1} = R_{2}^{-1} \cdot R_{1}^{-1};

(c)

(⋃i∈IRi)⋅Q=⋃i∈I(Ri⋅Q)\left(\bigcup_{i \in I} R_{i}\right) \cdot Q = \bigcup_{i \in I} (R_{i} \cdot Q);

(d)

Q⋅(⋃i∈IRi)=⋃i∈I(Q⋅Ri)Q \cdot \left(\bigcup_{i \in I} R_{i}\right) = \bigcup_{i \in I} (Q \cdot R_{i}).

Problem I.2.16

Prove that:

?
(a)

Q⋅(⋂i∈IRi)⊆⋂i∈I(Q⋅Ri)Q \cdot \left(\bigcap_{i \in I} R_{i}\right) \subseteq \bigcap_{i \in I} (Q \cdot R_{i});

(b)

(⋂i∈IRi)⋅Q⊆⋂i∈I(Ri⋅Q)\left(\bigcap_{i \in I} R_{i}\right) \cdot Q \subseteq \bigcap_{i \in I} (R_{i} \cdot Q);

(c)

in assertions (a) and (b) the inclusions cannot be replaced by equalities.

Problem I.2.17

Do binary relations form a group with respect to the operations ⋅\cdot and −1{}^{-1}?

?
Problem I.2.18

Prove that if R1⊆R2R_{1} \subseteq R_{2}, then:

?
(a)

Q⋅R1⊆Q⋅R2Q \cdot R_{1} \subseteq Q \cdot R_{2};

(b)

R1⋅Q⊆R2⋅QR_{1} \cdot Q \subseteq R_{2} \cdot Q;

(c)

R1−1⊆R2−1R_{1}^{-1} \subseteq R_{2}^{-1}.

Problem I.2.19

Prove that:

?
(a)

if B≠∅B \neq \emptyset, then BA≠∅B^{A} \neq \emptyset;

(b)

BA⊆P(A×B)B^{A} \subseteq P(A \times B).

Problem I.2.20

Establish a one-to-one correspondence between AnA^{n} and AlA^{l} for l={1,…,n}l = \left\{ 1, \ldots , n\right\}.

?
Problem I.2.21

Using the definition, describe the set D(DD)D(D^{D}), where DD is the set of real numbers.

?
Problem I.2.22

Prove that if ff is a function from AA to BB and gg is a function from BB to CC, then f⋅gf \cdot g is a function from AA to CC.

?
Problem I.2.23

Let ff and gg be functions. Under what conditions is:

?
(a)

f−1f^{-1} a function;

(b)

f⋅gf \cdot g a 1--1 function?

Problem I.2.24

Let A,B,A1,B1A, B, A_{1}, B_{1} be sets such that AA is in one-to-one correspondence with A1A_{1}, and BB with B1B_{1}. Show that one can establish a one-to-one correspondence:

?
(a)

between A×BA \times B and A1×B1A_{1} \times B_{1};

(b)

between ABA^{B} and A1B1A_{1}^{B_{1}};

(c)

between A∪BA \cup B and A1∪B1A_{1} \cup B_{1}, if A∩B=∅A \cap B = \emptyset and A1∩B1=∅A_{1} \cap B_{1} = \emptyset.

Problem I.2.25

Prove that one can establish a one-to-one correspondence between the sets:

?
(a)

A×BA \times B and B×AB \times A;

(b)

A×(B×C)A \times (B \times C) and (A×B)×C(A \times B) \times C;

(c)

(A×B)C(A \times B)^{C} and AC×BCA^{C} \times B^{C};

(d)

(AB)C(A^{B})^{C} and AB×CA^{B \times C};

(e)

AB∪CA^{B \cup C} and AB×ACA^{B} \times A^{C}, if B∩C=∅B \cap C = \emptyset;

(f)

∏i∈IAi\prod_{i \in I} A_{i} and ∏i∈IAφ(i)\prod_{i \in I} A_{\varphi (i)}, where φ\varphi is a permutation of the set II;

(g)

∏i∈IAi\prod_{i \in I} A_{i} and ∏k∈K(∏j∈TkAj)\prod_{k \in K} \left(\prod_{j \in T_{k}} A_{j}\right), where ⋃k∈KTk=I\bigcup_{k \in K} T_{k} = I and all the TkT_{k} are pairwise disjoint;

(h)

AIA^{I} and ∏k∈KATk\prod_{k \in K} A^{T_{k}}, where ⋃k∈KTk=I\bigcup_{k \in K} T_{k} = I and all the TkT_{k} are pairwise disjoint.

Problem I.2.26

Let φ:A→A\varphi : A \rightarrow A be a permutation of the set AA. Prove that φ−1\varphi^{-1} is a permutation of the set AA.

?
Problem I.2.27

Prove that the set of permutations of a set AA forms a group.

?
Problem I.2.28

Let φ:A→B\varphi : A \rightarrow B be a one-to-one correspondence. Prove that:

?
(a)

φ−1\varphi^{-1} is a one-to-one correspondence between BB and AA;

(b)

φ−1⋅φ=iB\varphi^{-1} \cdot \varphi = i_{B};

(c)

φ⋅φ−1=iA\varphi \cdot \varphi^{-1} = i_{A}.

Problem I.2.29

Prove that a relation R⊆A×BR \subseteq A \times B is a one-to-one correspondence between AA and BB if and only if R⋅R−1=iAR \cdot R^{-1} = i_{A} and R−1⋅R=iBR^{-1} \cdot R = i_{B}.

?
Problem I.2.30

Prove that the union (intersection) of two functions f1f_{1} and f2f_{2} from AA to BB is a function from AA to BB if and only if f1=f2f_{1} = f_{2}.

?
Problem I.2.31

Prove that for any function ff:

?
(a)

f(A∪B)=f(A)∪f(B)f(A \cup B) = f(A) \cup f(B);

(b)

f(⋃i∈IAi)=⋃i∈If(Ai)f\left(\bigcup_{i \in I} A_{i}\right) = \bigcup_{i \in I} f(A_{i}).

Problem I.2.32

Prove that for any function ff:

?
(a)

f(A∩B)⊆f(A)∩f(B)f(A \cap B) \subseteq f(A) \cap f(B);

(b)

f(⋂i∈IAi)⊆⋂i∈If(Ai)f\left(\bigcap_{i \in I} A_{i}\right) \subseteq \bigcap_{i \in I} f(A_{i}),

and these inclusions cannot be replaced by equalities.

Problem I.2.33

Prove that ff satisfies the condition

f(A∩B)=f(A)∩f(B) for any A and B f(A \cap B) = f(A) \cap f(B) \text{ for any } A \text{ and } B

if and only if ff is a 1--1 function.

?
Problem I.2.34

Prove that f(A)∖f(B)⊆f(A∖B)f(A) \setminus f(B) \subseteq f(A \setminus B) for any function ff.

?
Problem I.2.35

Prove that if, in the previous problem, ff is a 1--1 function, then equality holds.

?
Problem I.2.36

Prove that if A⊆BA \subseteq B, then f(A)⊆f(B)f(A) \subseteq f(B) for any function ff.

?
Problem I.2.37

Prove that for any function ff

f(A)=∅⇔A∩δf=∅. f(A) = \emptyset \Leftrightarrow A \cap \delta f = \emptyset .
?
Problem I.2.38

Prove the following identities for any function ff:

?
(a)

f−1(A∪B)=f−1(A)∪f−1(B)f^{-1}(A \cup B) = f^{-1}(A) \cup f^{-1}(B);

(b)

f−1(⋃i∈IAi)=⋃i∈If−1(Ai)f^{-1}\left(\bigcup_{i \in I} A_{i}\right) = \bigcup_{i \in I} f^{-1}(A_{i});

(c)

f−1(A∩B)=f−1(A)∩f−1(B)f^{-1}(A \cap B) = f^{-1}(A) \cap f^{-1}(B);

(d)

f−1(⋂i∈IAi)=⋂i∈If−1(Ai)f^{-1}\left(\bigcap_{i \in I} A_{i}\right) = \bigcap_{i \in I} f^{-1}(A_{i});

(e)

f−1(A∖B)=f−1(A)∖f−1(B)f^{-1}(A \setminus B) = f^{-1}(A) \setminus f^{-1}(B).

Problem I.2.39

Prove that if A⊆BA \subseteq B, then f−1(A)⊆f−1(B)f^{-1}(A) \subseteq f^{-1}(B) for any function ff.

?
Problem I.2.40

Prove that for any function ff

f−1(A)=∅⇔A∩ρf=∅. f^{-1}(A) = \emptyset \Leftrightarrow A \cap \rho f = \emptyset .
?
Problem I.2.41

Prove that if A⊆δfA \subseteq \delta f and B⊆ρfB \subseteq \rho f, then:

?
(a)

A⊆f−1(f(A))A \subseteq f^{-1}(f(A));

(b)

f(f−1(B))=Bf(f^{-1}(B)) = B;

(c)

f(A)∩B=f(A∩f−1(B))f(A) \cap B = f(A \cap f^{-1}(B));

(d)

f(A)∩B=∅⇔A∩f−1(B)=∅f(A) \cap B = \emptyset \Leftrightarrow A \cap f^{-1}(B) = \emptyset;

(e)

f(A)⊆B⇔A⊆f−1(B)f(A) \subseteq B \Leftrightarrow A \subseteq f^{-1}(B).

Problem I.2.42

Let f:A→Bf: A \rightarrow B. Define f∗:P(A)→P(B)f_{*}: P(A) \rightarrow P(B), f∗:P(B)→P(A)f^{*}: P(B) \rightarrow P(A) by f∗(X)={f(x)∣x∈X}f_{*}(X) = \left\{ f(x) \mid x \in X\right\} and f∗(Y)={x∣f(x)∈Y}f^{*}(Y) = \left\{ x \mid f(x) \in Y\right\}. Under what conditions is f∗⋅f∗=iP(B)f^{*} \cdot f_{*} = i_{P(B)}? Under what conditions is f∗⋅f∗=iP(A)f_{*} \cdot f^{*} = i_{P(A)}?

?
Problem I.2.43

In the notation of the previous problem, prove that:

?
(a)

f∗(X∩Y)=f∗(X)∩f∗(Y)f^{*}(X \cap Y) = f^{*}(X) \cap f^{*}(Y);

(b)

(f⋅g)∗(X)=f∗(g∗(X))(f \cdot g)^{*}(X) = f^{*}(g^{*}(X)).

Problem I.2.44

Let UU be a nonempty set. For any subset AA of the set UU, denote by χAU\chi_{A}^{U} the following function (the characteristic function of the set AA):

χAU={0,if x∈A,1,if x∈U∖A. \chi _{A}^{U} = \begin{cases} 0, & \text{if } x \in A, \\ 1, & \text{if } x \in U \setminus A. \end{cases}

Define a function f:P(U)→{0,1}Uf: P(U) \rightarrow \left\{ 0, 1\right\}^{U} by the condition f(A)=χAUf(A) = \chi_{A}^{U} for every A∈P(U)A \in P(U). Prove that ff is a one-to-one correspondence between P(U)P(U) and {0,1}U\left\{ 0, 1\right\}^{U}.

?
Problem I.2.45

Prove that the function χAU\chi_{A}^{U} introduced in the previous problem satisfies the following conditions:

?
(a)

χUU(x)=0\chi_{U}^{U}(x) = 0;

(b)

χ∅U(x)=1\chi_{\emptyset }^{U}(x) = 1;

(c)

χU∖AU(x)=1−χAU(x)\chi_{U \setminus A}^{U}(x) = 1 - \chi_{A}^{U}(x);

(d)

χA∪BU(x)=χAU(x)⋅χBU(x)\chi_{A \cup B}^{U}(x) = \chi_{A}^{U}(x) \cdot \chi_{B}^{U}(x);

(e)

χA∩BU(x)=χAU(x)+χBU(x)−χAU(x)⋅χBU(x)\chi_{A \cap B}^{U}(x) = \chi_{A}^{U}(x) + \chi_{B}^{U}(x) - \chi_{A}^{U}(x) \cdot \chi_{B}^{U}(x);

(f)

χA∖BU(x)=1−χBU(x)+χA∪BU(x)\chi_{A \setminus B}^{U}(x) = 1 - \chi_{B}^{U}(x) + \chi_{A \cup B}^{U}(x);

(g)

if A=⋃i∈IAiA = \bigcup_{i \in I} A_{i}, then χAU(x)=min⁡i∈IχAiU(x)\chi_{A}^{U}(x) = \min_{i \in I} \chi_{A_{i}}^{U}(x);

(h)

if A=⋂i∈IAiA = \bigcap_{i \in I} A_{i}, then χAU(x)=max⁡i∈IχAiU(x)\chi_{A}^{U}(x) = \max_{i \in I} \chi_{A_{i}}^{U}(x).

Problem I.2.46

Prove the properties of complete distributivity:

?
(a)

⋃i∈I⋂j∈JAij=⋂f∈JI⋃i∈IAif(i)\bigcup_{i \in I} \bigcap_{j \in J} A_{ij} = \bigcap_{f \in J^{I}} \bigcup_{i \in I} A_{i f(i)};

(b)

⋂i∈I⋃j∈JAij=⋃f∈JI⋂i∈IAif(i)\bigcap_{i \in I} \bigcup_{j \in J} A_{ij} = \bigcup_{f \in J^{I}} \bigcap_{i \in I} A_{i f(i)}.

Problem I.2.47

Prove that AI=∏i∈IAiA^{I} = \prod_{i \in I} A_{i}, where Ai=AA_{i} = A for all i∈Ii \in I.

?
Problem I.2.48

Let Ai⊆XiA_{i} \subseteq X_{i}. Prove that:

?
(a)

∏i∈IAi=⋂i∈I∏j∈JAij\prod_{i \in I} A_{i} = \bigcap_{i \in I} \prod_{j \in J} A_{ij}, where Aii=AiA_{ii} = A_{i}, Aij=XjA_{ij} = X_{j} for i≠ji \neq j;

(b)

∏i∈IXi∖∏i∈IAi=⋃i∈I∏j∈JBij\prod_{i \in I} X_{i} \setminus \prod_{i \in I} A_{i} = \bigcup_{i \in I} \prod_{j \in J} B_{ij}, where Bii=Xi∖AiB_{ii} = X_{i} \setminus A_{i}, Bij=XjB_{ij} = X_{j} for i≠ji \neq j.

Problem I.2.49

Prove that:

?
(a)

⋂k∈K∏t∈TAkt=∏t∈T⋂k∈KAkt\bigcap_{k \in K} \prod_{t \in T} A_{kt} = \prod_{t \in T} \bigcap_{k \in K} A_{kt};

(b)

if At1∩At2=∅A_{t_{1}} \cap A_{t_{2}} = \emptyset for t1≠t2t_{1} \neq t_{2}, then one can establish a one-to-one correspondence between B(⋃t∈TAt)B^{\left(\bigcup_{t \in T} A_{t}\right)} and ∏t∈TBAt\prod_{t \in T} B^{A_{t}};

(c)

one can establish a one-to-one correspondence between (∏t∈TBt)A\left(\prod_{t \in T} B_{t}\right)^{A} and ∏t∈TBtA\prod_{t \in T} B_{t}^{A}.

Problem I.2.50

Prove that if At≠∅A_{t} \neq \emptyset for all t∈Tt \in T, then ∏t∈TAt≠∅\prod_{t \in T} A_{t} \neq \emptyset (one of the formulations of the axiom of choice).

?
Problem I.2.51

Prove that one can establish a one-to-one correspondence between ∏t∈TAt\prod_{t \in T} A_{t} and (∏t1∈T1At1)×(∏t2∈T2At2)\left(\prod_{t_{1} \in T_{1}} A_{t_{1}}\right) \times \left(\prod_{t_{2} \in T_{2}} A_{t_{2}}\right), if T1∪T2=TT_{1} \cup T_{2} = T and T1∩T2=∅T_{1} \cap T_{2} = \emptyset.

?