Chapter 10.8 Graph Coloring

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics and Its Applications
Advertisements

22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Planar / Non-Planar Graphs Gabriel Laden CS146 – Spring 2004 Dr. Sin-Min Lee.
13.4 Map Coloring and the Four Color Theorem. We started this chapter by coloring the regions formed by a set of circles in the plane. But when do we.
From Coloring Maps to Avoiding Conflicts Nathaniel Dean, Robert M. Nehs, and Tong Wu Department of Mathematical Sciences Texas Southern University 3100.
David Laughon CS594 Graph Theory Graph Coloring. Coloring – Assignment of labels to vertices k-coloring – a coloring where Proper k-coloring – k-coloring.
Applied Combinatorics, 4th Ed. Alan Tucker
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
Graph Colouring Lecture 20: Nov 25.
Coloring Graphs This handout: Coloring maps and graphs
Euler and Hamilton Paths
Jordan Curve Theorem A simple closed curve cuts its interior from its exterior.
The Art Gallery Problem
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
Graph Theory and Graph Coloring Lindsay Mullen
Chapter 9.8 Graph Coloring
CS 2813 Discrete Structures
Coloring 3/16/121. Flight Gates flights need gates, but times overlap. how many gates needed? 3/16/122.
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.
More Graphs, Subgraphs and Trees Planarity and Coloring.
Euler and Hamilton Paths
Graph Coloring. Introduction When a map is colored, two regions with a common border are customarily assigned different colors. We want to use a small.
 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.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Planar Graphs Graph Coloring
Chapter 10.8 Graph Coloring
Graph.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
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
Planar Graphs Lecture 10: Oct 21. This Lecture Today we will talk about planar graphs, and how to color a map using 6 colors. Planar graphs Euler’s formula.
Introduction to Graphs Slides by Gene Boggess
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.
Great Theoretical Ideas in Computer Science for Some.
Euler and Hamiltonian Graphs
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.
COMPSCI 102 Introduction to Discrete Mathematics.
Presented By Ravindra Babu, Pentyala.  Real World Problem  What is Coloring  Planar Graphs  Vertex Coloring  Edge Coloring  NP Hard Problem  Problem.
Timetable Problem solving using Graph Coloring
Planar Graphs Hubert Chan (Chapter 9.7) [O2 Proof Techniques]
Discrete Mathematics Graph: Planar Graph Yuan Luo
Graph Coloring.
Graph Coloring Lots of application – be it mapping routes, coloring graphs, building redundant systems, mapping genes, looking at traffic patterns (see.
Euler and Hamiltonian Graphs
5.9.2 Characterizations of Planar Graphs
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Graphs Slides are adopted from “Discrete.
Graph Coloring CS 594 Stephen Grady.
Tucker, Applied Combinatorics, Sec 2.4
The Art Gallery Problem
Graph Theory Graph Colorings.
The Art Gallery Problem
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.
Chapter 10.8 Graph Coloring
Coloring Graphs This handout: Coloring maps and graphs
Discrete Math II Howon Kim
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.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Graph Coloring.
Introduction to Proofs Proof Methods and Strategy
Chapter 10.8 Graph Coloring
Euler and Hamiltonian Graphs
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.
Discrete Mathematics for Computer Science
Introduction to Graph Theory
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.
Presentation transcript:

Chapter 10.8 Graph Coloring These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H. Rosen, published by McGraw Hill, Boston, MA, 2011. They are intended for classroom use only and are not a substitute for reading the textbook.

Introduction When a map is colored, two regions with a common border are customarily assigned different colors. We want to use the smallest number of colors instead of just assigning every region its own color.

4-Color Map Theorem It can be shown that any two-dimensional map can be painted using four colors in such a way that adjacent regions (meaning those which sharing a common boundary segment, and not just a point) are different colors.

Map Coloring Four colors are sufficient to color a map of the contiguous United States. Source of map: http://www.math.gatech.edu/~thomas/FC/fourcolor.html

Dual Graph Each map in a plane can be represented by a graph. Each region is represented by a vertex. Edges connect to vertices if the regions represented by these vertices have a common border. Two regions that touch at only one point are not considered adjacent. The resulting graph is called the dual graph of the map.

Dual Graph Examples A B C D E A B C D E F G c b a d f g e b a e d c

Graph Coloring A coloring of a simple graph is the assignment of a color to each vertex of the graph so that no two adjacent vertices are assigned the same color. The chromatic number of a graph is the least number of colors needed for a coloring of the graph. What is the chromatic number of a bipartite graph? Two

The Four Color Theorem The chromatic number of a planar graph is no greater than four. It was originally posed as a conjecture in the 1850s. It was finally proved by two American mathematicians Kenneth Apple and Wolfgang Haken in 1976. This is the first mathematical theorem that has been proven with help of computers. They showed that if the theorem is false, there must be a counterexample of one of approximately 2000 types. They used computers to show that none of these counterexamples exists.

Example What is the chromatic number of the graph shown below? The chromatic number must be at least 3 since a, b, and c must be assigned different colors. So Let’s try 3 colors first. 3 colors work, so the chromatic number of this graph is 3. b e a d g c f

Example What is the chromatic number for each of the following graphs? White White Yellow Yellow Green Yellow White White Yellow Yellow White Chromatic number: 2 Chromatic number: 3

What is the chromatic number of a wheel Wn? Example What is the chromatic number of a wheel Wn? 3 if n is even, 4 if n is odd

What is the chromatic number of Kn? Example What is the chromatic number of Kn? It is n. Hence non planar graphs (e.g., Kn for n>4) can have arbitrarily large chromatic number.

Applications Graph coloring has a variety of applications to problems involving scheduling and assignments. Scheduling Final Exams How can the final exams at a university be scheduled so that no student has two exams at the same time? Solution: This scheduling problem can be solved using a graph model, with vertices representing courses and with an edge between two vertices if there is a common student in the courses they represent. Each time slot for a final exam is represented by a different color. A scheduling of the exams corresponds to a coloring of the associated graph. For instance, suppose there are seven finals to be scheduled. Suppose the courses are numbered 1 through 7. Pairs of courses have common students is there is an edge: Because the chromatic number of this graph is 4 four time slots are needed.

Applications

Time Complexity The best algorithms known for finding the chromatic number of a graph have exponential worst-case time complexity (in the number of vertices of the graph). Even the problem of finding an approximation to the chromatic number of a graph is difficult. This explains why scheduling final exams is so difficult, i.e., how can the final exams at a university be scheduled so that no student has two exams at the same time?