midterm 2 Flashcards

1
Q

def of relation

A

Let A and B be sets. R is a relation from A to B if R is a subset of A x B

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

identity relation

A

Ia = {(a,a): a∈A

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

domain of the relation R from A to B

A

Dom(R) = {x∈A: ∃y∈B st xRy}

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

range of the relation R

A

Rng(R) = {y∈B: ∃x∈A st xRy}

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

inverse relation

A

{(y,x): (x,y)∈R}

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

The composite of two relations R and S

A

Let R be a relation from A to B and S be a relation from B to C
S o R = {(a,c): ∃b∈B st (a,b)∈R and (b,c)∈S}

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

(S o R)^-1

A

R^-1 o S^-1

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

reflexive

A

∀x∈A, (x,x)∈R

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

irreflexive

A

∀x∈A, (x,x)∉R

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

transitive

A

if (x,y), (y,z)∈R, then (x,z)∈R

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

symmetric

A

if (x,y)∈R, then (y,x)∈R

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

antisymmetric

A

if (x,y),(y,x)∈R, then x=y

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

comparability property

A

either (x,y)∈R or (y,x)∈R

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

equivalence relation

A

R is reflexive, symmetric, and transitive

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

partial order

A

R is reflexive, antisymmetric, and transitive

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

strict partial order

A

R is irreflexive, antisymmetric, and transitive

17
Q

A function from A to B is a relation f from A to B such that…

A

i) dom(f) =A
ii) if (x,y),(y,z)∈f, then y=z

18
Q

image of y = f(x)

A

y is the image of f at x

19
Q

pre-image of y = f(x)

A

x is a pre-image of y

20
Q

two functions are equal iff

A

i) Dom(f) = Dom(g)
ii) ∀x∈Dom(f), f(x)=g(x)

21
Q

the composite of functions f and g

A

g o f = {∃y∈B st (x,y)∈f and (y,z)∈g}

22
Q

a function f from A to B is onto or surjective if

A

∀b∈B ∃a∈A st f(a) = b

23
Q

a function is 1-1 or injective if

A

if f(x)=f(y), then x=y