Midterm 2 Flashcards

1
Q

the well-ordering principle

A

every nonempty subset of the set of all natural numbers has a smallest element.

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

what states that every subset of the set of all natural numbers has a smallest element?

A

the well-ordering principle

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

fundamental theorem of arithmetic

A

any natural number greater than 1 is prime or can be expressed uniquely as the product of primes.

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

what states that any natural number greater than 1 is prime or can be expressed uniquely as the product of primes?

A

the fundamental theorem of arithmetic

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

how can a relation be defined?

A

as an ordered pair, like (x,y)

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

R is a relation from A to B if…

A

R is a subset of AxB

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

(a,b) ∈ R
or
a R b

A

“a is R-related (related) to b”

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

a is R-related (related) to b

A

(a,b) ∈ R
or
a R b

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

a relation from A to A

A

“a relation on A”

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

what is every subset of AxB?

A

a relation from A to B

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

identity relation IA

A

for any set A, the identity relation on A is IA = {(a,a): a ∈ A}

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

if A = {1, 2, a, b}, what is the identity relation on A?

A

IA = {(1,1), (2,2), (a,a), (b,b)}

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

given the relation R from A to B, what is the domain of R?

A

Dom(R) = {x ∈ A: there exists y ∈ B such that x R y}

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

given the relation R from A to B, what is the range of R?

A

Rng(R) = {y ∈ B: there exists x ∈ A such that x R y}

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

what is Dom(R)?

A

the set of all first coordinates of ordered pairs in R

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

what is Rng(R)?

A

the set of all second coordinates of ordered pairs in R

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

how can we prove that a given x ∈ A is contained in Dom(R)?

A

must show there exists an element y ∈ B such that x R y

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

how can we prove that y ∈ B is in Rng(R)?

A

must show that there exists x ∈ A such that x R y

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

what is a digraph?

A

a directed graph, which can be used to represent a relation R on a small finite set A

20
Q

______ are also relations from A to B

A

unions and intersections of two relations from A to B are also relations from A to B

21
Q

what is the inverse of a relation?

A

R^-1 = {(y,x): (x,y) ∈ R}
basically, flip x and y

22
Q

if R is the relation from A to B, what is R^-1?

A

R^-1 is the relation from B to A

23
Q

what is composition?

A

given that A is related to B, and B is related to C, composition is a method of constructing a relation from A to C

24
Q

let R be a relation from A to B, and S be a relation from B to C. what is the composite of S and R?

A

S o R = {(a,c): there exists b ∈ B such that (a,b) ∈ R and (b,c) ∈ S}

25
Q

if R is a relation from A to B, and S is a relation from B to C, then how would we graphically describe S o R?

A

three sets, all paths from A to C gives S o R

26
Q

(R^(-1))^(-1) = ?

A

R

27
Q

T o (S o R) = ?

A

(T o S) o R (because composition is associative)

28
Q

Let R be a relation from A to B.

IB o R = ?
R o IA = ?

A

Both equal R

29
Q

(S o R) ^ (-1) = ?

A

R^(-1) o S^(-1)

30
Q

what does it mean for R to be reflexive?

A

if R is a relation on A, then R is reflexive on A if for all x ∈ A, x R x.

graphically, this means there is a loop on every vertex in R.

31
Q

what does it mean for R to be symmetric?

A

if R is a relation on A, then R is symmetric if for all x and y ∈ A, if x R y, then y R x.

graphically, this means between any two vertices, there are either no arcs or an arc in each direction.

32
Q

what does it mean for R to be transitive?

A

if R is a relation on A, then R is transitive if, for all x, y, and z ∈ A, if x R y and y R z, then x R z.

graphically, this means whenever there is an arc from vertex x to y, and an arc from vertex y to z, there is an arc from x to z.

33
Q

what is an equivalence relation?

A

an equivalence relation is a relation R on a set A that is reflexive on A, symmetric, and transitive.

34
Q

what is an equivalence class?

A

let R be an equivalence relation on a set A. for x ∈ A, the equivalence class of x modulo R (or x mod R) is the set x bar = {y ∈ A: x R y}

35
Q

what is each element of x bar called?

A

a representative of the equivalence class.

36
Q

what is A/R?

A

A modulo R: A/R = {x bar: x ∈ A}
the set of all equivalence classes

37
Q

how else can A/R be written?

A

[x], x/R

38
Q

equivalence classes are____

A

equivalence classes are never empty

39
Q

any two equivalence classes are either ____ or ____

A

any two equivalence classes are either equal or disjoint

40
Q

objects are related iff _____

A

objects are related iff their equivalence classes are identical

41
Q

objects are unrelated iff _____

A

objects are related iff their equivalence classes are disjoint

42
Q

Let R be an equivalence relation on a nonempty set A. For all x and y in A…

A

a) x ∈ x̄ and x̄ ⊆ A
b) x R y iff x̄ = ȳ
c) x is not related to y iff x̄ ∩ ȳ = Ø

43
Q

x = y (mod m) if…

A

x = y (mod m) if f divides x-y or if the remainder of x mod m = remainder of y mod m

44
Q

in x = y (mod m), what is m called?

A

the modulus of the congruence

45
Q

ℤm
ex. m = 4

A

the set of equivalence classes for the relation congruence modulo m (the set of all remainders of m)

ℤ4 = {0, 1, 2, 3}