Question

Discrete Mathematical Structures for Computer Science. Please show your step and explain !

7. Set A = {0, 1,2,3}, relation R: A x A is defined as: R= {(0, 1), (0, 2), (1, 1), (1,3), (2, 2), (3,0)}. For relation R fin

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Transitive > A relation R is transitive on s whenever aRb, brc then are i.e. if (a,b)ER, (b, Cher then (a, c) ER & a, b, c EA

Transitive Closure:-

The Transitive Closure, R+ is the smallest transitive relation that contains R as a subset.

Let a relation R is defined on a Set A and A contains n elements, then

R+ = R U R2 U R3 U .......... U Rn.

Here to find the transitive closure for the given relation, we need to find the n.

n is the total number of elements(also called cardinality) in set A.

Given, Set A = { 0,1, 2, 3 }

so, n = 4.

So, Transitive closure of R is,

R+ = R U R2 U R3 U R4.

Given R = { (0,1) , (0,2) , (1,1) , (1,3) , (2,2) , (3,0) }

R2 = R o R

= { (0,1) , (0,2) , (1,1) , (1,3) , (2,2) , (3,0) } o { (0,1) , (0,2) , (1,1) , (1,3) , (2,2) , (3,0) }

= { (0,1) , (0,3) , (0,2) , (1,1) , (1,3) , (1,0) , (2,2) , (3,1) , (3,2) }

R3= R2 o R

= { (0,1) , (0,3) , (0,2) , (1,1) , (1,3) , (1,0) , (2,2) , (3,1) , (3,2) } o { (0,1) , (0,2) , (1,1) , (1,3) , (2,2) , (3,0) }

= { (0,1) , (0,3) , (0,0) , (0,2) , (1,1) , (1,3) , (1,0) , (1,2) , (2,2) , (3,1) , (3,3) , (3,2) }

R4= R3 o R

= { (0,1) , (0,3) , (0,0) , (0,2) , (1,1) , (1,3) , (1,0) , (1,2) , (2,2) , (3,1) , (3,3) , (3,2) } o { (0,1) , (0,2) , (1,1) , (1,3) , (2,2) , (3,0) }

= { (0,1) , (0,3) , (0,0) , (0,2) , (1,1) , (1,3) , (1,0) , (1,2) , (2,2) , (3,1) , (3,3) , (3,0) , (3,2) }  

R+ = R U R2 U R3 U R4

= { (0,1) , (0,2) , (1,1) , (1,3) , (2,2) , (3,0) } o { (0,1) , (0,3) , (0,2) , (1,1) , (1,3) , (1,0) , (2,2) , (3,1) , (3,2) } o { (0,1) , (0,3) , (0,0) , (0,2) , (1,1) , (1,3) , (1,0) , (1,2) , (2,2) , (3,1) , (3,3) , (3,2) } o { (0,1) , (0.3) , (0,0) , (0,2) , (1,1) , (1,3) , (1,0) , (1,2) , (2,2) , (3,1) , (3,3) , (3,0) , (3,2) }  

= { (0,0) , (0,1) , (0,2) , (0,3) , (1,0) , (1,1) , (1,2) , (1,3) , (2,2) , (3,0) , (3,1) , (3,2) , (3,3) } .

So, the Transitive closure for the given relation R is

R+ = { (0,0) , (0,1) , (0,2) , (0,3) , (1,0) , (1,1) , (1,2) , (1,3) , (2,2) , (3,0) , (3,1) , (3,2) , (3,3) }.

Add a comment
Know the answer?
Add Answer to:
Discrete Mathematical Structures for Computer Science. Please show your step and explain ! 7. Set A...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT