Let be the adjacency matrix of a simple undirected graph. Which of the following statements is ALWAYS TRUE regarding the matrix for any integer ?
B
Step-by-Step Solution
Key idea: This is a bounding/statement truth question that tests the fundamental properties of matrix powers and the constraints of graph traversals.
Step 1: Evaluate Option A. counts all walks, not just simple paths. Walks allow repeated vertices. Thus, A is false.
Step 2: Evaluate Option B. The trace of a matrix is the sum of its diagonal entries. The diagonal entry is the number of closed walks of length starting and ending at . Summing over all gives the total number of closed walks of length in the graph. Thus, B is true.
Step 3: Evaluate Option C. The sum of all elements counts all walks of length , not just cycles. Cycles are simple closed paths. Thus, C is false.
Step 4: Evaluate Option D. For even , there are closed walks (e.g., for ). Thus, diagonal entries are non-zero for even . D is false.
Answer: B