Assignment 4
Assignment 4
Question2: [5 marks]
Let 𝐴 = {2, 4, 8, 16, 32} , and consider the closed binary operation 𝑓: 𝑍 × 𝑍 → 𝑍 where
𝑓(𝑎, 𝑏) = gcd(𝑎, 𝑏) . Does f have an identity element?
Question 3: [5 marks]
Show that if eight people are in a room, at least two of them have birthdays that occur on the
same day of the week.
Question 4:
An auditorium has a seating capacity of 800. How many seats must be occupied to guarantee that
at least two people seated in the auditorium have same first and last initials? [10 marks]
Question 5: [5 marks]
Let 𝑆 = {3, 7, 11, 15, 19, ⋯ ,95, 99, 103}. How many elements must we select from S to insure
that there will be at least two whose sum is 110?
Question 6: [5 marks]
a) Show that if any 14 integers are selected from the set 𝑆 = {1, 2, 3, ⋯ ,25}, there are at least
two whose sum is 26.
b) Write a statement that generalize the results of part (a)
Question 7: [10 marks]
0, 𝑥 𝑒𝑣𝑒𝑛
Let 𝑓, 𝑔, ℎ: 𝑍 → 𝑍 be defined by 𝑓(𝑥) = 𝑥 − 1, 𝑔(𝑥) = 3𝑥 , ℎ(𝑥) =
1 𝑥 𝑜𝑑𝑑
Determine:
a) 𝑓 𝑜 𝑔, 𝑔 𝑜𝑓, 𝑔 𝑜 ℎ, ℎ 𝑜 𝑔, 𝑓 𝑜(𝑔 𝑜 ℎ), (𝑓 𝑜 𝑔)𝑜ℎ.
b) 𝑓 , 𝑓 , 𝑔 , 𝑔 , ℎ , ℎ , ℎ .
Question 8: [5 marks]
𝑥 + 7, 𝑥≤0
Let 𝑓: 𝑅 → 𝑅 be defined by 𝑓(𝑥) = −2𝑥 + 5 0 < 𝑥 < 3
𝑥−1 𝑥≥3
(ii) Which relations in part (i) are partial orders? Which are equivalence relations?