Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
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

Watch Free Classes
    • Free courses
    • JEE Main 2024
    • JEE Main 2024 Live Paper Discussion
    • JEE Main Rank Predictor 2024
    • JEE Main College Predictor 2024
    • Stream Predictor
    • JEE Main 2024 Free Mock Test
    • Study Materials
    • Notifications
    • JEE Advanced Syllabus
    • JEE Books
    • JEE Main Question Paper
    • JEE Coaching
    • Downloads
    • JEE Notes & Lectures
    • JEE Daily Videos
    • Difference Between
    • Full Forms
    • Important Formulas
    • Exam Tips
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Mathematics » Adjacency Matrix

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.

 

 

 

Crack IIT JEE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the JEE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Allotment of Examination Centre
JEE Advanced Eligibility Criteria
JEE Advanced Exam Dates
JEE Advanced Exam Pattern 2023
JEE Advanced Syllabus
JEE Application Fee
JEE Application Process
JEE Eligibility Criteria 2023
JEE Exam Language and Centres
JEE Exam Pattern – Check JEE Paper Pattern 2024
JEE Examination Scheme
JEE Main 2024 Admit Card (OUT) – Steps to Download Session 1 Hall Ticket
JEE Main Application Form
JEE Main Eligibility Criteria 2024
JEE Main Exam Dates
JEE Main Exam Pattern
JEE Main Highlights
JEE Main Paper Analysis
JEE Main Question Paper with Solutions and Answer Keys
JEE Main Result 2022 (Out)
JEE Main Revised Dates
JEE Marking Scheme
JEE Preparation Books 2024 – JEE Best Books (Mains and Advanced)
Online Applications for JEE (Main)-2022 Session 2
Reserved Seats
See all

Related articles

Learn more topics related to Mathematics
Zero Vector

A zero vector is defined as a line segment coincident with its beginning and ending points. Primary Keyword: Zero Vector

ZERO MATRIX

In this article, we will discuss about the zero matrix and it’s properties.

YARDS TO FEET

In this article we will discuss the conversion of yards into feet and feets to yard.

XVI Roman Numeral

In this article we are going to discuss XVI Roman Numerals and its origin.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription

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
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY