Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Mathematics
Study Set
Discrete Mathematics with Applications
Quiz 8: Relations
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Question 1
Essay
Let
A
=
{
2
,
3
,
4
,
5
,
6
,
7
,
8
}
A = \{ 2,3,4,5,6,7,8 \}
A
=
{
2
,
3
,
4
,
5
,
6
,
7
,
8
}
and define a relation
R
R
R
on
A
A
A
as follows: for all
x
,
y
∈
A
x , y \in A
x
,
y
∈
A
,
x
R
y
⇔
3
∣
(
x
−
y
)
.
x R y \Leftrightarrow 3 \mid ( x - y ) .
x
R
y
⇔
3
∣
(
x
−
y
)
.
(a) Is
7
R
2
7 R 2
7
R
2
? Is
13
R
4
13 R 4
13
R
4
? Is
2
R
5
2 R 5
2
R
5
? Is
8
R
8
8 R 8
8
R
8
? (b) Draw the directed graph of
R
R
R
.
Question 2
Essay
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
=
M
e
C = M ^ { e }
C
=
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.
Question 3
Essay
Find a positive inverse for 7 modulo 48. (That is, find a positive integer n such that 7n ≡ 1 (mod 48).
Question 4
Essay
Let
B
=
{
0
,
1
,
2
,
3
}
B = \{ 0,1,2,3 \}
B
=
{
0
,
1
,
2
,
3
}
and define a relation
U
U
U
on
B
B
B
by
U
=
{
(
0
,
2
)
,
(
0
,
3
)
,
(
2
,
0
)
,
(
2
,
1
)
}
U = \{ ( 0,2 ) , ( 0,3 ) , ( 2,0 ) , ( 2,1 ) \}
U
=
{(
0
,
2
)
,
(
0
,
3
)
,
(
2
,
0
)
,
(
2
,
1
)}
Is
U
U
U
transitive? Justify your answer.
Question 5
Essay
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.
Question 6
Essay
Let R be the relation defined on the set of all integers Z as follows: for all integers m and n,
m
R
n
⟺
m
−
n
is divisible by
5
.
m R n \Longleftrightarrow m - n \text { is divisible by } 5 \text {. }
m
R
n
⟺
m
−
n
is divisible by
5
.
(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.
Question 7
Essay
Define a relation
R
R
R
from
{
a
,
b
,
c
}
\{ a , b , c \}
{
a
,
b
,
c
}
to
{
u
,
v
}
\{ u , v \}
{
u
,
v
}
as follows:
R
=
{
(
a
,
v
)
,
(
b
,
u
)
}
R = \{ ( a , v ) , ( b , u ) \}
R
=
{(
a
,
v
)
,
(
b
,
u
)}
. (a) Draw an arrow diagram for
R
R
R
. (b) Is
R
R
R
a function? Why or why not?
Question 8
Essay
Define a relation S on the set of positive integers as follows: for all positive integers m and n,
m
S
n
⇔
m
∣
n
m S n \Leftrightarrow m \mid n
m
S
n
⇔
m
∣
n
(a) Is S reflexive? Justify your answer. (b) Is S symmetric? Justify your answer.
Question 9
Essay
Use the fact that
29
=
16
+
8
+
4
+
1
to compute
1
8
29
m
o
d
65
.
\text { Use the fact that } 29 = 16 + 8 + 4 + 1 \text { to compute } 18 ^ { 29 } \bmod 65 \text {. }
Use the fact that
29
=
16
+
8
+
4
+
1
to compute
1
8
29
mod
65
.
Question 10
Essay
Let
A
=
{
0
,
1
,
2
,
3
}
A = \{ 0,1,2,3 \}
A
=
{
0
,
1
,
2
,
3
}
and define a relation
R
R
R
on
A
A
A
as follows:
R
=
{
(
0
,
2
)
,
(
0
,
3
)
,
(
2
,
0
)
,
(
2
,
1
)
}
R = \{ ( 0,2 ) , ( 0,3 ) , ( 2,0 ) , ( 2,1 ) \}
R
=
{(
0
,
2
)
,
(
0
,
3
)
,
(
2
,
0
)
,
(
2
,
1
)}
. (a) Draw the directed graph of
R
R
R
. (b) Is
R
R
R
reflexive? Explain. (c) Is
R
R
R
symmetric? Explain. (d) Is
R
R
R
transitive? Explain.
Question 11
Essay
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.