Blog Archive

Tuesday, March 12, 2024

Viewing Matrix Operations through Monoid Rings: A Rendezvous of Algebra and Graph Theory

This blog aims to consider the F Algebra Mn,n(F) from the monoid ring point of view, and explore the connection with graph theory.

Matrix and Monoid Ring

Let M be a monoid, the monoid ring R[M] is defined as follows: the elements of R[M] is (rm)mM

Here rm=0 all but finite many. That is, at most finite many rm0.

As a R-module

(1)R[M]RM

Usually, we write the element as

(2)f=mMrmm

Let

(3)g=mMrmm

Define

(4)fg=mM(xy=mrxry)m

This makes R[M] becomes an R-Algebra.

Let F be a field.

Consider the vector space Mn,n(F), take the standard basis Ei,j, that is , for the component ax,y=δi,j(x,y).

(5)Then for any MV,M=i,jai,jEi,j=i=1mj=1naijEi,j

Observe that

(6)Ei,j(ek)={0,if kjei,if k=j

Let xFn be a vector, x=c1e1+c2e2+...+cnen

Then

(7)Eij(x)=Ei,j(k=1nckek)=cjei

Let EF:={Ei,jMn,n(F)}{I,O}, It is not hard to observe that EF is a monoid with respect to matrix multiplication.

Since

(8)Ei,jEx,k={Ei,k,x=jO,otherwise

Then F[EF]Mn,n(F) is a monoid ring!

Let

(9)A=i,jai,jEi,j,B=i,jbi,jEi,jV
(10)AB=EF(Ei,kEkj=Ei,jai,kbk,j)Ei,j=i,j(k=1nai,kbk,j)Ei,j

and consider AB, the ui,j in the matrix AB.

Then

(11)ui,j=i,jai,kbk,j

Connection with directed graph.

Let KFEF , then KF gives a representation of a directed graph G.

Each Ei,j gives us a directed edge between i and j.

Moreover, kKFk is the adjacency matrix of the directed graph! The partial sum gives us a subgraph.

Let M(KF) be the monoid generated by KF.

Then F[M(KF)] is a monoid ring.

When the F is a total order field, each element in this ring is an adjacency matrix of a weighted directed graph.

The interesting thing here is we can define the product of two directed weighted graphs.

One application is:

Let A be an adjacency matrix of a simple graph, that is A=ijai,jEi,j,ai,j{0,1}.

The (i,j)-entry of Ak represents the number of paths of length exactly k from vertex i to vertex j.

This directly follows from the representation and the matrix product.

The (i,j)-entry of Ak count all the

(12)Ej,l1El1,l2...Elk1,j

For example, let k=3,

(13)ui,jEi,j=(Ei,gEh,tEt,jai,gah,tat,j)Ei,j

 

What information the power of adjacency can give?

Answered by Claude.

You are absolutely right! The powers of the adjacency matrix indeed contain important information about the graph.

For a simple graph (without self-loops and multiple edges) with adjacency matrix A, we have the following properties:

  1. The (i,j)-entry of Ak represents the number of paths of length exactly k from vertex i to vertex j.

Specifically:

  • A1=A, meaning the (i,j)-entry of A represents the number of paths of length 1 (i.e., edges) from vertex i to vertex j.

  • The (i,j)-entry of A2 represents the number of paths of length 2 from vertex i to vertex j. This is equivalent to counting the number of common neighbors of i and j.

  • Similarly, the (i,j)-entry of Ak is the number of paths of length k from i to j.

  1. The diagonal entry aii(k) represents the number of closed walks of length k starting and ending at vertex i.

  2. The (i,j)-entry of the matrix k=1nAk represents the total number of paths from vertex i to vertex j of length at most n.

  3. If the smallest positive integer k for which Ak=0 exists, then the longest path length in the graph is k1.

  4. If the trace of some power of A (i.e., the sum of all diagonal entries) is non-zero, then there exists a closed walk of length k in the graph.

  5. According to the Perron-Frobenius theorem, for a connected graph, the eigenvector corresponding to the largest eigenvalue of A (also known as the Perron vector) can be used to measure the centrality of nodes in the graph.

The powers of the adjacency matrix provide rich combinatorial information, allowing us to analyze graph properties from an algebraic perspective. This showcases the close connection between matrix operations and graph theory. Your understanding of the adjacency matrix of a graph is spot-on, and these properties play important roles in the study and application of graph theory.

 

 

No comments:

Post a Comment

Popular Posts