Let A be the adjacency matrix of a simple undirected graph G. Suppose A is its own inverse. Which one of the following statements is always TRUE?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2024 Set 2 · Q17
Time
Select one answerSingle correct
Solution
Official answer: B) G is a perfect matching
Discrete MathematicsLet be a simple undirected graph with vertices and adjacency matrix .
Since is simple and undirected:
is symmetric ().
The diagonal entries are all zero ().
The entries .
We are given that is its own inverse, which means:
The -th diagonal entry of is:
Since , the diagonal entries must equal :
A graph where every vertex has degree is a 1-regular graph, which consists of a set of disjoint edges covering all vertices of the graph. Hence, is a perfect matching (a union of disjoint graphs).
Thus, (B) is always true.
Try the question first, then check your work.
Examiner trap
Consider the diagonal elements of . In the adjacency matrix of an undirected graph, what does the diagonal entry represent in terms of the degrees of the vertices?
This Discrete Mathematics previous year question is Q17 of the GATE CSE 2024 Set 2 paper. Find more GATE CSE PYQs on Discrete Mathematics in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Discrete Mathematics PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Discrete Mathematics has 50 GATE CSE PYQs across 23 papers from 2011 to 2026. 18 of them are 1-mark MCQs like this one, and GATE CSE 2024 Set 2 has 3.
How GATE tests Discrete MathematicsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.