Assignment 1
Assignment 1
Q1 List the ordered pairs in the relation R from A = {0, 1, 2, 3, 4} to B = {0, 1, 2, 3},
where (a, b) ∈ R if and only if
a) a=b
b) a+b=4
c) a>b
d) a∣b
e) gcd (a, b) = 1
f) lcm (a, b) = 2
Hint gcd(0,n) = n, gcd(1,n) = 1, lcm(0,n) =not defined lcm(1,n) = n
Q2.
Q-3 Let R be the relation {(1, 2), (1, 3), (2, 3), (2, 4), (3, 1)}, and let S be the relation
{(2, 1), (3, 1), (3, 2), (4, 2)}. Find R ◦ S , S ◦ R.
Q 4.
Q5
Q 6 List the 16 different relations on the set {0, 1}
Hint
Q 8. For each of these relations on the set {1, 2, 3, 4}, decide whether it
is reflexive, whether it is symmetric, whether it is antisymmetric, and
whether it is transitive, whether it is irreflexive and whether it is
asymmetric
a) {(2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4)}
b) {(1, 1), (1, 2), (2, 1), (2, 2), (3, 3), (4, 4)}
c) {(2, 4), (4, 2)}
d) {(1, 2), (2, 3), (3, 4)}
e) {(1, 1), (2, 2), (3, 3), (4, 4)}
f) {(1, 3), (1, 4), (2, 3), (2, 4), (3, 1), (3, 4)}
Q 9. Find the smallest relation containing the relation {(1, 2), (1, 4),
(3, 3), (4, 1)} that is
a) reflexive and transitive.
b) symmetric and transitive.
c) reflexive, symmetric, and transitive
Q 11.
Q 14 Let g be the function from the set {a, b, c) to itself such that g(a) = b, g(b) = c, and
g(c) = a. Let f be the function from the set {a, b, c} to the set {1, 2, 3} such that f(a) =
3, f(b) = 2, and f(c) = 1. What is the composition of f and g, and what is the
composition of g and f?
Q-19 In a group of 850 person, 600 can speaks Hindi and 340 can speak Tamil.
Find :
i. How many can speak both Hindi and Tamil?
ii. How many can speak Hindi only?
iii. How many can speak Tamil only?
Q-21 Find the power set of each of these sets, where a and b are distinct
elements.
a) {a} b) {a, b} c) {∅, {∅}}
Q-22 How many elements does each of these sets have where a and b
are distinct elements?
a) P( {a, b, {a, b} } )
b) P( { ∅, a, {a}, {{a}} } )
c) P( P(∅) )
Q-23 Let A = {a, b, c}, B = {x, y}, and C = {0, 1}. Find
a) C × A × B. b) B × B × B.