SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Submitted By:
Rashika Ahuja:110101203
Sachin Yadav:110101210
Shadab Masoodi:110101224
 In graph theory, graph coloring is a special case of graph labeling.
 It is an assignment of labels traditionally called "colors" to elements of a graph subject

to certain constraints.
 Coloring theory started with the problem of coloring the countries of a map in such a

way that no two countries that have a common border receive the same color.
 If we denote the countries by points in the plane and connect each pair of points that

correspond to countries with a common border by a curve, we obtain a planar graph.
 Graphs are used to depict ”what is in conflict with what”, and colors are used to

denote the state of a vertex.
So, more precisely, coloring theory is the theory of ”partitioning the sets having
Internal unreconcilable conflicts.
 Vertex Coloring: It is a way of coloring the vertices of a graph such that no two adjacent

vertices share the same color.

 Edge Coloring: An edge coloring assigns a color to each edge so that no two adjacent

edges share the same color.
 Face Coloring : A face coloring of a planar graph assigns a color to each face or

region so that no two faces that share a boundary have the same color.
 Chromatic Number: The chromatic number of a graph is the minimum number of

colors in a proper coloring of that graph. If chromatic number is r then the graph is rchromatic.

Chromatic number: 4
 Polynomial which gives the number of ways of proper coloring

a graph using a given number of colors
 Ci = no. of ways to properly color a graph using exactly i
colors
 λ = total no of colors
 λ Ci = selecting I colors out of λ colors
 ΣCi λ Ci = total number of ways a graph canbe properly
colored using λ or lesser no. of colors

Pn(λ) of G = ΣCi

λ

Ci
 P4 (λ) of G = C1(λ) + C2(λ) (λ-1)/2! + C3(λ) (λ-1) (λ-2) /3! + C4(λ) (λ-1) (λ-2) (λ- 3)/4!
Let G be a simple graph, and let PG(k) be the number of ways of coloring the vertices of G with k
colors in such a way that no two adjacent vertices are assigned the same color. The function PG(k) is
called the chromatic polynomial of G.
As an example, consider complete graph K3 as shown in the following figure.
 Then the top vertex can be assigned any of the k colors, the left vertex can be assigned any k-1

colors, and right vertex can be assigned any of the k-2 colors.
 The chromatic polynomial of K3 is therefore K(K -1)(K -2). The extension of this immediately

gives us the following result.

 If G is the complete graph Kn, then Pn(K) = K(K - 1)(K - 2) . . . (K - n +1).
 Every non-trivial graph is atleast 2-chromatic.
 If a graph has a triangle in it , then it is atleast 3-chromatic.
 Chromatic Polynomial for a tree :

Pn(λ) of Tn = (λ) (λ-1)n-1 (tree is 2-chromatic)

This can be proved by Mathematical Induction.
 Tree is 2-chromatic.
Theorem - the vertices of every finite planar graph can be
coloured properly with five colours.

Proof-the proof is based on induction on vertices of a
planar graph, since the vertices of all planar graph G with
1,2,3,4,5 can be properly coloured by 5 or less colours.
Let us assume that every planar graph with n-1 vertices
is properly colourable with 5 colours or fewer. So we
have to show that there is no graph of n-vertices which
require more than 5-colours for proper colouring.
 Sudoku
 Scheduling
 Mobile radio frequency assignment
 Pattern matching

 Register Allocation
 When frequencies are assigned to towers, frequencies assigned to all towers at the

same location must be different. How to assign frequencies with this constraint? What
is the minimum number of frequencies needed? This problem is also an instance of
graph coloring problem where every tower represents a vertex and an edge between
two towers represents that they are in range of each other.
 GSM (Global System for Mobile Communications, originally Groupe Spécial

Mobile), was created in 1982 to provide a standard for a mobile telephone system..
Today, GSM is the most popular standard for mobile phones in the world, used by
over 2 billion people across more than 212 countries.
 GSM is a cellular network with its entire geographical range divided into hexagonal

cells.
 Each cell has a communication tower which connects with mobile phones within the

cell.
 All mobile phones connect to the GSM network by searching for cells in the

immediate vicinity.
 GSM networks operate in only four different frequency ranges. The reason why only

four different frequencies suffice is clear: the map of the cellular regions can be
properly colored by using only four different colors! So, the vertex coloring algorithm
may be used for assigning at most four different frequencies for any GSM mobile
phone network

Weitere ähnliche Inhalte

Was ist angesagt?

Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theory
Tech_MX
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphs
Tech_MX
 

Was ist angesagt? (20)

Chromatic Number of a Graph (Graph Colouring)
Chromatic Number of a Graph (Graph Colouring)Chromatic Number of a Graph (Graph Colouring)
Chromatic Number of a Graph (Graph Colouring)
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theory
 
Graph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptxGraph coloring problem(DAA).pptx
Graph coloring problem(DAA).pptx
 
Graph coloring Algorithm
Graph coloring AlgorithmGraph coloring Algorithm
Graph coloring Algorithm
 
CS6702 Unit III coloring ppt
CS6702   Unit III coloring pptCS6702   Unit III coloring ppt
CS6702 Unit III coloring ppt
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
Graph Coloring and Its Implementation
Graph Coloring and Its ImplementationGraph Coloring and Its Implementation
Graph Coloring and Its Implementation
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
Graph theory
Graph  theoryGraph  theory
Graph theory
 
Graph theory presentation
Graph theory presentationGraph theory presentation
Graph theory presentation
 
Graph theory and its applications
Graph theory and its applicationsGraph theory and its applications
Graph theory and its applications
 
Graph coloring problem
Graph coloring problemGraph coloring problem
Graph coloring problem
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphs
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
Bipartite graph
Bipartite graphBipartite graph
Bipartite graph
 
Edge Coloring & K-tuple coloring
Edge Coloring & K-tuple coloringEdge Coloring & K-tuple coloring
Edge Coloring & K-tuple coloring
 
graph theory
graph theory graph theory
graph theory
 
Graph Theory: Trees
Graph Theory: TreesGraph Theory: Trees
Graph Theory: Trees
 
Backtracking
BacktrackingBacktracking
Backtracking
 
Graph theory
Graph theoryGraph theory
Graph theory
 

Ähnlich wie Graph coloring

Distributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bitsDistributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bits
Subhajit Sahu
 
A study-of-vertex-edge-coloring-techniques-with-application
A study-of-vertex-edge-coloring-techniques-with-applicationA study-of-vertex-edge-coloring-techniques-with-application
A study-of-vertex-edge-coloring-techniques-with-application
Ijcem Journal
 
Graph Dynamical System on Graph Colouring
Graph Dynamical System on Graph ColouringGraph Dynamical System on Graph Colouring
Graph Dynamical System on Graph Colouring
Clyde Shen
 
There arenunit circles andnlines drawn in the plane. Prove that th.pdf
There arenunit circles andnlines drawn in the plane. Prove that th.pdfThere arenunit circles andnlines drawn in the plane. Prove that th.pdf
There arenunit circles andnlines drawn in the plane. Prove that th.pdf
amit503
 

Ähnlich wie Graph coloring (20)

Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple GraphsGreedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
Greedy Edge Colouring for Lower Bound of an Achromatic Index of Simple Graphs
 
Distributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bitsDistributed coloring with O(sqrt. log n) bits
Distributed coloring with O(sqrt. log n) bits
 
Extended online graph edge coloring
Extended online graph edge coloringExtended online graph edge coloring
Extended online graph edge coloring
 
Abeer graph
Abeer graphAbeer graph
Abeer graph
 
A study-of-vertex-edge-coloring-techniques-with-application
A study-of-vertex-edge-coloring-techniques-with-applicationA study-of-vertex-edge-coloring-techniques-with-application
A study-of-vertex-edge-coloring-techniques-with-application
 
Graph Coloring : Greedy Algorithm & Welsh Powell Algorithm
Graph Coloring : Greedy Algorithm & Welsh Powell AlgorithmGraph Coloring : Greedy Algorithm & Welsh Powell Algorithm
Graph Coloring : Greedy Algorithm & Welsh Powell Algorithm
 
List Coloring.pptx
List Coloring.pptxList Coloring.pptx
List Coloring.pptx
 
A linear algorithm for the grundy number of a tree
A linear algorithm for the grundy number of a treeA linear algorithm for the grundy number of a tree
A linear algorithm for the grundy number of a tree
 
Multimedia color in image and video
Multimedia color in image and videoMultimedia color in image and video
Multimedia color in image and video
 
Lecture-9.pptx
Lecture-9.pptxLecture-9.pptx
Lecture-9.pptx
 
Graph Coloring
Graph ColoringGraph Coloring
Graph Coloring
 
Graph Dynamical System on Graph Colouring
Graph Dynamical System on Graph ColouringGraph Dynamical System on Graph Colouring
Graph Dynamical System on Graph Colouring
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
 
SATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHSSATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHS
 
graph 2.pptx
graph 2.pptxgraph 2.pptx
graph 2.pptx
 
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
 
There arenunit circles andnlines drawn in the plane. Prove that th.pdf
There arenunit circles andnlines drawn in the plane. Prove that th.pdfThere arenunit circles andnlines drawn in the plane. Prove that th.pdf
There arenunit circles andnlines drawn in the plane. Prove that th.pdf
 
graph theory
graph theorygraph theory
graph theory
 
05 Scalar Visualization
05 Scalar Visualization05 Scalar Visualization
05 Scalar Visualization
 
Ijcnc050213
Ijcnc050213Ijcnc050213
Ijcnc050213
 

Kürzlich hochgeladen

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Kürzlich hochgeladen (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 

Graph coloring

  • 1. Submitted By: Rashika Ahuja:110101203 Sachin Yadav:110101210 Shadab Masoodi:110101224
  • 2.  In graph theory, graph coloring is a special case of graph labeling.  It is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints.
  • 3.  Coloring theory started with the problem of coloring the countries of a map in such a way that no two countries that have a common border receive the same color.  If we denote the countries by points in the plane and connect each pair of points that correspond to countries with a common border by a curve, we obtain a planar graph.
  • 4.
  • 5.
  • 6.  Graphs are used to depict ”what is in conflict with what”, and colors are used to denote the state of a vertex. So, more precisely, coloring theory is the theory of ”partitioning the sets having Internal unreconcilable conflicts.
  • 7.  Vertex Coloring: It is a way of coloring the vertices of a graph such that no two adjacent vertices share the same color.  Edge Coloring: An edge coloring assigns a color to each edge so that no two adjacent edges share the same color.
  • 8.  Face Coloring : A face coloring of a planar graph assigns a color to each face or region so that no two faces that share a boundary have the same color.
  • 9.  Chromatic Number: The chromatic number of a graph is the minimum number of colors in a proper coloring of that graph. If chromatic number is r then the graph is rchromatic. Chromatic number: 4
  • 10.  Polynomial which gives the number of ways of proper coloring a graph using a given number of colors  Ci = no. of ways to properly color a graph using exactly i colors  λ = total no of colors  λ Ci = selecting I colors out of λ colors  ΣCi λ Ci = total number of ways a graph canbe properly colored using λ or lesser no. of colors Pn(λ) of G = ΣCi λ Ci
  • 11.  P4 (λ) of G = C1(λ) + C2(λ) (λ-1)/2! + C3(λ) (λ-1) (λ-2) /3! + C4(λ) (λ-1) (λ-2) (λ- 3)/4!
  • 12. Let G be a simple graph, and let PG(k) be the number of ways of coloring the vertices of G with k colors in such a way that no two adjacent vertices are assigned the same color. The function PG(k) is called the chromatic polynomial of G. As an example, consider complete graph K3 as shown in the following figure.
  • 13.  Then the top vertex can be assigned any of the k colors, the left vertex can be assigned any k-1 colors, and right vertex can be assigned any of the k-2 colors.  The chromatic polynomial of K3 is therefore K(K -1)(K -2). The extension of this immediately gives us the following result.  If G is the complete graph Kn, then Pn(K) = K(K - 1)(K - 2) . . . (K - n +1).
  • 14.  Every non-trivial graph is atleast 2-chromatic.  If a graph has a triangle in it , then it is atleast 3-chromatic.  Chromatic Polynomial for a tree : Pn(λ) of Tn = (λ) (λ-1)n-1 (tree is 2-chromatic) This can be proved by Mathematical Induction.  Tree is 2-chromatic.
  • 15. Theorem - the vertices of every finite planar graph can be coloured properly with five colours. Proof-the proof is based on induction on vertices of a planar graph, since the vertices of all planar graph G with 1,2,3,4,5 can be properly coloured by 5 or less colours. Let us assume that every planar graph with n-1 vertices is properly colourable with 5 colours or fewer. So we have to show that there is no graph of n-vertices which require more than 5-colours for proper colouring.
  • 16.
  • 17.  Sudoku  Scheduling  Mobile radio frequency assignment  Pattern matching  Register Allocation
  • 18.  When frequencies are assigned to towers, frequencies assigned to all towers at the same location must be different. How to assign frequencies with this constraint? What is the minimum number of frequencies needed? This problem is also an instance of graph coloring problem where every tower represents a vertex and an edge between two towers represents that they are in range of each other.
  • 19.  GSM (Global System for Mobile Communications, originally Groupe Spécial Mobile), was created in 1982 to provide a standard for a mobile telephone system.. Today, GSM is the most popular standard for mobile phones in the world, used by over 2 billion people across more than 212 countries.  GSM is a cellular network with its entire geographical range divided into hexagonal cells.  Each cell has a communication tower which connects with mobile phones within the cell.
  • 20.
  • 21.  All mobile phones connect to the GSM network by searching for cells in the immediate vicinity.  GSM networks operate in only four different frequency ranges. The reason why only four different frequencies suffice is clear: the map of the cellular regions can be properly colored by using only four different colors! So, the vertex coloring algorithm may be used for assigning at most four different frequencies for any GSM mobile phone network