1 / 26

More Graphs, Subgraphs and Trees

More Graphs, Subgraphs and Trees. Planarity and Coloring. NCSCOS Goals and Objectives. Competency Goal 1: The learner will use matrices and graphs to model relationships and solve problems. Objective 1.02: Use graph theory to model relationships and solve problems. Four Color Theorem.

jameshazel
Télécharger la présentation

More Graphs, Subgraphs and Trees

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. More Graphs, Subgraphs and Trees Planarity and Coloring

  2. NCSCOS Goals and Objectives • Competency Goal 1: The learner will use matrices and graphs to model relationships and solve problems. • Objective1.02: Use graph theory to model relationships and solve problems

  3. Four Color Theorem • According to the four-color theorem we learned that any map can be drawn on the surface of a sphere can be colored with four colors or fewer. • If this is true, then why does it take more than four colors to color some graphs?

  4. Try this! • Try to redraw the graphs so that their edges intersect at the vertices. (Think of the edges as Rubber Bands.) K4 graph K5 graph B A B A C E D C D

  5. Planar Graphs • It is relatively easy to redraw the K4 graph so that the edges do not cross, but no matter how hard you try, at least two edges of the K5 graph will always intersect. • A graph that can be drawn so that no two edges intersect except at a vertex is called a planar graph.

  6. Planar Graphs and the Four Color Theorem • When regions of a map are represented by vertices of a graph and edges are drawn between vertices when boundaries exist between regions, the resulting graph is planar. • In other words, graphs that come from a map in a plane or on a sphere are always planar. • Hence, the four color theorem can be stated: Every planar graph has a chromatic number that is less than or equal to four.

  7. Four Colors? • Why do some graphs require more than four colors? • Planarity is the key. • If the graph is not planar, we don’t know how many colors it will take to color it. • For example, the K5 graph and other nonplanar graphs as the one on the next slide.

  8. A K3, 3 Graph A D B E C F

  9. You Try! • Try to draw the K3, 3 graph without the edges crossing. • This graph has another interesting characteristic, other than being nonplanar. • It is an example of a bipartite graph. • A bipartite graph is a graph whose vertices can be divided into two distinct sets so that each edge of the graph has one vertex in each set.

  10. Bipartite Graphs • A bipartite graph is said to be complete if it contains all possible edges between pairs of vertices in the two distinct sets. • Complete bipartite graphs can be denoted by KM, N, where M and N are the number of vertices in the two distinct sets.

  11. Another Bipartite Graph • Here is another example of a complete bipartite graph. X A B Y C

  12. The K3, 2 Graph • This graph is bipartite since its vertices can be separated into two distinct sets {A, B, C} and {X, Y}. • Every edge has one vertex in each set; and all possible edges from one set to the other are drawn. • Determining planarity can be difficult for a large graph, and so a theorem resulted.

  13. Kazimierz Kuratowski • In 1930 Kazimierz Kuratowski, a Polish mathematician proved a theorem that determines the planarity of graphs. • He identified two important graphs, K5 and K3, 3 and noted that any graph that has a K5 or K3,3 subgraph is not planar.

  14. Subgraphs • A graph G’ is said to be a subgraph of graph G is all of the vertices and edges of G’ are contained in G. • Kuratowski also noted that the lack of a K5 or K3,3 does not guarantee planarity. • Actually, 99% of nonplanar graphs of modest size are nonplanar because of a K3, 3 subgraph rather than a K5 subgraph.

  15. Example • Is the graph below planar? B D A F E C G

  16. Example Explained • Upon close observation of vertices A, B, C, D, E, and F a K3,3 subgraph can be found. • Therefore, the graph is nonplanar.

  17. Practice Problems In Exercises 1 through 3 decide whether the graph is planar or nonplanar. If the graph is planar, redraw it without edge crossings. 1. 2. A B A B F C C F D E D E

  18. Practice Problems (cont’d) 3. B A E C F D

  19. Practice Problems (cont’d) • The graph below is planar. Draw it without edge crossings. D C B E A I F H G

  20. Practice Problems (cont’d) • How do you know that it is not necessary to check the graph in Problem 4 for a K5 subgraph? • The complement of a graph G is customarily denoted by G. G has the same vertices as G but its edges are those not in G. The edges of G and G along with vertices from either set would make a complete graph. Draw the complement of the following graph.

  21. Practice Problems (cont’d) B A E C D

  22. Practice Problems • The concept of planarity is extremely important to printing circuit boards for the electronics industry. Why? • Construct the following bipartite graphs: • K2,3 b. K2,4 • For each of the following bipartite graphs, list the two distinct sets into which the vertices can be divided:

  23. Practice Problems (cont’d) P A D Q R G N E B F M S C X T W Z U Y V

  24. Practice Problems (cont’d) • How many edges are in a K2,3 graph? A K4, 3? A KM,N? • When does a bipartite graph, K M,N have an Euler circuit? • Is the graph on the next slide planar? Does it contain K5 or K3,3 as a subgraph?

  25. Practice Problems (cont’d) A C B D J I E H F G

  26. Extensions • For many years, mathematicians thought that all nonpolar graphs had K5 or K3,3 as subgraphs. • Graphs such as the one in Exercise 12 are said to be an extention of a K5 because it was formed by adding a vertex or vertices to the edges of the K5 graph. • Extensions of K5 and K3,3 are nonpolar.

More Related