GATE CS 2024 Set 2 — Question 17
MCQ+1 / -0.33MediumMatchingGraph Theory (Math)Engineering MathematicsMatrices & DeterminantsLinear AlgebraAdjacency Matrix & List
Engineering Mathematics → Graphs (Data Structure) → Adjacency Matrix & List
Last updated
Question
Let be the adjacency matrix of a simple undirected graph . Suppose is its own inverse. Which one of the following statements is always TRUE?
A.
is a cycle
B.
is a perfect matching
C.
is a complete graph
D.
There is no such graph
Correct answer
(B) G is a perfect matching
Solution
Let be the adjacency matrix of a simple undirected graph . Since is simple, the diagonal entries of are all 0 (). Since is undirected, is symmetric ().Given that is its own inverse, we have , which implies (the identity matrix).The diagonal entries of represent the degree of each vertex in the graph. Specifically:Since , . Thus, is the sum of the entries in row , which is the degree of vertex .Since , we must have for all . Therefore, every vertex in has a degree of exactly 1.A graph where every vertex has a degree of 1 is a collection of disjoint edges covering all vertices, which corresponds to a perfect matching.
More questions on Graphs (Data Structure)
2024 Set 2 Q3In an engineering college of 10,000 students, 1,500 like neither their core branches nor other…2024 Set 1 Q11Let be a function such that…2024 Set 2 Q12Let and be the following propositions: : Fail grade can be given. : Student scores…2024 Set 1 Q12The product of all eigenvalues of the matrix…2024 Set 2 Q13Consider the following C program. Assume parameters to a function are evaluated from right to left.…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free