SlideShare a Scribd company logo
Connectivity and colored
graph
By students:
Hujeen yousif
Huveen husain
Zozan manaf
Supervisor: Dr. Didar A. Ali
 Graph Coloring
Graph Coloring is a process of assigning colors to the vertices
of a graph
such that no two adjacent vertices of it are assigned the same
color.
 Graph Coloring is also called as Vertex Coloring.
 It ensures that there exists no edge in the graph whose end vertices are colored
with the same color.
 Such a graph is called as a Properly colored graph.
Graph Coloring Example:-
The following graph is an example of a properly colored graph-
In this graph,
 No two adjacent vertices are colored with the same color.
 Therefore, it is a properly colored graph.
1
2
3
4
5
 Chromatic Number:-
Chromatic Number is the minimum number of colors required to properly color any
graph.
OR
Chromatic Number is the minimum number of colors required to color any graph
such that no two adjacent vertices of it are assigned the same color.
Chromatic Number Example:-
Consider the following graph-
In this graph,
 No two adjacent vertices are colored with the same color.
 Minimum number of colors required to properly color the vertices = 3.
 Therefore, Chromatic number of this graph = 3.
 We can not properly color this graph with less than 3 colors.
1
2
4 3
5
 Chromatic Number Of Graphs:-
Chromatic Number of some common types of graphs are as
follows-
1.Cycle Graph-
 a simple graph of ‘n’ vertices (n>=3) and ‘n’ edges forming
a cycle of length ‘n’ is called as a cycle graph.
 in a cycle graph, all the vertices are of degree 2some
 Chromatic Number
 If number of vertices in cycle graph is even, then its
chromatic number = 2.
 If number of vertices in cycle graph is odd, then its
chromatic number = 3.
Examples:-
.
1
2
3
1
2
3
2. Planar Graphs:-
A Planar Graph is a graph that can be drawn in a plane such
that none of its edges cross each other.
Chromatic Number
Chromatic Number of any Planar Graph
= Less than or equal to 4
Examples:-
1
2
3
2 1
4
3
3. Complete Graphs:-
 complete graph is a graph in which every two distinct vertices are joined by
exactly one edge.
 In a complete graph, each vertex is connected with every other vertex.
 So to properly it, as many different colors are needed as there are number of
vertices in the given graph.
Chromatic Number
Chromatic Number of any Complete Graph
=Number of vertices in that Complete Graph
Examples:-
4. Bipartite Graph:-
5. Trees:-
 A Tree is a special type of connected graph in which there are no circuits.
 Every tree is a bipartite graph.
 So, chromatic number of a tree with any number of vertices = 2.
Chromatic Number
Chromatic Number of any tree
=
2
Examples:-
Example:-
Find chromatic number of the following graph-
solution:
 From here,
 Minimum number of colors used to color the given graph are 2.
 Therefore, Chromatic Number of the given graph = 2.

 The given graph may be properly colored using 2
colors as shown below -
• Cut Vertex
Let ‘G’ be a connected graph. A vertex V ∈ G is called a cut vertex of ‘G’, if ‘G-V’
(Delete ‘V’ from ‘G’) results in a disconnected graph. Removing a cut vertex from a
graph breaks it in to two or more graphs.
 Note − Removing a cut vertex may render a graph disconnected.
 A connected graph ‘G’ may have at most (n–2) cut vertices.
• Example
In the following graph, vertices ‘e’ and ‘c’ are the cut vertices.
By removing ‘e’ or ‘c’, the graph will become a
disconnected graph.
there is no path between vertex ‘c’ and vertex ‘h’ and
many other. Hence it is a disconnected graph with cut
vertex as ‘e’. Similarly, ‘c’ is also a cut vertex for the
above graph.
• Cut Edge (Bridge)
Let ‘G’ be a connected graph. An edge ‘e’ ∈ G is called a cut edge if ‘G-e’ results in a
disconnected graph.
If removing an edge in a graph results in to two or more graphs, then that edge is
called a Cut Edge.
 Example
In the following graph, the cut edge is [(c, e)].
By removing the edge (c, e) from the graph, it becomes a disconnected graph.
In the above graph, removing the edge (c, e) breaks the graph into two which is
nothing but a disconnected graph. Hence, the edge (c, e) is a cut edge of the graph
Note − Let ‘G’ be a connected graph with ‘n’ vertices, then
a cut edge e ∈ G if and only if the edge ‘e’ is not a part of any cycle in G.
the maximum number of cut edges possible is ‘n-1’.
whenever cut edges exist, cut vertices also exist because at least one vertex of a cut
edge is a cut vertex.
if a cut vertex exists, then a cut edge may or may not exist.
• Edge Connectivity
Let ‘G’ be a connected graph. The minimum number of edges whose removal
makes ‘G’ disconnected is called edge connectivity of G.
 Notation − λ(G)
In other words, the number of edges in a smallest cut set of G is called the edge
connectivity of G.
If ‘G’ has a cut edge, then λ(G) is 1. (edge connectivity of G.)
• Example
Take a look at the following graph. By removing two minimum edges, the connected
graph becomes disconnected. Hence, its edge connectivity (λ(G)) is 2
Here are the four ways to disconnect the graph by removing two edges −
Vertex Connectivity
Let ‘G’ be a connected graph. The minimum number of vertices whose removal
makes ‘G’ either disconnected or reduces ‘G’ in to a trivial graph is called its
vertex connectivity.
Notation − For any connected graph G,
K(G) ≤ λ(G) ≤ δ(G)
Vertex connectivity (K(G)), edge connectivity (λ(G)), minimum number of degrees
of G(δ(G)).
Reference
 https://www.tutorialspoint.com/graph_theory/graph_theory_connectivity.htm
 https://www.gatevidyalay.com/graph-coloring-chromatic-number/

More Related Content

Similar to graph 2.pptx

Types of graphs
Types of graphsTypes of graphs
Types of graphs
Thamizhendhi karthikeyan
 
Unit-6 Graph.ppsx ppt
Unit-6 Graph.ppsx                                       pptUnit-6 Graph.ppsx                                       ppt
Unit-6 Graph.ppsx ppt
DhruvilSTATUS
 
Application of Vertex Colorings with Some Interesting Graphs
Application of Vertex Colorings with Some Interesting GraphsApplication of Vertex Colorings with Some Interesting Graphs
Application of Vertex Colorings with Some Interesting Graphs
ijtsrd
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Mohanlal Sukhadia University (MLSU)
 
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
 
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjteUnit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
pournima055
 
Unit 9 graph
Unit   9 graphUnit   9 graph
Unit 9 graph
Dabbal Singh Mahara
 
Elements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxElements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptx
miki304759
 
Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
Hector Zenil
 
Graphs.pptx
Graphs.pptxGraphs.pptx
Graphs.pptx
satvikkushwaha1
 
Unit ix graph
Unit   ix    graph Unit   ix    graph
Unit ix graph
Tribhuvan University
 
Ass. (3)graph d.m
Ass. (3)graph d.mAss. (3)graph d.m
Ass. (3)graph d.m
Syed Umair
 
Graph ASS DBATU.pptx
Graph ASS DBATU.pptxGraph ASS DBATU.pptx
Graph ASS DBATU.pptx
ARVIND SARDAR
 
Basics of graph
Basics of graphBasics of graph
Basics of graph
Khaled Sany
 
graph ASS (1).ppt
graph ASS (1).pptgraph ASS (1).ppt
graph ASS (1).ppt
ARVIND SARDAR
 
Graph Coloring
Graph ColoringGraph Coloring
Graph Coloring
Dr. Abdul Ahad Abro
 
Presentation on graphs
Presentation on graphsPresentation on graphs
Presentation on graphs
ForwardBlog Enewzletter
 
NON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptxNON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptx
Rajitha Reddy Alugati
 
Graphs.pdf
Graphs.pdfGraphs.pdf
Graphs.pdf
pubggaming58982
 
Lecture_1_matrix_operations.pdf
Lecture_1_matrix_operations.pdfLecture_1_matrix_operations.pdf
Lecture_1_matrix_operations.pdf
AmirMohamedNabilSale
 

Similar to graph 2.pptx (20)

Types of graphs
Types of graphsTypes of graphs
Types of graphs
 
Unit-6 Graph.ppsx ppt
Unit-6 Graph.ppsx                                       pptUnit-6 Graph.ppsx                                       ppt
Unit-6 Graph.ppsx ppt
 
Application of Vertex Colorings with Some Interesting Graphs
Application of Vertex Colorings with Some Interesting GraphsApplication of Vertex Colorings with Some Interesting Graphs
Application of Vertex Colorings with Some Interesting Graphs
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
 
Graph Dynamical System on Graph Colouring
Graph Dynamical System on Graph ColouringGraph Dynamical System on Graph Colouring
Graph Dynamical System on Graph Colouring
 
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjteUnit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
 
Unit 9 graph
Unit   9 graphUnit   9 graph
Unit 9 graph
 
Elements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxElements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptx
 
Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
 
Graphs.pptx
Graphs.pptxGraphs.pptx
Graphs.pptx
 
Unit ix graph
Unit   ix    graph Unit   ix    graph
Unit ix graph
 
Ass. (3)graph d.m
Ass. (3)graph d.mAss. (3)graph d.m
Ass. (3)graph d.m
 
Graph ASS DBATU.pptx
Graph ASS DBATU.pptxGraph ASS DBATU.pptx
Graph ASS DBATU.pptx
 
Basics of graph
Basics of graphBasics of graph
Basics of graph
 
graph ASS (1).ppt
graph ASS (1).pptgraph ASS (1).ppt
graph ASS (1).ppt
 
Graph Coloring
Graph ColoringGraph Coloring
Graph Coloring
 
Presentation on graphs
Presentation on graphsPresentation on graphs
Presentation on graphs
 
NON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptxNON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptx
 
Graphs.pdf
Graphs.pdfGraphs.pdf
Graphs.pdf
 
Lecture_1_matrix_operations.pdf
Lecture_1_matrix_operations.pdfLecture_1_matrix_operations.pdf
Lecture_1_matrix_operations.pdf
 

More from MasoudIbrahim3

Planar Planar and Non-planar graphsand Non-planar graphs
Planar Planar and Non-planar graphsand Non-planar graphsPlanar Planar and Non-planar graphsand Non-planar graphs
Planar Planar and Non-planar graphsand Non-planar graphs
MasoudIbrahim3
 
Renewable in Türkiye.pptx
Renewable in Türkiye.pptxRenewable in Türkiye.pptx
Renewable in Türkiye.pptx
MasoudIbrahim3
 
Control of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptxControl of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptx
MasoudIbrahim3
 
Control of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptxControl of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptx
MasoudIbrahim3
 
rande.pptx
rande.pptxrande.pptx
rande.pptx
MasoudIbrahim3
 
5_2018_12_29!11_26_56_PM.pptx
5_2018_12_29!11_26_56_PM.pptx5_2018_12_29!11_26_56_PM.pptx
5_2018_12_29!11_26_56_PM.pptx
MasoudIbrahim3
 
سمينار كوردى.pptx
سمينار كوردى.pptxسمينار كوردى.pptx
سمينار كوردى.pptx
MasoudIbrahim3
 
exactnondifferentialequation-150802123533-lva1-app6892.pptx
exactnondifferentialequation-150802123533-lva1-app6892.pptxexactnondifferentialequation-150802123533-lva1-app6892.pptx
exactnondifferentialequation-150802123533-lva1-app6892.pptx
MasoudIbrahim3
 
norovirus.pptx
norovirus.pptxnorovirus.pptx
norovirus.pptx
MasoudIbrahim3
 
Liouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptxLiouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptx
MasoudIbrahim3
 
IR.pptx
IR.pptxIR.pptx
طب رياضة.pptx
طب رياضة.pptxطب رياضة.pptx
طب رياضة.pptx
MasoudIbrahim3
 
inverse trigonometric function_1669522645.pptx
inverse trigonometric function_1669522645.pptxinverse trigonometric function_1669522645.pptx
inverse trigonometric function_1669522645.pptx
MasoudIbrahim3
 
التربية.pptx
التربية.pptxالتربية.pptx
التربية.pptx
MasoudIbrahim3
 
Thermal equilibrium.pptx
Thermal equilibrium.pptxThermal equilibrium.pptx
Thermal equilibrium.pptx
MasoudIbrahim3
 
AC Generator.pptx
AC Generator.pptxAC Generator.pptx
AC Generator.pptx
MasoudIbrahim3
 
20230224_215218.pptx
20230224_215218.pptx20230224_215218.pptx
20230224_215218.pptx
MasoudIbrahim3
 
A New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptxA New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptx
MasoudIbrahim3
 

More from MasoudIbrahim3 (18)

Planar Planar and Non-planar graphsand Non-planar graphs
Planar Planar and Non-planar graphsand Non-planar graphsPlanar Planar and Non-planar graphsand Non-planar graphs
Planar Planar and Non-planar graphsand Non-planar graphs
 
Renewable in Türkiye.pptx
Renewable in Türkiye.pptxRenewable in Türkiye.pptx
Renewable in Türkiye.pptx
 
Control of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptxControl of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptx
 
Control of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptxControl of air pollution by equipment (scrubbers).pptx
Control of air pollution by equipment (scrubbers).pptx
 
rande.pptx
rande.pptxrande.pptx
rande.pptx
 
5_2018_12_29!11_26_56_PM.pptx
5_2018_12_29!11_26_56_PM.pptx5_2018_12_29!11_26_56_PM.pptx
5_2018_12_29!11_26_56_PM.pptx
 
سمينار كوردى.pptx
سمينار كوردى.pptxسمينار كوردى.pptx
سمينار كوردى.pptx
 
exactnondifferentialequation-150802123533-lva1-app6892.pptx
exactnondifferentialequation-150802123533-lva1-app6892.pptxexactnondifferentialequation-150802123533-lva1-app6892.pptx
exactnondifferentialequation-150802123533-lva1-app6892.pptx
 
norovirus.pptx
norovirus.pptxnorovirus.pptx
norovirus.pptx
 
Liouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptxLiouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptx
 
IR.pptx
IR.pptxIR.pptx
IR.pptx
 
طب رياضة.pptx
طب رياضة.pptxطب رياضة.pptx
طب رياضة.pptx
 
inverse trigonometric function_1669522645.pptx
inverse trigonometric function_1669522645.pptxinverse trigonometric function_1669522645.pptx
inverse trigonometric function_1669522645.pptx
 
التربية.pptx
التربية.pptxالتربية.pptx
التربية.pptx
 
Thermal equilibrium.pptx
Thermal equilibrium.pptxThermal equilibrium.pptx
Thermal equilibrium.pptx
 
AC Generator.pptx
AC Generator.pptxAC Generator.pptx
AC Generator.pptx
 
20230224_215218.pptx
20230224_215218.pptx20230224_215218.pptx
20230224_215218.pptx
 
A New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptxA New SR1 Formula for Solving Nonlinear Optimization.pptx
A New SR1 Formula for Solving Nonlinear Optimization.pptx
 

Recently uploaded

Leadership Ambassador club Adventist module
Leadership Ambassador club Adventist moduleLeadership Ambassador club Adventist module
Leadership Ambassador club Adventist module
kakomaeric00
 
IT Career Hacks Navigate the Tech Jungle with a Roadmap
IT Career Hacks Navigate the Tech Jungle with a RoadmapIT Career Hacks Navigate the Tech Jungle with a Roadmap
IT Career Hacks Navigate the Tech Jungle with a Roadmap
Base Camp
 
labb123456789123456789123456789123456789
labb123456789123456789123456789123456789labb123456789123456789123456789123456789
labb123456789123456789123456789123456789
Ghh
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
Bruce Bennett
 
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
taqyea
 
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
MuhammadWaqasBaloch1
 
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
2zjra9bn
 
5 Common Mistakes to Avoid During the Job Application Process.pdf
5 Common Mistakes to Avoid During the Job Application Process.pdf5 Common Mistakes to Avoid During the Job Application Process.pdf
5 Common Mistakes to Avoid During the Job Application Process.pdf
Alliance Jobs
 
Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024
SnapJob
 
thyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatialthyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatial
Aditya Raghav
 
0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf
Thomas GIRARD BDes
 
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
2zjra9bn
 
Introducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptxIntroducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptx
FauzanHarits1
 
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
NWEXAM
 
Gabrielle M. A. Sinaga Portfolio, Film Student (2024)
Gabrielle M. A. Sinaga Portfolio, Film Student (2024)Gabrielle M. A. Sinaga Portfolio, Film Student (2024)
Gabrielle M. A. Sinaga Portfolio, Film Student (2024)
GabrielleSinaga
 
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdfSwitching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
SocMediaFin - Joyce Sullivan
 
Lbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdfLbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdf
ashiquepa3
 
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
dsnow9802
 
A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024
Bruce Bennett
 
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAANBUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
cahgading001
 

Recently uploaded (20)

Leadership Ambassador club Adventist module
Leadership Ambassador club Adventist moduleLeadership Ambassador club Adventist module
Leadership Ambassador club Adventist module
 
IT Career Hacks Navigate the Tech Jungle with a Roadmap
IT Career Hacks Navigate the Tech Jungle with a RoadmapIT Career Hacks Navigate the Tech Jungle with a Roadmap
IT Career Hacks Navigate the Tech Jungle with a Roadmap
 
labb123456789123456789123456789123456789
labb123456789123456789123456789123456789labb123456789123456789123456789123456789
labb123456789123456789123456789123456789
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
 
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
一比一原版布拉德福德大学毕业证(bradford毕业证)如何办理
 
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
Status of Women in Pakistan.pptxStatus of Women in Pakistan.pptx
 
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
在线制作加拿大萨省大学毕业证文凭证书实拍图原版一模一样
 
5 Common Mistakes to Avoid During the Job Application Process.pdf
5 Common Mistakes to Avoid During the Job Application Process.pdf5 Common Mistakes to Avoid During the Job Application Process.pdf
5 Common Mistakes to Avoid During the Job Application Process.pdf
 
Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024Job Finding Apps Everything You Need to Know in 2024
Job Finding Apps Everything You Need to Know in 2024
 
thyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatialthyroid case presentation.pptx Kamala's Lakshaman palatial
thyroid case presentation.pptx Kamala's Lakshaman palatial
 
0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf0624.speakingengagementsandteaching-01.pdf
0624.speakingengagementsandteaching-01.pdf
 
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
官方认证美国旧金山州立大学毕业证学位证书案例原版一模一样
 
Introducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptxIntroducing Gopay Mobile App For Environment.pptx
Introducing Gopay Mobile App For Environment.pptx
 
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
How to Prepare for Fortinet FCP_FAC_AD-6.5 Certification?
 
Gabrielle M. A. Sinaga Portfolio, Film Student (2024)
Gabrielle M. A. Sinaga Portfolio, Film Student (2024)Gabrielle M. A. Sinaga Portfolio, Film Student (2024)
Gabrielle M. A. Sinaga Portfolio, Film Student (2024)
 
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdfSwitching Careers Slides - JoyceMSullivan SocMediaFin -  2024Jun11.pdf
Switching Careers Slides - JoyceMSullivan SocMediaFin - 2024Jun11.pdf
 
Lbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdfLbs last rank 2023 9988kr47h4744j445.pdf
Lbs last rank 2023 9988kr47h4744j445.pdf
 
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
Jill Pizzola's Tenure as Senior Talent Acquisition Partner at THOMSON REUTERS...
 
A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024A Guide to a Winning Interview June 2024
A Guide to a Winning Interview June 2024
 
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAANBUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
BUKU PENJAGAAN BUKU PENJAGAAN BUKU PENJAGAAN
 

graph 2.pptx

  • 1. Connectivity and colored graph By students: Hujeen yousif Huveen husain Zozan manaf Supervisor: Dr. Didar A. Ali
  • 2.  Graph Coloring Graph Coloring is a process of assigning colors to the vertices of a graph such that no two adjacent vertices of it are assigned the same color.  Graph Coloring is also called as Vertex Coloring.  It ensures that there exists no edge in the graph whose end vertices are colored with the same color.  Such a graph is called as a Properly colored graph.
  • 3. Graph Coloring Example:- The following graph is an example of a properly colored graph- In this graph,  No two adjacent vertices are colored with the same color.  Therefore, it is a properly colored graph. 1 2 3 4 5
  • 4.  Chromatic Number:- Chromatic Number is the minimum number of colors required to properly color any graph. OR Chromatic Number is the minimum number of colors required to color any graph such that no two adjacent vertices of it are assigned the same color.
  • 5. Chromatic Number Example:- Consider the following graph- In this graph,  No two adjacent vertices are colored with the same color.  Minimum number of colors required to properly color the vertices = 3.  Therefore, Chromatic number of this graph = 3.  We can not properly color this graph with less than 3 colors. 1 2 4 3 5
  • 6.  Chromatic Number Of Graphs:- Chromatic Number of some common types of graphs are as follows- 1.Cycle Graph-  a simple graph of ‘n’ vertices (n>=3) and ‘n’ edges forming a cycle of length ‘n’ is called as a cycle graph.  in a cycle graph, all the vertices are of degree 2some  Chromatic Number  If number of vertices in cycle graph is even, then its chromatic number = 2.  If number of vertices in cycle graph is odd, then its chromatic number = 3.
  • 8. 2. Planar Graphs:- A Planar Graph is a graph that can be drawn in a plane such that none of its edges cross each other. Chromatic Number Chromatic Number of any Planar Graph = Less than or equal to 4
  • 10. 3. Complete Graphs:-  complete graph is a graph in which every two distinct vertices are joined by exactly one edge.  In a complete graph, each vertex is connected with every other vertex.  So to properly it, as many different colors are needed as there are number of vertices in the given graph. Chromatic Number Chromatic Number of any Complete Graph =Number of vertices in that Complete Graph
  • 13. 5. Trees:-  A Tree is a special type of connected graph in which there are no circuits.  Every tree is a bipartite graph.  So, chromatic number of a tree with any number of vertices = 2. Chromatic Number Chromatic Number of any tree = 2
  • 15. Example:- Find chromatic number of the following graph- solution:  From here,  Minimum number of colors used to color the given graph are 2.  Therefore, Chromatic Number of the given graph = 2. 
  • 16.  The given graph may be properly colored using 2 colors as shown below -
  • 17. • Cut Vertex Let ‘G’ be a connected graph. A vertex V ∈ G is called a cut vertex of ‘G’, if ‘G-V’ (Delete ‘V’ from ‘G’) results in a disconnected graph. Removing a cut vertex from a graph breaks it in to two or more graphs.  Note − Removing a cut vertex may render a graph disconnected.  A connected graph ‘G’ may have at most (n–2) cut vertices.
  • 18. • Example In the following graph, vertices ‘e’ and ‘c’ are the cut vertices. By removing ‘e’ or ‘c’, the graph will become a disconnected graph.
  • 19. there is no path between vertex ‘c’ and vertex ‘h’ and many other. Hence it is a disconnected graph with cut vertex as ‘e’. Similarly, ‘c’ is also a cut vertex for the above graph.
  • 20. • Cut Edge (Bridge) Let ‘G’ be a connected graph. An edge ‘e’ ∈ G is called a cut edge if ‘G-e’ results in a disconnected graph. If removing an edge in a graph results in to two or more graphs, then that edge is called a Cut Edge.  Example In the following graph, the cut edge is [(c, e)].
  • 21. By removing the edge (c, e) from the graph, it becomes a disconnected graph. In the above graph, removing the edge (c, e) breaks the graph into two which is nothing but a disconnected graph. Hence, the edge (c, e) is a cut edge of the graph
  • 22. Note − Let ‘G’ be a connected graph with ‘n’ vertices, then a cut edge e ∈ G if and only if the edge ‘e’ is not a part of any cycle in G. the maximum number of cut edges possible is ‘n-1’. whenever cut edges exist, cut vertices also exist because at least one vertex of a cut edge is a cut vertex. if a cut vertex exists, then a cut edge may or may not exist.
  • 23. • Edge Connectivity Let ‘G’ be a connected graph. The minimum number of edges whose removal makes ‘G’ disconnected is called edge connectivity of G.  Notation − λ(G) In other words, the number of edges in a smallest cut set of G is called the edge connectivity of G. If ‘G’ has a cut edge, then λ(G) is 1. (edge connectivity of G.)
  • 24. • Example Take a look at the following graph. By removing two minimum edges, the connected graph becomes disconnected. Hence, its edge connectivity (λ(G)) is 2 Here are the four ways to disconnect the graph by removing two edges −
  • 25. Vertex Connectivity Let ‘G’ be a connected graph. The minimum number of vertices whose removal makes ‘G’ either disconnected or reduces ‘G’ in to a trivial graph is called its vertex connectivity. Notation − For any connected graph G, K(G) ≤ λ(G) ≤ δ(G) Vertex connectivity (K(G)), edge connectivity (λ(G)), minimum number of degrees of G(δ(G)).