

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


For each of the following sets S, give a function f (n) such that S = {f (n) | n ā N}.
(Recall that N = { 0 , 1 , 2 , 3 , 4 ,.. .}.) a) S = {ā 18 , ā 8 , 2 , 12 , 22 , 32 ,.. .}. b) S = {m ā N | m > 0 and m is a multiple of 4}. c) S is the set of all even integers, that is S = {.. .ā 6 , ā 4 , ā 2 , 0 , 2 , 4 , 6 ,.. .}. [12 marks]
Definition: Let f (x) be a (real-valued) function. Then f (x) is injective if for all x, y in the domain of f ,
f (x) = f (y) =ā x = y.
a) Write down what it means for f not to be injective. b) Prove that the function f (x) = 10 ā 3 x, x ā R is injective. c) Prove that the function f (x) = x^2 + x, x ā„ ā1 is not injective. d) Prove that the function f (x) = x^2 + x, x ā„ 0 is injective.
[13 marks]
Paper Code MATH 104 Page 2 of 4 CONTINUED
Definition: Let R be a relation on a set X. Then R is an equivalence relation if for all x, y, z ā X the following three conditions hold:
i) x R x. ii) If x R y then y R x. iii) If x R y and y R z then x R z.
Determine whether or not the following relations R on the given sets X are equivalence relations. You should justify your answers carefully, working directly from the definitions. a) X = Z, x R y if x 6 = y + 1. b) X = Z, x R y if 10|(x ā y). c) X = {n ā N | n ā„ 2 }, x R y if there is a prime number which divides both x and y. (Recall that a prime number is an element of the same set X which has no factor other than itself and 1.) [14 marks]
a) Prove the following proposition. Let m and n be integers. If m and n are odd then mn is odd. State the converse of this proposition and also state, with a proof, whether the converse is true. b) Prove the following proposition: There do not exist integers m and n such that 6m + 9n = 22. c) Let P be the following proposition: Let a, b ā R. If a 6 = b then (a + b)^2 > 4 ab. State and prove the contrapositive of P. [15 marks]
Paper Code MATH 104 Page 3 of 4 CONTINUED