In: Advanced Math
Use the Table button in the Rich-Text Editor to provide an adjacency matrix for a simple graph that meets the following requirements:
1) has 5 vertices
2) is maximal planar
Maximal Planar Graph:
A maximal planar graph is a planar graph to which no new edges can be added without violating planarity.
i.e. A planar graph is called maximal planar graph if adding an edge between any two non-adjacent vertices results in a non-planar graph.
Adjacency Matrix:
Let G be a graph with p vertices listed as . The adjacency matrix of G with respect to this particular listing of P vertices of G is matrix
where is number of edges joining vertex to
In case of simple graph the adjacency matrix
where
Following is the graph satisfying the given requirements.
Above graph is a maximal planar graph because if we add edge then it results in non-planarity of a graph.
Now we will calculate its adjacency matrix.
Procedure is explained below and then the matrix is given:
Rows are the vertices v1, v2, v3, v4 and v5
and columns are the vertices v1, v2, v3, v4 and v5
As v1 is adjacent to all the remaining vertices v2, v3, v4 and v5
Hence entries in first column and first row is 1 everywhere except at v1v1 because v1 is not adjacent to v1
As v2 is adjacent to vertices v1, v3 and v4
Hence entries in second column and second row is 1 everywhere except at v2v2 and v2v5 and v5v2 because v2 is not adjacent to v2 and also not adjacent to v5
As v3 is adjacent to all the vertices v1, v2 ,v4 and v5
Hence entries in third column and third row is 1 everywhere except at v3v3 because v3 is not adjacent to v3
As v4 is adjacent to all the vertices v1, v2 ,v3 and v5
Hence entries in fourth column and fourth row is 1 everywhere except at v4v4 because v4 is not adjacent to v4
As v5 is adjacent to vertices v1, v3 and v4
Hence entries in fifth column and fifth row is 1 everywhere except at v5v5 and v2v5 and v5v2 because v5 is not adjacent to v2 and also not adjacent to v5
v1 | v2 | v3 | v4 | v5 | |
v1 | 0 | 1 | 1 | 1 | 1 |
v2 | 1 | 0 | 1 | 1 | 0 |
v3 | 1 | 1 | 0 | 1 | 1 |
v4 | 1 | 1 | 1 | 0 | 1 |
v5 | 1 | 0 | 1 | 1 | 0 |
Thus above is the adjacency matrix for the graph.