(2 Hours) (Total Marks: 75
(2 Hours) (Total Marks: 75
(2 Hours) (Total Marks: 75
Answer each of the following questions. Give reasons for your answers.
a. Is B ⊆ A?
Ans False because j Є B but j does not Є A 1½ Mark
b. Is C ⊆ A?
Ans True All elements of Set C Є Set A 1 Mark
c. Is C ⊆ C?
Ans True Every Set is a subset of itself 1½ Mark
d. Is C a proper subset of A?
Ans True Set A has more elements than set C 1 Mark
b. Let S = {2, 4, 6} and T = {1, 3, 5}. Use the set-roster notation to write each of the following
sets, and indicate the number of elements that are in each set:
a. S × T
Ans { (2,1),(2,3),(2,5),(4,1),(4,3),(4,5),(6,1),(6,3),(6,5)} 1½ KMark
b. T × S
Ans { (1,2),(3,2),(5,2),(1,4),(3,4),(6,4),(1,6),(3,6),(5,6)} 1½ KMark
c. S × S
Ans { (2,2),(2,4),(2,6),(4,2),(4,4),(4,6),(6,2),(6,2),(6,6)} 1 KMark
d. T × T
Ans { (1,1),(1,3),(1,5),(3,1),(3,3),(3,5),(5,1),(5,3),(5,5)} 1 KMark
f. Let E = {1, 2, 3} and F = {−2,−1, 0} and define a relation T from E to F as follows: For all (x, y) ∈
E × F, (x, y) ∈ T means that (x – y)/3 is an integer.
a. Is 3 T 0? Is 1T (−1)? Is (2,−1) ∈ T? Is (3,−2) ∈ T ?
Y, N, Y, N 2 Marks
b. Write T as a set of ordered pairs.
{ (1,-2), (2,-1), (3,0)} 1 Mark
c. Write the domain and co-domain of T .
domain {1,2,3} co-domain {-2, -1 0 } 1 Mark
d. Draw an arrow diagram for T .
1 -2
2 -1
3 0
c. Let A = {0, 1, 2, 3, 4}, and define functions f : A→A and g : A→A as follows: For each x ∈ A,
f (x)=(x + 4)2 mod 5 and g(x)=(x2 + 3x + 1) mod 5. Is f = g? Explain.
F(x) = { (0,1), (1,0), (2,1), (3,4), (4,4)} 5 Marks
G(x) = { (0,1), (1,0), (2,1), (3,4), (4,4)}
Yes f = g
e. Define G: R × R → R × R as follows:
G(x, y) = (y−2x) for all (x, y) ∈ R × R.
a. Is G one-to-one? Prove or give a counterexample.
Yes G is one-one 2½ Marks
b. Is G onto? Prove or give a counterexample.
Yes G is onto 2½ Marks
v3 To v6 is 9
c Prove that every non trival tree has at least two vertices of degree 1 by filling in the
details and completing the following argument. Let T be a nontrival tree and let S be the
set of all paths from one vertex to another of T. Among all the paths in S, choose a path P
with the most edges. (Why is it possible to find such a P?) What can you say about the
initial and final vertices of P? Why?
Proof.
d I) Draw all nonisomorphic graphs with six vertices, all having degree 2.
ii) Draw four nonisomorphic graphs with six vertices, two of degree 4 and four of degree 3.
e Let S = {(0, 0), (0, 3), (1, 0), (1, 2), (2, 0), (3, 2)}. Find St , the transitive closure of S.
St = { (0,0), (0,3), (1,0), (1,2), (2,0), (3,2), (0,2), (3,0),(2,3),(2,2)}
f i) If R and S are reflexive, is R ∩ S reflexive? Why?
R ∩ S is reflexive: Suppose R and S are reflexive. 2 Marks
To show that R ∩ S is reflexive, we must show that ∀x ∈ A, (x, x) ∈ R ∩ S.] So suppose x ∈
A. Since R is reflexive, (x, x) ∈ R, and since S is reflexive, (x, x) ∈ S. Thus, by definition of
intersection, (x, x) ∈ R ∩ S
ii) If R and S are symmetric, is R ∩ S symmetric? Why?
Yes 1½ Marks
iii) If R and S are transitive, is R ∩ S transitive? Why?
Yes 1½ Marks
_____________________________