64
Chap. 11 Graph Theory and Applications 1

Chap. 11 Graph Theory and Applications

  • Upload
    rey

  • View
    69

  • Download
    0

Embed Size (px)

DESCRIPTION

Chap. 11 Graph Theory and Applications. Directed Graph. (Undirected) Graph. Vertex and Edge Sets. Walk. Closed (Open) Walk. Trail, Path, Circuit, and Cycle. Comparison of Walk, Trail, Path, Circuit, and Cycle. Theorem 11.1. Observation:. Theorem 11.1. It suffices to show from a to b, - PowerPoint PPT Presentation

Citation preview

Page 1: Chap. 11 Graph Theory and Applications

Chap. 11 Graph Theory and Applications

1

Page 2: Chap. 11 Graph Theory and Applications

Directed Graph

2

Page 3: Chap. 11 Graph Theory and Applications

(Undirected) Graph

3

Page 4: Chap. 11 Graph Theory and Applications

Vertex and Edge Sets

4

Page 5: Chap. 11 Graph Theory and Applications

Walk

5

Page 6: Chap. 11 Graph Theory and Applications

Closed (Open) Walk

6

Page 7: Chap. 11 Graph Theory and Applications

Trail, Path, Circuit, and Cycle

7

Page 8: Chap. 11 Graph Theory and Applications

Comparison of Walk, Trail, Path, Circuit, and Cycle

8

Page 9: Chap. 11 Graph Theory and Applications

Theorem 11.1

Observation:

9

Page 10: Chap. 11 Graph Theory and Applications

Theorem 11.1

1. It suffices to show from a to b, the shortest trail is the shortest path.2. Let be the shortest trail

from a to b.3.

4. 10

Page 11: Chap. 11 Graph Theory and Applications

Connected Graph

connected graph disconnected graph11

Page 12: Chap. 11 Graph Theory and Applications

Multigraph

12

Page 13: Chap. 11 Graph Theory and Applications

Subgraph

13

Page 14: Chap. 11 Graph Theory and Applications

Spanning Subgraph

14

Page 15: Chap. 11 Graph Theory and Applications

Induced Subgraph

15

Page 16: Chap. 11 Graph Theory and Applications

Which of the following is an induced subgraph of G? O

Induced Subgraph

O X

16

Page 17: Chap. 11 Graph Theory and Applications

Components of a Graph

1 2

connected sugraph

17

Page 18: Chap. 11 Graph Theory and Applications

G-v

18

Page 19: Chap. 11 Graph Theory and Applications

G-e

19

Page 20: Chap. 11 Graph Theory and Applications

Complete Graph

20

Page 21: Chap. 11 Graph Theory and Applications

Complement of a Graph

21

Page 22: Chap. 11 Graph Theory and Applications

Isomorphic Graphs

22

Page 23: Chap. 11 Graph Theory and Applications

Isomorphic Graphs

Which of the following function define a graph isomorphism for the graphs shown below?

OX

23

Page 24: Chap. 11 Graph Theory and Applications

Isomorphic Graphs

24

Page 25: Chap. 11 Graph Theory and Applications

Isomorphic Graphs

Are the following two graphs isomorphic?

In (a), a and d each adjacent to two other vertices.In (b), u, x, and z each adjacent to two other vertices.

X

25

Page 26: Chap. 11 Graph Theory and Applications

Vertex Degree

26

Page 27: Chap. 11 Graph Theory and Applications

Theorem 11.2

27

Page 28: Chap. 11 Graph Theory and Applications

Corollary 11.1

28

Page 29: Chap. 11 Graph Theory and Applications

29

Page 30: Chap. 11 Graph Theory and Applications

a

b

c

d

30

Page 31: Chap. 11 Graph Theory and Applications

Euler Circuit and Euler Trail

31

Page 32: Chap. 11 Graph Theory and Applications

Theorem 11.3

(⇒) 1.2.3.4.5.6.

7.32

Page 33: Chap. 11 Graph Theory and Applications

Theorem 11.3

8.

9.

33

Page 34: Chap. 11 Graph Theory and Applications

Theorem 11.3

(⇐) 1.2.3.

34

Page 35: Chap. 11 Graph Theory and Applications

Theorem 11.3

4.

5.6.

7.8.

35

Page 36: Chap. 11 Graph Theory and Applications

Theorem 11.3

9.10.11.12.

13.

14.36

Page 37: Chap. 11 Graph Theory and Applications

Corollary 11.2

(⇐) 1.

2.3.4.(⇒) The proof of only if part is similar to that of

Theorem 11.3 and omitted.

37

Page 38: Chap. 11 Graph Theory and Applications

Incoming and Outgoing Degrees

2

38

Page 39: Chap. 11 Graph Theory and Applications

Theorem 11.4

The proof is similar to that of Theorem 11.3 and omitted.

39

Page 40: Chap. 11 Graph Theory and Applications

Planar Graph

Which of the following is a planar graph?

O O40

Page 41: Chap. 11 Graph Theory and Applications

Euler’s Theorem

v =e =r =v – e + r = 2

783

41

Page 42: Chap. 11 Graph Theory and Applications

Euler’s Theorem• Proof. 1. Use induction on v (number of vertices).• 2. Basis (v = 1):

– G is a “bouquet” of loops, each a closed curve in the embedding.

– If e = 0, then r = 1, and the formula holds.– Each added loop passes through a region and cuts

it into 2 regions. This augments the edge count and the region count each by 1. Thus the formula holds when v = 1 for any number of edges.

42

Page 43: Chap. 11 Graph Theory and Applications

Euler’s Theorem• 3. Induction step (v>1):

– There exists an edge e that is not a loop

because G is connected.– Obtain a graph G’ with v’ vertices, e’ edges, and r’

regions by contracting e.– Clearly, v’=v–1, e’=e–1, and r’=r.– v’– e’+ r’ = 2. – Therefore, v-e+r=2.

e

(induction hypothesis)

43

Page 44: Chap. 11 Graph Theory and Applications

Corollary 11.3

1. It suffices to consider connected graphs; otherwise, we could add edges.

2. If v 3, every region contains at least three edges (L(Ri) 3r).

3. 2e=L(Ri), implying 2e3r.

4. By Euler’s Theorem, v–e+r=2, implying e≤ 3v– 6.

If also G is triangle-free, then e ≤ 2v–4.

(L(Ri) 4r)

(2e4r)

(e≤ 2v–4)

If G is a simple planar graph with at least three vertices, then e≤3v–6. (A simple graph is not a multigraph and does not contain any loop.)

44

Page 45: Chap. 11 Graph Theory and Applications

Bipartite Graph

45

Page 46: Chap. 11 Graph Theory and Applications

Nonplanarity of K5 and K3,3

K5 (e = 10, n = 5) K3,3 (e = 9, n = 6)

• These graphs have too many edges to be planar. – For K5, we have e = 10>9 = 3n-6.

– Since K3,3 is triangle-free, we have e = 9>8 = 2n-4.

46

Page 47: Chap. 11 Graph Theory and Applications

Subdivision of a Graph

47

Page 48: Chap. 11 Graph Theory and Applications

Subdivision of a Graph

48

Page 49: Chap. 11 Graph Theory and Applications

49

Page 50: Chap. 11 Graph Theory and Applications

50

Page 51: Chap. 11 Graph Theory and Applications

Hamilton Cycle

51

Page 52: Chap. 11 Graph Theory and Applications

Hamilton Cycle

Does the following graph contain a hamiltion cycle? X

52

Page 53: Chap. 11 Graph Theory and Applications

Theorem 11.8

1.2.

3.4.

53

Page 54: Chap. 11 Graph Theory and Applications

Theorem 11.8

5.6.

7.8.9.10.11.12.

13.54

Page 55: Chap. 11 Graph Theory and Applications

Theorem 11.814.15.

16.

17.18.

19.

55

Page 56: Chap. 11 Graph Theory and Applications

Theorem 11.8

17.18.

19.

20.

56

Page 57: Chap. 11 Graph Theory and Applications

Theorem 11.9

1.2.

3.

4.5.

57

Page 58: Chap. 11 Graph Theory and Applications

Theorem 11.9

6.

7.

8.9.

10.

11.58

Page 59: Chap. 11 Graph Theory and Applications

Proper Coloring and Chromatic Number

59

Page 60: Chap. 11 Graph Theory and Applications

Counting Proper Colors

1.

2.

3.4.

60

Page 61: Chap. 11 Graph Theory and Applications

61

Page 62: Chap. 11 Graph Theory and Applications

Theorem 11.10

1.2.3.4.5.6.

62

Page 63: Chap. 11 Graph Theory and Applications

Example 11.36

63

Page 64: Chap. 11 Graph Theory and Applications

Example 11.37

64