CAT
CAT
Solution.
Range(f ) = R or (−∞, ∞)
Range(g) = (0, ∞)
Range(h) = [0, ∞)
Solution.
(b) Let S = [−10, −1) ∪ (0, 1) ∪ (1.5, 3) ∪ {3}. Show that S is neither closed nor open.
Observe that
[3 marks]
(c) Show that the set [−1, 1] is not a neighbourhood of the points −1 and 1. [2 marks]
1
(e) Show that the set of all integers (Z) is not a field. [2 marks]
Solution. Since the only nonzero integers with a multiplicative inverse are 1
and −1.
(f) Let x, y ∈ R. Prove that, if |x| < δ, δ > 0, then −δ < x < δ. [2 marks]
(g) Write any 4 nontrivial partitions of the set A = {1, 2, 3, 4, 5, 6, 7, 8}. [4 marks]
[Not part of the solution: There are many partitions for this set, in fact the
total number of partitions for this set is 4140 so we will just list a few random
partitions:
Solution.
Solution. Since every element of X is assigned to one and only one image in
X, we can say that R is a function.
(i) Let E denote the set of all even numbers and f : E → Z defined by
n+2
f (n) = .
2
Show that f is both one to one and onto. [4 marks]
2
Solution. To show that f is 1-1, Let a, b ∈ E be such that f (a) = f (b). Then
a+2 b+2
f (a) = = = f (b), ⇔ a + 2 = b + 2, ⇔ a = b
2 2
Therefore, f is 1-1.
To show f is onto we need to find an inverse of every integer n. Suppose that k
is such inverse of n, then f (k) = n. It suffices to show that k is even.
k+2
f (k) = = n, ⇔ k + 2 = 2n, ⇔ k = 2n − 2 = 2(n − 1).
2
For any integer n, the number k = 2(n − 1) is an even integer.
(j) Show that the open interval (a, b), a, b ∈ R is an open set. [4 marks]
Solution.
4
0
−1 0 1 2 3 4 5
−1
−2
3
Solution. Observe that
Therefore since the two limits exist and are equal, limx→1 f (x) exists and is
equal to 1.