GateAI
Linear Algebra

GATE CSE 2021 Set 1 · Q52

NAT2 marksEasy

Time

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 _____.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 3

Linear Algebra

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

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

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

0+1+1+1=30 + 1 + 1 + 1 = 3

Since the row sum is constant (33) for every row, λ=3\lambda = 3 is an eigenvalue of AA corresponding to the eigenvector [1,1,1,1]T[1, 1, 1, 1]^T.

Alternatively, 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.

The eigenvalues of J4×4J_{4 \times 4} (which has rank 1 and trace 4) are:

λ(J)=4,0,0,0\lambda(J) = 4, 0, 0, 0

Therefore, the eigenvalues of A=J−IA = J - I are:

λ(A)=λ(J)−1  ⟹  4−1,0−1,0−1,0−1\lambda(A) = \lambda(J) - 1 \implies 4 - 1, 0 - 1, 0 - 1, 0 - 1
λ(A)=3,−1,−1,−1\lambda(A) = 3, -1, -1, -1

The largest eigenvalue of AA is 3.

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 Linear Algebra previous year question is Q52 of the GATE CSE 2021 Set 1 paper. Find more GATE CSE PYQs on Linear Algebra 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 Linear Algebra 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.

Linear Algebra in GATE CSE

Linear Algebra has 46 GATE CSE PYQs across 26 papers from 2011 to 2026. 4 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2021 Set 1.

How GATE tests Linear Algebra

More from GATE CSE 2021 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2021 Set 1 · Q52 · NAT

Consider the following matrix. 0 & 1 & 1 & 1 1 & 0 & 1 & 1 1 & 1 & 0 & 1 1 & 1 & 1 & 0 The largest eigenvalue of the above matrix is …

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.