Let X be the adjacency matrix of a graph G with no self loops. The entries…

20072007

Let X be the adjacency matrix of a graph G with no self loops. The entries along the principal diagonal of X are

  1. A.

    all zeros

  2. B.

    all ones

  3. C.

    both zeros and ones

  4. D.

    different

Attempted by 420 students.

Show answer & explanation

Correct answer: A

In an adjacency matrix, the entry at position (i, j) represents whether there is an edge from vertex i to vertex j. The principal diagonal entries correspond to edges from a vertex to itself (self-loops). Since the graph G has no self-loops, all diagonal entries must be 0.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Isro