Skip to main content

GATE CSE 2024Graph Theory › Graph Connectivity & Degree SequencesVerified

GATE CSE 2024 PYQ: ​​​​Let A \text{A} A be the adjacency matrix of a simple undirected graph G \text{G} G . Suppose A \text{A}…

​​​​Let A\text{A} be the adjacency matrix of a simple undirected graph G\text{G}. Suppose A\text{A} is its own inverse. Which one of the following statements is always TRUE?

  1. A
    G\text{G} is a cycle
  2. B
    G\text{G} is a perfect matching
    Correct answer
  3. C
    G\text{G} is a complete graph
  4. D
    There is no such graph G\text{G}

Answer

(B) G \text{G} G is a perfect matching

Approach

Since the graph is simple and undirected, its adjacency matrix $A$ is symmetric, has only $0/1$ entries, and has zero diagonal. The condition $A=A^{-1}$ is equivalent to $A^2=I$. For any vertex $i$, the $(i,i)$ entry of $A^2$ equals the degree of $i$: $(A^2)_{ii}=\sum_j A_{ij}A_{ji}=\sum_j A_{ij}^2=\deg(i)$. Thus $A^2=I$ forces every vertex to have degree 1. A simple undirected graph in which every vertex has degree 1 is precisely a disjoint union of copies of $K_2$, i.e. a perfect matching.

The condition $A=A^{-1}$ on the adjacency matrix of a simple undirected graph is equivalent to $A^2=I$, which forces every vertex to have degree exactly 1. The only simple undirected graphs with all degrees equal to 1 are disjoint unions of $K_2$ edges, i.e. perfect matchings. Hence option B is the statement that is always true.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.