Which of the properties hold for the adjacency matrix of a simple undirected unweighted graph having vertices?
View worked solution
Answer: A
Let us analyze each option for a simple undirected unweighted graph with vertices and adjacency matrix :
- Option A is correct: The -th diagonal entry of is given by:Since the graph is undirected, is symmetric (). Since it is unweighted, , which means . Thus:This represents the degree of vertex .
- Option B is incorrect: For a path graph on vertices (), the graph is connected. Here, . The entry because there is no walk of length or between vertex and vertex .
- Option C is incorrect: Let . Consider a graph consisting of a triangle and one isolated vertex. The number of edges is , so the sum of all elements of is . However, the graph contains a cycle.
- Option D is incorrect: Consider a disconnected graph consisting of two disjoint edges (). Every vertex has degree , so every row and column of contains exactly one , yet the graph is disconnected.
Free practice · Your answers on this page are not saved.
