0% found this document useful (0 votes)
6 views

Assignment 4

This document outlines Assignment #4 for a course on Relations, Functions, and Introduction to Graphs, with a total of 180 marks. It includes various questions related to mathematical operations, properties of functions, combinatorial problems, and graph theory. Students are required to submit their solutions as a single PDF by December 3, 11:59 PM, with late submissions not accepted.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Assignment 4

This document outlines Assignment #4 for a course on Relations, Functions, and Introduction to Graphs, with a total of 180 marks. It includes various questions related to mathematical operations, properties of functions, combinatorial problems, and graph theory. Students are required to submit their solutions as a single PDF by December 3, 11:59 PM, with late submissions not accepted.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Assignment #4

Relations, Functions & Introduction to graphs


Instructions: Total marks: 180
 Attach a cover letter mentioning your name and student ID. Please convert your
assignment 34 solutions as a single pdf, and submit on or before December 3, 11:59 PM
 Late assignment will not be considered and ultimately, zero mark will be awarded .

Question1: [10 marks]


Each of the following functions 𝑓: 𝑍 × 𝑍 → 𝑍 is a closed binary operation on Z. Determine in
each case whether f is commutative and/or associative.

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

Question 9: [10 marks]


Let 𝑓: 𝑅 → 𝑅 be defined by 𝑓(𝑥) = 𝑥 . For each of the following subsets B of R, find 𝑓 𝐵.

Question 10: [5 marks]


Give an example of a function 𝑓: 𝑍 → 𝑍 where
(i) f is one-to-one but not onto
(ii) f is onto but not one-to-one.

Question 11: [10 marks]


2𝑥 − 1, 𝑖𝑓 𝑥 > 0
Let 𝑓: 𝑍 → 𝑁 be defined by 𝑓(𝑥) =
−2𝑥 𝑖𝑓 𝑥 ≤ 0.
(a) Prove that f is one-to-one and onto
(b) Determine𝑓 .
Question 12: [15 marks]
(i) For each of the following relations, determine whether the relation is reflexive, symmetric,
antisymmetric, or transitive.

(ii) Which relations in part (i) are partial orders? Which are equivalence relations?

Question 13: [10 marks]

Question 14: [10 marks]


Question 15: [10 marks]
For 𝐴 = {a, b, c, d, e, f} , each graph or diagraph in figure below represents a relation on A.
Determine the relation  A A in each case.

Question 16: [10 marks]

Question 17: [10 marks]


Question 18: [10 marks]

Question 19: [5 marks]


For a graph below, determine (a) a walk from b to

b to b. (g) how many paths are there from b to f?

Question 20: [5 marks]


Let G = (V, E) be the undirected graph n figure below. How many paths are there in G from
a to h?
How many of these paths have length 5?
Question 21: [15 marks]

You might also like