Consider the following relation on the set ? = {?, ?, ?}.
? = {(?, ?), (?, ?), (?, ?), (?, ?), (?, ?)}
? = {(?, ?), (?, ?), (?, ?), (?, ?), (?, ?)}
a) (4%) Find the matrices that represent the relations R and S.
b) (8%) Find the matrix that represents the composite relation R ° S. Show all your computations with intermediate results!
c) (6%) Determine whether the relation R ° S is transitive. Supply arguments!
(a) To find the matrix for a relation, create a matrix of size . The entries are if , otherwise .
Hence, the matrix for R is
a | b | c | |
---|---|---|---|
a | 0 | 0 | 1 |
b | 1 | 1 | 0 |
c | 1 | 1 | 0 |
The matrix for S is
a | b | c | |
---|---|---|---|
a | 0 | 1 | 1 |
b | 1 | 0 | 1 |
c | 1 | 0 | 0 |
(b) To find the matrix for , compute the matrix .
Then if, , this means there exists such that .
Hence . Otherwise, not.
The matrix is
2 | 2 | 0 |
1 | 1 | 1 |
0 | 0 | 1 |
Hence the matrix for , is
a | b | c | |
---|---|---|---|
a | 1 | 1 | 0 |
b | 1 | 1 | 1 |
c | 0 | 0 | 1 |
(c) To check if is transitive, consider . If , then this means after applying the relation again, it remains the same. Hence, the relation is transitive
The matrix is
2 | 2 | 1 |
2 | 2 | 2 |
0 | 0 | 1 |
Note that but , hence the relation is not transitive.
Comment in case of any doubts.
Consider the following relation on the set ? = {?, ?, ?}. ? = {(?, ?),...
10. Represent the following relation R on the set (. t,s t) as a digraph and as a acro-ooe ati eachi b) Circle the properties of R antisymmetric itive 2 peins) reflexive symmetric 떼 1 find the symmetric and transitive closures ofS (4 pirtepi 1 c)If Ms-10 Transitive Closure Symmetric Closure_-
Consider the empty set as a relation, R, on any non-empty set S. Prove or disprove: R is transitive.
Can you #2 and #3? 6. LESSON 6 (1) Let A be the set of people alive on earth. For each relation defined below, determine if it is an equivalence relation on A. If it is, describe the equivalence classes. If it is not determine which properties of an equivalence relation fail. (a) a Hb a and b are the same age in (in years). (b) a Gb a and b have grandparent in common. 2) Consider the relation S(x,y):x...
please provide with full working solution. thank you Consider the set B of all 2 x 2 matrices of the form {C 9 b a B a, b e R -b a and let + and . represent the usual matrix addition and multiplication. (a) Determine whether the system B = (B, +,.) is a commutative ring. (b) Determine whether the system B = (B, +, .) is a field. T Consider the set B of all 2 x 2...
QI. Let A-(-4-3-2-1,0,1,2,3,4]. R İs defined on A as follows: For all (m, n) E A, mRn㈠4](rn2_n2) Show that the relation R is an equivalence relation on the set A by drawing the graph of relation Find the distinct equivalence classes of R. Q2. Find examples of relations with the following properties a) Reflexive, but not symmetric and not transitive. b) Symmetric, but not reflexive and not transitive. c) Transitive, but not reflexive and not symmetric. d) Reflexive and symmetric,...
probelms 9.1 9 Modular arithmetic Definition 9.1 Let S be a set. A relation R = R(,y) on S is a statement about pairs (x,y) of elements of S. For r,y ES, I is related to y notation: Ry) if R(x,y) is true. A relation Ris: Reflexive if for any I ES, R. Symmetric if for any ry ES, Ry implies y Rr. Transitive if for any r.y.ES, Ry and yRimply R. An equivalence relation is a reflexive, symmetric and...
3. (a) Let R be a binary relation on the set X = {1,2,3,4,5,6,7}, defined by R= {(1,3), (2,3), (3, 4), (4,4),(4,5), (5,6), (5,7)} (1) (6 pts) Find Rk for all k = 2, 3, 4, 5,... (2) (3 pts) Find the transitive closure t(R) of R by Washall's algorithm and draw the directed graph of t(R).
B. Consider the following two relations: Relation r Relations R Р 10 В a b 5 8. B b c A 10 25 10 C 6 3 5 15 25 a 6 show the results of the following relational algebraic operations. Give 0 as your answer if you think the operation makes no sense. However, if you believe an operation makes sense but no tuples should be returned, you should still draw the schema of the resulting table. n. r^r.p=s.A...
10. [12 Points) Properties of relations Consider the relation R defined on R by «Ry x2 - y2 = x - y (a) Show that R is reflexive. (b) Show that R is symmetric. (c) Show that R is transitive. (d) You have thus verified that R is an equivalence relation. What is the equivalence class of 3? (e) More generally, what is the equivalence class of an element x? Use the listing method. (f) Instead of proving the three...
Math 240 Assignment 4 - due Friday, February 28 each relation R defined on the given set A, determine whether or not it is reflexive, symmetric, anti-symmetric, or transitive. Explain why. (a) A = {0, 1,2,3), R = {(0,0).(0,1),(1,1),(1,2).(2, 2), (2.3)} (b) A = {0, 1,2,3), R = {(0,0).(0,2), (1,1),(1,3), (2,0), (2,2), (3,1),(3,3)} (c) A is the set of all English words. For words a and b, (a,b) E R if and only if a and b have at least...