Use predicate logic to write formal definitions of surjective function, injective function, and bijective function. Be sure to state the domains of your free variables.
Let \(A \) represent the set of all university students and let \(C \) be the set of all university courses. Does the rule \(\funcdef{f}{A}{C} \) given by
\begin{equation*}
f(a) = c \text{ if student } a \text{ is registered in course } c
\end{equation*}
In each of ExercisesΒ 3β7, determine whether or not the described function is a bijection. For those functions that are bijective, describe the inverse function; that is, specify the inverse functionβs
\(\mathscr{L} \) represents the set of all possible logical statements, \(\funcdef{N}{\mathscr{L}}{\mathscr{L}} \) is the logical negation function \(N(A) = \lgcnot A \) for \(A \) a logical statement.
\(\Sigma = \{0,1\} \text{,}\)\(\words{\Sigma} \) represents the set of all binary words, \(\funcdef{c}{\words{\Sigma}}{\words{\Sigma}} \) is the bitwise complement function defined by: if \(w \) is a binary word, let \(c(w) \) be a binary word of the same length but with a \(0 \) at every position that \(w \) has a \(1 \text{,}\) and a \(1 \) at every position that \(w \) has a \(0 \text{.}\) For example, \(c(010) = 101 \) and \(c(0000) = 1111 \text{.}\)
\(U \) represents a universal set, \(\funcdef{C}{\powset{U}}{\powset{U}} \) is the complement function \(C(A) = \cmplmnt{A} \text{,}\) for \(A \subseteq U \text{.}\)
Describe the inverse function \(\funcdef{\inv{f}}{E}{\Z} \text{.}\) That is, describe the rule to determine \(\inv{f}(n) \text{,}\) given even number \(n \text{.}\)
As usual, \(\R^m = \R \cartprod \R \cartprod \dotsb \cartprod \R \) represents the Cartesian product of \(m \) copies of \(\R \text{,}\) where \(m \) is a positive integer. Consider the diagonal embedding \(\funcdef{D}{\R}{\R^m} \) defined by \(D(x) = (x,x,\dotsc,x) \text{.}\)
Let \(A = \{0,1,2,3,4,5,6,7,8,9\} \) and let \(P \subseteq \powset{A} \) represent the set of all subsets of \(A \) which contain an odd number of elements. Define \(\funcdef{\nu}{P}{A} \) by setting \(\nu(X) \) to be the βmiddleβ element of \(X \) when the elements of \(X \) are listed in order by size. For example, \(\nu(\{0,8,9\}) = 8 \text{.}\)
Let \(\Sigma = \{0,1\} \text{.}\) Recall that for \(n \in \N \text{,}\)\(\words{\Sigma}_n \) is the subset of \(\words{\Sigma} \) consisting of all binary words of length \(n \text{.}\)
Suppose \(A = \{ a_1, a_2, \dotsc, a_n \} \) is a set with \(n \) (distinct) elements. Construct a bijection \(\powset{A} \to \words{\Sigma}_n \text{.}\)
You have already verified injectivity of an empty function more generally in TaskΒ c. For surjectivity in this more specific setting, use your formal expression of surjective from ExerciseΒ 10.7.1, along with what you learned in SectionΒ 4.3.
Let \(\funcdef{f}{A}{B} \) be a function. Suppose there exists a function \(\funcdef{g}{B}{A} \) such that \(g \funccomp f = \id_A \) and \(f \funccomp g = \id_B \text{.}\)
In each of ExercisesΒ 15β18, consider abstract function \(\funcdef{f}{A}{B} \) and subsets \(A_1, A_2 \subseteq A \text{,}\)\(B_1, B_2 \subseteq B \text{.}\)
Formally prove that \(\funcinvimg{f}{B_1 \intersection B_2} = \funcinvimg{f}{B_1} \intersection \funcinvimg{f}{B_2} \text{,}\) using the Test for Set Equality.
Suppose \(\funcdef{f}{A}{B} \) is an injection. Use \(f \) to devise an injection \(\ifuncdef{F}{\powset{A}}{\powset{B}} \text{.}\) Be sure to verify that your proposed function \(F \) is injective. If \(f \) is bijective, will \(F \) also be bijective?