Ecm 1415 Relations Flashcards

1
Q

What is the binary relation R from set A to set B?

A

R ⊆ A * B

R is a subset of the cartesian equation of A and B

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

For the relation to qualify as a function from A to B:

A
  • For every element of the domain, there is some of the codomain Vx
  • There needs to be a uniqueness x, y1, y2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the Cartesian product?

A

The product of 2 sets A and B. Writing the Cartesian product of 2 sets would entail listing every possible combination the sets hold.

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

What makes a binary relation?

A

Binary Relations leave at least one tuple that is in the cartesian product out of the relation

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

R = {(1, 1), (1, 4), (2, 3), (3, 1), (3, 4)}
S = {(1, 0), (2, 0), (3, 1), (3, 2), (4, 1)}

S * R = …

A

S * R = {(1, 0), (1, 1), (2, 1), (2, 2), (3, 0), (3, 1)}

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

R = {(1, 1), (2, 1), (3, 2), (4, 3)}

R^2 = …

A

R^2 = {(1, 1), (2, 1), (3, 1), (4, 2)}

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

What are the properties a relation can have?

A

Reflexive
Symmetric
Antisymmetric
Transitive

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

What is a reflexive relation

A

Reflexive relation is a relation of elements of a set A such that each element of the set is related to itself

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

What is a symmetric relation?

A

According to theory, symmetry relation is the relation in which if one element is related to another element; then another element will also be related to the 1st one.
For example: In equation A, if x is only related to y, then y is also related to x for every y.

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

What is an antisymmetric relation?

A

a binary relation on a set is antisymmetric if there is no pair of distinct elements of each of which is related by to the other.

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

What is a transitive relation?

A

a set X is transitive if, for all elements a, b, c in X, whenever R relates a to b and b to c, then R also relates a to c

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

A relation on Set A is called an equivalence relation if it is…

A

Reflexive, Symmetric and Transitive

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