0E: Exercises
- Page ID
- 131044
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\ket}[1]{\left| #1 \right>}\)
\(\newcommand{\bra}[1]{\left< #1 \right|}\)
\(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
\(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
\(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
\(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
\(\newcommand{\expect}[1]{\langle #1 \rangle}\)
\(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)
Define \(h : \mathbb{Z} \rightarrow \mathbb{Z} \) by \(h(x) = x^2+4 \). Determine (with reasons) whether or not \(h \) is injective (one-to-one ) and whether or not \(h \) is surjective (onto).
Define \(f:\mathbb Z\to\mathbb Z\) by
\(
f(n)=3n+2.
\)
Determine (with reasons) whether or not \(f \) is one−to−one and whether or not \(f \) is surjective (onto).
- Answer
-
(a) injective (one-to-one) :
Let \(a,b \in mathbb Z \) such that
\(
f(a)=f(b).
\)Then
\begin{align*}
3a+2 &= 3b+2,\\
3a &= 3b,\\
a &= b.
\end{align*}Therefore \(f\) is injective (one-to-one) .
Let \(y=0\). Then
\(
n=-\frac{2}{3},
\)which is not an integer.
Therefore, \(0\) is not in the range of \(f\).
Hence \(f\) is not surjective (onto).
Suppose \(f : A \rightarrow B \) and \(g : B \rightarrow C \) are functions. Prove or disprove the following statements:
-
If \(g \circ f \) is injective (one-to-one) then \(g \) is injective (one-to-one) .
-
If \(g\circ f\) is injective (one-to-one) , then \(f\) is injective (one-to-one) .
-
If \(g\circ f\) is surjective (onto), then \(g\) is surjective (onto).
-
If \(f\) is injective (one-to-one) , then \(g\circ f\) is injective (one-to-one) .
-
If \(g\) is surjective (onto), then \(g\circ f\) is surjective (onto).
-
If \(g \circ f \) is injective (one-to-one) and \(f \) is surjective (onto), then \(g \) is injective (one-to-one) .
-
If \(g \circ f \) is surjective (onto) and \(g \) is injective (one-to-one) , then \(f \) is surjective (onto).
-
If both \(f\) and \(g\) are injective (one-to-one) , then
\(g\circ f\) is injective (one-to-one) -
If both \(f\) and \(g\) are surjective (onto), then
\(g\circ f\) is surjective (onto).
Determine whether or not each of the following binary relations \(R \) on the given set \(A \) is reflexive, symmetric, antisymmetric, or transitive. If a relation has a certain property, prove this is so; otherwise, provide a counterexample to show that it does not. If \(R \) is an equivalence relation, describe the equivalence classes of \(A \).
-
Let \(S = \{0, 1, 2, 3, 4, 5, 6, 7, 8, 9\} \). Define a relation \(R \) on \(A = S \times S \) by \((a, b) R (c, d) \) if and only if \(10a + b \le 10c + d \).
-
Let \(A = \mathbb{Z} \backslash \{0\} \). Define a relation \(R \) on \(A \), by \(a R b \) if and only if \( ab > 0 \).
-
Define a relation \(R \) on \(A = \mathbb{Z} \) by \(a R b \) if and only if \(4 | (3a + b) \).
Error analysis: explain what is wrong with these proofs?
Reflexive: \(3a+a=4a,\)
so \(4\mid(3a+a)\).
Symmetric: if \(4\mid(3a+b)\), then \(3a+b=4m\) for some \(m\in\mathbb{Z}\). Also,
\(3b+a=4(a+b)-(3a+b)=4(a+b-m),\) so \(4\mid(3b+a)\).
Transitive: if \(aRb\) and \(bRc\), then
\(a\equiv b\pmod4 \) and \(b\equiv c\pmod4.\)
Hence \(a\equiv c\pmod4,\) so \(aRc\).
-
Define a relation \(R \) on \(A = \mathbb{Z} \) by \(a R b \) if and only if \(3 | (a^2 - b^2 ) \).
-
Let \(A = \mathbb{R} \), If \(a,b \in \mathbb{R} \), define \(a R b \) if and only if \(a - b \in \mathbb{Z} \).
-
Define a relation \(R \) on the set \(\mathbb{Z} \times \mathbb{Z} \) by \((a, b) R (c, d) \) if and only if \(ac = bd \).
-
Define a relation \(R \) on \(\mathbb{Z} \) by \(a R b \) if and only if \(2 \mid a^2+b\).
-
Let \(A = \mathbb{R} \), If \(a,b \in \mathbb{R} \), define \(a R b \) if and only if \(a - b \in \mathbb{Q} \).
-
Let \(A=\mathbb{R} \times \mathbb{R} \), If \((x,y),(x_1,y_1) \in \mathbb{R}\times \mathbb{R}\), define \((x,y) \, R \, (x_1,y_1)\) if and only if \( x^2+y^2=x_1^2+y_1^2.\)
-
Define a relation \(R \) on \(\mathbb{Z} \) by \(a R b \) if and only if \(5 | (2a + 3b) \).
- Answer
-
\(R \) is reflexive on \(\mathbb{Z} \).
Proof:
Let \(a \in \mathbb{Z} \).
We shall show that \(a R a \), specifically \(5|(2a+3a) \).
Consider that \(2a+3a = 5a \) and \(a \in \mathbb{Z} \).
Thus \(5|(2a+3a) \), and \(aRa \).
Therefore \(R \) is reflexive on \(\mathbb{Z} \).◻
2. \(R \) is symmetric on \(\mathbb{Z} \).
Proof:
Let \(a,b \in \mathbb{Z} \) s.t. \(5|(2a+3b \).
Thus \(2a+3b=5m \) for some \(m\in \mathbb{Z} \).
We will show that \(3a+2b=5k \) for some \(k \in \mathbb{Z} \).
Consider that \(-2a-3b=-5m \) for some \(m\in \mathbb{Z} \).
Then \(5(a+b) -2a-3b=5(a+b)-5m \).
Thus \(3a+2b=5(a+b-m) \) where \(a+b-m=k \in \mathbb{Z} \).
Hence \(5|(3a+2b) \) and \(bRa \).
Since \(bRa \), \(R \) is symmetric on \(\mathbb{Z} \).
3. \(R \) is not antisymmetric on \(\mathbb{Z} \).
Counterexample:
Let \(a=0 \) and \(b=5 \).
Then \(5|(2(0)+3(5)) \) and \(5|(2(5)+3(0) \).
However, since \(0 \ne 5 \) \(R \) is not antisymmetric on \(\mathbb{Z} \).◻
4. \(R \) is transitive on \(\mathbb{Z} \).
Let \(a,b,c \in \mathbb{Z} \) s.t. \(aRb \), \(5|(2a+3b) \) and \(bRa \), \(5|(2b+3c) \).
We will show that \(aRc \), \(5|(2a+3c) \).
Since \(5|(2a+3b) \), \(2a+3b=5(k) \) for some \(k \in \mathbb{Z} \).
Since \(5|(2b+3c) \), \(2b+3c=5(m) \) for some \(m \in \mathbb{Z} \).
Consider \(2a+3c=(2a+3b)+(2b+3c)-5b \)
\(=5(k)+5(m)-5(b) \)
\(=5(k+m-b) \), where \(k+m-b \in \mathbb{Z} \).
Hence \(5|2a+3c \) and \(aRc \).
Hence \(R \) is transitive on \(\mathbb{Z} \).◻
Since \(R \) is reflexive, symmetric and transitive on \(\mathbb{Z} \), \(R \) is an equivalence relation.
The equivalence classes of \(aRb \) iff \(5 | (2a + 3b) \) are \([0], [1], [2], [3] \) and \([4] \).
Let \(a \in \mathbb{Z} \), then \([a]=\{a\in \mathbb{Z}:x \sim a\} \).
\([0]=\{x \in \mathbb{Z}: x\sim 0\} \)
\(=\{x \in \mathbb{Z}: 5|(2x+3(0)) \} \)
\(=\{x \in \mathbb{Z}: 5|2x \} \)
\(=\{x \in \mathbb{Z}: 2x=5m, m\in \mathbb{Z} \} \)
\(=\{\ldots, -10,-5,0,5,10,\ldots\} \).
\([1]=\{x \in \mathbb{Z}: x\sim 1\} \)
\(=\{x \in \mathbb{Z}: 5|(2x+3(1)) \} \)
\(=\{x \in \mathbb{Z}: 5|(2x+3) \} \)
\(=\{x \in \mathbb{Z}: 2x+3=5m, m\in \mathbb{Z} \} \)
\(=\{x \in \mathbb{Z}: 2x=5m-3, m\in \mathbb{Z} \} \)
\(=\{\ldots, -9,-4,1,6,11,\ldots\} \).
\([2]=\{x \in \mathbb{Z}: x\sim 2\} \)
\(=\{x \in \mathbb{Z}: 5|(2x+3(2)) \} \)
\(=\{x \in \mathbb{Z}: 5|(2x+6) \} \)
\(=\{x \in \mathbb{Z}: 2x+6=5m, m\in \mathbb{Z} \} \)
\(=\{x \in \mathbb{Z}: 2x=5m-6, m\in \mathbb{Z} \} \)
\(=\{\ldots, -8,-3,2,7,12,\ldots\} \).
\([3]=\{x \in \mathbb{Z}: x\sim 3\} \)
\(=\{x \in \mathbb{Z}: 5|(2x+3(3)) \} \)
\(=\{x \in \mathbb{Z}: 5|(2x+9) \} \)
\(=\{x \in \mathbb{Z}: 2x+9=5m, m\in \mathbb{Z} \} \)
\(=\{x \in \mathbb{Z}: 2x=5m-9, m\in \mathbb{Z} \} \)
\(=\{\ldots, -7,-2,3,8,13,\ldots\} \).
\([4]=\{x \in \mathbb{Z}: x\sim 4\} \)
\(=\{x \in \mathbb{Z}: 5|(2x+3(4)) \} \)
\(=\{x \in \mathbb{Z}: 5|(2x+12) \} \)
\(=\{x \in \mathbb{Z}: 2x+12=5m, m\in \mathbb{Z} \} \)
\(=\{x \in \mathbb{Z}: 2x=5m-12, m\in \mathbb{Z} \} \)
\(=\{\ldots, -6,-1,4,9,14,\ldots\} \)
11. Let \(A, B \in \mathbb{M}_{nn}(\mathbb {C})\). We define the relation \(A R B\) if and only if there exists an invertible matrix \(P \in \mathrm{GL}_n(\mathbb {C})\) such that \(B = P^{-1} A P\).
- Answer
-
11. Reflexivity: Let \(A \in \mathbb{M}_{nn}(\mathbb {C})\). Then the identity matrix \(I_n\) is invertible and \(A = I_n^{-1} A I_n\), so \(A R A\).
Symmetry: Let \(A,B \in \mathbb{M}_{nn}(\mathbb {C})\) such that \(A R B\). Thus, \(B = P^{-1}AP\) for an invertible matrix \(P\). Multiplying on the left by \(P \) and right by \(P^{-1} \) yields \(A = P B P^{-1} = (P^{-1})^{-1} B (P^{-1}) \) . Setting \(Q = P^{-1} \) ,\(Q \) is invertible, so \(B R A \) .
Transitivity: Let \(A,B \in \mathbb{M}_{nn}(\mathbb {C})\) such that (A R B \) and\(B RC \) . Then \(B = P^{-1}AP \) and \(C = Q^{-1}BQ \) for invertible \(P, Q \) . Substituting \(B \) gives \(C = Q^{-1}(P^{-1}AP)Q = (PQ)^{-1} A (PQ) \) . Since \(PQ \) is invertible, \(A RC \) .
Let \(f: A \to B\) be a function. Define a relation \(R_f\) on \(A\) by: \[ x R_f y \iff f(x) = f(y) \]
- Prove that \(R_f\) is an equivalence relation on \(A\).
- Express the equivalence class \([x]_{R_f}\) in terms of a pre-image of a set under \(f\).
- Answer
-
- Reflexive: Let \(x \in A\). Then \(f(x) = f(x)\), so \(x R_f x\).
Symmetric: Let \(x ,y \in A\) such that \(x R_f y\), then \(f(x) = f(y) \implies f(y) = f(x) \implies y R_f x\).
Transitive : Let \(x ,y , z \in A\) such that \(x R_f y\) and \(y R_f z\), then \(f(x) = f(y)\) and \(f(y) = f(z) \implies f(x) = f(z) \implies x R_f z\).
2. \[ [x]_{R_f} = \{y \in A \mid f(y) = f(x)\} = f^{-1}(\{f(x)\}). \]
1. Consider the mapping
\(f:\mathbb{R}\to\mathbb{R}\) defined by \( f(x)=\dfrac{1}{x+5}.\)
Is \(f\) well-defined? Justify your answer.
2. Consider the mapping
\( f:\mathbb{Z}_6 \to\mathbb{Z}, \) defined by \( f([x])=x+1.\)
Is \(f\) well-defined? Justify your answer by considering two different representatives of the same equivalence class.
Prove that
\(
A\cap(B\cup C)
=
(A\cap B)\cup(A\cap C)
\)
by proving both set inclusions.


