Unit 3 - Relations and Functions Flashcards

1
Q

The cartesian product of A and B is denoted with and is the set defined as

A

A × B

{ (x, y) | x ∈ A ∧ y ∈ B}

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

the cartesian product of A and B is the set containing all

A

ordered pairs where an element of A comes first, and an element of B comes second.

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

Consider the sets:
- Foods = {Fries, Broccoli}
- Nutrients = {Carbs, Vitamins, Fats}

What are the following cartesian products:

A

Foods×Nutrients = {
(Fries,Carbs), (Fries, Vitamins), (Fries, Fats),
(Broccoli,Carbs), (Broccoli, Vitamins), (Broccoli, Fats)}

Nutrients×Foods = {
(Carbs, Fries), (Fats, Fries), (Vitamins, Fries),
(Carbs, Broccoli), (Vitamins, Broccoli), (Fats, Broccoli) }

Foods^2 = {(Fries, Fries), (Fries, Broccoli), (Broccoli, Fries), (Broccoli, Broccoli)}

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

Let A = {1, 2, 3}. We have:
A x A
A x ∅

A
  • A × A = { (1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3) }
  • A × ∅ = ∅, and also ∅ × A = ∅
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A relation among A and B is left-total if it

A

relates each element of A with at least one element of B;

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

A relation among A and B is right-total

A

relates each element of B with at least one element of A;

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

A relation among A and B is right unique if it

A

relates each element of A with at most one element of B;

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

A relation among A and B is left-unique if it

A

relates each element of B with at most one element of A.

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

Let A be a set, and let R be a relation in A^2.

We say that R is reflexive if and only if:

A

R relates each element of A to itself

(∀x ∈ A) x R x

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

Let A be a set, and let R be a relation in A2.

We say that R is symmetric if and only if:

A

R relates x to y if and only if it also relates y to x

(∀x ∈ A) (∀y ∈ A)(x R y ⇐⇒ y R x)

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

Let A be a set, and let R be a relation in A2.

We say that R is transitive if and only if:

A

if R relates x to y, and y to z, then it also relates x to z

(∀x ∈ A) (∀y ∈ A) (∀z ∈ A)((x R y ∧ y R z) ⇒ x R z)

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