Skip to content
Official PYQ · 2021

GATE CS 2021 Set 1 Q52 — Eigenvalues and Eigenvectors, LU Decomposition

Explain with AI
Consider the following matrix.(0111101111011110)\begin{pmatrix} 0 & 1 & 1 & 1\\ 1& 0& 1 & 1\\ 1& 1 & 0 & 1 \\1 & 1 & 1 & 0 \end{pmatrix}The largest eigenvalue of the above matrix is __________.
View worked solution

Answer: 3 : 3

Let the given matrix be AA of size 4×44 \times 4:

A=(0111101111011110)A = \begin{pmatrix} 0 & 1 & 1 & 1 \\ 1 & 0 & 1 & 1 \\ 1 & 1 & 0 & 1 \\ 1 & 1 & 1 & 0 \end{pmatrix}

We can find the eigenvalues of AA using two elegant methods:

Method 1: Row Sum Property

Notice that the sum of elements in each row of the matrix is constant:

  • Row 1: 0+1+1+1=30 + 1 + 1 + 1 = 3
  • Row 2: 1+0+1+1=31 + 0 + 1 + 1 = 3
  • Row 3: 1+1+0+1=31 + 1 + 0 + 1 = 3
  • Row 4: 1+1+1+0=31 + 1 + 1 + 0 = 3

For any matrix where the sum of each row is a constant SS, SS is guaranteed to be an eigenvalue of that matrix (with the corresponding eigenvector being [1,1,1,1]T[1, 1, 1, 1]^T). Therefore, λ=3\lambda = 3 is an eigenvalue of AA.

Method 2: Using the All-Ones Matrix

We can express AA as:

A=J−IA = J - I

where JJ is the 4×44 \times 4 all-ones matrix and II is the 4×44 \times 4 identity matrix:

J=(1111111111111111)J = \begin{pmatrix} 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1 \end{pmatrix}

The matrix JJ has rank 11, which means 00 is an eigenvalue of JJ with multiplicity 33 (i.e., 4−14 - 1). The remaining eigenvalue is equal to the trace of JJ, which is 1+1+1+1=41 + 1 + 1 + 1 = 4. Thus, the eigenvalues of JJ are {4,0,0,0}\{4, 0, 0, 0\}.

Since A=J−IA = J - I, the eigenvalues of AA are obtained by subtracting 11 from each eigenvalue of JJ:

λ(A)={4−1,0−1,0−1,0−1}={3,−1,−1,−1}\lambda(A) = \{4 - 1, 0 - 1, 0 - 1, 0 - 1\} = \{3, -1, -1, -1\}

Comparing the eigenvalues {3,−1,−1,−1}\{3, -1, -1, -1\}, the largest eigenvalue is 3.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Eigenvalues and Eigenvectors, LU Decomposition questions