GATE CS 2023 | Question 30
Engineering Mathematics › Linear Algebra · NAT · 1 mark · Answer: 2 to 4
- Question 30Engineering Mathematicsnat1 markLet be the adjacency matrix of the graph shown on vertices (note the self-loops). The value of is __________

Answer: 2 to 4
Solution
Answer: 2 (GATE also accepted 4) The sum of all eigenvalues equals the trace of , i.e. the sum of its diagonal entries. The diagonal is nonzero only where a vertex has a self-loop — here vertices 3 and 4. Under the convention that a self-loop contributes to the diagonal, trace ; under the convention that an undirected self-loop contributes , trace . GATE accepted both and .
More GATE PYQ on Linear Algebra
All GATE CS Engineering Mathematics PYQ →Attempt GATE CS 2023 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →