Exam 8: Relations

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

 Use the fact that 29=16+8+4+1 to compute 1829mod65\text { Use the fact that } 29 = 16 + 8 + 4 + 1 \text { to compute } 18 ^ { 29 } \bmod 65 \text {. }

Free
(Essay)
4.9/5
(32)
Correct Answer:
Verified

181mod65=1818 ^ { 1 } \bmod 65 = 18
182mod65=324mod65=64mod6518 ^ { 2 } \bmod 65 = 324 \bmod 65 = 64 \bmod 65
184mod65=642mod65=4096mod65=118 ^ { 4 } \bmod 65 = 64 ^ { 2 } \bmod 65 = 4096 \bmod 65 = 1
188mod65=12mod65=118 ^ { 8 } \bmod 65 = 1 ^ { 2 } \bmod 65 = 1
1816mod65=12mod65=118 ^ { 16 } \bmod 65 = 1 ^ { 2 } \bmod 65 = 1
Hence, by Theorem 8.4.3,
1829=1816+8+4+1=18161881841811111818(mod65)18 ^ { 29 } = 18 ^ { 16 + 8 + 4 + 1 } = 18 ^ { 16 } 18 ^ { 8 } 18 ^ { 4 } 18 ^ { 1 } \equiv 1 \cdot 1 \cdot 1 \cdot 18 \equiv 18 ( \bmod 65 )  and thus 1829mod65=18\text { and thus } 18 ^ { 29 } \bmod 65 = 18

Let A={2,3,4,5,6,7,8}A = \{ 2,3,4,5,6,7,8 \} and define a relation RR on AA as follows: for all x,yAx , y \in A , xRy3(xy).x R y \Leftrightarrow 3 \mid ( x - y ) . (a) Is 7R27 R 2 ? Is 13R413 R 4 ? Is 2R52 R 5 ? Is 8R88 R 8 ? (b) Draw the directed graph of RR .

Free
(Essay)
5.0/5
(39)
Correct Answer:
Verified

a. 7R27 R 2 because 72=57 - 2 = 5 and 35;13R43 \nmid 5 ; \quad 13 R 4 because 134=913 - 4 = 9 and 393 \mid 9 ;
2R52 R 5 because 25=32 - 5 = - 3 and 33;8R83 \mid - 3 ; \quad 8 R 8 because 88=08 - 8 = 0 and 303 \mid 0 .
b. Draw the directed graph of RR .
 a.  7 R 2  because  7 - 2 = 5  and  3 \nmid 5 ; \quad 13 R 4  because  13 - 4 = 9  and  3 \mid 9 ;  2 R 5  because  2 - 5 = - 3  and  3 \mid - 3 ; \quad 8 R 8  because  8 - 8 = 0  and  3 \mid 0 . b. Draw the directed graph of  R .

Let A={0,1,2,3}A = \{ 0,1,2,3 \} and define a relation RR on AA as follows: R={(0,2),(0,3),(2,0),(2,1)}R = \{ ( 0,2 ) , ( 0,3 ) , ( 2,0 ) , ( 2,1 ) \} . (a) Draw the directed graph of RR . (b) Is RR reflexive? Explain. (c) Is RR symmetric? Explain. (d) Is RR transitive? Explain.

Free
(Essay)
4.7/5
(34)
Correct Answer:
Verified

a.  a.   b.  R  is not reflexive because, for example,  ( 1,1 ) \notin R . c.  R  is not symmetric because, for example,  ( 0,3 ) \in R  but  ( 3,0 ) \notin R . d.  R  is not transitive because, for example,  ( 0,2 ) \in R  and  ( 2,0 ) \in R  but  ( 0,0 ) \notin R . b. RR is not reflexive because, for example, (1,1)R( 1,1 ) \notin R .
c. RR is not symmetric because, for example, (0,3)R( 0,3 ) \in R but (3,0)R( 3,0 ) \notin R .
d. RR is not transitive because, for example, (0,2)R( 0,2 ) \in R and (2,0)R( 2,0 ) \in R but (0,0)R( 0,0 ) \notin R .

Let B={0,1,2,3}B = \{ 0,1,2,3 \} and define a relation UU on BB by U={(0,2),(0,3),(2,0),(2,1)}U = \{ ( 0,2 ) , ( 0,3 ) , ( 2,0 ) , ( 2,1 ) \} Is UU transitive? Justify your answer.

(Essay)
4.8/5
(37)

Define a relation RR from {a,b,c}\{ a , b , c \} to {u,v}\{ u , v \} as follows: R={(a,u),(b,u),(c,v)}R = \{ ( a , u ) , ( b , u ) , ( c , v ) \} . (a) Draw an arrow diagram for RR . (b) Is RR a function? Why or why not?

(Essay)
4.8/5
(31)

An RSA cipher has public key pq = 65 and e = 7. (a) Translate the message YES into its numeric equivalent, and use the formula C=MeC = M ^ { e } (mod pq) to encrypt the message. (b) Decrypt the ciphertext 50 16 and translate the result into letters of the alphabet to discover the message.

(Essay)
4.9/5
(32)

Define a relation RR from {a,b,c}\{ a , b , c \} to {u,v}\{ u , v \} as follows: R={(a,v),(b,u),(b,v),(c,u)}R = \{ ( a , v ) , ( b , u ) , ( b , v ) , ( c , u ) \} . (a) Draw an arrow diagram for RR . (b) Is RR a function? Why or why not?

(Essay)
4.8/5
(33)

Define a relation S on the set of positive integers as follows: for all positive integers m and n, mSnmnm S n \Leftrightarrow m \mid n (a) Is S reflexive? Justify your answer. (b) Is S symmetric? Justify your answer.

(Essay)
4.8/5
(29)

Let A={3,4,5,6,7}A = \{ 3,4,5,6,7 \} and define a relation RR on AA as follows: for all x,yAx , y \in A , xRy2(xy).x R y \Leftrightarrow 2 \mid ( x - y ) . (a) Is 6 R 3? Is 4 R 6? (b) Draw the directed graph of R.

(Essay)
4.8/5
(41)

Let R be the relation defined on the set of all integers Z as follows: for all integers m and n, mRnmn is divisible by 5m R n \Longleftrightarrow m - n \text { is divisible by } 5 \text {. } (a) Is R reflexive? Prove or give a counterexample. (b) Is R symmetric? Prove or give a counterexample. (c) Is R transitive? Prove or give a counterexample.

(Essay)
5.0/5
(39)

Define a relation TT on R\mathbf { R } as follows: for all xx and yy in R,xTy\mathbf { R } , x T y if and only if x2=y2x ^ { 2 } = y ^ { 2 } . Then TT is an equivalence relation on R\mathbf { R } . (a) Prove that T is an equivalence relation on R. (b) Find the distinct equivalence classes of T.

(Essay)
4.9/5
(39)

Let B={0,1,2,3}B = \{ 0,1,2,3 \} and define a relation UU on BB by U={(0,2),(0,3),(1,2)}.U = \{ ( 0,2 ) , ( 0,3 ) , ( 1,2 ) \} . Is U transitive? Justify your answer.

(Essay)
5.0/5
(35)

Find a positive inverse for 7 modulo 48. (That is, find a positive integer n such that 7n ≡ 1 (mod 48).

(Essay)
4.7/5
(35)

Define a relation RR on the set {1,2,3,4}\{ 1,2,3,4 \} as follows: R={(1,4),(2,3),(2,4),(4,1),(2,1),(1,2),(3,2)}R = \{ ( 1,4 ) , ( 2,3 ) , ( 2,4 ) , ( 4,1 ) , ( 2,1 ) , ( 1,2 ) , ( 3,2 ) \} (a) Is RR symmetric? Justify your answer. (b) Is RR transitive? Justify your answer.

(Essay)
4.9/5
(37)

Let A = {1, 2, 3, 4}. The following relation R is an equivalence relation on A: R = {(1, 1), (1, 3), (1, 4), (2, 2), (3, 1), (3, 3), (3, 4), (4, 1), (4, 3), (4, 4)}. (a) Draw the directed graph of R. (b) Find the distinct equivalence classes of R.

(Essay)
5.0/5
(21)

Prove directly from the definition of congruence modulo nn that if a,ca , c , and nn are integers, n>1n > 1 , and ac(modn)a \equiv c ( \bmod n ) , then a3c3(modn)a ^ { 3 } \equiv c ^ { 3 } ( \bmod n ) .

(Essay)
4.8/5
(31)

Let S be the set of all strings of 0's and 1's of length 3. Define a relation R on S as follows: for all strings s and t in S, Let S be the set of all strings of 0's and 1's of length 3. Define a relation R on S as follows: for all strings s and t in S,   (a) Prove that R is an equivalence relation on S. (b) Find the distinct equivalence classes of R. (a) Prove that R is an equivalence relation on S. (b) Find the distinct equivalence classes of R.

(Essay)
4.9/5
(32)

Define a relation RR from {a,b,c}\{ a , b , c \} to {u,v}\{ u , v \} as follows: R={(a,v),(b,u)}R = \{ ( a , v ) , ( b , u ) \} . (a) Draw an arrow diagram for RR . (b) Is RR a function? Why or why not?

(Essay)
4.9/5
(28)

Define a relation TT from R\mathbf { R } to R\mathbf { R } as follows: for all (x,y)R×R,xTyy>x+1( x , y ) \in \mathbf { R } \times \mathbf { R } , x T y \Leftrightarrow y > x + 1 . (a) Is (1,0)T?( 1,0 ) \in T ? Is (0,1)T?( 0,1 ) \in T ? Is (2,5)T?( - 2,5 ) \in T ? Is (3,4)T?( - 3 , - 4 ) \in T ? (b) Sketch the graph of TT in the Cartesian plane.

(Essay)
4.9/5
(35)
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)