Relations Flashcards

1
Q

is a set R of ordered pairs where the first element of each ordered pair comes form A, and the second element comes from B

A

binary relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of these relations contain each of the pairs (1, 1), (1, 2), (2, 1), (1, −1), and (2, 2)?

R1 = {(a, b) | a ≤ b},
R2 = {(a, b) | a>b},
R3 = {(a, b) | a = b or a = −b},
R4 = {(a, b) | a = b},
R5 = {(a, b) | a = b + 1},
R6 = {(a, b) | a + b ≤ 3}

A

The pairs:
(1, 1) is in R1, R3, R4, and R6;
(1, 2) is in R1 and R6;
(2, 1) is in R2, R5, and R6;
(1, −1) is in R2, R3, and R6;
(2, 2) is in R1, R3, and R4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Consider the relations below which contain (1,1), (1,3), (2,4) and (2,1)

R1 = {(a, b) | a = b},
R2 = {(a, b) | a ≤ b},
R3 = {(a, b) | a>b},
R4 = {(a, b) | a + b ≤ 3}

A

The pairs:
(1, 1) is in R1, R2, andR4;
(1, 3) is in R2;
(2, 4) is in R2;
(2, 1) R3;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many relations are there on a set with n elements?

A

|A|=n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

is essentially a subset of the Cartesian product of the set with itself.

A

relation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

There are (blank) ordered pairs in S×S.

A

n^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

For each ordered pair, there are 2 choices:

A

either it’s in the relation or
it’s not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Example For a set {a, b, c}
there are 2^(3^2) = 2^9
how many relations?

A

512 relations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

property of a relation that iff (a,a)∈R for every element a∈A

A

Reflexive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of these relations are reflexive?
R1 = {(a, b) | a = b},
R2 = {(a, b) | a ≤ b},
R3 = {(a, b) | a>b},
R4 = {(a, b) | a + b ≤ 3}

A

R1 and R2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

property of a relation that iff (b,a) ∈ R whenever (a,b) ∈ R

A

Symmetric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the relations from example (a) are symmetric?

R1 = {(1,1), (1,2), (2,1), (2,2), (3,4), (4,1), (4,4)}
R2 = {(1,1), (1,2), (2,1)}
R3 = {(1,1), (1,2), (1,4), (2,1), (2,2), (3,3), (4,1), (4,4)}
R4 = {(2,1), (3,1), (3,2), (4,1), (4,2), (4,3)}
R5 = {(1,1), (1,2), (1,3), (1,4), (2,2), (2,3), (2,4), (3,3), (3,4), (4,4)}
R6 = {(3,4)}

A

R2 and R3 are symmetric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

property of a relation where relation R on a set A such that for all a, b ∈ A, if (a, b) ∈ R and (b, a) ∈ R, then a = b

A

Anti-Symmetric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

property of relation that if and only if there are no pairs of distinct elements a and b with a related to b and b related to a.

A

Anti-Symmetric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which of the relations from example (a) are Antisymmetric?
R1 = {(1,1), (1,2), (2,1), (2,2), (3,4), (4,1), (4,4)}
R2 = {(1,1), (1,2), (2,1)}
R3 = {(1,1), (1,2), (1,4), (2,1), (2,2), (3,3), (4,1), (4,4)}
R4 = {(2,1), (3,1), (3,2), (4,1), (4,2), (4,3)}
R5 = {(1,1), (1,2), (1,3), (1,4), (2,2), (2,3), (2,4), (3,3), (3,4), (4,4)}
R6 = {(3,4)}

A

R4, R5 and R6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

property of relation that if whenever (a, b) element of R and (b,c) element of R, then (a, c) element of R, for all a, b, c element of R.

A

transitive

16
Q

Which of the relations in example (a) are
transitive?
R1 = {(1,1), (1,2), (2,1), (2,2), (3,4), (4,1), (4,4)}
R2 = {(1,1), (1,2), (2,1)}
R3 = {(1,1), (1,2), (1,4), (2,1), (2,2), (3,3), (3,4), (4,1), (4,4)}
R4 = {(2,1), (3,1), (3,2), (4,1), (4,2), (4,3)}
R5 = {(1,1), (1,2), (1,3), (1,4), (2,2), (2,3), (2,4), (3,3), (3,4), (4,4)}
R6 = {(3,4)}

A

R4 and R5