Answers to Selected Exercises
3.1.5 Yes, because $-(-3)=3$ and $3>0$, so by Definition 2.2, $-(-3)$ is positive.
4.1.2 Yes, because $52=4\cdot 13$.
4.1.10 $-2$, $-1$, 1, 2.
5.5.1 $333=9\times 37$ and 9 is an integer, so $37\mid 333$ by Definition 4.1.
5.5.2 Suppose $0\leq k<n$ and suppose $k$ is divisible by $n$. By Definition 4.1, there is an integer $q$ for which $k=qn$. Since $k$ and $n$ are nonnegative, so is $q$. Since $k=qn<n$, dividing through the inequality by $n$ (which is positive) gives $q<1$. Since $q$ is nonnegative, it must be 0. Since $k=qn$, $k=0$ as well.
6.1.5 $91=7\times 13$; $98=2\times 7^{2}$; $108=2^{2}\times 3^{3}$; $111=3\times 37$; 211 is prime
7.5.1 No. For example,
$$\frac{1}{4}+\frac{1}{4}=\frac{2}{4}\quad\text{and}\quad\frac{2}{3}\,\frac{3}{4}=\frac{2}{4}$$
9.2.4 Only the pair in (c) are equal.
10.1.2 $5.\overline{1}=46/9$; $4.\overline{36}=48/11$; $4.1\overline{36}=91/22$.
12.2.6 $x^{2}-\frac{6}{x}+4x>2x$.
12.4.1 $m=2$ makes it true and $m=8$ makes it false.
12.4.2 Any $m$ makes it true. No value of $m$ makes it false.
12.5.2 $Q(-1)$ is $1<4$ and $Q(x-1)$ is $(x-1)^{2}<4$.
12.5.3 a. $2<5$. b. $3<4$. c. $x^{2}<x+y+1$. d. $x(x+y)<x+y+z+1$.
13.2.7 (a) and (b) are true, and the others are false. It is wrong to say that (c) is “sometimes true” or “usually true”. The statement that $3\cdot 0>0$ is false, so the statement $(\forall x\colon\mathrm{N})(3x>x)$ is simply false, with no qualification.
14.2.3
$$\begin{array}{c|ccc} & 2 & 6 & 7 \\ \hline \mathrm{a} & \mathrm{T} & \mathrm{T} & \mathrm{T} \\ \mathrm{b} & \mathrm{T} & \mathrm{T} & \mathrm{F} \\ \mathrm{c} & \mathrm{T} & \mathrm{T} & \mathrm{T} \end{array}$$
14.2.4 a) True: $n=5$. False: Any $n$ other than 5.
b) True: $n=8$, for example, or $n=0$. False: $n=4,5,6,7$ are the only ones.
c) True: Impossible. False: any $n$.
d) True: Any $n$.
14.2.5 Only (d).
17.1.4 3.
18.1.5 a) 2. b) 3. c) 2. d) 0. (For (b), see Remark 8.1.3.)
18.1.16 You must show that $P(a)$ is false.
19.2.5 (a) and (c) are true and (b) is false.
19.2.6 $-13,-7,-5,-4,-3,-2,0,1,2,3,5,11$. b) $1,4,9,16,36,144$. c) Same as (b).
20.1.3 (a) and (c) are the same, and so are (b) and (d).
22.1.6 Only (d) is the empty set.
23.1.5 d is the empty set and b, c and g are singletons.
23.1.6 (a) $D_{1}$ is the only singleton. (n) 1 is the only integer which is an element of $D_{n}$ for every positive integer $n$.
25.1.4 Item (a) is true for all integers $m$ but (b) and (c) are false. For example, (b) is false for $m=6$ (then the hypothesis is true and the conclusion is false, and that is the line in the truth table that makes the implication false), and (c) is false for $m=-2$.
26.1.5 a) True: $n=6$, for example (this is vacuously true). False: $n=8$.
b) True: any $n$. False: not possible.
c) True: $n=10$. False: $n=8$.
d) True: any $n$. False: not possible.
e) True: any $n$ (always vacuously true). False: not possible.
f) True: Any $n$ except 1. False: $n=1$.
27.2.1 (a), (c), (d) and (e) say the same thing, and (b) and (f) say the same thing.
30.4.5 The contrapositive is “If $n$ is not prime, then 3 does not divide $n$”, which is not true for some integers $n$. The converse is “If $n$ is prime, then $3\mid n$”, which is also false for some $n$.
31.4.2
$$\begin{array}{c|ccc} & \in & \subseteq & = \\ \hline \mathrm{a)} & \mathrm{N} & \mathrm{Y} & \mathrm{N} \\ \mathrm{b)} & \mathrm{Y} & \mathrm{N} & \mathrm{N} \\ \mathrm{c)} & \mathrm{N} & \mathrm{Y} & \mathrm{Y} \\ \mathrm{d)} & \mathrm{N} & \mathrm{N} & \mathrm{N} \\ \mathrm{e)} & \mathrm{N} & \mathrm{N} & \mathrm{N} \end{array}$$
31.5.3 You must show that there is an element $x\in S$ that is not an element of $T$. This is because of Definition 31.1, which defines $A\subseteq B$ to mean the implication $x\in A\Rightarrow x\in B$, and the only way that implication can be false is for the hypothesis to be true and the conclusion false.
32.1.6 a: 4. b: 0. c: 1. d: 2.
32.1.7 $\{\emptyset,\{5\},\{6\},\{7\},\{5,6\},\{6,7\},\{5,7\},\{5,6,7\}\}$
32.1.8
$$\begin{array}{c|ccccccc} & \mathrm{a} & \mathrm{b} & \mathrm{c} & \mathrm{d} & \mathrm{e} & \mathrm{f} & \mathrm{g} \\ \hline \mathrm{a} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{N} \\ \mathrm{b} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} \\ \mathrm{c} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} \\ \mathrm{d} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} \\ \mathrm{e} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} \\ \mathrm{f} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} \\ \mathrm{g} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{Y} \end{array}$$
33.2.2 $\{1,2,3\}\cup\{2,3,4,5\}=\{1,2,3,4,5\}$ and $\{1,2,3\}\cap\{2,3,4,5\}=\{2,3\}$.
33.2.3 $\mathrm{N}\cup\mathrm{Z}=\mathrm{Z}$ and $\mathrm{N}\cap\mathrm{Z}=\mathrm{N}$.
33.2.7 By Definition 31.1, we must show that if $x\in A\cap B$, then $x\in A\cup B$. By Definition 33.2 (of intersection), $x\in A\cap B$ implies that $x\in A$ and $x\in B$. By Definition 33.1 (of union), if $x\in A$, then $x\in A\cup B$.
33.3.1 There are of course an infinite number of answers. Some correct answers are: The set of all negative integers, the set of all negative even integers, $\{-1,-2,-3\}$, $\{-42\}$, and the empty set (which is disjoint from every set).
34.2.2 $\mathrm{Z}-\mathrm{N}$ is the set of all negative integers. $\mathrm{N}-\mathrm{Z}=\emptyset$.
34.2.5 (a) 1,2,3,4,5; (b) 2,3; (c) 1,2,3,4,5,7,8; (d) none; (e) 1; (f) 2,3,4,5; (g) 1,2,3; (h) 1,2,3,4,5; (i) 2,3,4,5.
34.2.6 1) 1 and 2. 2) 1. 3) 1, 3 and 5. 4) 5. 5) 6 and 7. 6) None. 7) 6 and 7.
35.1.3 The pairs in (a) are different; the pairs in (b) and (c) are equal.
36.1.2 $\mathbf{m}\cap\mathbf{n}$ is $\mathbf{k}$, where $k$ is the minimum of $m$ and $n$, and $\mathbf{m}\cup\mathbf{n}$ is $l$, where $l$ is the maximum of $m$ and $n$.
36.3.1 None of them are equal.
36.4.1 1. a) $3,4$. b) $2,\langle 1,5\rangle$. c) $2,\langle 5,\langle 2,1\rangle\rangle$. d) $2,9$. e) $2,\{1,2\}$. f) $4,\mathrm{Z}$.
37.1.2 $\langle 1,a\rangle,\langle 1,b\rangle,\langle 2,a\rangle,\langle 2,b\rangle$.
37.6.1 This is false for any nonempty set $A$ because the elements of $A\times A$ are pairs of elements of $A$, and an ordered pair is distinct from its coordinates (see 35.1). (The last statement implies that in fact for nonempty $A$, $A\times A$ and $A$ have no elements in common.) The statement $A\times A=A$ is true if $A=\emptyset$.
37.7.1 “For all sets $A$ and $B$ and all nonempty sets $C$,…”
37.9.1
(a) $\Lambda$
(b) $1,2$
(c) $\langle 1,1\rangle,\langle 1,2\rangle,\langle 2,1\rangle,\langle 2,2\rangle$
(d) $\langle 1,1,1\rangle,\langle 1,1,2\rangle,\langle 1,2,1\rangle,\langle 1,2,2\rangle,\langle 2,1,1\rangle,\langle 2,1,2\rangle,\langle 2,2,1\rangle,\langle 2,2,2\rangle$
(e) $\langle 1,3\rangle,\langle 1,4\rangle,\langle 1,5\rangle,\langle 2,3\rangle,\langle 2,4\rangle,\langle 2,5\rangle$
(f) $\langle 3,1\rangle,\langle 3,2\rangle,\langle 4,1\rangle,\langle 4,2\rangle,\langle 5,1\rangle,\langle 5,2\rangle$
(g) $\langle 1,1,3\rangle,\langle 1,1,4\rangle,\langle 1,1,5\rangle,\langle 1,2,3\rangle,\langle 1,2,4\rangle,\langle 1,2,5\rangle,\langle 2,1,3\rangle,\langle 2,1,4\rangle,\langle 2,1,5\rangle,\langle 2,2,3\rangle,\langle 2,2,4\rangle,\langle 2,2,5\rangle$
(h) $\langle 1,\langle 1,3\rangle\rangle,\langle 1,\langle 1,4\rangle\rangle,\langle 1,\langle 1,5\rangle\rangle,\langle 1,\langle 2,3\rangle\rangle,\langle 1,\langle 2,4\rangle\rangle,\langle 1,\langle 2,5\rangle\rangle,\langle 2,\langle 1,3\rangle\rangle,\langle 2,\langle 1,4\rangle\rangle,\langle 2,\langle 1,5\rangle\rangle,\langle 2,\langle 2,3\rangle\rangle,\langle 2,\langle 2,4\rangle\rangle,\langle 2,\langle 2,5\rangle\rangle$
(i) $\langle 1,3\rangle,\langle 1,4\rangle,\langle 1,5\rangle,\langle 2,3\rangle,\langle 2,4\rangle,\langle 2,5\rangle,1,2$
(j) $\emptyset$
37.9.2
$$\begin{array}{c|ccccccc} & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\ \hline 1 & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} \\ 2 & \mathrm{Y} & \mathrm{N} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{Y} \\ 3 & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} \\ 4 & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} \\ 5 & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} \\ 6 & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} \\ 7 & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} \end{array}$$
38.2.1 $\left\{\langle x,n\rangle\mid x>n\right\}\subseteq\mathrm{R}\times\mathrm{N}$.
38.2.2 $\left\{\langle x,y\rangle\mid x\in\mathrm{R},y=1\right\}=\left\{\langle x,1\rangle\mid x\in\mathrm{R}\right\}\subseteq\mathrm{R}\times\mathrm{R}$
38.2.3 $\{1\}\subseteq\mathrm{R}$
38.2.4 $\left\{\langle x,y,z,w\rangle\mid x+y=z\right\}\subseteq\mathrm{R}\times\mathrm{R}\times\mathrm{R}\times\mathrm{R}$.
39.3.7 $F(1)=\{\{1\},\{1,2\},\{1,3\},\{1,2,3\}\}$ and $F(2)=\{\{2\},\{1,2\},\{2,3\},\{1,2,3\}\}$.
40.2.6 (a) and (d) only.
41.1.8
$$\begin{array}{c|cc} & F(2) & F(4) \\ \hline \mathrm{a)} & 2 & 4 \\ \mathrm{b)} & 42 & 42 \\ \mathrm{c)} & 2 & 4 \end{array}$$
41.1.9 a) $\langle 2,2\rangle,\langle 3,3\rangle$
b) $\langle 2,2\rangle,\langle 3,3\rangle$
c) $\langle 2,2\rangle,\langle 3,3\rangle$
d) $\langle 1,3\rangle,\langle 2,3\rangle,\langle 3,3\rangle$
e) $\langle\langle 1,2\rangle,1\rangle,\langle\langle 1,3\rangle,1\rangle,\langle\langle 2,2\rangle,2\rangle,\langle\langle 2,3\rangle,2\rangle,\langle\langle 3,2\rangle,3\rangle,\langle\langle 3,3\rangle,3\rangle$
42.2.3 a) $\lambda x.x^{3}$; $x\mapsto x^{3}\colon\mathrm{R}\to\mathrm{R}$ b) $\lambda\langle a,b\rangle.a$; $\langle a,b\rangle\mapsto a\colon A\times B\to A$. c) $\lambda\langle a,b\rangle.a+b$; $\langle a,b\rangle\mapsto a+b\colon\mathrm{R}\times\mathrm{R}\to\mathrm{R}$
43.1.4 a) $\langle 1,\mathrm{FALSE}\rangle,\langle 2,\mathrm{TRUE}\rangle,\langle 3,\mathrm{TRUE}\rangle$
b) $\langle 1,\mathrm{TRUE}\rangle,\langle 2,\mathrm{FALSE}\rangle,\langle 3,\mathrm{TRUE}\rangle$
c) $\langle\langle 2,2\rangle,4\rangle,\langle\langle 2,3\rangle,5\rangle,\langle\langle 3,2\rangle,5\rangle,\langle\langle 3,3\rangle,6\rangle$
44.1.5 a) (1) only. b) (2) only. c) (3) only. d) (1) only. Note that (4) is not an answer to (d) because the function is given as having codomain $\mathrm{R}$. Of course there is a function $x\mapsto x^{2}\colon\mathrm{R}\to\mathrm{R}^{+}$ with the same graph but it is technically a different function. For many purposes, this is merely a technicality, but there are places in mathematics where the distinction is quite important.
46.4.3 $35\ 22\ +\ 6\ 5\ +\ *$.
48.1.5 We must show, for all subsets $A$, $B$ and $C$ of $S$, that $A\cup(B\cup C)=(A\cup B)\cup C$. We will do this using Method 21.2.1, page 32. Suppose that $x\in A\cup(B\cup C)$. Then by (33.1), page 47, either $x\in A$ or $x\in B\cup C$. If $x\in A$, then $x\in A\cup B$, so $x\in(A\cup B)\cup C$ by using the definition of union twice. If $x\in B\cup C$, then either $x\in B$ or $x\in C$. If $x\in B$, then $x\in A\cup B$, so $x\in(A\cup B)\cup C$. If $x\in C$, then again by definition of union, $x\in(A\cup B)\cup C$. So we have verified that in every case,
$$x\in A\cup(B\cup C)\Rightarrow x\in(A\cup B)\cup C$$
so that by Definition 31.1, page 43, $A\cup(B\cup C)\subseteq(A\cup B)\cup C$. A similarly tedious argument shows that $(A\cup B)\cup C\subseteq A\cup(B\cup C)$. Therefore by Method 21.2.1, $A\cup(B\cup C)=(A\cup B)\cup C$.
50.1.4 (1) is associative, not commutative, and does not have an identity. (2) is not associative (because $(a\mathbin{\Delta}b)\mathbin{\Delta}c=a$ but $a\mathbin{\Delta}(b\mathbin{\Delta}c)=b$), is commutative, and does not have an identity.
50.1.7 The empty set, since for any subset $A$ of $S$, $A\cup\emptyset=\emptyset\cup A=A$.
51.1.5
a) $\langle 1,3\rangle,\langle 1,5\rangle,\langle 2,1\rangle,\langle 2,3\rangle,\langle 2,5\rangle,\langle 3,1\rangle,\langle 3,5\rangle$
b) $\langle 2,2\rangle,\langle 2,4\rangle,\langle 2,6\rangle,\langle 2,8\rangle,\langle 2,10\rangle,\langle 3,3\rangle,\langle 3,6\rangle,\langle 3,9\rangle,\langle 5,5\rangle,\langle 5,10\rangle,\langle 7,7\rangle$
c) $\langle 1,1\rangle,\langle 1,2\rangle,\langle 1,3\rangle,\langle 2,2\rangle,\langle 3,3\rangle$
52.1.3
a) $\langle 1,2\rangle,\langle 1,3\rangle,\langle 1,4\rangle,\langle 2,3\rangle,\langle 2,4\rangle,\langle 3,4\rangle$
b) $\langle 1,1\rangle,\langle 2,2\rangle,\langle 3,3\rangle,\langle 4,4\rangle$. (This is $\Delta_{A}$.)
c) $\langle 1,3\rangle,\langle 2,3\rangle,\langle 3,3\rangle,\langle 4,3\rangle$.
d) $\langle 1,1\rangle,\langle 3,3\rangle,\langle 1,3\rangle,\langle 3,1\rangle$.
53.1.2 (a), (c) and (e) are functional relations.
53.2.3 $1\mapsto\{3,5\}$, $2\mapsto\{1,3,5\}$, $3\mapsto\{1,5\}$.
53.3.3 $\{\langle 1,3\rangle,\langle 1,4\rangle,\langle 2,1\rangle,\langle 2,3\rangle,\langle 2,4\rangle,\langle-666,0\rangle\}$
55.1.9 (b) is not reflexive, the others are reflexive.
56.1.4 (b) and (c) are symmetric, (a) and (d) are not.
57.1.9 (a), (b) and (c) are antisymmetric; (d) is not. Note that (c) is vacuously antisymmetric.
59.1.3
$$\begin{array}{c|ccccc} & \mathrm{ref} & \mathrm{sym} & \mathrm{ant} & \mathrm{trs} & \mathrm{irr} \\ \hline \mathrm{a} & \mathrm{Y} & \mathrm{N} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} \\ \mathrm{b} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{Y} \\ \mathrm{c} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{Y} \\ \mathrm{d} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} \\ \mathrm{e} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} \\ \mathrm{f} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{Y} \end{array}$$
59.1.4
$$\begin{array}{c|cccccl} & \mathrm{ref} & \mathrm{sym} & \mathrm{ant} & \mathrm{trs} & \mathrm{irr} & \mathrm{Note} \\ \hline \mathrm{a} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \\ \mathrm{b} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \\ \mathrm{c} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \\ \mathrm{d} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \\ \mathrm{e} & \mathrm{Y} & \mathrm{N} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} & \\ \mathrm{f} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} & \mathrm{Y} & \mathrm{N} & \\ \mathrm{g} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \mathrm{N} & \\ \end{array}$$
concerning (d): $2\leq 3^{2}$, $3\leq 2^{2}$, $8\leq 3^{2}$.
60.1.2 a: $q=0$, $r=2$. b: $q=0$, $r=0$. c: $q=2$, $r=0$. d: $q=3$, $r=1$.
60.1.4 Suppose $a=qm+r$ and $b=q'm+r$. Then $a-b=qm-q'm=(q-q')m$ so it is divisible by $m$.
60.2.3 Since $m\operatorname{div}n=a$, $m=an+r$ for some integer $r$ such that $0\leq r<n$. We are given that $m=an+n+b+2$, so $r=n+b+2$. Hence $n+b+2<n$, so that $b+2<0$, so $b<0$.
60.2.4 Since $n\mid s$, $s=qn$ for some integer $q$. $q$ is not less than 0 since $n$ and $s$ are nonnegative. It is not greater than 0 since then $qn\geq n>s$ but we are given $s=qn$. So $q$ must be 0, so that $s$ is 0 too.
60.5.2 By Definition 60.1, we must show that $37=7\cdot 5+2$ and that $0\leq 2<5$. Both are simple arithmetic. It follows from Theorem 60.2 that the quotient is 7 and the remainder 2 as claimed. (Yes, you knew this in fourth grade. The point here is that it follows from the definitions and theorems we have.)
60.5.4 4, because $m=36q+40=36(q+1)+4$ and $0\leq 4<36$.
61.1.3 $n\leq r<n+1\vdash n=\operatorname{floor}(r)$, where $n$ is of type integer.
61.2.3 a: $\operatorname{trunc}(7/5)=\operatorname{floor}(7/5)=1$. b: $\operatorname{trunc}(-7/5)=-1$; $\operatorname{floor}(-7/5)=-2$. c: $\operatorname{trunc}(-7)=\operatorname{floor}(-7)=-7$. d: $\operatorname{trunc}(-6.7)=-6$; $\operatorname{floor}(-6.7)=-7$.
62.2.2 $30=2^{1}\times 3^{1}\times 5^{1}$, $35=5^{1}\times 7^{1}$, $36=2^{2}\times 3^{2}$, $37=37^{1}$, $38=2^{1}\times 19^{1}$.
62.3.2
$$\begin{array}{r|rrrrrr} \mathrm{prime} & 98 & 99 & 100 & 111 & 1332 & 1369 \\ \hline 3 & 0 & 2 & 0 & 1 & 2 & 0 \\ 7 & 2 & 0 & 0 & 0 & 0 & 0 \\ 37 & 0 & 0 & 0 & 1 & 1 & 2 \end{array}$$
62.5.1
$$\begin{array}{rcl} 90 & = & 2^{1}\times 3^{2}\times 5^{1} \\ 91 & = & 7^{1}\times 13^{1} \\ 92 & = & 2^{2}\times 23^{1} \\ 93 & = & 3^{1}\times 31^{1} \\ 94 & = & 2^{1}\times 47^{1} \\ 95 & = & 5^{1}\times 19^{1} \\ 96 & = & 2^{5}\times 3^{1} \\ 97 & = & 97^{1} \\ 98 & = & 2^{1}\times 7^{2} \\ 99 & = & 3^{2}\times 11^{1} \end{array}$$
63.2.2
$$\begin{array}{lrr} \mathrm{PAIR} & \mathrm{GCD} & \mathrm{LCM} \\ 12,\,12 & 12 & 12 \\ 12,\,13 & 1 & 156 \\ 12,\,14 & 2 & 84 \\ 12,\,24 & 12 & 24 \end{array}$$
63.2.4 False: for example $\operatorname{GCD}(4,2)=\operatorname{GCD}(2,2)=2$. If you said “TRUE” you may have fallen into the trap of saying “the GCD of $m$ and $n$ is the product of the primes that $m$ and $n$ have in common,” which is incorrect.
63.2.5 $\langle 1,1\rangle,\langle 1,2\rangle,\langle 1,3\rangle,\langle 1,4\rangle,\langle 2,1\rangle,\langle 2,3\rangle,\langle 3,1\rangle,\langle 3,2\rangle,\langle 3,4\rangle,\langle 4,1\rangle,\langle 4,3\rangle$
63.3.2 If $d$ divides both $n$ and $n+1$ it must divide their difference, which is 1. Hence the largest integer dividing $n$ and $n+1$ is 1.
64.2.2 Suppose $e\mid m$ and $e\mid n$. Let $p$ be any prime. Then $\mathrm{e}_{p}(e)$ must be less than or equal to $\mathrm{e}_{p}(m)$ and also less than or equal to $\mathrm{e}_{p}(n)$. Thus it is less than or equal to $\mathrm{e}_{p}(d)$, which by Theorem 64.1 is the minimum of $\mathrm{e}_{p}(m)$ and $\mathrm{e}_{p}(n)$. This is true for every prime $p$, so in the prime factorization of $e$, every prime occurs no more often than it does in $d$, so by Theorem 62.4, $e\mid d$.
64.2.4 Let $p$ be any prime. By Theorem 64.1, $\mathrm{e}_{p}(d)=\min(\mathrm{e}_{p}(m),\mathrm{e}_{p}(n))$. Observe that $\mathrm{e}_{p}(m/d)=\mathrm{e}_{p}(m)-\mathrm{e}_{p}(d)$ and $\mathrm{e}_{p}(n/d)=\mathrm{e}_{p}(n)-\mathrm{e}_{p}(d)$. We know that $\mathrm{e}_{p}(d)=\min(\mathrm{e}_{p}(m),\mathrm{e}_{p}(n))$, so one of the numbers $\mathrm{e}_{p}(m)-\mathrm{e}_{p}(d)$ and $\mathrm{e}_{p}(n)-\mathrm{e}_{p}(d)$ is zero. That means $p$ does not divide both $m$ and $n$. Since $p$ was assumed to be any prime, this means no prime divides both $m$ and $n$. Therefore, $\operatorname{GCD}(m/d,n/d)=1$, as required.
66.6.3 By Definition 66.4,
$$n=d_{m}b^{m}+\cdots+d_{1}b^{1}+d_{0}b^{0}$$
so
$$bn=d_{m}b^{m+1}+\cdots+d_{1}b^{2}+d_{0}b^{1}+0b^{0}$$
which means that $bn$ is represented by $d_{m}d_{m-1}\cdots d_{1}0$.
67.2.3 a) 1100000. b) 11010010. c) 110001111. d) 1010111100.
67.2.4 a) 1525. b) b00. c) 10c9a.
68.4.1
$$\begin{array}{rrrll} \mathrm{DEC} & \mathrm{OCT} & \mathrm{HEX} & \mathrm{BASE} & \mathrm{BINARY} \\ & & & 36 & \\ 100 & 144 & 64 & \mathrm{2s} & 1100100 \\ 111 & 157 & \mathrm{6f} & 33 & 1101111 \\ 127 & 177 & \mathrm{7f} & \mathrm{3j} & 1111111 \\ 128 & 200 & 80 & \mathrm{3k} & 10000000 \end{array}$$
69.3.1 $(x\geq 10)\vee(x\leq 12)$. Of course, this is true of all real numbers.
69.3.2 $(x\geq 10)\vee(x\geq 12)$. Of course, this is the same as saying $x\geq 10$.
71.2.5 Here are the truth tables:
$$\begin{array}{cc|ccccc} P & Q & P\vee Q & \neg P & \neg Q & \neg P\wedge\neg Q & \neg(\neg P\wedge\neg Q) \\ \hline \mathrm{T} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{F} & \mathrm{F} & \mathrm{T} \\ \mathrm{T} & \mathrm{F} & \mathrm{T} & \mathrm{F} & \mathrm{T} & \mathrm{F} & \mathrm{T} \\ \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{F} & \mathrm{T} \\ \mathrm{F} & \mathrm{F} & \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{T} & \mathrm{F} \end{array}$$
The third and seventh columns are the same.
71.2.9
$$\begin{array}{cc|cccccc} P & Q & \neg P & \neg P\vee Q & P\Rightarrow Q & \neg Q & P\wedge\neg Q & \neg(P\wedge\neg Q) \\ \hline \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{F} & \mathrm{T} \\ \mathrm{T} & \mathrm{F} & \mathrm{F} & \mathrm{F} & \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{F} \\ \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{F} & \mathrm{T} \\ \mathrm{F} & \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{T} \end{array}$$
The fourth, fifth and eighth columns are the same.
74.2.1 Valid.
74.2.2 Valid.
74.2.3 Invalid.
74.2.7 Let $P$ be $3>5$ and $Q$ be $4>6$. Then $P\Rightarrow Q$ is true because both hypothesis and conclusion are false; on the other hand, $Q$ is false. Since the hypothesis of $(P\Rightarrow Q)\Rightarrow Q$ is therefore true and the conclusion false, the statement is false.
75.3.4 a: True. Witness: 2. b: False. Counterexample: 9. c: True. Witness: 2. d: False. Counterexample: 3.
75.3.5 (a) True. (b) True. (c) True. (d) False; a counterexample is given by taking $P$ to be $x>7$ and $Q$ to be $x<7$.
76.1.4 There are no counterexamples to $(\forall y)P(14,y)$ since it is the statement
$$(\forall y)((14=y)\vee(14>5))$$
which is true because “$14>5$” is true.
The number 3 and any number greater than 5 is a witness to $(\exists x)P(x,3)$.
77.2.1 (a) means that for every real number the statement $(\exists y)(x>y)$ is true. A witness for that statement is $x-1$, so the statement is true. (b) means that there is a real number greater than any real number, which is false. (c) is true. Witness: Let $x=y=3$. Then the statement becomes $((3>3)\Rightarrow(3=3))$, which is (vacuously) true.
82.2.1 valid: direct method.
82.2.2 invalid: fallacy of affirming the hypothesis.
82.2.3 invalid: fallacy of denying the consequence.
82.2.4 valid with false hypothesis.
82.2.5 invalid: fallacy of denying the consequence.
85.1.3 This follows from Rule (85.1), page 124, going from top to bottom. To use it, we must verify the two hypotheses of the rule with $r=m-qn$. The first is $qn+r=qn+(m-qn)=m$, as required. The other, $0\leq r<n$, is immediate. Therefore the conclusion, part of which states that $q=m\operatorname{div}n$, must be true.
86.2.4 This is a proof by contradiction. Suppose $p>2$ and $p$ is not odd. Then $p$ is even, so it is divisible by 2. Therefore $p$ is divisible by a number other that $p$ and 1 (namely 2, which is not $p$ because $p>2$). This contradiction to the definition of prime (Definition 6.1, page 10) shows that the claim is correct.
88.3.1
$$\begin{array}{rrrl} a & b & c & \\ 2 & 12 & 16 & \text{Impossible, since } GCD(12,16)=4. \\ 4 & 12 & 16 & 4=16-12. \\ 2 & 26 & 30 & 2=7\times 26-6\times 30. \\ 4 & 26 & 30 & 4=14\times 26-12\times 30 \\ -2 & 26 & 30 & -2=6\times 30-7\times 26. \\ 1 & 51 & 100 & 1=25\times 100-49\times 51. \end{array}$$
88.3.3 If $m$ and $n$ are relatively prime, then by Theorem 87.2 there are integers $a''$ and $b''$ for which $a''m+b''n=1$. Then $(a+a'')m+(b+b'')n=am+bn+a''m+b''n=e+1$. Note: If you reasoned as follows: “Because $a$ and $b$ are relatively prime and $am+bn=e$, it follows that $e=1$ by Theorem 87.2,” then you are guilty of the fallacy of affirming the hypothesis (page 121).
89.1.7 The set of positive integers.
90.1.5 $F(\{2,3\})=\{5\}$ and $F(\{3\})$ is also $\{5\}$.
93.1.4
$$\begin{array}{cccl} & \mathrm{inj?} & \mathrm{surj?} & \mathrm{image} \\ \mathrm{a)} & \mathrm{N} & \mathrm{Y} & B \\ \mathrm{b)} & \mathrm{N} & \mathrm{N} & \{2,3\} \\ \mathrm{c)} & \mathrm{Y} & \mathrm{Y} & A \\ \mathrm{d)} & \mathrm{Y} & \mathrm{N} & B \\ \mathrm{e)} & \mathrm{Y} & \mathrm{N} & B \\ \mathrm{f)} & \mathrm{N} & \mathrm{N} & \{3\} \\ \mathrm{g)} & \mathrm{N} & \mathrm{Y} & \{\mathrm{TRUE},\mathrm{FALSE}\} \\ \mathrm{h)} & \mathrm{N} & \mathrm{Y} & A \\ \mathrm{i)} & \mathrm{N} & \mathrm{N} & \{4,5,6,7,8\} \\ \mathrm{j)} & \mathrm{N} & \mathrm{Y} & \{\mathrm{TRUE},\mathrm{FALSE}\} \end{array}$$
93.1.5
$$\begin{array}{cccl} & \mathrm{inj?} & \mathrm{surj?} & \mathrm{image} \\ \mathrm{a)} & \mathrm{Y} & \mathrm{Y} & \mathrm{R} \\ \mathrm{b)} & \mathrm{Y} & \mathrm{Y} & \mathrm{R} \\ \mathrm{c)} & \mathrm{N} & \mathrm{N} & \{r\in\mathrm{R}\mid r\geq 1\} \\ \mathrm{d)} & \mathrm{N} & \mathrm{N} & \{r\in\mathrm{R}\mid r\leq 2\} \end{array}$$
93.1.7 You must show that there are two different elements $a$ and $a'$ of $A$ for which $F(a)=F(a')$. That is because the definition of injective is the implication
$$a\neq a'\ \Rightarrow\ F(a)\neq F(a')$$
and the negation of that implication is the statement
$$a\neq a'\wedge\neg(F(a)\neq F(a'))$$
in other words
$$a\neq a'\wedge F(a)=F(a')$$
96.2.5
$$\begin{array}{c|cc|cc} \mathrm{domain} & & \mathrm{R} & & \mathrm{R}^{+} \\ & \mathrm{inj?} & \mathrm{surj?} & \mathrm{inj?} & \mathrm{surj?} \\ \hline \mathrm{a)} & \mathrm{N} & \mathrm{N} & \mathrm{Y} & \mathrm{N} \\ \mathrm{b)} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} \\ \mathrm{c)} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} \end{array}$$
If the answers in the last column puzzle you, remember that the codomain of the restriction of a function is the same as the codomain of the function.
97.1.3 a) Domain: $\{1,2,3,4,5\}$.
Graph: $\left\{\langle 1,2\rangle,\langle 2,5\rangle,\langle 3,-1\rangle,\langle 4,3\rangle,\langle 5,6\rangle\right\}$.
b) Domain: $\{1,2,3,4\}$.
Graph: $\left\{\langle 1,\pi\rangle,\langle 2,5\rangle,\langle 3,\pi-1\rangle,\ \langle 4,\sqrt{2}\rangle\right\}$.
c) Domain: $\{1,2,3\}$.
Graph: $\left\{\langle 1,\langle 3,5\rangle\rangle,\langle 2,\langle 8,-7\rangle\rangle,\langle 3,\langle 5,5\rangle\rangle\right\}$.
97.3.1 a) $\langle 5,5,3,17,-1\rangle$. b) $\langle 2\pi,3\pi,4\pi,5\pi,6\pi\rangle$. c) $\langle 1,4,9,16,25,36\rangle$.
98.2.6
a) $G\circ F\colon\{1,2,3,4\}\to\{1,3,5,7,9\}$, graph $\left\{\langle 1,1\rangle,\langle 2,7\rangle,\langle 3,3\rangle,\langle 4,7\rangle\right\}$.
b) $G\circ F\colon\mathrm{R}\to\mathrm{R}$, $(G\circ F)(x)=2x^{3}$.
c) $G\circ F\colon\mathrm{R}\to\mathrm{R}$, $(G\circ F)(x)=8x^{3}$.
d) $n\mapsto(n/2)\colon\mathrm{N}\to\mathrm{R}$.
e) $\langle x,y\rangle\mapsto\langle 3,x\rangle\colon\mathrm{R}\times\mathrm{R}\to\mathrm{R}\times\mathrm{R}$.
99.1.5 $1\mapsto 1$, $2\mapsto 2$, $3\mapsto 2$.
100.1.5

101.2.3 Only (a) and (f) have inverses. For (a) the inverse is $F^{-1}\colon\{3,4,5,6\}\to\{1,2,3,4\}$ with graph $\left\{\langle 3,1\rangle,\langle 4,2\rangle,\langle 6,3\rangle,\langle 5,4\rangle\right\}$. For (f) it is $n\mapsto n-1\colon\mathrm{Z}\to\mathrm{Z}$.
101.2.4 All except (c) and (h) have left inverses. (a), (f) and (h) have right inverses.
101.2.5 If $L$ is a left inverse of $G\colon A\to B$, then for any $x$ in the domain of $G$, $L=L\circ\operatorname{id}_{B}=L\circ(G\circ F)=(L\circ G)\circ F=\operatorname{id}_{A}\circ F=F$.
101.5.3
a) $x\mapsto\sqrt{x}$.
b) $x\mapsto x+1$.
c) $x\mapsto x/2$.
d) This one is its own inverse.
102.1.3 $\sum_{k=1}^{5}k^{2}=55$ and $\prod_{k=1}^{5}k^{2}=14{,}400$.
103.4.1 Basis: $\sum_{k=1}^{1}\frac{1}{k(k+1)}=\frac{1}{2}$. Induction step:
$$\begin{array}{rcl} \displaystyle\sum_{k=1}^{n+1}\frac{1}{k(k+1)} & = & \displaystyle\frac{1}{(n+1)(n+2)}+\sum_{k=1}^{n}\frac{1}{k(k+1)} \\[2ex] & = & \displaystyle\frac{1}{(n+1)(n+2)}+\frac{n}{n+1} \\[2ex] & = & \displaystyle\frac{1+n(n+2)}{(n+1)(n+2)} \\[2ex] & = & \displaystyle\frac{n^{2}+2n+1}{(n+1)(n+2)} \\[2ex] & = & \displaystyle\frac{(n+1)^{2}}{(n+1)(n+2)} \\[2ex] & = & \displaystyle\frac{n+1}{n+2} \end{array}$$
as required.
103.4.2 Induction step: If $n$ is even,
$$\begin{array}{rcl} \displaystyle\sum_{k=1}^{n+1}(-1)^{k}k & = & \displaystyle-(n+1)+\sum_{k=1}^{n}(-1)^{k}k \\[2ex] & = & \displaystyle-(n+1)+\frac{n}{2} \\[2ex] & = & \displaystyle\frac{1}{2}(n-2n-2) \\[2ex] & = & \displaystyle\frac{-n-2}{2} \\[2ex] & = & \displaystyle\frac{-(n+1+1)}{2} \end{array}$$
as required, and if $n$ is odd,
$$\begin{array}{rcl} \displaystyle\sum_{k=1}^{n+1}(-1)^{k}k & = & \displaystyle(n+1)+\sum_{k=1}^{n}(-1)^{k}k \\[2ex] & = & \displaystyle n+1-\frac{n+1}{2} \\[2ex] & = & \displaystyle\frac{n+1}{2} \end{array}$$
again as required.
104.4.1 Suppose $d$ is a positive integer and $d\mid p$ and $d\mid m$. The only divisors of $p$ are 1 and $p$. If $d=p$, then $p$ does not divide $m$. So the only possibility is that $d=1$. Thus 1 is the largest divisor of $p$ and $m$, so $\operatorname{GCD}(p,m)=1$.
104.4.2
105.1.3
$$\begin{array}{c|rrrrr} & 1 & 2 & 3 & 4 & 5 \\ \hline \mathrm{a)} & -3 & -6 & -18 & -72 & -360 \\ \mathrm{b)} & 1 & 5 & 14 & 30 & 55 \\ \mathrm{c)} & 2 & 1 & 0 & 2 & 1 \\ \mathrm{d)} & 3 & 4 & 7 & 11 & 18 \\ \mathrm{e)} & 0 & 1 & 2 & 9 & 44 \end{array}$$
105.2.1 $1!=1$, and $(n+1)!=(n+1)n!$ which by the induction hypothesis is
$$(n+1)\Pi_{k=1}^{n}k=\Pi_{k=1}^{n+1}k$$
as required.
107.3.1 For $n=1$, this is $1^{2}-0=(-1)^{2}$. For the induction step, suppose $f_{n}^{2}-f_{n-1}f_{n+1}=(-1)^{n+1}$. Then
$$\begin{array}{rcl} f_{n+1}^{2}-f_{n}f_{n+2} & = & f_{n+1}^{2}-f_{n}(f_{n}+f_{n+1}) \\ & = & f_{n+1}^{2}-f_{n}^{2}-f_{n}f_{n+1} \\ & = & f_{n+1}^{2}-f_{n}f_{n+1}-f_{n-1}f_{n+1} \\ & & -f_{n}^{2}+f_{n-1}f_{n+1} \end{array}$$
The first three terms are $f_{n+1}(f_{n+1}-f_{n}-f_{n-1})$, which is 0 by definition of the Fibonacci recurrence. By the induction hypothesis, the last two terms are $(-1)(-1)^{n+1}=(-1)^{n+2}$ as required.
109.8.2 The last entry of $\langle a\rangle$ is $a$, and the last entry of $\operatorname{cons}(a,L)$ is the last entry of $L$.
110.4.2 (a) ‘0111010’. (b) ‘011’. (c) ‘011’. (d) $\Lambda$. (e) ‘011011011’. (f) ‘011011011’.
110.4.3
EV.1 The empty string $\Lambda$ is a string in $E$.
EV.2 If $w$ is a string in $E$ then ‘$awa$’, ‘$awb$’, ‘$bwa$’ and ‘$bwb$’ are all strings in $E$.
EV.3 Every string in $E$ is given by one of the preceding rules.
112.4.2
a) $\bigcup\mathcal{F}=\{1,2,3,4,5\}$, $\bigcap\mathcal{F}=\emptyset$.
b) $\bigcup\mathcal{F}=(-3..3)$, $\bigcap\mathcal{F}=(-1..1)$.
c) $\bigcup\mathcal{F}=(-1..3)-\{1,2\}$, $\bigcap\mathcal{F}=\emptyset$.
113.1.2 The set of positive divisors of 8 is $\{1,2,4,8\}$. Let the bijection $\beta$ required by Definition 113.1 be defined by: $\beta(1)=1$, $\beta(2)=2$, $\beta(3)=4$, and $\beta(4)=8$.
113.5.1 $x\mapsto x+1\colon\mathrm{N}\to\mathrm{N}^{+}$ is a bijection.
114.2.3 $9\cdot 10\cdot 10\cdot 10=9000$.
114.2.4 $9\cdot 10\cdot 10\cdot 10\cdot 5=45{,}000$.
114.3.1 $2^{n}-1$.
114.3.2 $F(n)=3^{n}$.
114.3.3 $G(0)=0$, $G(1)=1$, and for $n\geq 2$, $G(n)=3^{n-2}$.
115.2.3 (a) $2^{n}-1$. (b) $n$. (c) $2^{(2^{n})}$.
116.2.3 Let $Z$ the set of zinc pennies, $B$ the set of pennies minted before 1932, and $A$ the set of pennies that are neither zinc nor minted before 1932. Let $P$ be your whole collection. Then
$$\begin{array}{rcl} |P| & = & |Z|+|B|+|A|-|Z\cap B|-|Z\cap A| \\ & & -|A\cap B|+|Z\cap A\cap B| \end{array}$$
Since
$$|Z\cap A|=|A\cap B|=|A\cap B\cap Z|=0$$
we have
$$|P|=3+8+|A|-|Z\cap B|$$
so you need to know the number of pennies that are neither zinc nor minted before 1932 and the number of zinc pennies minted before 1932. (In fact, all zinc pennies were minted in 1943.)
117.1.13 All are partitions except (b) and (d). Even though every element of $S$ is an element of exactly one set in (d), (d) is not a partition because it contains the empty set as an element.
117.3.1 Let $A=\{1,3,5\}$ and let $\Pi=\{A,\mathrm{Z}-A\}$.
120.3.1 Every block of $S/F$ must be a singleton.
120.4.1 Let $F(1)=F(2)=F(\pi)=42$ and $F(x)=41$ for all other real numbers $x$.
121.2.1
a) $\beta_{F}(\{1,3,5\})=4$; $\beta_{F}(\{4\})=6$; $\beta_{F}(\{2\})=0$.
b) $\beta_{F}(A)=3$.
c) $\beta_{F}(\{n\})=n$ for $n\in A$.
d) $\beta_{F}(\{n\})=n^{2}$ for $n\in A$. (Observe that for (c) and (d), $A/F$ is the same set.)
e) $\beta_{F}(\{1,2\})=-5$; $\beta_{F}(\{3\})=1$; $\beta_{F}(\{4\})=21$; $\beta_{F}(\{5\})=55$.
122.3.1 $26^{10}$.
126.1.3
a) $\left\{\langle 2,a\rangle,\langle 2,c\rangle,\langle 3,a\rangle,\langle 3,c\rangle,\langle 3,d\rangle\right\}$
b) $\emptyset$
c) $\left\{\langle 2,c\rangle,\langle 3,c\rangle,\langle 3,d\rangle,\langle 3,e\rangle,\langle 4,c\rangle,\langle 4,d\rangle,\langle 4,e\rangle\right\}$.
126.3.1
$$\begin{array}{c|ccc} & 1\mathrm{R}^{2}3? & 1\mathrm{R}^{3}3? & 3\mathrm{R}^{2}1? \\ \hline \mathrm{a} & \mathrm{Y} & \mathrm{N} & \mathrm{N} \\ \mathrm{b} & \mathrm{N} & \mathrm{N} & \mathrm{N} \\ \mathrm{c} & \mathrm{Y} & \mathrm{Y} & \mathrm{N} \\ \mathrm{d} & \mathrm{Y} & \mathrm{Y} & \mathrm{Y} \end{array}$$
127.2.1 “$\leq$”.
127.3.1 $\mathrm{R}\times\mathrm{R}-\Delta$: any two different real numbers are related.
127.3.4 By Definition 127.1, we must show that
C.1 $\alpha\cup\alpha^{op}$ is symmetric.
C.2 $\alpha\subseteq\alpha\cup\alpha^{op}$.
C.3 If $\gamma$ is symmetric and $\alpha\subseteq\gamma$, then $\alpha\cup\alpha^{op}\subseteq\gamma$.
To prove C.1, suppose $x(\alpha\cup\alpha^{op})y$. Then $x\alpha y$ and $x\alpha^{op}y$, so $y\alpha^{op}x$ and $y(\alpha^{op})^{op}x$, that is, $y\alpha x$. So $y(\alpha\cup\alpha^{op})x$. Hence $\alpha\cup\alpha^{op}$ is symmetric.
C.2 follows because for any sets $S$ and $T$, $S\subseteq S\cup T$. As for C.3, suppose $\gamma$ is symmetric and $\alpha\subseteq\gamma$. Suppose $x\alpha^{op}y$. Then $y\alpha x$, so $y\gamma x$ because $\alpha\subseteq\gamma$. Since $\gamma$ is symmetric, $x\gamma y$. Thus $\alpha^{op}\subseteq\gamma$. We already know that $\alpha\subseteq\gamma$, so it follows that $\alpha\cup\alpha^{op}\subseteq\gamma$ as required.
129.2.1 No; not symmetric.
129.2.2 No; not symmetric or transitive.
129.2.3 No. Not reflexive or transitive.
129.2.4 No. Not transitive.
129.3.1 No, not symmetric or transitive.
129.3.2 Yes. $[0]_{E}=[0..1)$ and $[3]_{E}=[3..4)$.
129.3.3 Yes. $[0]_{E}=[0..1]$ and $[3]_{E}=\{3\}$.
130.1.3 3, 27, 51, 75, 99.
130.4.4 a) 1. b) 5. c) 1.
131.1.3 $F(6)=0$, $F(n)=1$ otherwise. (There are many answers.)
132.2.4 Here are all the possible values of $E$ and $E'$:
$$\begin{array}{ll} E & S/E \\ \Delta_{S}\cup\{\langle 1,2\rangle,\langle 2,1\rangle\} & \{\{1,2\},\{3\},\{4\},\{5\}\} \\ \Delta_{S}\cup\{\langle 1,2\rangle,\langle 2,1\rangle,\langle 3,4\rangle,\langle 4,3\rangle\} & \{\{1,2\},\{3,4\},\{5\}\} \\ \Delta_{S}\cup\{\langle 1,2\rangle,\langle 2,1\rangle,\langle 3,5\rangle,\langle 5,3\rangle\} & \{\{1,2\},\{3,5\},\{4\}\} \\ \Delta_{S}\cup\{\langle 1,2\rangle,\langle 2,1\rangle,\langle 4,5\rangle,\langle 5,4\rangle\} & \{\{1,2\},\{3\},\{4,5\}\} \\ \Delta_{S}\cup\{\langle 1,2\rangle,\langle 2,1\rangle,\langle 3,4\rangle,\langle 3,5\rangle, & \\ \quad\langle 5,4\rangle,\langle 5,3\rangle,\langle 4,5\rangle,\langle 5,4\rangle\} & \{\{1,2\},\{3,4,5\}\} \end{array}$$
135.3.2 We must show that $\alpha$ is antisymmetric, transitive, and irreflexive. If $a\,\alpha\,b$ and $b\,\alpha\,a$, this contradicts the requirement that exactly one of the statements in 135.3 holds unless $a=b$. Thus $a\,\alpha\,b$ and $b\,\alpha\,a$ imply $a=b$, so $\alpha$ is antisymmetric. $\alpha$ is transitive by assumption. Finally, for any $a\in A$, $a=a$, so that rules out $a\,\alpha\,a$, so $\alpha$ is irreflexive.
137.1.3

137.1.4 Only (d).
139.1.5 Lexical ordering: 00, 01, 0101, 0111, 01111, 10101, 10111, 110, 111. Canonical ordering: 00, 01, 110, 111, 0101, 0111, 01111, 10101, 10111.
140.3.2 (a) $\max=3$, no min. (b) no max, $\min=\emptyset$. (c) $\max=20$, $\min=1$. (d) $\max=25$, $\min=1$.
140.3.3 (a) $\max=0$, $\min=1$ (b) no max, $\min=1$ (c) no max, no min.
141.3.2 (a) $\sup=5$, $\operatorname{ninf}=3$ (b) $\sup=60$, $\inf=1$ (c) no sup, $\inf=2$ (d) $\sup=0$, $\inf=1$ (e) $\sup=\{1,2,3\}$, $\inf=\{2\}$
142.1.6 All except (f).
142.1.7 We will show that the infimum of any two elements is the intersection. The proof for the supremum is similar. By Theorem 141.2, we must show
(i) If $B\subseteq A$ and $C\subseteq A$, then $B\cap C\subseteq B$ and $B\cap C\subseteq C$.
(ii) If $B\subseteq A$, $C\subseteq A$, $D\subseteq B$ and $D\subseteq C$, then $D\subseteq B\cap C$.
To see (i), suppose $x\in B\cap C$. By Definition 33.2, page 47, $x\in B$ and $x\in C$. Then by Definition 31.1, $B\cap C\subseteq B$ and $B\cap C\subseteq C$. For (ii), suppose $x\in D$. Then by assumption, $x\in B$ and $x\in C$. Then by Definition 33.2, $x\in B\cap C$. Hence $D\subseteq B\cap C$.
144.2.2

146.2.3 (a) is simple. The relational definition of (a) is:
$G_{0}=\{A,B,C,D\}$
$G_{1}=\{\langle A,A\rangle,\langle B,A\rangle,\langle C,A\rangle,\langle D,A\rangle\}$
147.2.2 There are six automorphisms of (a), representing every possible way of permuting the set $\{B,C,D\}$. There are two automorphisms of (b) (the identity and the one that switches $b$ and $c$.
148.1.3

148.1.4
$G_{0}=\{1,2,3,4\}$
$G_{1}=\{\langle 1,2\rangle,\langle 1,3\rangle,\langle 1,4\rangle,\langle 2,3\rangle,\langle 2,4\rangle,\langle 3,2\rangle,\langle 3,4\rangle,\langle 4,1\rangle\}$
148.1.6
$$\begin{array}{c|ccc} (\text{left}) & a & b & c \\ \hline a & 0 & 1 & 1 \\ b & 1 & 0 & 1 \\ c & 0 & 0 & 0 \end{array} \qquad \begin{array}{c|ccc} (\text{right}) & 1 & 2 & 3 \\ \hline 1 & 0 & 1 & 1 \\ 2 & 1 & 0 & 1 \\ 3 & 0 & 0 & 0 \end{array}$$
149.4.3 $\langle e\rangle$ and $\langle a,d\rangle$. Note that a path of length $n$ or more in a digraph with $n$ nodes cannot be simple.
151.3.1
(a) 1 of length 1, 1 of length 2, 2 of length 3, 2 of length 4.
(b) 1 each of length 1 and 2, 2 of length 3 and 4 of length 4.
151.4.1 (a)
$$\begin{array}{c|cccc} & x & y & z & w \\ \hline x & 2 & 10 & 2 & 0 \\ y & 0 & 4 & 0 & 0 \\ z & 2 & 8 & 2 & 0 \\ w & 0 & 0 & 0 & 1 \end{array}$$
(b)
$$\begin{pmatrix}2&1&1\\1&2&1\\0&0&1\end{pmatrix}$$
152.2.1 All but c and e.
153.3.2 b and d.
153.3.3 a and f are bipartite, a is complete bipartite.
155.1.4 No pair of the graphs are isomorphic.
155.1.5 Map (b) to the triangle with horizontal bottom edge (full) and to one of the triangles with horizontal top edge (nonfull).
157.4.1 b and d have diameter 1, f has diameter 3, the others have diameter 2.
157.4.2 a and b.
157.4.3 All of them.
158.1.4 All of them!
Pages 243–252 of the book (PDF).