Test 2 Solutions

Test 2 Solutions - F06/CS 191 : Suggested Solutions to TEST...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Suggested Solutions to TEST TWO Discrete Structures I 11/2/2006 OPEN BOOK Name_____________________ There are 5 problems with 20 points each. 1 Let X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}. Define the relation R on X as follows. ( a , b ) R if a mod 3 = b mod 3 for any a , b X (a) Prove that R is an equivalent relation. Proof. We need to show that R is reflexive, symmetric and transitive. (i) Because a mod 3 = a mod 3 for any number a , we have ( a , a ) R . So, R is reflexive. (ii) If ( a , b ) R , then we have a mod 3 = b mod 3. This implies b mod 3 = a mod 3. Therefore, ( b , a ) R. So R is symmetric. (iii) If ( a , b ) R and ( b , c ) R , then we have a mod 3 = b mod 3, and b mod 3 = c mod 3, which implies that a mod 3 = c mod 3. Therefore, we have ( a , c ) R . The transitivity is also proved. Therefore, R is an equivalence relation. (b)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Test 2 Solutions - F06/CS 191 : Suggested Solutions to TEST...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online