Access free live classes and tests on the app
Download
+
Unacademy's Blog!
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

[wp_login_wall media_id="448945" text_before_login="Download JEE Maths Formulas" text_after_login="Download JEE Maths Formulas"]

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
[wp_login_wall media_id="424566" text_before_login=" Download Previous Year Papers" text_after_login="Download Previous Year Papers"] combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee Predict your JEE Rank .
[wp_login_wall media_id="448945" text_before_login="Download JEE Maths Formulas" text_after_login="Download JEE Maths Formulas"]

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
[wp_login_wall media_id="424566" text_before_login=" Download Previous Year Papers" text_after_login="Download Previous Year Papers"] combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee Predict your JEE Rank .
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Mathematics » Adjacency Matrix
[wp_login_wall media_id="448945" text_before_login="Download JEE Maths Formulas" text_after_login="Download JEE Maths Formulas"]

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
[wp_login_wall media_id="424566" text_before_login=" Download Previous Year Papers" text_after_login="Download Previous Year Papers"] combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee Predict your JEE Rank .

Adjacency Matrix

In this article , we will understand Adjacency Matrix , Adjacency Matrix Bubble diagram , what is Adjacency Matrix with some examples.

Table of Content
  •  

Definition: A dense approach of representing the finite graph structure is an adjacency matrix. The 2D matrix is used to represent the relationship between network nodes.If a graph contains n vertices, the adjacency matrix for that graph is n x n, with each entry representing the number of edges connecting one vertex to the next.Adjacency matrices are sometimes known as connection matrices. It’s also known a Vertex matrix.

Adjacency Matrix Representation: 

If an Undirected Graph G has n vertices, the graph’s adjacency matrix is n x n matrix A = [aij] and is defined by –

If there is a path from Vi to Vj, aij = 1.

Otherwise, aij = 0

Let’s take a look at some of the most crucial aspects of the adjacency matrix.

  • If an edge exists between vertex Vi and Vj, where i denotes a row and j denotes a column, then aij = 1.
  • The value of aij = 0 , if there is no edge between the vertex Vi and Vj.
  • The vertex matrix (or adjacency matrix) should contain 0s in the diagonal if there are no self loops in the simple graph.
  • An undirected graph’s adjacency matrix is symmetric. It says that the value in the ith row and jth column is the same as the value in the jth row ith column.
  • When the adjacency matrix is multiplied by itself and a non-zero value is present at the ith row and jth column,then there is the route from Vi­ to Vj­­ with a length equivalent to 2. The occurrence of distinct paths is indicated by a non-zero value in the adjacency matrix.

Note : In an adjacency matrix, 0 indicates that there is no connection between two nodes, but 1 indicates that there is a connection between two nodes.

How to create an Adjacency Matrix?

If there are n vertices in a graph g, then the vertex matrix (or adjacency matrix) is given by –

A =  a11 a12 . . . . . a1n

       a21 a22 . . . . . a2n

       .     .          .

       .     .          .

       an1 an2 . . . . . ann

The number of edges from vertex i to j is equal to aij. As previously stated, the Adjacency matrix is symmetric for an undirected graph, hence aij = aji­ for an undirected graph.

The elements of the adjacency matrix will be 0 and 1 when the graphs are simple and there are no weights on the edges or many edges. The diagonal entries of the adjacency matrix will be 0 if there are no self-loops.

Adjacency Matrix for an Undirected Graph: Edges in an undirected graph are not associated with the directions with which they are associated. If an edge exists between Vertex A and Vertex B in an undirected graph, the vertices can be transferred from A to B as well as B to A.

Adjacency Matrix for an Directed Graph: In an adjacency directed matrix,  there is no self-loop, so the diagonal entries of the adjacent matrix will be 0.

Properties of Adjacency Matrix

The following are some of the adjacency matrix’s properties:

  • An adjacency matrix is a matrix with rows and columns that is used to depict a basic labelled graph with the values 0 and 1 in the positions of Vi, Vj , depending on whether the two Vi and Vj are adjacent.
  • If an edge exists between vertex i or Vi and vertex j or Vj in a directed graph, the value of A[Vi][Vj] = 1, otherwise the value will be 0.
  • If an edge exists between vertex i or Vi and vertex j or Vj in an undirected graph, the value of A[Vi][Vj] = 1 and A[Vj][Vi] = 1, otherwise the value will be 0.

Adjacency Matrix Bubble Diagram: The adjacency matrix is used to create a bubble. Furthermore, a bubble diagram visually shows information as a sequence of bubbles. The bubbles can be used to symbolise several types of places in a plan, with different shapes representing different levels of importance and size. The bubble diagram can help you build a general sense of flow, which you can then utilise to refine your plan.

Conclusion

A dense approach of representing the finite graph structure is an adjacency matrix. The 2D matrix is used to represent the relationship between network nodes.If a graph contains n vertices, the adjacency matrix for that graph is n x n, with each entry representing the number of edges connecting one vertex to the next.Adjacency matrices are sometimes known as connection matrices. It’s also known a Vertex matrix. It is of two types :-

  • Adjacency Matrix for an Undirected Graph
  • Adjacency Matrix for an Directed Graph

The adjacency matrix is used to create a bubble. Furthermore, a bubble diagram visually shows information as a sequence of bubbles. The bubbles can be used to symbolise several types of places in a plan, with different shapes representing different levels of importance and size. The bubble diagram can help you build a general sense of flow, which you can then utilise to refine your plan.

faq

Frequently asked questions

Get answers to the most common queries related to the JEE Examination Preparation.

With examples, what is an adjacency matrix, and how is an adjacency matrix calculated?

Ans : An easily labelled graph’s adjacency matrix, also known as the connection matrix, is a matrix with rows ...Read full

What is an adjacency list, and how does it differ from an adjacency matrix and an incidence matrix?

Ans : An adjacency list is a collection of unordered lists that represents a finite graph in graph theory and comput...Read full

What is Adjacency Matrix Bubble Diagram?

Ans : The adjacency matrix is used to create a bubble. Furthermore, a bubble diagram visually shows information as a...Read full

Ans : An easily labelled graph’s adjacency matrix, also known as the connection matrix, is a matrix with rows and columns labelled by graph vertices, and a 1 or 0 in the position consistent with whether and is adjacent or not. The adjacency matrix must have 0s on the diagonal for a simple graph with no self-loops. The adjacency matrix is large enough for the amount of vertices in the graph. It’s a matrix, after all (that is, the number of rows is adequate to the number of columns). If element (a, b) = 1 and element (b, a) = 1, then element (a, b) = 1.

 

Ans : An adjacency list is a collection of unordered lists that represents a finite graph in graph theory and computing. Each list describes a vertex’s set of neighbours in the graph. This is one of numerous graph representations that are regularly used in computer applications. The following is the distinction between an adjacency matrix and an incidence matrix: The adjacency matrix should be separated from the graph’s incidence matrix, a specific matrix representation whose members indicate whether or not vertex–edge pairs are incident, and the degree matrix, which provides information about each vertex’s degree.

 

Ans : The adjacency matrix is used to create a bubble. Furthermore, a bubble diagram visually shows information as a sequence of bubbles. The bubbles can be used to symbolise several types of places in a plan, with different shapes representing different levels of importance and size. The bubble diagram can help you build a general sense of flow, which you can then utilise to refine your plan.

 

 

 

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Predict your JEE Rank
.

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Predict your JEE Rank
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy's Blog!

Share via

COPY