Eigenvalues of a completely disconnected graph

  • Thread starter Thread starter kosmos
  • Start date Start date
  • Tags Tags
    Eigenvalues Graph
Click For Summary
The discussion centers on the eigenvalues of completely disconnected graphs, where it is initially stated that all eigenvalues should be zero. However, the normalized Laplacian is debated, with some arguing it results in an identity matrix, while others assert that it cannot be formed due to isolated vertices having a degree of zero. Clarifications reveal that the main diagonal entries should be zero, contradicting the identity matrix claim. A participant corrects their earlier misunderstanding regarding eigenvalue calculations after identifying an error in their implementation. The conversation concludes with the participant successfully obtaining the expected eigenvalues, affirming the importance of accurate adjacency checks.
kosmos
Messages
11
Reaction score
0
According to theory the eigenvalues of a completely disconnected graph (no two nodes are connected) must be all 0. But the normalized Laplacian of such a graph will be an identity matrix whose eigenvalues will be all 1s. Please correct me!
 
Physics news on Phys.org
kosmos said:
According to theory the eigenvalues of a completely disconnected graph (no two nodes are connected) must be all 0. But the normalized Laplacian of such a graph will be an identity matrix whose eigenvalues will be all 1s. Please correct me!

I believe you can not create a normalize Laplacian from a graph with isolated vertices.
They have degree 0, so you cannot calculate the entries ##-1 \over \sqrt{d_i d_j}## in the matrix.
 
The value is 0 if the degree is 0 as per definition. So we will get an identity matrix.

http://www.math.ucsd.edu/~sbutler/spectral/
 
Last edited by a moderator:
Can't find the reference in your link...

However, from wikipedia I can see that the entries on the main diagonal would be set to zero, so it will not be an identity matrix.
These entries would correspond to eigenvalues of zero.
 
Page no. 9 of this pdf file http://www.math.ucsd.edu/~sbutler/PDF/spectral1.pdf ... and i think this reference has missed that out! ...thanks for helping out mate!
 
Last edited by a moderator:
kosmos said:
Page no. 9 of this pdf file http://www.math.ucsd.edu/~sbutler/PDF/spectral1.pdf ... and i think this reference has missed that out! ...thanks for helping out mate!

Yes, this reference missed out on that.
However, in the introductory paragraph it is assumed that there are no isolated vertices, so it is not wrong.

And you're welcome. :)
 
Last edited by a moderator:
I get the following eigenvalues for the matrix attached as text file. It can be viewed in spreadsheet as it is in csv format. The first eigen value is supposed to be zero. There are 20 nodes in graph. There are 3 pairs of nodes which are connected only to each other. So there are 15 partitions as shown by the values below, assuming -4 is zero.
-4.0
-2.220446049250313E-16
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
1.1102230246251565E-16
4.440892098500626E-16
1.9999999999999998
2.0
2.0
2.0
2.000000000000001
 

Attachments

Sorry for posting it in this thread ... I should have done it in the other one. I got the problem. The portion of my implementation which checked if the nodes where adjacent had a mistake. So it was producing wrong first eigenvalue. Now it works fine. I am getting the required number of zeroes and no negative values. :) ... Thanks for your help again!
 
Cheers! :smile:
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
Replies
5
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
2K
Replies
3
Views
3K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
630
  • · Replies 32 ·
2
Replies
32
Views
4K