第三次作业
习题四 13
答案
习题四 15
答案
习题四 16
答案
习题四 17
答案
习题四 18
同理 $R^*\circ R^*=R^*\Rightarrow (R^*)^*=R^*$.
证明
习题四 19
- (1) {{< admonition note "证明" false >}} 由 $(1,2),(2,4) \in R,(1,4) \notin R\Rightarrow R$ 不是传递关系 . @@ADMONITION_END@@
- (2) {{< admonition note "答案" false >}} $R_1=\{(1,2),(1,3),(1,4),(2,4),(2,3),(3,4),(4,3),(3,3)\}$. @@ADMONITION_END@@
- (3) 存在, 全关系.
习题四 20
- (1) {{< admonition note "证明" false >}} 自反: $\forall (a,b) \in A\times A,a+b=b+a\Rightarrow ((a,b),(a,b)) \in R$. 对称: $\forall ((a,b),(c,d))\in R,a+d=b+c \Rightarrow c+b=d+a\Rightarrow ((c,d),(a,b)) \in R$. 传递: $\forall ((a,b),(c,d)),((c,d),(e,f))\in R,a+d=b+c,c+f=d+e\Rightarrow a-b=c-d=e-f\Rightarrow a+f=e+b\Rightarrow((a,b),(e,f))\in R$. @@ADMONITION_END@@
- (2) $[(2,5)]_R=\{(1,4),(2,5),(3,6),(4,7),(5,8)\}$.
- (3) 不对, $R$ 中的元素形式为 $((a,b),(c,d))$ 而 $A\times A$ 中的元素形式为 $(a,b)$, 应该说 $R\subseteq (A\times A)\times(A\times A)$.
习题四 23
- (1) {{< admonition note "证明" false >}} 自反: $\forall a \in A, (a,a)\in R_1\wedge(a,a) \in R_2\Rightarrow (a,a)\in R_1 \cap R_2$.
对称: $\forall (a,b) \in R_1 \cap R_2,(a,b) \in R_1\wedge (a,b)\in R_2\Rightarrow (b,a) \in R_1\wedge (b,a)\in R_2\\ \Rightarrow (b,a) \in R_1 \cap R_2$.
传递: $\forall (a,b),(b,c) \in R_1\cap R_2,(a,b),(b,c) \in R_1\Rightarrow (a,c) \in R_1$, 同理 $(a,c) \in R_2$, 故 $(a,c) \in R_1\cap R_2$. @@ADMONITION_END@@ - (2) 取 $R_1=\{(1,1),(2,2),(3,3),(1,2),(2,1)\},R_2=\{(1,1),(2,2),(3,3),(2,3),(3,2)\}$.
习题四 28
\begin{tikzpicture} \graph { 1 <-> 2; 1 <-> 3; 1 ->[loop above] 1; 2 ->[loop above] 2; 3 ->[loop left] 3; 2 <-> 3; 4 ->[loop above] 4; 5 <-> 6; 5 ->[loop above] 5; 6 ->[loop above] 6;
};
\end{tikzpicture}
习题四 31
\graph{
(4) -- (2) -- (1);
(3) -- (1)
};
\end{tikzpicture}
- (2) \begin{tikzpicture}[node distance=10pt]
\node[draw, circle] (36) {36};
\node[draw, circle, below=of 36] (12) {12};
\node[draw, circle, below=of 12] (6) {6};
\node[draw, circle, below=of 6] (3) {3};
\node[draw, circle, right=20pt of 3] (2) {2};
\node[draw, circle, right=20pt of 6] (26) {26}; \graph{
(36) -- (12) -- (6) -- (3);
(6) -- (2);
(26) -- (2);
};
\end{tikzpicture}
- (3) \begin{tikzpicture}[node distance=15pt]
\node[draw, circle] (8) {8};
\node[draw, circle, right=20pt of 8] (12) {12};
\node[draw, circle, below=of 12] (6) {6};
\node[draw, circle, below=of 8] (4) {4};
\node[draw, circle, below=of 6] (3) {3};
\node[draw, circle, below=of 4] (2) {2};
\node[draw, circle, right=20pt of 3] (5) {5};
\node[draw, circle, right=20pt of 5] (7) {7};
\node[draw, circle, right=20pt of 7] (11) {11};
\node[draw, circle, right=20pt of 6] (9) {9};
\node[draw, circle, below=of 3] (1) {1}; \graph{
(8) -- (4) -- (2) -- (1);
(12) -- (6) -- (3) -- (1);
(12) -- (4);
(6) -- (2);
(9) -- (3);
(1) -- {
(5),(7),(11)
}
};
\end{tikzpicture} $\{2,3,6\}:6,\text{无},6,\{2,3\},6,1$. $\{2,4,6\}:\text{无},2,\{4,6\},2,\text{无},2$. $\{4,8,12\}:\text{无},4,\{8,12\},4,4,\text{无}$.答案
习题四 32
$\preceq=\{(0,0),(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,1),\$2,2),(2,5),(3,3),(3,5),(5,5),(4,4),(4,6),(6,6)\}$.
答案
习题四 34
反对称: $\forall ((a_1,b_1),(a_2,b_2)) \in \preceq_3 \wedge ((a_2,b_2),(a_1,b_1)) \in \preceq_3, \\ (a_1,a_2),(a_2,a_1) \in \preceq_1 \wedge (b_1,b_2),(b_2,b_1) \in \preceq_2 \Rightarrow a_1=a_2\wedge b_1=b_2 \Rightarrow (a_1,b_1)=(a_2,b_2)$. 传递: $\forall ((a_1,b_1),(a_2,b_2)),((a_2,b_2),(a_3,b_3)) \in \preceq_3, (a_1,a_2),(a_2,a_3) \in \preceq_1, \\ \Rightarrow (a_1,a_3)\in \preceq_1$ 同理 $(b_1,b_3) \in \preceq_2 \Rightarrow ((a_1,b_1),(a_3,b_3)) \in \preceq_3$. 综上 $\preceq_3$ 是 $A\times B$ 上的半序关系.
证明
习题四 37
答案