MATH 301 Test 3 Flashcards

1
Q

A relation is called a function (f: A -> B) if

A

f(a) = b and f(a) = c implies b=c

(a,b) ∈ R and (a,c) ∈ R implies b=c

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

The domain of a function f: A -> B is

A

dom(f) = {a : ∃b∈B, f(a)=b}

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

The image of a function f: A -> B is

A

im(f) = {b: ∃a∈A, f(a)=b}

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

If f: A->B is a function, dom(f)=A and im(f)⊆B, we call B the

A

codomain

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

The inverse of a function f is

A

f^(-1) = {(b,a) : (b,a) ∈ f}

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

f^(-1) is a function provided

A

(a,b) ∈ f^(-1) and (a,c) ∈ f^(-1) implies b=c

or (b,a) ∈ f and (c,a) ∈ f implies b=c

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

A function f: A->B is called injective or one-to-one provided

A

f(x1) = f(x2) implies x1 = x2

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

If f: A->B is one-to-one, then f^(-1) (is/is not) a function.

A

is

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

If f: A->B is one-to-one, the size of A and B are related as

A

|B| >= |A|

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

A function f: A->B is called surjective or onto B if

A

im(f)=B

∀b∈B, ∃a∈A s.t. f(a)=b

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

If f: A->B is onto, the size of A and B are related as

A

|A| >= |B|

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

A function f: A->B is called a bijection if

A

it is both one-to-one (injective) and onto (surjective)

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

If f: A->B is bijective, the size of A and B are related as

A

|A| = |B|

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

Let A and B be fintie sets with |A| = a and |B| = b. How many functions are there from A to B?

A

b^a

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

Let A and B be fintie sets with |A| = a and |B| = b. How many one-to-one functions are there from A to B?

A

b falling a

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

Let A and B be fintie sets with |A| = a and |B| = b. How many onto functions are there from A to B?

A

the sum from k=0 to b of

(-1)^k (b choose k) (b-k)^a

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

Pigeonhole Principle

A

If f: A->B is one-to-one, then |A| <= |B|

Contrapositive: If |A| > |B|, then there is no one-to-one function f: A->B

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

A graph is

A

a pair G=(V,E) where V is a finite set and E is a set of two-element subsets of V

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

Let u,v∈V. We say u is adjacent to v if

A

{u,v}∈E

Notation: u~v

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

The degree of v is

A

the number of edges with which v is incident

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

A graph is called regular if

A

every vertex has the same degree

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

Handshakes theorem

A

The sum of the degrees of the vertices in V(G) is equal to 2|E|

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

We say f: V(G) -> V(H) is an isomorphism provided

A

f is a bijection and a~b iff f(a)~f(b)

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

A clique is a graph G is

A

a set S⊆V(G) in which all vertices are pairwise adjacent

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

The size of the largest clique in G is called its

A

clique number, w(G)

26
Q

A graph is complete if

A

all vertices are pairwise adjacent

Kn is the complete graph of n vertices

27
Q

The vertex set of a complete graph is

A

a clique

28
Q

Let G and H be graphs. We call G a subgraph of H if

A

V(G)⊆V(H) and E(G)⊆E(H)

29
Q

A spanning subgraph also has

A

V(G) = V(H)

30
Q

A subgraph G⊆H is called induced if

A

E(G)={{x,y}∈E(H) : x,y ∈ V(G)}

Notation: H[A] with A⊆V(H) is the subgraph of H induced by A

31
Q

If G is a graph and e∈E(G), then G-e is

A

a graph with E(G-e) = E(G) - {e}

32
Q

If G is a graph and v∈V(G), then G-v is

A

a graph with V(G-v) = V(G) - {v}

33
Q

The complement of G is G bar, with

A

V(Gbar) = V(G) and E(Gbar) = {{x,y}∈VxV; {x,y} ∉ E}

34
Q

An independent set is a set of

A

pairwise non-adjacent vertices

35
Q

The size of a largest independent set in G is

A

the independence number, α(G)

36
Q

A walk is

A

a sequence of vertices W=(v0, v1, …, vk) with v0~v1~…~vk

37
Q

A path is

A

a walk with no repeated vertices

38
Q

For u,v∈V(G), if there is a (u,v) walk in G, then

A

there is a (u,v) path in G

39
Q

We say G is connected if

A

for every pair u,v∈V(G), there is a (u,v) path

40
Q

A component of G is

A

a subgraph induced by an equivalence class of the “is-connected-to” relation

41
Q

A vertex in a graph is called a cut-vertex if

A

G-v has more components than G

42
Q

An edge in a graph is called a cut-edge if

A

G-e has more components than G

43
Q

If G is a connected graph and e∈E(G) is a cut-edge, then G-e has ? components

A

exactly 2

44
Q

A cycle is

A

a walk of length at least 3 with the first and last vertex the same and no other repeated vertices

45
Q

A tree is

A

an acyclic connected graph

46
Q

If T is a tree and u,v∈V(T), then there (is/is not) a unique (u,v) path in T

A

is

47
Q

If G is a graph and for every pair of vertices u,v∈V(G) there is a unique (u,v) path in G, then G is

A

a tree

48
Q

A vertex of degree 1 is called

A

a leaf

49
Q

An acyclic graph is called

A

a forest

50
Q

If T is a tree with at least two vertices, then T

A

has a leaf

51
Q

If T is a tree and v is a leaf of T, then T-v

A

is a tree

52
Q

If T is a tree with n vertices, then T has ? edges

A

n-1

53
Q

Let G be a graph and let k∈Z+. A k-coloring of G is a function

A

f: V(G) -> {1,2,…,k}

54
Q

We call a coloring proper proved

A

∀xy∈E(G), f(x) =/= f(y)

55
Q

If a graph has a proper k-coloring, we call it

A

k-colorable (it will also be k+1 colorable etc)

56
Q

The chromatic number is

A

the smallest positive integer k for which G is k-colorable

Notation: X(G)

57
Q

A bipartite graph is

A

a graph that is 2-colorable

58
Q

The vertices of a bipartite graph can be

A

partitioned as V(G) = A U B (where A ∩ B = Ø) so that every edge in G has one end in A and the other in B

59
Q

Kn,m is the complete bipartite graph with

A

vertices V = A U B, |A|=n, |B|=m, and E(Kn,m) = {{a,b} : a ∈ A, b ∈ B}

60
Q

The chromatic number of a graph lies between

A

w(G) <= X(G) <= Δ(G)+1
(the clique number of G is less than or equal to the chromatic number of G which is less than or equal to one more than the maximum vertex degree of G)

61
Q

How to prove X(G) = k

A
  1. prove the graph is k-colorable

2. prove G is not k-1 colorable

62
Q

Proving a wheel graph is k-colorable

A

Prove the coloring of the cycle (independence number will be floor(n/2) - these are the color classes; the chromatic number of a cycle is 2 if n is even and 3 if n is odd)
So, if the cycle needs 2/3 colors, then the wheel needs 3/4