Adjacency Matrix: Overview, Questions, Preparation

Matrices and Determinants 2021 ( Matrices and Determinants )

Rachit Kumar Saxena

Rachit Kumar SaxenaManager-Editorial

Updated on Jul 24, 2021 11:47 IST

What is Adjacency Matrix ?

Matrices are an important tool in mathematics. It helps in simplifying big data. 

What is a Graph?

A graph is a mathematical structure used to display relationships between objects. It is made up of nodes, which are connected by edges. 

Adjacency matrix means a square matrix which is used to represent a finite graph. With this kind of matrix, we can find out whether or not the vertices are adjacent on the graph. 

The adjacency matrix for a graph with n vertices is a n*n matrix.

Undirected Graphs

Undirected graphs are bidirectional in nature; that is, their edges can be directed in two ways.

Directed Graphs

Directed graphs have only one direction, that is, their edges can be directed in one and only one way.

Properties of Adjacency Matrices

Some of the properties of matrix related to the graph:

Spectrum

The adjacency matrix is symmetric for an undirected graph. A symmetric matrix is equal to its transpose matrix. Thus, it has a set of real eigenvalues and an orthogonal eigenvector basis. This set of eigenvalues of the graph is known as its spectrum.

Isomorphisms

Isomorphism means similarity. When two graphs are similar in nature, and if one graph can be obtained using the other given graph, they are known as isomorphic.

Matrix powers

Powers are beneficial in matrices. They give you a lot of information regarding matrices. You can use the matrix’s power to gain knowledge about a graph’s path.

Creating an Adjacency Matrix:

Look at the graph given below:

Adjacency_matrix

Taking A as vertex 1, B as vertex 2, etc., the adjacency matrix for this graph is

Adjacency_matrix_2

Source: NCERT

Weightage of Adjacency Matrix

This chapter is a part of Class 12th maths and carries 10 marks. In this chapter, you will learn about various types of matrices and graphs with matrices.

Illustrated Examples on adjacency matrix

1. Let ? = (V, ?) be a graph with incidence matrix ? and adjacency matrix ?. Express ??T using A.

Solution.

This is a |𝑉| × |𝑉| matrix. (𝑀𝑀T)ii is the degree of 𝑣i. (𝑀𝑀T)ij for 𝑖 ≠ 𝑗 is the number of edges between 𝑣i.and 𝑣j. Let 𝐷 be a diagonal matrix with 𝐷ii being the degree of 𝑣i We have, 𝑀𝑀T = 𝐴 + 𝐷.

2. In a connected graph, what is the distance between two vertices 𝑣i and 𝑣j. if k is the smallest integer for which [Xk]ij not equal to 0?

Solution.

Given that k is the smallest integer such that [Xk]ij not equal to 0. Therefore, there are no edge sequences of length 1, 2, ..., k −1 and no paths of length 1, 2, or k−1 between vertices 𝑣i. and 𝑣j. Thus the shortest path between 𝑣i.and 𝑣j.is of length k so that d(𝑣i., 𝑣j. ) = k.

3. Prove τ(Kn) = nn-2.

Solution.

Here, Q = H −X = (n−1)I −(J −I) = nI −J 

Adjacency_matrix_3

The cofactor of q11 is the (n−1)×(n−1) determinant given by

Adjacency_matrix_4

Subtracting the first row from each of the others and then adding the last n−2 columns to the first,

Adjacency_matrix_5

Expanding with the help of the first column, we have a cofactor of q11 = nn-2 ,Thus,τ(Kn) = nn-2

FAQs on Adjacency Matrix

Q: What are the areas in which matrices can be applied?

A: Matrices have varied applications in many fields, including electrical engineering, computer science, seismic surveys, scientific studies, etc. 

Q: What is a matrix function?

A:  A function that maps a matrix to another matrix.

Q: What is the number of two-step sequences between vertex i and vertex j in a graph with adjacency matrix M?

A:  (i, j) entry in M2.

Q: What is the sum of the elements of row i of the adjacency matrix of a graph?

A: Degree of vertex i. 

Q: What is the sum of the elements of column i of the adjacency matrix of a graph?

A: The sum of the elements of column i of the adjacency matrix of a graph is the degree of vertex i. 

News & Updates

Latest NewsPopular News
qna

Matrices and Determinants Exam

Student Forum

chatAnything you would want to ask experts?
Write here...