Week 5 and 6 - Relations and Functions Flashcards

1
Q

What is a relation?

A

A subset of tuples containing elements from different sets

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

What does it mean if R is a subset of A x B?

A

R is a set made up of tuples containing one element from set A and another from set B

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

A binary relation if reflexive if…

A

it contains all pairs where the two values are the same

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

A Binary relation is irreflexive if…

A

It contains no pairs where the values are the same

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

A binary relation is symmetric if…

A

for every pair, the reverse pair is also in the relation.

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

R^-1 is the set that contains…

A

The inverse of every pair in set R.

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

A binary relation is transitive if…

A

Whenever the set contains (x, y) and (y, z) it also contains (x, z)

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

What is an order relation?

A

A relation that is reflexive, anti-symmetric and transitive

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

What is an equivalence relation?

A

A relation that is reflexive, symmetric and transitive.

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

What conditions must a relation satisfy to qualify as a function?

A

Definedness

Single valuedness

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

What is definedness?

A

For every argument(input) there is a value(output)

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

What is single valuedness?

A

Only one value(output) for every argument(input)

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

If R⊆A×B is a functional relation then A and B are…

A

The domain and co-domain of the function

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

What does it mean if a function is injective?

A

The function gives a different output for every input.

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

What does it mean if a function is surjective?

A

The range is equal to the co-domain.

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

What is the range of a function?

A

The set of all possible outputs

17
Q

What does it mean if a function is bijective?

A

The function is both injective and surjective