Assignment 5¶
In addition to correct answers, please:
- Show how you derived your answer.
- Make all proofs, and longer-answer questions, beautifully organized and easy to read. This includes perfect spelling and grammar.
Please see Canvas for instructions on how and when to submit this assignment.
Question 1¶
Suppose \(A\) and \(B\) are both subsets of \(\mathbb{R}^2\), and \(A=\{(x,y) : y=2x+1\}\), \(B=\{(x,y) : y=3x\}\), and \(C=\{(x,y) : x-y=5\}\).
- What is \(A \cap B\)?
- What is \(B \cap C\)?
- Suppose \(S = \overline{B} \cup \overline{C}\). What is \(\overline{S}\)?
Question 2¶
Suppose \(f:\mathbb{R} \rightarrow \mathbb{R}\) and \(f(x)=x^2\). Calculate \(f(A)\) for each of the following (all the given sets are subsets of \(\mathbb{R}\)). Make your answers as simple as possible.
- \(A=\{3, 5\}\)
- \(A=\{-4, -2, 1, 2\}\)
- \(A=(-4, 4)\)
- \(A=(-2, 3]\)
- \(A=[-6, 2]\)
- \(A=[5, 6] \cup (-4, -3]\)
Question 3¶
Suppose \(f:\mathbb{Z} \rightarrow \mathbb{Z}\). For each of the following, determine if \(f\) is onto, and if it is 1-to-1. If the function is not onto, also determine \(f(\mathbb{Z})\).
- \(f(x) = x + 5\)
- \(f(x) = 3x - 2\)
- \(f(x) = 5 - x\)
- \(f(x) = x^2\)
- \(f(x) = x^3\)
- \(f(x) = x^2 - x\)
Question 4¶
Suppose \(f: \mathbb{R}\times\mathbb{R} \rightarrow \mathbb{R}\), and \(f(a,b)=a-b\).
- Is \(f\) commutative? Prove your answer is correct.
- Is \(f\) associative? Prove your answer is correct.
- Does \(f\) have an identity element? Prove your answer is correct.
Question 5¶
Let \(g: \mathbb{N} \to \mathbb{N}\) be defined as \(g(n)=3n\). Suppose \(A = \{ 1, 2, 3, 4 \}\), and \(f: A \to \mathbb{N}\) is defined as \(f = \{ (1,2), (2,3), (3,5), (4,7)\}\). What is \(g \circ f\)?
Question 6¶
Let \(f: A \to B\) and \(g: B \to C\). Prove:
- If \(g \circ f: A \to C\) is one-to-one, then \(f\) is one-to-one.
- If \(g \circ f: A \to C\) is onto, then \(g\) is onto.
Question 7¶
Suppose \(A = \{ 1,2,3,4,5,6,7 \}\), \(B = \{ 3,5,7,9,11,13 \}\), and \(f:A \to B\) where \(f=\{ (1,3), (2,7), (3,7), (4,9), (5,7), (6,9), (7,13) \}\). For each of the following, determine the pre-image of \(B_1\) under \(f\):
- \(B_1 = \{ 3 \}\)
- \(B_1 = \{ 7 \}\)
- \(B_1 = \{ 7,9 \}\)
- \(B_1 = \{ 7,9,11 \}\)
- \(B_1 = \{ 7,9,11,13 \}\)
- \(B_1 = \{ 11,13 \}\)
Question 8¶
Let \(f,g: \mathbb{Z}^+ \to \mathbb{R}\), where \(f(n)=n\) and \(g(n)=n + \frac{1}{n}\). Using the definition of domination, show:
- \(f \in O(g)\)
- \(g \in O(f)\)
Question 9¶
Let \(f,g: \mathbb{Z}^+ \to \mathbb{R}\), where \(f(n)=2n+50\) and \(g(n)=n^2\). Using the definition of domination, show:
- \(f \in O(g)\)
- \(g \notin O(f)\)