Planar and Non-Planar Graphs - Javatpoint
Planar and Non-Planar Graphs - Javatpoint
Planar Graph:
A graph is said to be planar if it can be drawn in a plane so that no edge cross.
https://www.javatpoint.com/planar-and-non-planar-graphs 1/8
5/26/2020 Planar and Non-Planar Graphs - javatpoint
Finite Region: If the area of the region is finite, then that region is called a finite
region.
Infinite Region: If the area of the region is infinite, that region is called a infinite
region. A planar graph has only one infinite region.
Example: Consider the graph shown in Fig. Determine the number of regions, finite
regions and an infinite region.
Solution: There are five regions in the above graph, i.e. r1,r2,r3,r4,r5.
https://www.javatpoint.com/planar-and-non-planar-graphs 2/8
5/26/2020 Planar and Non-Planar Graphs - javatpoint
We know that for a connected planar graph 3v-e≥6.Hence for K4, we have 3x4-6=6
Non-Planar Graph:
A graph is said to be non planar if it cannot be drawn in a plane so that no edge cross.
These graphs cannot be drawn in a plane so that no edges cross hence they are non-
planar graphs.
Hence, for K5, we have 3 x 5-10=5 (which does not satisfy property 3 because it must
Example2: Show that the graphs shown in fig are non-planar by finding a subgraph
homeomorphic to K5 or K3,3.
https://www.javatpoint.com/planar-and-non-planar-graphs 3/8
5/26/2020 Planar and Non-Planar Graphs - javatpoint
Graph Coloring:
Suppose that G= (V,E) is a graph with no multiple edges. A vertex coloring of G is an
assignment of colors to the vertices of G such that adjacent vertices have different
colors. A graph G is M-Colorable if there exists a coloring of G which uses M-Colors.
⇧
https://www.javatpoint.com/planar-and-non-planar-graphs 4/8
5/26/2020 Planar and Non-Planar Graphs - javatpoint
Proper Coloring: A coloring is proper if any two adjacent vertices u and v have
different colors otherwise it is called improper coloring.
Example: Consider the following graph and color C={r, w, b, y}.Color the graph
properly using all colors or fewer colors.
Solution: Fig shows the graph properly colored with all the four colors.
https://www.javatpoint.com/planar-and-non-planar-graphs 5/8
5/26/2020 Planar and Non-Planar Graphs - javatpoint
Register Allocation
Map Coloring
∑v∈Vdeg(v)=2e
Hence, ∑v∈Vdeg(v)=2e
← prev next →
https://www.javatpoint.com/planar-and-non-planar-graphs 6/8
5/26/2020 Planar and Non-Planar Graphs - javatpoint
Tally Godot
Tutorial Tutorial
Tally Godot
Kubernetes Openpyxl
Preparation
Company
Interview
Questions
Company
Trending Technologies
https://www.javatpoint.com/planar-and-non-planar-graphs 7/8
5/26/2020 Planar and Non-Planar Graphs - javatpoint
B.Tech / MCA
https://www.javatpoint.com/planar-and-non-planar-graphs 8/8