Determine the diameter of the graph

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Diameter Graph
Click For Summary

Discussion Overview

The discussion revolves around determining the diameter of a graph represented by a given adjacency matrix. Participants explore the relationship between eigenvalues and graph diameter, and consider methods for calculating the diameter through graph visualization and analysis of vertex distances.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants question whether calculating eigenvalues is necessary for determining the graph's diameter.
  • There is a suggestion that drawing the graph could help in finding the diameter.
  • Participants discuss the definition of graph diameter, noting it involves the largest distance between any two vertices, measured in edges.
  • One participant proposes that the diameter could be equal to 8, but this is challenged by others.
  • Clarification is made that the diameter is not measured in vertices but in edges, with a participant suggesting that the maximum distance between two vertices might be 4.
  • Another participant confirms that the maximum distance between two vertices is indeed 4.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the relationship between eigenvalues and diameter. There is a general agreement on the definition of diameter, but differing views on the specific distances between vertices and how to calculate the diameter.

Contextual Notes

Participants express uncertainty regarding the relationship between eigenvalues and graph diameter, and there are unresolved questions about the exact distances between vertices in the graph.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

We have the matrix $$A=\begin{pmatrix}0&1&0&0&0&0&0&1\\1&0&1&0&0&0&0&0\\0&1&0&1&0&0&0&0\\0&0&1&0&1&0&0&0\\0&0&0&1&0&1&0&0\\0&0&0&0&1&0&1&0\\0&0&0&0&0&1&0&1\\1&0&0&0&0&0&1&0\end{pmatrix}$$
and we want to determine the diameter of the graph.

For that do we have to calculate the eigenvalues? Or isn't the diameter related to the number of eigenvalues? (Wondering)
 
Physics news on Phys.org
mathmari said:
Hey! :o

We have the matrix $$A=\begin{pmatrix}0&1&0&0&0&0&0&1\\1&0&1&0&0&0&0&0\\0&1&0&1&0&0&0&0\\0&0&1&0&1&0&0&0\\0&0&0&1&0&1&0&0\\0&0&0&0&1&0&1&0\\0&0&0&0&0&1&0&1\\1&0&0&0&0&0&1&0\end{pmatrix}$$
and we want to determine the diameter of the graph.

For that do we have to calculate the eigenvalues? Or isn't the diameter related to the number of eigenvalues?

Hey mathmari!

I'm not aware (yet) of a relationship between eigenvalues and diameter.
But to find the diameter, we can draw the graph, and figure out its diameter from the graph can't we? (Wondering)
 
I like Serena said:
I'm not aware (yet) of a relationship between eigenvalues and diameter.
But to find the diameter, we can draw the graph, and figure out its diameter from the graph can't we? (Wondering)

Do we have the following graph?

View attachment 8334

(Wondering)
 

Attachments

  • graph_matrix.png
    graph_matrix.png
    6 KB · Views: 107
mathmari said:
Do we have the following graph?

Yep. (Nod)
 
I like Serena said:
Yep. (Nod)

Graph's diameter is the largest number of vertices which must be traversed in order to travel from one vertex to another, right? Is the largest number of vertices equal to 8? (Wondering)
 
mathmari said:
Graph's diameter is the largest number of vertices which must be traversed in order to travel from one vertex to another, right?

Not vertices but edges.
It's the largest possible 'distance' between 2 vertices. (Nerd)

mathmari said:
Is the largest number of vertices equal to 8?

I don't think so.
We have 8 vertices in total that are effectively arranged in a circle.
If we pick 2 of them, what is the distance (the minimum number of edges) between them? (Wondering)
 
I like Serena said:
We have 8 vertices in total that are effectively arranged in a circle.
If we pick 2 of them, what is the distance (the minimum number of edges) between them? (Wondering)

The minimum numbers of edges between two vertices is 2, right? Is this the diameter? (Wondering)
 
mathmari said:
The minimum numbers of edges between two vertices is 2, right? Is this the diameter?

Nope.
The distance between 2 vertices is the minimum number of edges between those vertices.
And the diameter is the maximum distance that we can find.

If we pick 2 neighboring edges (one edge between them), the distance is 1.
But we can also pick vertices that are further apart can't we? (Thinking)
 
I like Serena said:
Nope.
The distance between 2 vertices is the minimum number of edges between those vertices.
And the diameter is the maximum distance that we can find.

If we pick 2 neighboring edges (one edge between them), the distance is 1.
But we can also pick vertices that are further apart can't we? (Thinking)

The maximum distance between two vertices is 4, or not? (Wondering)
 
  • #10
mathmari said:
The maximum distance between two vertices is 4, or not?

Yes it is. (Nod)
 
  • #11
I like Serena said:
Yes it is. (Nod)

Ok! Thank you! (Smile)
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 17 ·
Replies
17
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K