

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 the following sets S, in (a) and (b), give a function f such that S = {f (n) | n โ N}.
(Recall that N = { 0 , 1 , 2 , 3 , 4 ,.. .}.) (a) S = { 6 , โ 1 , โ 8 , โ 15 , โ 22 ,.. .}. (b) S = {m โ Z | m is a multiple of 4}. [In (b), you can define f separately for n even and for n odd.] (c) For the set S = {n^3 โ 5 | n โ Z}, state, with a brief reason, whether each of the following numbers is in S: (i) 3, (ii) 0, (iii) 22, (iv) โ6, (v) โ5.
[12 marks]
[13 marks]
Paper Code MATH 104 Page 2 of 4 CONTINUED
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) = 5 โ 12 x, x โ R is injective. (c) Prove that the function f (x) = x^2 + 2x, x โฅ โ2 is not injective. (d) Prove that the function f (x) = x^2 + 2x, x โฅ โ1 is injective.
[13 marks]
is closed under addition. (b) Recall the following definitions. Let R be a relation on a set X. If, for all x, y, z as appropriate, (1) x R x, the relation R is reflexive, (2) x R y โ y R x, the relation R is symmetric, (3) x R y and y R z โ x R z, the relation R is transitive.
Also R is an equivalence relation if all three conditions hold. For the following relations on the sets given, determine, with a clear reason, whether the relation is reflexive, whether it is symmetric, whether it is transitive and whether it is an equivalence relation. (i) X = R, x R y means 2x โ 2 y โ Z. (ii) X = Z, x R y means 3|(x + y).
[14 marks]
Paper Code MATH 104 Page 3 of 4 CONTINUED