Exercises – Long Day#

Exercise 1: Sets in Roster Form#

Let \(A\) and \(B\) be finite sets given in the following roster forms:

\[A = \{n \in \Bbb{N}\, | \, n=m^2 \,\,\,\mathrm{where} \,\,\, m \in \{1,2,3,4,5\}\},\]
\[B = \{n \in \Bbb{N} \, |\, n=2m-1 \,\,\,\mathrm{where} \,\,\, m \in \{1,2,3,4,5\}\}.\]

Question a#

Which elements do the sets \(A\) and \(B\) contain?

Question b#

Which elements do the sets \(A \cap B\) and \(A \cup B\,\) contain?

Question c#

Which elements do the sets \(A \setminus B\) and \(B \setminus A\,\) contain?


Exercise 2: Sets in Roster Form#

Let \(C\) and \(D\) be sets given in the roster forms:

\[C = \{n \in \Bbb{N}\, | \, n=2m \,\,\,\mathrm{where} \,\,\, m \in \Bbb{N}\},\]
\[D = \{n \in \Bbb{N}\, |\, n=3m \,\,\,\mathrm{where} \,\,\, m \in \Bbb{N}\}.\]

Describe which elements the sets \(C \cap D\) and \(C \cup D\,\) contain.


Exercise 3: The Classical Sets of Numbers#

Describe in your own words the sets \(\Bbb{R} \setminus \Bbb{Q}\) and \(\Bbb{Z} \setminus \Bbb{N}\,.\)


Exercise 4: Rules for Set Operations#

Question a#

Some identities from set theory can be illustrated by drawing a circle diagram, also known as a Venn diagram. In the textbook the concepts of union, set intersection and set difference are illustrated in this way in Section 2.1. Also, the set identities in Theorem 2.1.2 in the textbook can be visualized by the help of such diagrams.

Draw circle diagrams that visualise the identities in Equations (2.8) through (2.11) in Theorem 2.1.2 of the textbook.

Question b#

Use propositional logic to prove the identities given in Equations (2.4) and (2.10) in Theorem 2.1.2 in the textbook.

Question c#

Let \(A\) and \(B\) be sets with a finite number of elements. Let the notation \(|W|\) denote the number of elements within a given set \(W\). Explain the following identity:

\(|A \cup B| = |A| + |B| - |A \cap B|\).


Exercise 5: Surjective, Injective, and Bijective#

Four sets are given by:

\[A=\{ x \in \Bbb N \, | \, 1 \leq x \leq 7 \},\]
\[B=\{ x^2 \, | \, x \in A\},\]
\[C=\{ x \in \Bbb N \, | \, 1 \leq x \leq 6 \},\]
\[D=\{x \in \Bbb Z \, | \, -7 \leq x \leq 7 \wedge x \neq 0\}.\]

Four functions are given below. Determine for each if it is surjective, injective, and/or bijective.

Question a#

\(f_1 :A\rightarrow B\)

\(\ \ x \mapsto x^2\)

Question b#

\(f_2 :D\rightarrow B\)

\(\ \ x \mapsto x^2\)

Question c#

\(f_3 :C\rightarrow B\)

\(\ \ x \mapsto x^2\)

Question d#

\(f_4 :\Bbb Z\rightarrow \Bbb Z\)

\(\ \ x \mapsto |x|\)


Exercise 6: Composite Functions#

We are given the set \(A=\{0,1,2\}\) as well as two functions \(f: A \to A\) and \(g: A \to \mathbb{R}\). The function \(f\) has the functional expression \(f(x)=2-x\), while the function \(g\) has the functional expression \(g(x)=2x+\mathrm e^x\).

Question a#

Is the composite function \(f \circ g\) defined? What about \(g \circ f\)?

Question b#

Compute \((g\circ f)(a)\) for all \(a \in A\).

Question c#

Determine the functional expression, domain, co-domain, and range of the function \(g \circ f\).

Question d#

Is the function \(g \circ f\) injective? What about surjective?


Exercise 7: An Inverse Function#

We are given a function \(f: \mathbb{R} \rightarrow \mathbb{R}\) by its functional expression

\[f(x)=3x-7.\]

Question a#

Let \(g: \mathbb{R} \rightarrow \mathbb{R}\) be a function with the functional expression

\[g(x)=(x+7)/3.\]

Show using Definition 2.2.1 from the textbook that \(g\) is the inverse function of \(f\).

Question b#

Justify that \(f\) is bijective.


Exercise 8: Quadratic Polynomial Functions#

We consider a function \(h: \mathbb{R} \rightarrow \mathbb{R}\) with the functional expression

\[h(x)=2x^2 -20x +57.\]

Question a#

Bring the function \(h\) to the form \(h(x)=2(x-k_1)^2+k_2\), and state the constants \(k_1\) and \(k_2\). Use this form to determine the range of \(h\).

Question b#

For a given subset \(J \subseteq {\Bbb R}_{\geq 0}\), the restriction of \(h\) to \(J\) is the function one obtains from \(h\) by keeping the same functional expression and co-domain, while restricting the domain to \(J\). State the largest possible interval \(J \subseteq {\Bbb R}_{\geq 0}\) on which the restriction of \(h\) to \(J\) becomes injective.

Question c#

We now consider the restriction of \(h\) to the interval \(J\) from Question b and delimit the co-domain of this function to the set \(\mathbb{R}_{\ge 7}\) from Question a. The resulting function is bijective and is denoted by \(h_1\). More directly, \(h_1\) is the function \(h_1: J \rightarrow \mathbb{R}_{\ge 7}\) that is given by \(h_1(x)=2x^2 -20x +57.\)

Provide a functional expression for the inverse function \({h_1}^{-1}\).

Question d#

State the domain and the range of \({h_1}^{-1}\).


Exercise 9: Bijection#

We are given the function \(f :\Bbb N\rightarrow \Bbb Z\) defined by

\( x \mapsto \left\{ \begin{array}{ll} \frac{x}{2} & \text{when }x \text{ is even,} \\ -\frac{x-1}{2} & \text{when }x \text{ is odd.} \\ \end{array} \right. \)

Question a#

Is \(f\) a bijection?

Exercise 10: Hyperbolic Functions#

In this exercise we will introduce two new functions that are formed from already known functions. The two functions are called hyperbolic sinus and hyperbolic cosinus and they are defined by:

\[\mathrm{sinh}(x)=\frac{\mathrm e^x-\mathrm e^{-x}}{2}\quad \text{and}\quad \mathrm{cosh}(x)=\frac{\mathrm e^x+\mathrm e^{-x}}{2}.\]

We assume for both functions that both their domains and co-domains are equal to \(\mathbb R\).

Question a#

Justify that \(\mathrm{sinh}(x)\) is injective and that \(\mathrm{cosh}(x)\) is not injective.

Question b#

Determine a functional expression for \(\mathrm{sinh}^{-1}\) by isolating \(x\) in the equation \(y=\mathrm{sinh}(x)\).