Question

In: Computer Science

Consider this set A = { a, b, c, d } and the following relations R6...

Consider this set A = { a, b, c, d } and the following relations

R6 = { ( a, a ), ( a, b), ( b, b), ( c, d ) }

R7 = { ( a, a), ( b, b ), ( b, c ), ( c, c ), ( c, d), (d, d) }

R8 = { (a, b), (a, d), ( b, a), ( d, a) , ( b, d) , (d, b) }

R9 = { ( a, a), ( b, c) }

R10 = { ( a, b), (b, d), (a, d), ( a, a ) , (b, b), (b, d) }

5. Which of the above relations are reflexive and state why ?

  

6. Which of the above relations are symmetric and state why ?

7. Which of the above relations are transitive and state why ?

Solutions

Expert Solution

5. Which of the above relations are reflexive and state why ?

To be reflexive every element of R should relate to itself.
{(a, a)(b, b)(c, c)(d, d)} should be in R

Answer: Only R7 is reflexive.
R7 = { ( a, a), ( b, b ), ( b, c ), ( c, c ), ( c, d), (d, d) }

Explanation

R6 = { ( a, a ), ( a, b), ( b, b), ( c, d ) }
No because (c, c) isn't there

R8 = { (a, b), (a, d), ( b, a), ( d, a) , ( b, d) , (d, b) }
(a, a) isn't there

R9 = { ( a, a), ( b, c) }
(b, b) isn't there

R10 = { ( a, b), (b, d), (a, d), ( a, a ) , (b, b), (b, d) }
(c, c) isn't there


6. Which of the above relations are symmetric and state why ?

In each relation for every (x, y) there should be (y, x) also

Answer: Only R8 is symmetric

R8 = { (a, b), (a, d), ( b, a), ( d, a) , ( b, d) , (d, b) }

Explanation

R6 = { ( a, a ), ( a, b), ( b, b), ( c, d ) }
(a, b) is there but not (b, a)

R7 = { ( a, a), ( b, b ), ( b, c ), ( c, c ), ( c, d), (d, d) }
(b, c) is there but not (c, b)

R9 = { ( a, a), ( b, c) }
(b, c) is there but not (c, b)

R10 = { ( a, b), (b, d), (a, d), ( a, a ) , (b, b), (b, d) }
(a, b) is there but not (b, a)

7. Which of the above relations are transitive and state why ?
If (a, b) and (b, c) is in the relation then should be (a, c)

Answer

R6 = { ( a, a ), ( a, b), ( b, b), ( c, d ) }
R8 = { (a, b), (a, d), ( b, a), ( d, a) , ( b, d) , (d, b) }
R9 = { ( a, a), ( b, c) }
R10 = { ( a, b), (b, d), (a, d), ( a, a ) , (b, b), (b, d) }

Explanation

R7 = { ( a, a), ( b, b ), ( b, c ), ( c, c ), ( c, d), (d, d) }
(b, c) & (c, d) are there but not (b, d)


--------------------------------------
Hit the thumbs up if you are fine with the answer. Happy Learning!


Related Solutions

Consider the following propositional formula: (((A ^ B) -> C) ^ ((A ^ C) -> D))...
Consider the following propositional formula: (((A ^ B) -> C) ^ ((A ^ C) -> D)) -> ((A ^ B) -> D) Perform the following tasks for this formula: Convert this formula into CNF form and write a numbered list of all clauses obtained from this formula.
Consider the cross: A/a; b/b; C/c; D/d; E/e x A/a; B/b; c/c; D/d; e/e a) what...
Consider the cross: A/a; b/b; C/c; D/d; E/e x A/a; B/b; c/c; D/d; e/e a) what proportion of the progeny will phenotypically resemble the first parent? b) what proportion of the progeny will genotypically resemble neither parent?
Define the following order on the set Z × Z: (a, b) < (c, d) if...
Define the following order on the set Z × Z: (a, b) < (c, d) if either a < c or a = c and b < d. This is referred to as the dictionary order on Z × Z. (a) Show that there are infinitely many elements (x, y) in Z × Z satisfying the inequalities (0, 0) < (x, y) < (1, 1). (b) Show that Axioms O1–O3 ( Trichotomy, Transitivity, Addition for inequalities) are satisfied for this...
Consider the relation R= {A, B, C, D, E, F, G, H} and the set of...
Consider the relation R= {A, B, C, D, E, F, G, H} and the set of functional dependencies: FD= {{B}—> {A}, {G}—> {D, H}, {C, H}—> {E}, {B, D}—> {F}, {D}—>{C}, {C}—> {G}} 1) Draw FD using the diagrammatic notation. 2) What are all candidate keys for R? 3) If delete {C}—>{G} and change {C, H}—> {E} to {C, H}—> {E, G}, what are all candidate keys for R
MIPS a) Consider the C statement: a = (b + d) + (b - c) +...
MIPS a) Consider the C statement: a = (b + d) + (b - c) + (c + d) Which of the following assembly instructions can be used to replicate all or part of this statement in MIPS, without changing or reducing the equation. Assume variables a, b, c, and d are assigned to registers $s0, $s1, $s2 and $s3 respectively. 1. sub $t0, $s2, $s3 2. sub $t0, $s0, $s3 3. sub $t1, $s1, $s2 4. sub $t2, $s1,...
Prove that the set R ={ a+ b√2+c√3+d√6 , a,b,c,d belongs to Q } is a...
Prove that the set R ={ a+ b√2+c√3+d√6 , a,b,c,d belongs to Q } is a field
Consider the following relations: R1 = {(a, b) ∈ R2 ∣ a > b}, the greater...
Consider the following relations: R1 = {(a, b) ∈ R2 ∣ a > b}, the greater than relation R2 = {(a, b) ∈ R2 ∣ a ≥ b}, the greater than or equal to relation R3 = {(a, b) ∈ R2 ∣ a < b}, the less than relation R4 = {(a, b) ∈ R2 ∣ a ≤ b}, the less than or equal to relation R5 = {(a, b) ∈ R2 ∣ a = b}, the equal to relation...
Consider a project consisting of four activities A, B, C, and D. The following are constraints...
Consider a project consisting of four activities A, B, C, and D. The following are constraints within which the project has to be conducted • A and B, the first activities of the project, can be started simultaneously. • C can be started only after A is completed. • D can be started only after B is completed Suppose the activity times for the activities are A = 4 weeks, B = 3 weeks, C = 2 weeks, D =...
Consider the following reaction at 309 K. 1 A + 1 B → C + D...
Consider the following reaction at 309 K. 1 A + 1 B → C + D where rate = rate=k[A]2[B]. An experiment was performed for a certain number of seconds where [A]o = 1.07 M and [B]o = 0.000167 M. A plot of ln[B] vs time had a slope of -9.63. What will the rate of this reaction be if a new experiment is preformed when [A] = [B] = 0.212 M?
1) Provide a set of payoffs in this format a, b      |    c, d e,...
1) Provide a set of payoffs in this format a, b      |    c, d e, f     |     g, i for a 2x2 game that illustrated the problem of free access to guns. 2) Provide a set of payoffs in this format a, b      |    c, d e, f     |     g, i for a 2x2 version of the Battle of the Sexes. 3. In what sense is the Battle of the Sexes a "social dilemma"?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT