T HE T HREE -C OLOR P ROBLEM Cindy Wu, Amy Baker, and Kim Kesting SPWM 2011.

Slides:



Advertisements
Similar presentations
5.3 Inverse Function.
Advertisements

An Introduction to Calculus. Calculus Study of how things change Allows us to model real-life situations very accurately.
Maximal Independent Subsets of Linear Spaces. Whats a linear space? Given a set of points V a set of lines where a line is a k-set of points each pair.
PROLOG MORE PROBLEMS.
The Complex Number System
2 x0 0 12/13/2014 Know Your Facts!. 2 x1 2 12/13/2014 Know Your Facts!
Let V be a variety. If fm 2 I(V), then f 2 I(V).
1 Lecture 5 PRAM Algorithm: Parallel Prefix Parallel Computing Fall 2008.
5 x4. 10 x2 9 x3 10 x9 10 x4 10 x8 9 x2 9 x4.
Parallel algorithms for expression evaluation Part1. Simultaneous substitution method (SimSub) Part2. A parallel pebble game.
Linear Programming – Simplex Method: Computational Problems Breaking Ties in Selection of Non-Basic Variable – if tie for non-basic variable with largest.
The Problem of K Maximum Sums and its VLSI Implementation Sung Eun Bae, Tadao Takaoka University of Canterbury Christchurch New Zealand.
Simplex (quick recap). Replace all the inequality constraints by equalities, using slack variables.
Recursive Definitions and Structural Induction
Complexity 25-1 Complexity Andrei Bulatov #P-Completeness.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
What is the next line of the proof? a). Let G be a graph with k vertices. b). Assume the theorem holds for all graphs with k+1 vertices. c). Let G be a.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Graph Colouring Lecture 20: Nov 25.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
Counting Proper Colors Given k  N and a graph G, the value  (G;k) is the number of proper colorings f: V(G)  [k]. The set of available colors is [k]={1,…,k};
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Ch 3.3: Linear Independence and the Wronskian
Linear Equations in Linear Algebra
What is the next line of the proof? a). Assume the theorem holds for all graphs with k edges. b). Let G be a graph with k edges. c). Assume the theorem.
CS 2813 Discrete Structures
10.6 Roots of Complex Numbers. Notice these numerical statements. These are true! But I would like to write them a bit differently. 32 = 2 5 –125 = (–5)
1/22/03Tucker, Applied Combinatorics, Section EDGE COUNTING TUCKER, APPLIED COMBINATORICS, SECTION 1.3, GROUP B Michael Duquette & Amanda Dargie.
Strong list coloring, Group connectivity and the Polynomial method Michael Tarsi, Blavatnik School of Computer Science, Tel-Aviv University, Israel.
Graph Coloring Solution in a Deterministic Machine The deterministic solution to coloring problem uses these steps to assign colors to vertices: 1- Given.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 3 Polynomial and Rational Functions Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Section 2-8 First Applications of Groebner Bases by Pablo Spivakovsky-Gonzalez We started this chapter with 4 problems: 1.Ideal Description Problem: Does.
The Tutte Polynomial Graph Polynomials winter 05/06.
 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.
Complexity 25-1 Complexity Andrei Bulatov Counting Problems.
Roots of Complex Numbers Sec. 6.6c HW: p odd.
Linear Programming Problem. Definition A linear programming problem is the problem of optimizing (maximizing or minimizing) a linear function (a function.
Planar Graphs Graph Coloring
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
Chapter 10.8 Graph Coloring
Information and Coding Theory Cyclic codes Juris Viksna, 2015.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
FINDING A POLYNOMIAL PASSING THROUGH A POINT. Review: the Linear Factorization Theorem If where n > 1 and a n ≠ 0 then Where c 1, c 2, … c n are complex.
The Fundamental Theorem of Algebra It’s in Sec. 2.6a!!! Homework: p odd, all.
Combinatorics Ramsey theory.  a precocious British mathematician, philosopher and economist  a problem in mathematical logic: can one always find order.
1 What you will learn today…  How to use the Fundamental Theorem of Algebra to determine the number of zeros of a polynomial function  How to use your.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Ch. 6.4 Solving Polynomial Equations. Sum and Difference of Cubes.
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.
Prof. Busch - LSU1 Busch Complexity Lectures: More NP-complete Problems.
Timetable Problem solving using Graph Coloring
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
1 Mathematical Induction An inductive proof has three parts: –Basis case –Inductive hypothesis –Inductive step Related to recursive programming.
Mathematical Rebus E.
More NP-complete Problems
Class Notes 7: High Order Linear Differential Equation Homogeneous
Roots of Complex Numbers
What is the next line of the proof?
More NP-complete Problems
Chapter 10.8 Graph Coloring
Last Lesson: Upshot: We can show a system of equations has no solutions by computing the reduced Groebner basis.
Discrete Math II Howon Kim
Chapter 10.8 Graph Coloring
Chapter 10.8 Graph Coloring
Preliminaries 0.1 THE REAL NUMBERS AND THE CARTESIAN PLANE 0.2
Chapter 10.8 Graph Coloring
The Complexity of Approximation
Presentation transcript:

T HE T HREE -C OLOR P ROBLEM Cindy Wu, Amy Baker, and Kim Kesting SPWM 2011

G RAPH C OLORING Take a graph G, with n vertices, V = {x 1, x 2, …, x n } We can color the vertices of a graph in such a way so that no two adjacent vertices have the same color. Graph coloring has many practical and theoretical applications such as: Air traffic control and flight scheduling, Sudoku Puzzles!

W HAT IS THE THREE - COLOR PROBLEM ? G Suppose we have a graph G with n vertices, where there is at most one edge between any two vertices. Goal: To color the graph so that no two adjacent vertices are colored with the same color. In the Three Color Problem, we want to see if we can color the graph so that only 3 colors are used. GG If G can be colored this way, G is called 3-colorable.

A N A PPLICATION OF G RÖBNER B ASES ! G It turns out that we can use Gröbner Bases to answer the question of whether or not a particular graph G is 3-colorable! Gröbner Basis can also help us determine how to color the vertices.

H OW DO WE REPRESENT THE COLORS MATHEMATICALLY ? Let ξ be a cube root of unity, i.e. ξ 3 =1 From complex analysis and Euler’s Formula, we get: We will represent our three colors using the three distinct cube roots of unity: 1, ξ, ξ 2. For example, we may define ξ 2 to be the color red. Note, 1+ξ+ξ 2 =0 Each vertex will be assigned one of the 3 colors 1, ξ, ξ 2

G ENERATING THE G RÖBNER B ASIS Let the variables x 1, x 2,…, x n represent the distinct vertices of G. Each vertex of G has a corresponding polynomial, x i 3 -1= 0 for 1 ≤ i ≤ n Since each vertex will be assigned one of the colors corresponding to one of the cube roots of unity, we know this equation will hold regardless of which root is actually assigned.

G ENERATING THE G RÖBNER B ASIS Recall, if vertices x i and x j are connected by an edge, they need to have a different color. Since x i 3 = x j 3 =1, we can derive a second polynomial: x i 3 - x j 3 =(x i - x j )(x i 2 + x i x j + x j 2 )=0 by factoring. From this equation, we know that x i and x j will have a different color if and only if: (x i 2 + x i x j + x j 2 )=0

G ENERATING THE G RÖBNER B ASIS Let I be the ideal of the polynomial ring C[x 1, x 2,…, x n ] Let I be generated by the polynomials corresponding to the graph G: x i 3 -1= 0 for 1 ≤ i ≤ n and x i 2 + x i x j + x j 2 =0 where x i and x j are connected by an edge. We then compute the Gröbner basis for this ideal I, which is the Gröbner basis that corresponds to our graph G.

A RE EITHER OF THESE GRAPHS 3- COLORABLE ? Graph 1:Graph 2: We can use a Gröbner basis to find out!

C OLORABLE T HEOREM Consider the variety V(I) contained in C n G The graph G is 3-colorable if and only if V(I)≠ ∅ What is a variety?

V ARIETY Let K be an extension field of k. That means that k ⊆ K where K is a field. Let S ⊆ k[x 1, x 2,…, x n ] The variety V K (S) in K n is V K (S)= { (a 1, a 2, …a n ) ∈ K n |f(a 1, a 2, …a n )=0 ∀ f ∈ S }

M ORE A BOUT V ARIETY If I= ⊆ k[x 1, x 2,…, x n ], then we can simply apply the definition above for I: V K (I)= V K (f 1,f 2 …,f s )= { (a 1, a 2, …a n ) ∈ K n |f i (a 1, a 2, …a n )=0, 1≤i≤s}

E XAMPLE Let K=R Then V R (x 2 +y 2 )= V R (x,y)= {(0,0)} ⊆ R 2 Another example: V R (1+x 2 +y 2 )= ∅

A LGEBRAIC C LOSURE We denote the algebraic closure of the field k by k’ where k’={a| ∃ a nonzero polynomial in one variable with coefficients in k that has a as a root} Every k is contained in k’.

W EAK H ILBERT -N ULLSTELLENSATZ T HEOREM Let I be an ideal contained in k[x 1, x 2,…, x n ]. Then V k’ (I)= ∅ if and only I=k[x 1, x 2,…, x n ] Note that k’ is algebraically closed Let k[x 1, x 2,…, x n ] = R[X], if 1 ∈ I then I=k[x 1, x 2,…, x n ] if 1 ∉ I then I≠k[x 1, x 2,…, x n ]

T HEOREM V k’ (I)= ∅ if and only 1 ∈ G. IE: Given polynomials f 1,f 2 …,f s there are no solutions to the system f 1 =0, f 2 =0,…,f s =0 in k’ n if and only if 1 ∈ G Proof: By the Weak Hilbert-Nullstellensatz Theorem, V k’ (I)= ∅ if and only if 1 ∈ I. But if 1 ∈ I, then 1 ∈ G by definition.

A RE EITHER OF THESE GRAPHS 3- COLORABLE ? Graph 1:Graph 2: YES!NO

N OW BACK TO THE 3- COLOR PROBLEM …A N E XAMPLE ! G Consider the following graph G x8x8 x3x3 x2x2 x4x4 x5x5 x7x7 x6x6 x1x1

G T HE P OLYNOMIALS FOR GRAPH G x i 3 -1= 0 for each of the vertices x 1, x 2, …, x 8. x i 2 + x i x j + x j 2 =0 for each of the edges (i,j)={(1,2),(1,5),(1,6),(2,3),(2,4),(2,8),(3,4),(3,8),(4,5),(4,7 ),(5,6),(5,7),(6,7),(7,8)} We use these polynomials to generate an ideal I, and then compute the Gr Ö bner basis G from the ideal I.

T HE G RÖBNER B ASIS FOR G Use lex term ordering where x 1 >x 2 >…>x 8 The resulting Gröbner basis for our graph: G={x 1 -x 7, x 2 +x 7 +x 8, x 3 -x 7, x 4 -x 8, x 5 +x 7 +x 8, x 6 -x 8, x 7 2 +x 7 x 8 +x 8 2, x } Since 1 ∉ G, V(I)≠ ∅, and hence, by the colorable theorem, our graph is 3-colorable! Now, for determining the colors of the vertices…

D ETERMINING THE C OLORS Consider x x 8  RED Since x 4 -x 8, x 6 -x 8 ∈ G x 4, x 6  RED x 7 2 +x 7 x 8 +x 8 2 ∈ G x 7  BLUE x 1 -x 7, x 3 -x 7 ∈ G x 1, x 3  BLUE x 2 +x 7 +x 8, x 5 +x 7 +x 8 ∈ G x 2, x 5  GREEN

F OUR -C OLORING OF G RAPHS We can use a similar process to determine if a graph is 4-colorable, only this time let ξ be a fourth root of unity. Then our four colors will correspond to 1, -1, i and –i Now our polynomials are: x i and x j are adjacent

E XAMPLE FOR F OUR -C OLORING G RAPH G={x , x 3 4 +x 2 4 x 5 +x 4 x 5 2 +x 5 3, x 5 2 +x 5 x 4 +x 4 2 +x 5 x 3 +x 4 x 3 +x 3 2, x 2 +x 5 +x 4 +x 3, x 1 +x 5 +x 4 +x 3 }

K COLORINGS G In general, if we have n number of vertices in our graph G, and k number of colors, our polynomials are: x i k -1= 0 for 1 ≤ i ≤ n (x i k-1 +x i k-2 x j +…+x i x j k-2 +x j k-1 ) =0 where x i and x j are connected by an edge

S OURCES W. W. Adams, P. Loustaunau, An Introduction to Gröbner Bases, pg 61-65, , American Mathematical Society. Wikipedia, “Graph Coloring”.