More Graphs, Subgraphs and Trees Planarity and Coloring.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics and Its Applications
Advertisements

Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
9.7 Planar Graphs. Intro problem- 3 houses and 3 utilities K 3,3 problem: Can 3 houses be connected to 3 utilities so that no 2 lines cross? Similarly,
Applications of Euler’s Formula for Graphs Hannah Stevens.
Planar / Non-Planar Graphs Gabriel Laden CS146 – Spring 2004 Dr. Sin-Min Lee.
Graph Theory Chapter 9 Planar Graphs 大葉大學 資訊工程系 黃鈴玲.
Applied Combinatorics, 4th Ed. Alan Tucker
Applied Combinatorics, 4th Ed. Alan Tucker
Tucker, Applied Combinatorics, Section 1.4, prepared by Patti Bodkin
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 4, Monday, September 8.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
CS 2813 Discrete Structures
9.8 Graph Coloring. Coloring Goal: Pick as few colors as possible so that two adjacent regions never have the same color. See handout.
Graph Coloring.
Graph Theory Chapter 6 Planar Graphs Ch. 6. Planar Graphs.
Operational Research (O.R.) case studies. What’s the problem?
 2. Region(face) colourings  Definitions 46: A edge of the graph is called a bridge, if the edge is not in any circuit. A connected planar graph is called.
MAT 2720 Discrete Mathematics Section 8.7 Planar Graphs
Planar Graphs Graph Coloring
Introduction to Planarity Test W. L. Hsu. 2/21 Plane Graph A plane graph is a graph drawn in the plane in such a way that no two edges intersect –Except.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
Chapter 10.8 Graph Coloring
Sec. 5.1: Planarity & Coloring
Graph.
5.8 Graph Matching  Example: Set of worker assign to a set of task  Four tasks are to be assigned to four workers.  – Worker 1 is qualified to do tasks.
Graph Colouring Lecture 20: Nov 25. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including.
Graph Theory and Applications
Chap. 11 Graph Theory and Applications 1. Directed Graph 2.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
Chapter 9.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 6th ed., by Kenneth H.
Graph Theory Two Applications D.N. Seppala-Holtzman St. Joseph ’ s College.
Chapter 10.8 Graph Coloring These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7 th ed., by Kenneth.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Planarity Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT.
Chapter 7 Planar Graphs 大葉大學 資訊工程系 黃鈴玲  7.2 Planar Embeddings  7.3 Euler’s Formula and Consequences  7.4 Characterization of Planar Graphs.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
Great Theoretical Ideas In Computer Science
Planar Graphs Hubert Chan (Chapter 9.7) [O2 Proof Techniques]
Outline 1 Properties of Planar Graphs 5/4/2018.
Discrete Mathematics Graph: Planar Graph Yuan Luo
Redraw these graphs so that none of the line intersect except at the vertices B C D E F G H.
5.9.2 Characterizations of Planar Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Quiz Review.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Chapter 10.8 Graph Coloring
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Chapter 10.8 Graph Coloring
Chapter 10.8 Graph Coloring
Applied Combinatorics, 4th Ed. Alan Tucker
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
MAT 2720 Discrete Mathematics
Chapter 10.8 Graph Coloring
Planarity.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 8th ed., by Kenneth H.
N(S) ={vV|uS,{u,v}E(G)}
Gaph Theory Planar Graphs
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Planarity.
Drawing a graph
Drawing a graph
Agenda Review Lecture Content: Shortest Path Algorithm
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Drawing a graph
Presentation transcript:

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 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?

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

Planar Graphs It is relatively easy to redraw the K 4 graph so that the edges do not cross, but no matter how hard you try, at least two edges of the K 5 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.

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.

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 K 5 graph and other nonplanar graphs as the one on the next slide.

A K 3, 3 Graph AD BE CF

You Try! Try to draw the K 3, 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.

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 K M, N, where M and N are the number of vertices in the two distinct sets.

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

The K 3, 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.

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

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 K 5 or K 3,3 does not guarantee planarity. Actually, 99% of nonplanar graphs of modest size are nonplanar because of a K 3, 3 subgraph rather than a K 5 subgraph.

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

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

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 A B C D E F AB C D E F

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

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

Practice Problems (cont’d) 5.How do you know that it is not necessary to check the graph in Problem 4 for a K 5 subgraph? 6.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.

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

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

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

10.How many edges are in a K 2,3 graph? A K 4, 3 ? A K M,N ? 11.When does a bipartite graph, K M,N have an Euler circuit? 12.Is the graph on the next slide planar? Does it contain K 5 or K 3,3 as a subgraph?

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

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