GateAI
Discrete Mathematics

GATE CSE 2024 Set 2 · Q17

MCQ1 markMedium

Time

Let AA be the adjacency matrix of a simple undirected graph GG. Suppose AA is its own inverse. Which one of the following statements is always TRUE?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: B) G is a perfect matching

Discrete Mathematics

Let G=(V,E)G = (V, E) be a simple undirected graph with nn vertices and adjacency matrix AA.

Since GG is simple and undirected:

  • AA is symmetric (AT=AA^T = A).

  • The diagonal entries are all zero (aii=0a_{ii} = 0).

  • The entries aij∈{0,1}a_{ij} \in \{0, 1\}.

We are given that AA is its own inverse, which means:

A2=IA^2 = I

The (i,i)(i, i)-th diagonal entry of A2A^2 is:

(A2)ii=∑k=1naikaki=∑k=1naik2=∑k=1naik=deg⁡(vi)(A^2)_{ii} = \sum_{k=1}^n a_{ik}a_{ki} = \sum_{k=1}^n a_{ik}^2 = \sum_{k=1}^n a_{ik} = \operatorname{deg}(v_i)

Since A2=IA^2 = I, the diagonal entries must equal 11:

deg⁡(vi)=1for every vertex vi∈V\operatorname{deg}(v_i) = 1 \quad \text{for every vertex } v_i \in V

A graph where every vertex has degree 11 is a 1-regular graph, which consists of a set of disjoint edges covering all vertices of the graph. Hence, GG is a perfect matching (a union of disjoint K2K_2 graphs).

Thus, (B) is always true.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

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

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Discrete Mathematics in GATE CSE

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 Mathematics

More from GATE CSE 2024 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2024 Set 2 · Q17 · MCQ

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

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.